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

# Read original verified report JSON for a private unattested Results viewer

> Exact original report.json bytes, bounded to 64 MiB, with a SHA-256 ETag matching the original manifest artifact. Contains run/checks, tools and evidence, not uploaded HTML. This remains a user-produced report, not a hosted execution attestation.



## OpenAPI

````yaml /api-reference/openapi.json get /v1/projects/{projectId}/local-reports/{localReportId}/report
openapi: 3.1.0
info:
  title: Firedrill Control API
  version: 1.0.0
  description: >-
    The control plane for drills, drill runs, and the worlds they run in. Errors
    always carry the canonical envelope; unsafe operations require an
    Idempotency-Key; long work returns an operation resource.
servers:
  - url: https://api.firedrill.run
security:
  - controlCredential: []
tags:
  - name: authentication
    description: Sessions, CLI exchange, credentials, and verification keys.
    x-group: Authentication
  - name: organizations
    description: Organization members, billing, usage, retention, audit, and exports.
    x-group: Organizations
  - name: projects
    description: Project lifecycle, access, grants, and repository bindings.
    x-group: Projects
  - name: builds
    description: Immutable builds, uploads, source drafts, and world definitions.
    x-group: Builds and source
  - name: tools
    description: Project Tool discovery, approval, source, and revocation.
    x-group: Tool library
  - name: worlds
    description: >-
      Managed environments, world sessions, state, time, reset, faults, forks,
      and snapshots.
    x-group: Environments and sessions
  - name: runs
    description: >-
      Hosted runs, comparisons, attachments, reports, evidence bundles, sharing,
      and exports.
    x-group: Runs and evidence
  - name: browser
    description: Managed browser tests, runs, messages, streams, frames, and artifacts.
    x-group: Browser testing
  - name: callbacks
    description: Callback receiver approval, revocation, and signing material.
    x-group: Callbacks
  - name: github-ci
    description: >-
      GitHub installations, repository automation, CI suites, cases, evidence,
      and checks.
    x-group: GitHub and CI
  - name: authoring
    description: Authoring sessions, proposals, turns, and scenario proposals.
    x-group: Cloud authoring
paths:
  /v1/projects/{projectId}/local-reports/{localReportId}/report:
    get:
      tags:
        - runs
      summary: >-
        Read original verified report JSON for a private unattested Results
        viewer
      description: >-
        Exact original report.json bytes, bounded to 64 MiB, with a SHA-256 ETag
        matching the original manifest artifact. Contains run/checks, tools and
        evidence, not uploaded HTML. This remains a user-produced report, not a
        hosted execution attestation.
      operationId: localReports.report
      parameters:
        - name: projectId
          in: path
          required: true
          schema:
            type: string
            pattern: ^prj_[0-9a-z]{12,32}$
        - name: localReportId
          in: path
          required: true
          schema:
            type: string
            pattern: ^lrep_[a-f0-9]{32}$
      responses:
        '200':
          description: Original report JSON
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LocalReportDocument'
          headers:
            ETag:
              description: Quoted SHA-256 digest of original report.json
              schema:
                type: string
        default:
          description: Canonical error envelope
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
components:
  schemas:
    LocalReportDocument:
      type: object
      properties:
        schemaVersion:
          type: number
          enum:
            - 1
        run:
          oneOf:
            - type: object
              properties:
                schemaVersion:
                  type: number
                  enum:
                    - 1
                identity:
                  type: object
                  properties:
                    runId:
                      type: string
                      pattern: ^run_[A-Za-z0-9][A-Za-z0-9_-]{5,95}$
                    worldInstanceId:
                      type: string
                      pattern: ^world_[A-Za-z0-9][A-Za-z0-9_-]{5,95}$
                    drillId:
                      type: string
                      minLength: 1
                      maxLength: 96
                      pattern: ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*$
                    scenarioId:
                      type: string
                      minLength: 1
                      maxLength: 96
                      pattern: ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*$
                    targetId:
                      type: string
                      minLength: 1
                      maxLength: 96
                      pattern: ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*$
                    buildHash:
                      type: string
                      pattern: ^sha256:[0-9a-f]{64}$
                    packageLockHash:
                      type: string
                      pattern: ^sha256:[0-9a-f]{64}$
                    setupHash:
                      type: string
                      pattern: ^sha256:[0-9a-f]{64}$
                    seed:
                      type: string
                      pattern: ^(0|[1-9]\d{0,19})$
                    trial:
                      type: integer
                      minimum: 0
                      exclusiveMinimum: true
                      maximum: 9007199254740991
                    trialCount:
                      type: integer
                      minimum: 0
                      exclusiveMinimum: true
                      maximum: 9007199254740991
                    attempt:
                      default: 1
                      type: integer
                      minimum: 0
                      exclusiveMinimum: true
                      maximum: 9007199254740991
                    attemptLimit:
                      default: 1
                      type: integer
                      minimum: 0
                      exclusiveMinimum: true
                      maximum: 9007199254740991
                  required:
                    - runId
                    - worldInstanceId
                    - drillId
                    - targetId
                    - buildHash
                    - packageLockHash
                    - seed
                    - trial
                    - trialCount
                    - attempt
                    - attemptLimit
                  additionalProperties: false
                setup:
                  type: object
                  properties:
                    schemaVersion:
                      type: number
                      enum:
                        - 1
                    drillId:
                      type: string
                      minLength: 1
                      maxLength: 96
                      pattern: ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*$
                    setup:
                      type: object
                      properties:
                        scenario:
                          type: object
                          properties:
                            virtualTimeUs:
                              type: integer
                              minimum: -9007199254740991
                              maximum: 9007199254740991
                            actors:
                              default: []
                              type: array
                              items:
                                type: object
                                properties:
                                  id:
                                    type: string
                                    minLength: 1
                                    maxLength: 96
                                    pattern: ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*$
                                  description:
                                    type: string
                                    minLength: 1
                                    maxLength: 500
                                    pattern: \S
                                    description: >-
                                      Plain-text actor description for authoring
                                      and inspection; not a prompt or
                                      permission.
                                  attributes:
                                    default: {}
                                    type: object
                                    additionalProperties:
                                      $ref: >-
                                        #/components/schemas/LocalReportDocument___schema0
                                  grants:
                                    default: []
                                    type: array
                                    items:
                                      type: object
                                      properties:
                                        packageId:
                                          type: string
                                          minLength: 1
                                          maxLength: 96
                                          pattern: ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*$
                                        operationId:
                                          type: string
                                          minLength: 1
                                          maxLength: 160
                                          pattern: >-
                                            ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*(?:\.[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*)*$
                                      required:
                                        - packageId
                                        - operationId
                                      additionalProperties: false
                                required:
                                  - id
                                  - attributes
                                  - grants
                                additionalProperties: false
                            state:
                              default: []
                              type: array
                              items:
                                oneOf:
                                  - type: object
                                    properties:
                                      action:
                                        type: string
                                        enum:
                                          - upsert
                                      packageId:
                                        type: string
                                        minLength: 1
                                        maxLength: 96
                                        pattern: ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*$
                                      namespace:
                                        type: string
                                        minLength: 1
                                        maxLength: 96
                                        pattern: ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*$
                                      rowId:
                                        type: string
                                        minLength: 1
                                        maxLength: 512
                                      value:
                                        type: object
                                        additionalProperties:
                                          $ref: >-
                                            #/components/schemas/LocalReportDocument___schema0
                                    required:
                                      - action
                                      - packageId
                                      - namespace
                                      - rowId
                                      - value
                                    additionalProperties: false
                                  - type: object
                                    properties:
                                      action:
                                        type: string
                                        enum:
                                          - delete
                                      packageId:
                                        type: string
                                        minLength: 1
                                        maxLength: 96
                                        pattern: ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*$
                                      namespace:
                                        type: string
                                        minLength: 1
                                        maxLength: 96
                                        pattern: ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*$
                                      rowId:
                                        type: string
                                        minLength: 1
                                        maxLength: 512
                                    required:
                                      - action
                                      - packageId
                                      - namespace
                                      - rowId
                                    additionalProperties: false
                            faults:
                              default: []
                              type: array
                              items:
                                type: object
                                properties:
                                  packageId:
                                    type: string
                                    minLength: 1
                                    maxLength: 96
                                    pattern: ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*$
                                  faultId:
                                    type: string
                                    minLength: 1
                                    maxLength: 96
                                    pattern: ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*$
                                required:
                                  - packageId
                                  - faultId
                                additionalProperties: false
                            initialEvents:
                              default: []
                              type: array
                              items:
                                type: object
                                properties:
                                  event:
                                    type: object
                                    properties:
                                      packageId:
                                        type: string
                                        minLength: 1
                                        maxLength: 96
                                        pattern: ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*$
                                      eventId:
                                        type: string
                                        minLength: 1
                                        maxLength: 160
                                        pattern: >-
                                          ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*(?:\.[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*)*$
                                    required:
                                      - packageId
                                      - eventId
                                    additionalProperties: false
                                  payload:
                                    type: object
                                    additionalProperties:
                                      $ref: >-
                                        #/components/schemas/LocalReportDocument___schema0
                                  atUs:
                                    type: integer
                                    minimum: -9007199254740991
                                    maximum: 9007199254740991
                                  actorId:
                                    type: string
                                    minLength: 1
                                    maxLength: 96
                                    pattern: ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*$
                                required:
                                  - event
                                  - payload
                                  - atUs
                                  - actorId
                                additionalProperties: false
                            toolOverrides:
                              maxItems: 1000
                              type: array
                              items:
                                type: object
                                properties:
                                  id:
                                    type: string
                                    minLength: 1
                                    maxLength: 96
                                    pattern: ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*$
                                  operation:
                                    type: object
                                    properties:
                                      packageId:
                                        type: string
                                        minLength: 1
                                        maxLength: 96
                                        pattern: ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*$
                                      operationId:
                                        type: string
                                        minLength: 1
                                        maxLength: 160
                                        pattern: >-
                                          ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*(?:\.[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*)*$
                                    required:
                                      - packageId
                                      - operationId
                                    additionalProperties: false
                                  when:
                                    type: object
                                    properties:
                                      arguments:
                                        type: object
                                        additionalProperties:
                                          $ref: >-
                                            #/components/schemas/LocalReportDocument___schema0
                                      actorId:
                                        type: string
                                        minLength: 1
                                        maxLength: 96
                                        pattern: ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*$
                                    additionalProperties: false
                                  outcome:
                                    oneOf:
                                      - type: object
                                        properties:
                                          kind:
                                            type: string
                                            enum:
                                              - return
                                          value:
                                            $ref: >-
                                              #/components/schemas/LocalReportDocument___schema0
                                        required:
                                          - kind
                                          - value
                                        additionalProperties: false
                                      - type: object
                                        properties:
                                          kind:
                                            type: string
                                            enum:
                                              - error
                                          code:
                                            type: string
                                            pattern: ^[A-Z][A-Z0-9_]*$
                                          message:
                                            type: string
                                            minLength: 1
                                            maxLength: 1000
                                          retryable:
                                            type: boolean
                                        required:
                                          - kind
                                          - code
                                          - message
                                        additionalProperties: false
                                      - type: object
                                        properties:
                                          kind:
                                            type: string
                                            enum:
                                              - original
                                        required:
                                          - kind
                                        additionalProperties: false
                                  times:
                                    type: integer
                                    minimum: 0
                                    exclusiveMinimum: true
                                    maximum: 9007199254740991
                                required:
                                  - id
                                  - operation
                                  - outcome
                                additionalProperties: false
                          required:
                            - actors
                            - state
                            - faults
                            - initialEvents
                          additionalProperties: false
                        tools:
                          default:
                            packages: []
                            behaviorOverrides: []
                          type: object
                          properties:
                            packages:
                              default: []
                              type: array
                              items:
                                type: string
                                minLength: 1
                                maxLength: 214
                                pattern: >-
                                  ^(?:@[a-z0-9][a-z0-9._-]*\/)?[a-z0-9][a-z0-9._-]*$
                            behaviorOverrides:
                              default: []
                              type: array
                              items:
                                type: object
                                properties:
                                  packageId:
                                    type: string
                                    minLength: 1
                                    maxLength: 96
                                    pattern: ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*$
                                  module:
                                    type: string
                                    minLength: 1
                                    maxLength: 1024
                                  exportName:
                                    default: default
                                    type: string
                                    pattern: ^(?:default|[$A-Z_a-z][$\w]*)$
                                required:
                                  - packageId
                                  - module
                                  - exportName
                                additionalProperties: false
                          required:
                            - packages
                            - behaviorOverrides
                          additionalProperties: false
                        bindings:
                          default:
                            environment: {}
                          type: object
                          properties:
                            environment:
                              default: {}
                              type: object
                              additionalProperties:
                                type: string
                                enum:
                                  - FIREDRILL_HTTP_URL
                                  - FIREDRILL_HTTP_TOKEN
                                  - FIREDRILL_MCP_URL
                                  - FIREDRILL_MCP_TOKEN
                                  - FIREDRILL_CLI_URL
                                  - FIREDRILL_CLI_TOKEN
                          required:
                            - environment
                          additionalProperties: false
                      required:
                        - tools
                        - bindings
                      additionalProperties: false
                    setupHash:
                      type: string
                      pattern: ^sha256:[0-9a-f]{64}$
                  required:
                    - schemaVersion
                    - drillId
                    - setup
                    - setupHash
                  additionalProperties: false
                capture:
                  type: object
                  properties:
                    schemaVersion:
                      type: number
                      enum:
                        - 1
                    policies:
                      type: object
                      properties:
                        logs:
                          type: string
                          enum:
                            - 'off'
                            - always
                            - retain-on-failure
                        screenshots:
                          type: string
                          enum:
                            - 'off'
                            - always
                            - retain-on-failure
                        video:
                          type: string
                          enum:
                            - 'off'
                            - always
                            - retain-on-failure
                        files:
                          type: string
                          enum:
                            - 'off'
                            - always
                            - retain-on-failure
                      required:
                        - logs
                        - screenshots
                        - video
                        - files
                      additionalProperties: false
                    attachments:
                      maxItems: 32
                      type: array
                      items:
                        type: object
                        properties:
                          kind:
                            type: string
                            enum:
                              - log
                              - screenshot
                              - video
                              - file
                          policy:
                            type: string
                            enum:
                              - always
                              - retain-on-failure
                          interactionId:
                            type: string
                            minLength: 1
                            maxLength: 96
                            pattern: ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*$
                          attachment:
                            type: object
                            properties:
                              schemaVersion:
                                type: number
                                enum:
                                  - 1
                              kind:
                                type: string
                                enum:
                                  - file
                              id:
                                type: string
                                minLength: 1
                                maxLength: 96
                                pattern: ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*$
                              name:
                                type: string
                                minLength: 1
                                maxLength: 128
                                pattern: ^[A-Za-z0-9][A-Za-z0-9._-]*$
                              mediaType:
                                type: string
                                minLength: 1
                                maxLength: 200
                              bytes:
                                type: integer
                                minimum: 0
                                maximum: 67108864
                              hash:
                                type: string
                                pattern: ^sha256:[0-9a-f]{64}$
                              redaction:
                                type: object
                                properties:
                                  status:
                                    type: string
                                    enum:
                                      - not_applied
                                      - applied_by_caller
                                  note:
                                    default: null
                                    nullable: true
                                    type: string
                                    minLength: 1
                                    maxLength: 500
                                required:
                                  - status
                                  - note
                                additionalProperties: false
                            required:
                              - schemaVersion
                              - kind
                              - id
                              - name
                              - mediaType
                              - bytes
                              - hash
                              - redaction
                            additionalProperties: false
                        required:
                          - kind
                          - policy
                          - attachment
                        additionalProperties: false
                    errors:
                      maxItems: 256
                      type: array
                      items:
                        type: object
                        properties:
                          code:
                            type: string
                            maxLength: 100
                            pattern: ^capture\.[A-Z_]+$
                          message:
                            type: string
                            minLength: 1
                            maxLength: 500
                          kind:
                            type: string
                            enum:
                              - log
                              - screenshot
                              - video
                              - file
                          interactionId:
                            type: string
                            minLength: 1
                            maxLength: 96
                            pattern: ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*$
                        required:
                          - code
                          - message
                        additionalProperties: false
                    discarded:
                      type: object
                      properties:
                        logs:
                          type: integer
                          minimum: -9007199254740991
                          maximum: 9007199254740991
                        screenshots:
                          type: integer
                          minimum: -9007199254740991
                          maximum: 9007199254740991
                        video:
                          type: integer
                          minimum: -9007199254740991
                          maximum: 9007199254740991
                        files:
                          type: integer
                          minimum: -9007199254740991
                          maximum: 9007199254740991
                      required:
                        - logs
                        - screenshots
                        - video
                        - files
                      additionalProperties: false
                  required:
                    - schemaVersion
                    - policies
                    - attachments
                    - errors
                    - discarded
                  additionalProperties: false
                startedAtVirtualUs:
                  type: integer
                  minimum: -9007199254740991
                  maximum: 9007199254740991
                finishedAtVirtualUs:
                  type: integer
                  minimum: -9007199254740991
                  maximum: 9007199254740991
                bindingEvidence:
                  type: string
                  enum:
                    - not_checked
                    - issued
                    - route_verified
                    - observed
                    - enforced
                worldConsistency:
                  type: string
                  enum:
                    - atomic
                    - degraded
                    - unknown
                interactions:
                  type: array
                  items:
                    type: object
                    properties:
                      schemaVersion:
                        type: number
                        enum:
                          - 1
                      interactionId:
                        type: string
                        minLength: 1
                        maxLength: 96
                        pattern: ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*$
                      actorId:
                        type: string
                        minLength: 1
                        maxLength: 96
                        pattern: ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*$
                      task:
                        type: object
                        properties:
                          instruction:
                            type: string
                            minLength: 1
                            maxLength: 20000
                          input:
                            allOf:
                              - $ref: >-
                                  #/components/schemas/LocalReportDocument___schema0
                        required:
                          - instruction
                        additionalProperties: false
                      scheduledAtVirtualUs:
                        type: integer
                        minimum: -9007199254740991
                        maximum: 9007199254740991
                      startedAtVirtualUs:
                        type: integer
                        minimum: -9007199254740991
                        maximum: 9007199254740991
                      finishedAtVirtualUs:
                        type: integer
                        minimum: -9007199254740991
                        maximum: 9007199254740991
                      bindingEvidence:
                        type: string
                        enum:
                          - not_checked
                          - issued
                          - route_verified
                          - observed
                          - enforced
                      targetResult:
                        type: object
                        properties:
                          schemaVersion:
                            type: number
                            enum:
                              - 1
                          status:
                            type: string
                            enum:
                              - completed
                              - failed
                              - timed_out
                              - cancelled
                          output:
                            allOf:
                              - $ref: >-
                                  #/components/schemas/LocalReportDocument___schema0
                          attachments:
                            default: []
                            type: array
                            items:
                              type: object
                              additionalProperties:
                                $ref: >-
                                  #/components/schemas/LocalReportDocument___schema0
                          error:
                            type: object
                            properties:
                              schemaVersion:
                                type: number
                                enum:
                                  - 1
                              code:
                                type: string
                                pattern: ^[a-z][a-z0-9-]*\.[A-Z][A-Z0-9_]*$
                              source:
                                type: string
                                enum:
                                  - framework
                                  - world
                                  - tool
                                  - target
                                  - assertion
                                  - reporter
                                  - control
                              message:
                                type: string
                                minLength: 1
                                maxLength: 4000
                              retryable:
                                type: boolean
                              correlationId:
                                type: string
                                pattern: ^corr_[A-Za-z0-9][A-Za-z0-9_-]{5,95}$
                              issues:
                                default: []
                                type: array
                                items:
                                  type: object
                                  properties:
                                    code:
                                      type: string
                                      minLength: 1
                                      maxLength: 128
                                    message:
                                      type: string
                                      minLength: 1
                                      maxLength: 2000
                                    path:
                                      type: array
                                      items:
                                        anyOf:
                                          - type: string
                                          - type: integer
                                            minimum: 0
                                            maximum: 9007199254740991
                                    suggestion:
                                      type: string
                                      minLength: 1
                                      maxLength: 4000
                                  required:
                                    - code
                                    - message
                                  additionalProperties: {}
                              details:
                                type: object
                                additionalProperties:
                                  $ref: >-
                                    #/components/schemas/LocalReportDocument___schema0
                              evidence:
                                type: object
                                properties:
                                  runId:
                                    type: string
                                    pattern: ^run_[A-Za-z0-9][A-Za-z0-9_-]{5,95}$
                                  sequence:
                                    type: integer
                                    minimum: 0
                                    exclusiveMinimum: true
                                    maximum: 9007199254740991
                                additionalProperties: {}
                            required:
                              - schemaVersion
                              - code
                              - source
                              - message
                              - retryable
                              - issues
                            additionalProperties: {}
                        required:
                          - schemaVersion
                          - status
                          - attachments
                        additionalProperties: {}
                    required:
                      - schemaVersion
                      - interactionId
                      - actorId
                      - task
                      - scheduledAtVirtualUs
                      - startedAtVirtualUs
                      - finishedAtVirtualUs
                      - bindingEvidence
                      - targetResult
                    additionalProperties: false
                checkpoints:
                  type: array
                  items:
                    type: object
                    properties:
                      schemaVersion:
                        type: number
                        enum:
                          - 1
                      checkpointId:
                        type: string
                        minLength: 1
                        maxLength: 96
                        pattern: ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*$
                      kind:
                        type: string
                        enum:
                          - after_interaction
                          - after_event
                          - horizon
                          - final
                      interactionId:
                        type: string
                        minLength: 1
                        maxLength: 96
                        pattern: ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*$
                      virtualTimeUs:
                        type: integer
                        minimum: -9007199254740991
                        maximum: 9007199254740991
                      verdict:
                        type: string
                        enum:
                          - passed
                          - failed
                          - inconclusive
                      assertionResults:
                        minItems: 1
                        type: array
                        items:
                          type: object
                          properties:
                            schemaVersion:
                              type: number
                              enum:
                                - 1
                            assertionId:
                              type: string
                              minLength: 1
                              maxLength: 96
                              pattern: ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*$
                            kind:
                              type: string
                              enum:
                                - state.value
                                - state.count
                                - operation.count
                                - operation.order
                                - operation.arguments
                                - operation.denied
                                - event.count
                                - callback.count
                            status:
                              type: string
                              enum:
                                - passed
                                - failed
                                - inconclusive
                                - invalid
                            gate:
                              type: boolean
                            message:
                              type: string
                              minLength: 1
                              maxLength: 4000
                            expected:
                              $ref: >-
                                #/components/schemas/LocalReportDocument___schema0
                            actual:
                              $ref: >-
                                #/components/schemas/LocalReportDocument___schema0
                            location:
                              oneOf:
                                - type: object
                                  properties:
                                    subject:
                                      type: string
                                      enum:
                                        - state
                                    packageId:
                                      type: string
                                      minLength: 1
                                      maxLength: 96
                                      pattern: ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*$
                                    namespace:
                                      type: string
                                      minLength: 1
                                      maxLength: 96
                                      pattern: ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*$
                                    rowId:
                                      type: string
                                      minLength: 1
                                      maxLength: 512
                                    path:
                                      default: []
                                      type: array
                                      items:
                                        anyOf:
                                          - type: string
                                            minLength: 1
                                          - type: integer
                                            minimum: 0
                                            maximum: 9007199254740991
                                  required:
                                    - subject
                                    - packageId
                                    - namespace
                                    - path
                                  additionalProperties: false
                                - type: object
                                  properties:
                                    subject:
                                      type: string
                                      enum:
                                        - operation
                                    operations:
                                      minItems: 1
                                      type: array
                                      items:
                                        type: object
                                        properties:
                                          packageId:
                                            type: string
                                            minLength: 1
                                            maxLength: 96
                                            pattern: ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*$
                                          operationId:
                                            type: string
                                            minLength: 1
                                            maxLength: 160
                                            pattern: >-
                                              ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*(?:\.[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*)*$
                                        required:
                                          - packageId
                                          - operationId
                                        additionalProperties: false
                                    occurrence:
                                      type: integer
                                      minimum: 0
                                      exclusiveMinimum: true
                                      maximum: 9007199254740991
                                  required:
                                    - subject
                                    - operations
                                  additionalProperties: false
                                - type: object
                                  properties:
                                    subject:
                                      type: string
                                      enum:
                                        - event
                                    event:
                                      type: object
                                      properties:
                                        packageId:
                                          type: string
                                          minLength: 1
                                          maxLength: 96
                                          pattern: ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*$
                                        eventId:
                                          type: string
                                          minLength: 1
                                          maxLength: 160
                                          pattern: >-
                                            ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*(?:\.[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*)*$
                                      required:
                                        - packageId
                                        - eventId
                                      additionalProperties: false
                                    phase:
                                      type: string
                                      enum:
                                        - emitted
                                        - scheduled
                                        - handled
                                        - failed
                                  required:
                                    - subject
                                    - event
                                    - phase
                                  additionalProperties: false
                                - type: object
                                  properties:
                                    subject:
                                      type: string
                                      enum:
                                        - callback
                                    callback:
                                      type: object
                                      properties:
                                        packageId:
                                          type: string
                                          minLength: 1
                                          maxLength: 96
                                          pattern: ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*$
                                        callbackId:
                                          type: string
                                          minLength: 1
                                          maxLength: 96
                                          pattern: ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*$
                                      required:
                                        - packageId
                                        - callbackId
                                      additionalProperties: false
                                    phase:
                                      type: string
                                      enum:
                                        - queued
                                        - attempt_started
                                        - delivered
                                        - retry_scheduled
                                        - failed
                                        - recovered
                                  required:
                                    - subject
                                    - callback
                                    - phase
                                  additionalProperties: false
                            diff:
                              type: object
                              properties:
                                operator:
                                  type: string
                                  enum:
                                    - equals
                                    - not_equals
                                    - greater_than_or_equal
                                    - less_than_or_equal
                                    - one_of
                                    - contains
                                    - contains_in_order
                                    - all_denied
                                matched:
                                  type: boolean
                                details:
                                  default: {}
                                  type: object
                                  additionalProperties:
                                    $ref: >-
                                      #/components/schemas/LocalReportDocument___schema0
                              required:
                                - operator
                                - matched
                                - details
                              additionalProperties: false
                            evidenceSequences:
                              default: []
                              type: array
                              items:
                                type: integer
                                minimum: 0
                                exclusiveMinimum: true
                                maximum: 9007199254740991
                          required:
                            - schemaVersion
                            - assertionId
                            - kind
                            - status
                            - gate
                            - message
                            - expected
                            - actual
                            - location
                            - diff
                            - evidenceSequences
                          additionalProperties: {}
                    required:
                      - schemaVersion
                      - checkpointId
                      - kind
                      - virtualTimeUs
                      - verdict
                      - assertionResults
                    additionalProperties: false
                budgetUsage:
                  type: object
                  properties:
                    toolCalls:
                      type: object
                      properties:
                        limit:
                          type: integer
                          minimum: 0
                          exclusiveMinimum: true
                          maximum: 9007199254740991
                        attempted:
                          type: integer
                          minimum: -9007199254740991
                          maximum: 9007199254740991
                        rejected:
                          type: integer
                          minimum: -9007199254740991
                          maximum: 9007199254740991
                      required:
                        - limit
                        - attempted
                        - rejected
                      additionalProperties: false
                    scheduledEvents:
                      type: object
                      properties:
                        limit:
                          type: integer
                          minimum: 0
                          exclusiveMinimum: true
                          maximum: 9007199254740991
                        processed:
                          type: integer
                          minimum: -9007199254740991
                          maximum: 9007199254740991
                        exhausted:
                          type: boolean
                      required:
                        - limit
                        - processed
                        - exhausted
                      additionalProperties: false
                  required:
                    - toolCalls
                    - scheduledEvents
                  additionalProperties: false
                status:
                  type: string
                  enum:
                    - sealed
                verdict:
                  type: string
                  enum:
                    - passed
                    - failed
                    - inconclusive
                assertionResults:
                  type: array
                  items:
                    type: object
                    properties:
                      schemaVersion:
                        type: number
                        enum:
                          - 1
                      assertionId:
                        type: string
                        minLength: 1
                        maxLength: 96
                        pattern: ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*$
                      kind:
                        type: string
                        enum:
                          - state.value
                          - state.count
                          - operation.count
                          - operation.order
                          - operation.arguments
                          - operation.denied
                          - event.count
                          - callback.count
                      status:
                        type: string
                        enum:
                          - passed
                          - failed
                          - inconclusive
                          - invalid
                      gate:
                        type: boolean
                      message:
                        type: string
                        minLength: 1
                        maxLength: 4000
                      expected:
                        $ref: '#/components/schemas/LocalReportDocument___schema0'
                      actual:
                        $ref: '#/components/schemas/LocalReportDocument___schema0'
                      location:
                        oneOf:
                          - type: object
                            properties:
                              subject:
                                type: string
                                enum:
                                  - state
                              packageId:
                                type: string
                                minLength: 1
                                maxLength: 96
                                pattern: ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*$
                              namespace:
                                type: string
                                minLength: 1
                                maxLength: 96
                                pattern: ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*$
                              rowId:
                                type: string
                                minLength: 1
                                maxLength: 512
                              path:
                                default: []
                                type: array
                                items:
                                  anyOf:
                                    - type: string
                                      minLength: 1
                                    - type: integer
                                      minimum: 0
                                      maximum: 9007199254740991
                            required:
                              - subject
                              - packageId
                              - namespace
                              - path
                            additionalProperties: false
                          - type: object
                            properties:
                              subject:
                                type: string
                                enum:
                                  - operation
                              operations:
                                minItems: 1
                                type: array
                                items:
                                  type: object
                                  properties:
                                    packageId:
                                      type: string
                                      minLength: 1
                                      maxLength: 96
                                      pattern: ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*$
                                    operationId:
                                      type: string
                                      minLength: 1
                                      maxLength: 160
                                      pattern: >-
                                        ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*(?:\.[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*)*$
                                  required:
                                    - packageId
                                    - operationId
                                  additionalProperties: false
                              occurrence:
                                type: integer
                                minimum: 0
                                exclusiveMinimum: true
                                maximum: 9007199254740991
                            required:
                              - subject
                              - operations
                            additionalProperties: false
                          - type: object
                            properties:
                              subject:
                                type: string
                                enum:
                                  - event
                              event:
                                type: object
                                properties:
                                  packageId:
                                    type: string
                                    minLength: 1
                                    maxLength: 96
                                    pattern: ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*$
                                  eventId:
                                    type: string
                                    minLength: 1
                                    maxLength: 160
                                    pattern: >-
                                      ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*(?:\.[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*)*$
                                required:
                                  - packageId
                                  - eventId
                                additionalProperties: false
                              phase:
                                type: string
                                enum:
                                  - emitted
                                  - scheduled
                                  - handled
                                  - failed
                            required:
                              - subject
                              - event
                              - phase
                            additionalProperties: false
                          - type: object
                            properties:
                              subject:
                                type: string
                                enum:
                                  - callback
                              callback:
                                type: object
                                properties:
                                  packageId:
                                    type: string
                                    minLength: 1
                                    maxLength: 96
                                    pattern: ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*$
                                  callbackId:
                                    type: string
                                    minLength: 1
                                    maxLength: 96
                                    pattern: ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*$
                                required:
                                  - packageId
                                  - callbackId
                                additionalProperties: false
                              phase:
                                type: string
                                enum:
                                  - queued
                                  - attempt_started
                                  - delivered
                                  - retry_scheduled
                                  - failed
                                  - recovered
                            required:
                              - subject
                              - callback
                              - phase
                            additionalProperties: false
                      diff:
                        type: object
                        properties:
                          operator:
                            type: string
                            enum:
                              - equals
                              - not_equals
                              - greater_than_or_equal
                              - less_than_or_equal
                              - one_of
                              - contains
                              - contains_in_order
                              - all_denied
                          matched:
                            type: boolean
                          details:
                            default: {}
                            type: object
                            additionalProperties:
                              $ref: >-
                                #/components/schemas/LocalReportDocument___schema0
                        required:
                          - operator
                          - matched
                          - details
                        additionalProperties: false
                      evidenceSequences:
                        default: []
                        type: array
                        items:
                          type: integer
                          minimum: 0
                          exclusiveMinimum: true
                          maximum: 9007199254740991
                    required:
                      - schemaVersion
                      - assertionId
                      - kind
                      - status
                      - gate
                      - message
                      - expected
                      - actual
                      - location
                      - diff
                      - evidenceSequences
                    additionalProperties: {}
                evidenceRange:
                  type: object
                  properties:
                    fromSequence:
                      type: integer
                      minimum: 0
                      exclusiveMinimum: true
                      maximum: 9007199254740991
                    toSequence:
                      type: integer
                      minimum: 0
                      exclusiveMinimum: true
                      maximum: 9007199254740991
                  required:
                    - fromSequence
                    - toSequence
                  additionalProperties: false
                stateHash:
                  type: string
                  pattern: ^sha256:[0-9a-f]{64}$
                evidenceHash:
                  type: string
                  pattern: ^sha256:[0-9a-f]{64}$
                trajectoryHash:
                  type: string
                  pattern: ^sha256:[0-9a-f]{64}$
              required:
                - schemaVersion
                - identity
                - startedAtVirtualUs
                - finishedAtVirtualUs
                - bindingEvidence
                - worldConsistency
                - interactions
                - checkpoints
                - budgetUsage
                - status
                - verdict
                - assertionResults
                - evidenceRange
                - stateHash
                - evidenceHash
                - trajectoryHash
              additionalProperties: {}
            - type: object
              properties:
                schemaVersion:
                  type: number
                  enum:
                    - 1
                identity:
                  type: object
                  properties:
                    runId:
                      type: string
                      pattern: ^run_[A-Za-z0-9][A-Za-z0-9_-]{5,95}$
                    worldInstanceId:
                      type: string
                      pattern: ^world_[A-Za-z0-9][A-Za-z0-9_-]{5,95}$
                    drillId:
                      type: string
                      minLength: 1
                      maxLength: 96
                      pattern: ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*$
                    scenarioId:
                      type: string
                      minLength: 1
                      maxLength: 96
                      pattern: ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*$
                    targetId:
                      type: string
                      minLength: 1
                      maxLength: 96
                      pattern: ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*$
                    buildHash:
                      type: string
                      pattern: ^sha256:[0-9a-f]{64}$
                    packageLockHash:
                      type: string
                      pattern: ^sha256:[0-9a-f]{64}$
                    setupHash:
                      type: string
                      pattern: ^sha256:[0-9a-f]{64}$
                    seed:
                      type: string
                      pattern: ^(0|[1-9]\d{0,19})$
                    trial:
                      type: integer
                      minimum: 0
                      exclusiveMinimum: true
                      maximum: 9007199254740991
                    trialCount:
                      type: integer
                      minimum: 0
                      exclusiveMinimum: true
                      maximum: 9007199254740991
                    attempt:
                      default: 1
                      type: integer
                      minimum: 0
                      exclusiveMinimum: true
                      maximum: 9007199254740991
                    attemptLimit:
                      default: 1
                      type: integer
                      minimum: 0
                      exclusiveMinimum: true
                      maximum: 9007199254740991
                  required:
                    - runId
                    - worldInstanceId
                    - drillId
                    - targetId
                    - buildHash
                    - packageLockHash
                    - seed
                    - trial
                    - trialCount
                    - attempt
                    - attemptLimit
                  additionalProperties: false
                setup:
                  type: object
                  properties:
                    schemaVersion:
                      type: number
                      enum:
                        - 1
                    drillId:
                      type: string
                      minLength: 1
                      maxLength: 96
                      pattern: ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*$
                    setup:
                      type: object
                      properties:
                        scenario:
                          type: object
                          properties:
                            virtualTimeUs:
                              type: integer
                              minimum: -9007199254740991
                              maximum: 9007199254740991
                            actors:
                              default: []
                              type: array
                              items:
                                type: object
                                properties:
                                  id:
                                    type: string
                                    minLength: 1
                                    maxLength: 96
                                    pattern: ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*$
                                  description:
                                    type: string
                                    minLength: 1
                                    maxLength: 500
                                    pattern: \S
                                    description: >-
                                      Plain-text actor description for authoring
                                      and inspection; not a prompt or
                                      permission.
                                  attributes:
                                    default: {}
                                    type: object
                                    additionalProperties:
                                      $ref: >-
                                        #/components/schemas/LocalReportDocument___schema0
                                  grants:
                                    default: []
                                    type: array
                                    items:
                                      type: object
                                      properties:
                                        packageId:
                                          type: string
                                          minLength: 1
                                          maxLength: 96
                                          pattern: ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*$
                                        operationId:
                                          type: string
                                          minLength: 1
                                          maxLength: 160
                                          pattern: >-
                                            ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*(?:\.[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*)*$
                                      required:
                                        - packageId
                                        - operationId
                                      additionalProperties: false
                                required:
                                  - id
                                  - attributes
                                  - grants
                                additionalProperties: false
                            state:
                              default: []
                              type: array
                              items:
                                oneOf:
                                  - type: object
                                    properties:
                                      action:
                                        type: string
                                        enum:
                                          - upsert
                                      packageId:
                                        type: string
                                        minLength: 1
                                        maxLength: 96
                                        pattern: ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*$
                                      namespace:
                                        type: string
                                        minLength: 1
                                        maxLength: 96
                                        pattern: ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*$
                                      rowId:
                                        type: string
                                        minLength: 1
                                        maxLength: 512
                                      value:
                                        type: object
                                        additionalProperties:
                                          $ref: >-
                                            #/components/schemas/LocalReportDocument___schema0
                                    required:
                                      - action
                                      - packageId
                                      - namespace
                                      - rowId
                                      - value
                                    additionalProperties: false
                                  - type: object
                                    properties:
                                      action:
                                        type: string
                                        enum:
                                          - delete
                                      packageId:
                                        type: string
                                        minLength: 1
                                        maxLength: 96
                                        pattern: ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*$
                                      namespace:
                                        type: string
                                        minLength: 1
                                        maxLength: 96
                                        pattern: ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*$
                                      rowId:
                                        type: string
                                        minLength: 1
                                        maxLength: 512
                                    required:
                                      - action
                                      - packageId
                                      - namespace
                                      - rowId
                                    additionalProperties: false
                            faults:
                              default: []
                              type: array
                              items:
                                type: object
                                properties:
                                  packageId:
                                    type: string
                                    minLength: 1
                                    maxLength: 96
                                    pattern: ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*$
                                  faultId:
                                    type: string
                                    minLength: 1
                                    maxLength: 96
                                    pattern: ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*$
                                required:
                                  - packageId
                                  - faultId
                                additionalProperties: false
                            initialEvents:
                              default: []
                              type: array
                              items:
                                type: object
                                properties:
                                  event:
                                    type: object
                                    properties:
                                      packageId:
                                        type: string
                                        minLength: 1
                                        maxLength: 96
                                        pattern: ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*$
                                      eventId:
                                        type: string
                                        minLength: 1
                                        maxLength: 160
                                        pattern: >-
                                          ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*(?:\.[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*)*$
                                    required:
                                      - packageId
                                      - eventId
                                    additionalProperties: false
                                  payload:
                                    type: object
                                    additionalProperties:
                                      $ref: >-
                                        #/components/schemas/LocalReportDocument___schema0
                                  atUs:
                                    type: integer
                                    minimum: -9007199254740991
                                    maximum: 9007199254740991
                                  actorId:
                                    type: string
                                    minLength: 1
                                    maxLength: 96
                                    pattern: ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*$
                                required:
                                  - event
                                  - payload
                                  - atUs
                                  - actorId
                                additionalProperties: false
                            toolOverrides:
                              maxItems: 1000
                              type: array
                              items:
                                type: object
                                properties:
                                  id:
                                    type: string
                                    minLength: 1
                                    maxLength: 96
                                    pattern: ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*$
                                  operation:
                                    type: object
                                    properties:
                                      packageId:
                                        type: string
                                        minLength: 1
                                        maxLength: 96
                                        pattern: ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*$
                                      operationId:
                                        type: string
                                        minLength: 1
                                        maxLength: 160
                                        pattern: >-
                                          ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*(?:\.[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*)*$
                                    required:
                                      - packageId
                                      - operationId
                                    additionalProperties: false
                                  when:
                                    type: object
                                    properties:
                                      arguments:
                                        type: object
                                        additionalProperties:
                                          $ref: >-
                                            #/components/schemas/LocalReportDocument___schema0
                                      actorId:
                                        type: string
                                        minLength: 1
                                        maxLength: 96
                                        pattern: ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*$
                                    additionalProperties: false
                                  outcome:
                                    oneOf:
                                      - type: object
                                        properties:
                                          kind:
                                            type: string
                                            enum:
                                              - return
                                          value:
                                            $ref: >-
                                              #/components/schemas/LocalReportDocument___schema0
                                        required:
                                          - kind
                                          - value
                                        additionalProperties: false
                                      - type: object
                                        properties:
                                          kind:
                                            type: string
                                            enum:
                                              - error
                                          code:
                                            type: string
                                            pattern: ^[A-Z][A-Z0-9_]*$
                                          message:
                                            type: string
                                            minLength: 1
                                            maxLength: 1000
                                          retryable:
                                            type: boolean
                                        required:
                                          - kind
                                          - code
                                          - message
                                        additionalProperties: false
                                      - type: object
                                        properties:
                                          kind:
                                            type: string
                                            enum:
                                              - original
                                        required:
                                          - kind
                                        additionalProperties: false
                                  times:
                                    type: integer
                                    minimum: 0
                                    exclusiveMinimum: true
                                    maximum: 9007199254740991
                                required:
                                  - id
                                  - operation
                                  - outcome
                                additionalProperties: false
                          required:
                            - actors
                            - state
                            - faults
                            - initialEvents
                          additionalProperties: false
                        tools:
                          default:
                            packages: []
                            behaviorOverrides: []
                          type: object
                          properties:
                            packages:
                              default: []
                              type: array
                              items:
                                type: string
                                minLength: 1
                                maxLength: 214
                                pattern: >-
                                  ^(?:@[a-z0-9][a-z0-9._-]*\/)?[a-z0-9][a-z0-9._-]*$
                            behaviorOverrides:
                              default: []
                              type: array
                              items:
                                type: object
                                properties:
                                  packageId:
                                    type: string
                                    minLength: 1
                                    maxLength: 96
                                    pattern: ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*$
                                  module:
                                    type: string
                                    minLength: 1
                                    maxLength: 1024
                                  exportName:
                                    default: default
                                    type: string
                                    pattern: ^(?:default|[$A-Z_a-z][$\w]*)$
                                required:
                                  - packageId
                                  - module
                                  - exportName
                                additionalProperties: false
                          required:
                            - packages
                            - behaviorOverrides
                          additionalProperties: false
                        bindings:
                          default:
                            environment: {}
                          type: object
                          properties:
                            environment:
                              default: {}
                              type: object
                              additionalProperties:
                                type: string
                                enum:
                                  - FIREDRILL_HTTP_URL
                                  - FIREDRILL_HTTP_TOKEN
                                  - FIREDRILL_MCP_URL
                                  - FIREDRILL_MCP_TOKEN
                                  - FIREDRILL_CLI_URL
                                  - FIREDRILL_CLI_TOKEN
                          required:
                            - environment
                          additionalProperties: false
                      required:
                        - tools
                        - bindings
                      additionalProperties: false
                    setupHash:
                      type: string
                      pattern: ^sha256:[0-9a-f]{64}$
                  required:
                    - schemaVersion
                    - drillId
                    - setup
                    - setupHash
                  additionalProperties: false
                capture:
                  type: object
                  properties:
                    schemaVersion:
                      type: number
                      enum:
                        - 1
                    policies:
                      type: object
                      properties:
                        logs:
                          type: string
                          enum:
                            - 'off'
                            - always
                            - retain-on-failure
                        screenshots:
                          type: string
                          enum:
                            - 'off'
                            - always
                            - retain-on-failure
                        video:
                          type: string
                          enum:
                            - 'off'
                            - always
                            - retain-on-failure
                        files:
                          type: string
                          enum:
                            - 'off'
                            - always
                            - retain-on-failure
                      required:
                        - logs
                        - screenshots
                        - video
                        - files
                      additionalProperties: false
                    attachments:
                      maxItems: 32
                      type: array
                      items:
                        type: object
                        properties:
                          kind:
                            type: string
                            enum:
                              - log
                              - screenshot
                              - video
                              - file
                          policy:
                            type: string
                            enum:
                              - always
                              - retain-on-failure
                          interactionId:
                            type: string
                            minLength: 1
                            maxLength: 96
                            pattern: ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*$
                          attachment:
                            type: object
                            properties:
                              schemaVersion:
                                type: number
                                enum:
                                  - 1
                              kind:
                                type: string
                                enum:
                                  - file
                              id:
                                type: string
                                minLength: 1
                                maxLength: 96
                                pattern: ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*$
                              name:
                                type: string
                                minLength: 1
                                maxLength: 128
                                pattern: ^[A-Za-z0-9][A-Za-z0-9._-]*$
                              mediaType:
                                type: string
                                minLength: 1
                                maxLength: 200
                              bytes:
                                type: integer
                                minimum: 0
                                maximum: 67108864
                              hash:
                                type: string
                                pattern: ^sha256:[0-9a-f]{64}$
                              redaction:
                                type: object
                                properties:
                                  status:
                                    type: string
                                    enum:
                                      - not_applied
                                      - applied_by_caller
                                  note:
                                    default: null
                                    nullable: true
                                    type: string
                                    minLength: 1
                                    maxLength: 500
                                required:
                                  - status
                                  - note
                                additionalProperties: false
                            required:
                              - schemaVersion
                              - kind
                              - id
                              - name
                              - mediaType
                              - bytes
                              - hash
                              - redaction
                            additionalProperties: false
                        required:
                          - kind
                          - policy
                          - attachment
                        additionalProperties: false
                    errors:
                      maxItems: 256
                      type: array
                      items:
                        type: object
                        properties:
                          code:
                            type: string
                            maxLength: 100
                            pattern: ^capture\.[A-Z_]+$
                          message:
                            type: string
                            minLength: 1
                            maxLength: 500
                          kind:
                            type: string
                            enum:
                              - log
                              - screenshot
                              - video
                              - file
                          interactionId:
                            type: string
                            minLength: 1
                            maxLength: 96
                            pattern: ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*$
                        required:
                          - code
                          - message
                        additionalProperties: false
                    discarded:
                      type: object
                      properties:
                        logs:
                          type: integer
                          minimum: -9007199254740991
                          maximum: 9007199254740991
                        screenshots:
                          type: integer
                          minimum: -9007199254740991
                          maximum: 9007199254740991
                        video:
                          type: integer
                          minimum: -9007199254740991
                          maximum: 9007199254740991
                        files:
                          type: integer
                          minimum: -9007199254740991
                          maximum: 9007199254740991
                      required:
                        - logs
                        - screenshots
                        - video
                        - files
                      additionalProperties: false
                  required:
                    - schemaVersion
                    - policies
                    - attachments
                    - errors
                    - discarded
                  additionalProperties: false
                startedAtVirtualUs:
                  type: integer
                  minimum: -9007199254740991
                  maximum: 9007199254740991
                finishedAtVirtualUs:
                  type: integer
                  minimum: -9007199254740991
                  maximum: 9007199254740991
                bindingEvidence:
                  type: string
                  enum:
                    - not_checked
                    - issued
                    - route_verified
                    - observed
                    - enforced
                worldConsistency:
                  type: string
                  enum:
                    - atomic
                    - degraded
                    - unknown
                interactions:
                  type: array
                  items:
                    type: object
                    properties:
                      schemaVersion:
                        type: number
                        enum:
                          - 1
                      interactionId:
                        type: string
                        minLength: 1
                        maxLength: 96
                        pattern: ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*$
                      actorId:
                        type: string
                        minLength: 1
                        maxLength: 96
                        pattern: ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*$
                      task:
                        type: object
                        properties:
                          instruction:
                            type: string
                            minLength: 1
                            maxLength: 20000
                          input:
                            allOf:
                              - $ref: >-
                                  #/components/schemas/LocalReportDocument___schema0
                        required:
                          - instruction
                        additionalProperties: false
                      scheduledAtVirtualUs:
                        type: integer
                        minimum: -9007199254740991
                        maximum: 9007199254740991
                      startedAtVirtualUs:
                        type: integer
                        minimum: -9007199254740991
                        maximum: 9007199254740991
                      finishedAtVirtualUs:
                        type: integer
                        minimum: -9007199254740991
                        maximum: 9007199254740991
                      bindingEvidence:
                        type: string
                        enum:
                          - not_checked
                          - issued
                          - route_verified
                          - observed
                          - enforced
                      targetResult:
                        type: object
                        properties:
                          schemaVersion:
                            type: number
                            enum:
                              - 1
                          status:
                            type: string
                            enum:
                              - completed
                              - failed
                              - timed_out
                              - cancelled
                          output:
                            allOf:
                              - $ref: >-
                                  #/components/schemas/LocalReportDocument___schema0
                          attachments:
                            default: []
                            type: array
                            items:
                              type: object
                              additionalProperties:
                                $ref: >-
                                  #/components/schemas/LocalReportDocument___schema0
                          error:
                            type: object
                            properties:
                              schemaVersion:
                                type: number
                                enum:
                                  - 1
                              code:
                                type: string
                                pattern: ^[a-z][a-z0-9-]*\.[A-Z][A-Z0-9_]*$
                              source:
                                type: string
                                enum:
                                  - framework
                                  - world
                                  - tool
                                  - target
                                  - assertion
                                  - reporter
                                  - control
                              message:
                                type: string
                                minLength: 1
                                maxLength: 4000
                              retryable:
                                type: boolean
                              correlationId:
                                type: string
                                pattern: ^corr_[A-Za-z0-9][A-Za-z0-9_-]{5,95}$
                              issues:
                                default: []
                                type: array
                                items:
                                  type: object
                                  properties:
                                    code:
                                      type: string
                                      minLength: 1
                                      maxLength: 128
                                    message:
                                      type: string
                                      minLength: 1
                                      maxLength: 2000
                                    path:
                                      type: array
                                      items:
                                        anyOf:
                                          - type: string
                                          - type: integer
                                            minimum: 0
                                            maximum: 9007199254740991
                                    suggestion:
                                      type: string
                                      minLength: 1
                                      maxLength: 4000
                                  required:
                                    - code
                                    - message
                                  additionalProperties: {}
                              details:
                                type: object
                                additionalProperties:
                                  $ref: >-
                                    #/components/schemas/LocalReportDocument___schema0
                              evidence:
                                type: object
                                properties:
                                  runId:
                                    type: string
                                    pattern: ^run_[A-Za-z0-9][A-Za-z0-9_-]{5,95}$
                                  sequence:
                                    type: integer
                                    minimum: 0
                                    exclusiveMinimum: true
                                    maximum: 9007199254740991
                                additionalProperties: {}
                            required:
                              - schemaVersion
                              - code
                              - source
                              - message
                              - retryable
                              - issues
                            additionalProperties: {}
                        required:
                          - schemaVersion
                          - status
                          - attachments
                        additionalProperties: {}
                    required:
                      - schemaVersion
                      - interactionId
                      - actorId
                      - task
                      - scheduledAtVirtualUs
                      - startedAtVirtualUs
                      - finishedAtVirtualUs
                      - bindingEvidence
                      - targetResult
                    additionalProperties: false
                checkpoints:
                  type: array
                  items:
                    type: object
                    properties:
                      schemaVersion:
                        type: number
                        enum:
                          - 1
                      checkpointId:
                        type: string
                        minLength: 1
                        maxLength: 96
                        pattern: ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*$
                      kind:
                        type: string
                        enum:
                          - after_interaction
                          - after_event
                          - horizon
                          - final
                      interactionId:
                        type: string
                        minLength: 1
                        maxLength: 96
                        pattern: ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*$
                      virtualTimeUs:
                        type: integer
                        minimum: -9007199254740991
                        maximum: 9007199254740991
                      verdict:
                        type: string
                        enum:
                          - passed
                          - failed
                          - inconclusive
                      assertionResults:
                        minItems: 1
                        type: array
                        items:
                          type: object
                          properties:
                            schemaVersion:
                              type: number
                              enum:
                                - 1
                            assertionId:
                              type: string
                              minLength: 1
                              maxLength: 96
                              pattern: ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*$
                            kind:
                              type: string
                              enum:
                                - state.value
                                - state.count
                                - operation.count
                                - operation.order
                                - operation.arguments
                                - operation.denied
                                - event.count
                                - callback.count
                            status:
                              type: string
                              enum:
                                - passed
                                - failed
                                - inconclusive
                                - invalid
                            gate:
                              type: boolean
                            message:
                              type: string
                              minLength: 1
                              maxLength: 4000
                            expected:
                              $ref: >-
                                #/components/schemas/LocalReportDocument___schema0
                            actual:
                              $ref: >-
                                #/components/schemas/LocalReportDocument___schema0
                            location:
                              oneOf:
                                - type: object
                                  properties:
                                    subject:
                                      type: string
                                      enum:
                                        - state
                                    packageId:
                                      type: string
                                      minLength: 1
                                      maxLength: 96
                                      pattern: ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*$
                                    namespace:
                                      type: string
                                      minLength: 1
                                      maxLength: 96
                                      pattern: ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*$
                                    rowId:
                                      type: string
                                      minLength: 1
                                      maxLength: 512
                                    path:
                                      default: []
                                      type: array
                                      items:
                                        anyOf:
                                          - type: string
                                            minLength: 1
                                          - type: integer
                                            minimum: 0
                                            maximum: 9007199254740991
                                  required:
                                    - subject
                                    - packageId
                                    - namespace
                                    - path
                                  additionalProperties: false
                                - type: object
                                  properties:
                                    subject:
                                      type: string
                                      enum:
                                        - operation
                                    operations:
                                      minItems: 1
                                      type: array
                                      items:
                                        type: object
                                        properties:
                                          packageId:
                                            type: string
                                            minLength: 1
                                            maxLength: 96
                                            pattern: ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*$
                                          operationId:
                                            type: string
                                            minLength: 1
                                            maxLength: 160
                                            pattern: >-
                                              ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*(?:\.[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*)*$
                                        required:
                                          - packageId
                                          - operationId
                                        additionalProperties: false
                                    occurrence:
                                      type: integer
                                      minimum: 0
                                      exclusiveMinimum: true
                                      maximum: 9007199254740991
                                  required:
                                    - subject
                                    - operations
                                  additionalProperties: false
                                - type: object
                                  properties:
                                    subject:
                                      type: string
                                      enum:
                                        - event
                                    event:
                                      type: object
                                      properties:
                                        packageId:
                                          type: string
                                          minLength: 1
                                          maxLength: 96
                                          pattern: ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*$
                                        eventId:
                                          type: string
                                          minLength: 1
                                          maxLength: 160
                                          pattern: >-
                                            ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*(?:\.[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*)*$
                                      required:
                                        - packageId
                                        - eventId
                                      additionalProperties: false
                                    phase:
                                      type: string
                                      enum:
                                        - emitted
                                        - scheduled
                                        - handled
                                        - failed
                                  required:
                                    - subject
                                    - event
                                    - phase
                                  additionalProperties: false
                                - type: object
                                  properties:
                                    subject:
                                      type: string
                                      enum:
                                        - callback
                                    callback:
                                      type: object
                                      properties:
                                        packageId:
                                          type: string
                                          minLength: 1
                                          maxLength: 96
                                          pattern: ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*$
                                        callbackId:
                                          type: string
                                          minLength: 1
                                          maxLength: 96
                                          pattern: ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*$
                                      required:
                                        - packageId
                                        - callbackId
                                      additionalProperties: false
                                    phase:
                                      type: string
                                      enum:
                                        - queued
                                        - attempt_started
                                        - delivered
                                        - retry_scheduled
                                        - failed
                                        - recovered
                                  required:
                                    - subject
                                    - callback
                                    - phase
                                  additionalProperties: false
                            diff:
                              type: object
                              properties:
                                operator:
                                  type: string
                                  enum:
                                    - equals
                                    - not_equals
                                    - greater_than_or_equal
                                    - less_than_or_equal
                                    - one_of
                                    - contains
                                    - contains_in_order
                                    - all_denied
                                matched:
                                  type: boolean
                                details:
                                  default: {}
                                  type: object
                                  additionalProperties:
                                    $ref: >-
                                      #/components/schemas/LocalReportDocument___schema0
                              required:
                                - operator
                                - matched
                                - details
                              additionalProperties: false
                            evidenceSequences:
                              default: []
                              type: array
                              items:
                                type: integer
                                minimum: 0
                                exclusiveMinimum: true
                                maximum: 9007199254740991
                          required:
                            - schemaVersion
                            - assertionId
                            - kind
                            - status
                            - gate
                            - message
                            - expected
                            - actual
                            - location
                            - diff
                            - evidenceSequences
                          additionalProperties: {}
                    required:
                      - schemaVersion
                      - checkpointId
                      - kind
                      - virtualTimeUs
                      - verdict
                      - assertionResults
                    additionalProperties: false
                budgetUsage:
                  type: object
                  properties:
                    toolCalls:
                      type: object
                      properties:
                        limit:
                          type: integer
                          minimum: 0
                          exclusiveMinimum: true
                          maximum: 9007199254740991
                        attempted:
                          type: integer
                          minimum: -9007199254740991
                          maximum: 9007199254740991
                        rejected:
                          type: integer
                          minimum: -9007199254740991
                          maximum: 9007199254740991
                      required:
                        - limit
                        - attempted
                        - rejected
                      additionalProperties: false
                    scheduledEvents:
                      type: object
                      properties:
                        limit:
                          type: integer
                          minimum: 0
                          exclusiveMinimum: true
                          maximum: 9007199254740991
                        processed:
                          type: integer
                          minimum: -9007199254740991
                          maximum: 9007199254740991
                        exhausted:
                          type: boolean
                      required:
                        - limit
                        - processed
                        - exhausted
                      additionalProperties: false
                  required:
                    - toolCalls
                    - scheduledEvents
                  additionalProperties: false
                status:
                  type: string
                  enum:
                    - runner_failed
                error:
                  type: object
                  properties:
                    schemaVersion:
                      type: number
                      enum:
                        - 1
                    code:
                      type: string
                      pattern: ^[a-z][a-z0-9-]*\.[A-Z][A-Z0-9_]*$
                    source:
                      type: string
                      enum:
                        - framework
                        - world
                        - tool
                        - target
                        - assertion
                        - reporter
                        - control
                    message:
                      type: string
                      minLength: 1
                      maxLength: 4000
                    retryable:
                      type: boolean
                    correlationId:
                      type: string
                      pattern: ^corr_[A-Za-z0-9][A-Za-z0-9_-]{5,95}$
                    issues:
                      default: []
                      type: array
                      items:
                        type: object
                        properties:
                          code:
                            type: string
                            minLength: 1
                            maxLength: 128
                          message:
                            type: string
                            minLength: 1
                            maxLength: 2000
                          path:
                            type: array
                            items:
                              anyOf:
                                - type: string
                                - type: integer
                                  minimum: 0
                                  maximum: 9007199254740991
                          suggestion:
                            type: string
                            minLength: 1
                            maxLength: 4000
                        required:
                          - code
                          - message
                        additionalProperties: {}
                    details:
                      type: object
                      additionalProperties:
                        $ref: '#/components/schemas/LocalReportDocument___schema0'
                    evidence:
                      type: object
                      properties:
                        runId:
                          type: string
                          pattern: ^run_[A-Za-z0-9][A-Za-z0-9_-]{5,95}$
                        sequence:
                          type: integer
                          minimum: 0
                          exclusiveMinimum: true
                          maximum: 9007199254740991
                      additionalProperties: {}
                  required:
                    - schemaVersion
                    - code
                    - source
                    - message
                    - retryable
                    - issues
                  additionalProperties: {}
                assertionResults:
                  default: []
                  type: array
                  items:
                    type: object
                    properties:
                      schemaVersion:
                        type: number
                        enum:
                          - 1
                      assertionId:
                        type: string
                        minLength: 1
                        maxLength: 96
                        pattern: ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*$
                      kind:
                        type: string
                        enum:
                          - state.value
                          - state.count
                          - operation.count
                          - operation.order
                          - operation.arguments
                          - operation.denied
                          - event.count
                          - callback.count
                      status:
                        type: string
                        enum:
                          - passed
                          - failed
                          - inconclusive
                          - invalid
                      gate:
                        type: boolean
                      message:
                        type: string
                        minLength: 1
                        maxLength: 4000
                      expected:
                        $ref: '#/components/schemas/LocalReportDocument___schema0'
                      actual:
                        $ref: '#/components/schemas/LocalReportDocument___schema0'
                      location:
                        oneOf:
                          - type: object
                            properties:
                              subject:
                                type: string
                                enum:
                                  - state
                              packageId:
                                type: string
                                minLength: 1
                                maxLength: 96
                                pattern: ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*$
                              namespace:
                                type: string
                                minLength: 1
                                maxLength: 96
                                pattern: ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*$
                              rowId:
                                type: string
                                minLength: 1
                                maxLength: 512
                              path:
                                default: []
                                type: array
                                items:
                                  anyOf:
                                    - type: string
                                      minLength: 1
                                    - type: integer
                                      minimum: 0
                                      maximum: 9007199254740991
                            required:
                              - subject
                              - packageId
                              - namespace
                              - path
                            additionalProperties: false
                          - type: object
                            properties:
                              subject:
                                type: string
                                enum:
                                  - operation
                              operations:
                                minItems: 1
                                type: array
                                items:
                                  type: object
                                  properties:
                                    packageId:
                                      type: string
                                      minLength: 1
                                      maxLength: 96
                                      pattern: ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*$
                                    operationId:
                                      type: string
                                      minLength: 1
                                      maxLength: 160
                                      pattern: >-
                                        ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*(?:\.[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*)*$
                                  required:
                                    - packageId
                                    - operationId
                                  additionalProperties: false
                              occurrence:
                                type: integer
                                minimum: 0
                                exclusiveMinimum: true
                                maximum: 9007199254740991
                            required:
                              - subject
                              - operations
                            additionalProperties: false
                          - type: object
                            properties:
                              subject:
                                type: string
                                enum:
                                  - event
                              event:
                                type: object
                                properties:
                                  packageId:
                                    type: string
                                    minLength: 1
                                    maxLength: 96
                                    pattern: ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*$
                                  eventId:
                                    type: string
                                    minLength: 1
                                    maxLength: 160
                                    pattern: >-
                                      ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*(?:\.[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*)*$
                                required:
                                  - packageId
                                  - eventId
                                additionalProperties: false
                              phase:
                                type: string
                                enum:
                                  - emitted
                                  - scheduled
                                  - handled
                                  - failed
                            required:
                              - subject
                              - event
                              - phase
                            additionalProperties: false
                          - type: object
                            properties:
                              subject:
                                type: string
                                enum:
                                  - callback
                              callback:
                                type: object
                                properties:
                                  packageId:
                                    type: string
                                    minLength: 1
                                    maxLength: 96
                                    pattern: ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*$
                                  callbackId:
                                    type: string
                                    minLength: 1
                                    maxLength: 96
                                    pattern: ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*$
                                required:
                                  - packageId
                                  - callbackId
                                additionalProperties: false
                              phase:
                                type: string
                                enum:
                                  - queued
                                  - attempt_started
                                  - delivered
                                  - retry_scheduled
                                  - failed
                                  - recovered
                            required:
                              - subject
                              - callback
                              - phase
                            additionalProperties: false
                      diff:
                        type: object
                        properties:
                          operator:
                            type: string
                            enum:
                              - equals
                              - not_equals
                              - greater_than_or_equal
                              - less_than_or_equal
                              - one_of
                              - contains
                              - contains_in_order
                              - all_denied
                          matched:
                            type: boolean
                          details:
                            default: {}
                            type: object
                            additionalProperties:
                              $ref: >-
                                #/components/schemas/LocalReportDocument___schema0
                        required:
                          - operator
                          - matched
                          - details
                        additionalProperties: false
                      evidenceSequences:
                        default: []
                        type: array
                        items:
                          type: integer
                          minimum: 0
                          exclusiveMinimum: true
                          maximum: 9007199254740991
                    required:
                      - schemaVersion
                      - assertionId
                      - kind
                      - status
                      - gate
                      - message
                      - expected
                      - actual
                      - location
                      - diff
                      - evidenceSequences
                    additionalProperties: {}
                evidenceRange:
                  type: object
                  properties:
                    fromSequence:
                      type: integer
                      minimum: 0
                      exclusiveMinimum: true
                      maximum: 9007199254740991
                    toSequence:
                      type: integer
                      minimum: 0
                      exclusiveMinimum: true
                      maximum: 9007199254740991
                  required:
                    - fromSequence
                    - toSequence
                  additionalProperties: false
              required:
                - schemaVersion
                - identity
                - startedAtVirtualUs
                - finishedAtVirtualUs
                - bindingEvidence
                - worldConsistency
                - interactions
                - checkpoints
                - budgetUsage
                - status
                - error
                - assertionResults
              additionalProperties: {}
            - type: object
              properties:
                schemaVersion:
                  type: number
                  enum:
                    - 1
                identity:
                  type: object
                  properties:
                    runId:
                      type: string
                      pattern: ^run_[A-Za-z0-9][A-Za-z0-9_-]{5,95}$
                    worldInstanceId:
                      type: string
                      pattern: ^world_[A-Za-z0-9][A-Za-z0-9_-]{5,95}$
                    drillId:
                      type: string
                      minLength: 1
                      maxLength: 96
                      pattern: ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*$
                    scenarioId:
                      type: string
                      minLength: 1
                      maxLength: 96
                      pattern: ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*$
                    targetId:
                      type: string
                      minLength: 1
                      maxLength: 96
                      pattern: ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*$
                    buildHash:
                      type: string
                      pattern: ^sha256:[0-9a-f]{64}$
                    packageLockHash:
                      type: string
                      pattern: ^sha256:[0-9a-f]{64}$
                    setupHash:
                      type: string
                      pattern: ^sha256:[0-9a-f]{64}$
                    seed:
                      type: string
                      pattern: ^(0|[1-9]\d{0,19})$
                    trial:
                      type: integer
                      minimum: 0
                      exclusiveMinimum: true
                      maximum: 9007199254740991
                    trialCount:
                      type: integer
                      minimum: 0
                      exclusiveMinimum: true
                      maximum: 9007199254740991
                    attempt:
                      default: 1
                      type: integer
                      minimum: 0
                      exclusiveMinimum: true
                      maximum: 9007199254740991
                    attemptLimit:
                      default: 1
                      type: integer
                      minimum: 0
                      exclusiveMinimum: true
                      maximum: 9007199254740991
                  required:
                    - runId
                    - worldInstanceId
                    - drillId
                    - targetId
                    - buildHash
                    - packageLockHash
                    - seed
                    - trial
                    - trialCount
                    - attempt
                    - attemptLimit
                  additionalProperties: false
                setup:
                  type: object
                  properties:
                    schemaVersion:
                      type: number
                      enum:
                        - 1
                    drillId:
                      type: string
                      minLength: 1
                      maxLength: 96
                      pattern: ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*$
                    setup:
                      type: object
                      properties:
                        scenario:
                          type: object
                          properties:
                            virtualTimeUs:
                              type: integer
                              minimum: -9007199254740991
                              maximum: 9007199254740991
                            actors:
                              default: []
                              type: array
                              items:
                                type: object
                                properties:
                                  id:
                                    type: string
                                    minLength: 1
                                    maxLength: 96
                                    pattern: ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*$
                                  description:
                                    type: string
                                    minLength: 1
                                    maxLength: 500
                                    pattern: \S
                                    description: >-
                                      Plain-text actor description for authoring
                                      and inspection; not a prompt or
                                      permission.
                                  attributes:
                                    default: {}
                                    type: object
                                    additionalProperties:
                                      $ref: >-
                                        #/components/schemas/LocalReportDocument___schema0
                                  grants:
                                    default: []
                                    type: array
                                    items:
                                      type: object
                                      properties:
                                        packageId:
                                          type: string
                                          minLength: 1
                                          maxLength: 96
                                          pattern: ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*$
                                        operationId:
                                          type: string
                                          minLength: 1
                                          maxLength: 160
                                          pattern: >-
                                            ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*(?:\.[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*)*$
                                      required:
                                        - packageId
                                        - operationId
                                      additionalProperties: false
                                required:
                                  - id
                                  - attributes
                                  - grants
                                additionalProperties: false
                            state:
                              default: []
                              type: array
                              items:
                                oneOf:
                                  - type: object
                                    properties:
                                      action:
                                        type: string
                                        enum:
                                          - upsert
                                      packageId:
                                        type: string
                                        minLength: 1
                                        maxLength: 96
                                        pattern: ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*$
                                      namespace:
                                        type: string
                                        minLength: 1
                                        maxLength: 96
                                        pattern: ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*$
                                      rowId:
                                        type: string
                                        minLength: 1
                                        maxLength: 512
                                      value:
                                        type: object
                                        additionalProperties:
                                          $ref: >-
                                            #/components/schemas/LocalReportDocument___schema0
                                    required:
                                      - action
                                      - packageId
                                      - namespace
                                      - rowId
                                      - value
                                    additionalProperties: false
                                  - type: object
                                    properties:
                                      action:
                                        type: string
                                        enum:
                                          - delete
                                      packageId:
                                        type: string
                                        minLength: 1
                                        maxLength: 96
                                        pattern: ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*$
                                      namespace:
                                        type: string
                                        minLength: 1
                                        maxLength: 96
                                        pattern: ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*$
                                      rowId:
                                        type: string
                                        minLength: 1
                                        maxLength: 512
                                    required:
                                      - action
                                      - packageId
                                      - namespace
                                      - rowId
                                    additionalProperties: false
                            faults:
                              default: []
                              type: array
                              items:
                                type: object
                                properties:
                                  packageId:
                                    type: string
                                    minLength: 1
                                    maxLength: 96
                                    pattern: ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*$
                                  faultId:
                                    type: string
                                    minLength: 1
                                    maxLength: 96
                                    pattern: ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*$
                                required:
                                  - packageId
                                  - faultId
                                additionalProperties: false
                            initialEvents:
                              default: []
                              type: array
                              items:
                                type: object
                                properties:
                                  event:
                                    type: object
                                    properties:
                                      packageId:
                                        type: string
                                        minLength: 1
                                        maxLength: 96
                                        pattern: ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*$
                                      eventId:
                                        type: string
                                        minLength: 1
                                        maxLength: 160
                                        pattern: >-
                                          ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*(?:\.[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*)*$
                                    required:
                                      - packageId
                                      - eventId
                                    additionalProperties: false
                                  payload:
                                    type: object
                                    additionalProperties:
                                      $ref: >-
                                        #/components/schemas/LocalReportDocument___schema0
                                  atUs:
                                    type: integer
                                    minimum: -9007199254740991
                                    maximum: 9007199254740991
                                  actorId:
                                    type: string
                                    minLength: 1
                                    maxLength: 96
                                    pattern: ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*$
                                required:
                                  - event
                                  - payload
                                  - atUs
                                  - actorId
                                additionalProperties: false
                            toolOverrides:
                              maxItems: 1000
                              type: array
                              items:
                                type: object
                                properties:
                                  id:
                                    type: string
                                    minLength: 1
                                    maxLength: 96
                                    pattern: ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*$
                                  operation:
                                    type: object
                                    properties:
                                      packageId:
                                        type: string
                                        minLength: 1
                                        maxLength: 96
                                        pattern: ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*$
                                      operationId:
                                        type: string
                                        minLength: 1
                                        maxLength: 160
                                        pattern: >-
                                          ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*(?:\.[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*)*$
                                    required:
                                      - packageId
                                      - operationId
                                    additionalProperties: false
                                  when:
                                    type: object
                                    properties:
                                      arguments:
                                        type: object
                                        additionalProperties:
                                          $ref: >-
                                            #/components/schemas/LocalReportDocument___schema0
                                      actorId:
                                        type: string
                                        minLength: 1
                                        maxLength: 96
                                        pattern: ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*$
                                    additionalProperties: false
                                  outcome:
                                    oneOf:
                                      - type: object
                                        properties:
                                          kind:
                                            type: string
                                            enum:
                                              - return
                                          value:
                                            $ref: >-
                                              #/components/schemas/LocalReportDocument___schema0
                                        required:
                                          - kind
                                          - value
                                        additionalProperties: false
                                      - type: object
                                        properties:
                                          kind:
                                            type: string
                                            enum:
                                              - error
                                          code:
                                            type: string
                                            pattern: ^[A-Z][A-Z0-9_]*$
                                          message:
                                            type: string
                                            minLength: 1
                                            maxLength: 1000
                                          retryable:
                                            type: boolean
                                        required:
                                          - kind
                                          - code
                                          - message
                                        additionalProperties: false
                                      - type: object
                                        properties:
                                          kind:
                                            type: string
                                            enum:
                                              - original
                                        required:
                                          - kind
                                        additionalProperties: false
                                  times:
                                    type: integer
                                    minimum: 0
                                    exclusiveMinimum: true
                                    maximum: 9007199254740991
                                required:
                                  - id
                                  - operation
                                  - outcome
                                additionalProperties: false
                          required:
                            - actors
                            - state
                            - faults
                            - initialEvents
                          additionalProperties: false
                        tools:
                          default:
                            packages: []
                            behaviorOverrides: []
                          type: object
                          properties:
                            packages:
                              default: []
                              type: array
                              items:
                                type: string
                                minLength: 1
                                maxLength: 214
                                pattern: >-
                                  ^(?:@[a-z0-9][a-z0-9._-]*\/)?[a-z0-9][a-z0-9._-]*$
                            behaviorOverrides:
                              default: []
                              type: array
                              items:
                                type: object
                                properties:
                                  packageId:
                                    type: string
                                    minLength: 1
                                    maxLength: 96
                                    pattern: ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*$
                                  module:
                                    type: string
                                    minLength: 1
                                    maxLength: 1024
                                  exportName:
                                    default: default
                                    type: string
                                    pattern: ^(?:default|[$A-Z_a-z][$\w]*)$
                                required:
                                  - packageId
                                  - module
                                  - exportName
                                additionalProperties: false
                          required:
                            - packages
                            - behaviorOverrides
                          additionalProperties: false
                        bindings:
                          default:
                            environment: {}
                          type: object
                          properties:
                            environment:
                              default: {}
                              type: object
                              additionalProperties:
                                type: string
                                enum:
                                  - FIREDRILL_HTTP_URL
                                  - FIREDRILL_HTTP_TOKEN
                                  - FIREDRILL_MCP_URL
                                  - FIREDRILL_MCP_TOKEN
                                  - FIREDRILL_CLI_URL
                                  - FIREDRILL_CLI_TOKEN
                          required:
                            - environment
                          additionalProperties: false
                      required:
                        - tools
                        - bindings
                      additionalProperties: false
                    setupHash:
                      type: string
                      pattern: ^sha256:[0-9a-f]{64}$
                  required:
                    - schemaVersion
                    - drillId
                    - setup
                    - setupHash
                  additionalProperties: false
                capture:
                  type: object
                  properties:
                    schemaVersion:
                      type: number
                      enum:
                        - 1
                    policies:
                      type: object
                      properties:
                        logs:
                          type: string
                          enum:
                            - 'off'
                            - always
                            - retain-on-failure
                        screenshots:
                          type: string
                          enum:
                            - 'off'
                            - always
                            - retain-on-failure
                        video:
                          type: string
                          enum:
                            - 'off'
                            - always
                            - retain-on-failure
                        files:
                          type: string
                          enum:
                            - 'off'
                            - always
                            - retain-on-failure
                      required:
                        - logs
                        - screenshots
                        - video
                        - files
                      additionalProperties: false
                    attachments:
                      maxItems: 32
                      type: array
                      items:
                        type: object
                        properties:
                          kind:
                            type: string
                            enum:
                              - log
                              - screenshot
                              - video
                              - file
                          policy:
                            type: string
                            enum:
                              - always
                              - retain-on-failure
                          interactionId:
                            type: string
                            minLength: 1
                            maxLength: 96
                            pattern: ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*$
                          attachment:
                            type: object
                            properties:
                              schemaVersion:
                                type: number
                                enum:
                                  - 1
                              kind:
                                type: string
                                enum:
                                  - file
                              id:
                                type: string
                                minLength: 1
                                maxLength: 96
                                pattern: ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*$
                              name:
                                type: string
                                minLength: 1
                                maxLength: 128
                                pattern: ^[A-Za-z0-9][A-Za-z0-9._-]*$
                              mediaType:
                                type: string
                                minLength: 1
                                maxLength: 200
                              bytes:
                                type: integer
                                minimum: 0
                                maximum: 67108864
                              hash:
                                type: string
                                pattern: ^sha256:[0-9a-f]{64}$
                              redaction:
                                type: object
                                properties:
                                  status:
                                    type: string
                                    enum:
                                      - not_applied
                                      - applied_by_caller
                                  note:
                                    default: null
                                    nullable: true
                                    type: string
                                    minLength: 1
                                    maxLength: 500
                                required:
                                  - status
                                  - note
                                additionalProperties: false
                            required:
                              - schemaVersion
                              - kind
                              - id
                              - name
                              - mediaType
                              - bytes
                              - hash
                              - redaction
                            additionalProperties: false
                        required:
                          - kind
                          - policy
                          - attachment
                        additionalProperties: false
                    errors:
                      maxItems: 256
                      type: array
                      items:
                        type: object
                        properties:
                          code:
                            type: string
                            maxLength: 100
                            pattern: ^capture\.[A-Z_]+$
                          message:
                            type: string
                            minLength: 1
                            maxLength: 500
                          kind:
                            type: string
                            enum:
                              - log
                              - screenshot
                              - video
                              - file
                          interactionId:
                            type: string
                            minLength: 1
                            maxLength: 96
                            pattern: ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*$
                        required:
                          - code
                          - message
                        additionalProperties: false
                    discarded:
                      type: object
                      properties:
                        logs:
                          type: integer
                          minimum: -9007199254740991
                          maximum: 9007199254740991
                        screenshots:
                          type: integer
                          minimum: -9007199254740991
                          maximum: 9007199254740991
                        video:
                          type: integer
                          minimum: -9007199254740991
                          maximum: 9007199254740991
                        files:
                          type: integer
                          minimum: -9007199254740991
                          maximum: 9007199254740991
                      required:
                        - logs
                        - screenshots
                        - video
                        - files
                      additionalProperties: false
                  required:
                    - schemaVersion
                    - policies
                    - attachments
                    - errors
                    - discarded
                  additionalProperties: false
                startedAtVirtualUs:
                  type: integer
                  minimum: -9007199254740991
                  maximum: 9007199254740991
                finishedAtVirtualUs:
                  type: integer
                  minimum: -9007199254740991
                  maximum: 9007199254740991
                bindingEvidence:
                  type: string
                  enum:
                    - not_checked
                    - issued
                    - route_verified
                    - observed
                    - enforced
                worldConsistency:
                  type: string
                  enum:
                    - atomic
                    - degraded
                    - unknown
                interactions:
                  type: array
                  items:
                    type: object
                    properties:
                      schemaVersion:
                        type: number
                        enum:
                          - 1
                      interactionId:
                        type: string
                        minLength: 1
                        maxLength: 96
                        pattern: ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*$
                      actorId:
                        type: string
                        minLength: 1
                        maxLength: 96
                        pattern: ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*$
                      task:
                        type: object
                        properties:
                          instruction:
                            type: string
                            minLength: 1
                            maxLength: 20000
                          input:
                            allOf:
                              - $ref: >-
                                  #/components/schemas/LocalReportDocument___schema0
                        required:
                          - instruction
                        additionalProperties: false
                      scheduledAtVirtualUs:
                        type: integer
                        minimum: -9007199254740991
                        maximum: 9007199254740991
                      startedAtVirtualUs:
                        type: integer
                        minimum: -9007199254740991
                        maximum: 9007199254740991
                      finishedAtVirtualUs:
                        type: integer
                        minimum: -9007199254740991
                        maximum: 9007199254740991
                      bindingEvidence:
                        type: string
                        enum:
                          - not_checked
                          - issued
                          - route_verified
                          - observed
                          - enforced
                      targetResult:
                        type: object
                        properties:
                          schemaVersion:
                            type: number
                            enum:
                              - 1
                          status:
                            type: string
                            enum:
                              - completed
                              - failed
                              - timed_out
                              - cancelled
                          output:
                            allOf:
                              - $ref: >-
                                  #/components/schemas/LocalReportDocument___schema0
                          attachments:
                            default: []
                            type: array
                            items:
                              type: object
                              additionalProperties:
                                $ref: >-
                                  #/components/schemas/LocalReportDocument___schema0
                          error:
                            type: object
                            properties:
                              schemaVersion:
                                type: number
                                enum:
                                  - 1
                              code:
                                type: string
                                pattern: ^[a-z][a-z0-9-]*\.[A-Z][A-Z0-9_]*$
                              source:
                                type: string
                                enum:
                                  - framework
                                  - world
                                  - tool
                                  - target
                                  - assertion
                                  - reporter
                                  - control
                              message:
                                type: string
                                minLength: 1
                                maxLength: 4000
                              retryable:
                                type: boolean
                              correlationId:
                                type: string
                                pattern: ^corr_[A-Za-z0-9][A-Za-z0-9_-]{5,95}$
                              issues:
                                default: []
                                type: array
                                items:
                                  type: object
                                  properties:
                                    code:
                                      type: string
                                      minLength: 1
                                      maxLength: 128
                                    message:
                                      type: string
                                      minLength: 1
                                      maxLength: 2000
                                    path:
                                      type: array
                                      items:
                                        anyOf:
                                          - type: string
                                          - type: integer
                                            minimum: 0
                                            maximum: 9007199254740991
                                    suggestion:
                                      type: string
                                      minLength: 1
                                      maxLength: 4000
                                  required:
                                    - code
                                    - message
                                  additionalProperties: {}
                              details:
                                type: object
                                additionalProperties:
                                  $ref: >-
                                    #/components/schemas/LocalReportDocument___schema0
                              evidence:
                                type: object
                                properties:
                                  runId:
                                    type: string
                                    pattern: ^run_[A-Za-z0-9][A-Za-z0-9_-]{5,95}$
                                  sequence:
                                    type: integer
                                    minimum: 0
                                    exclusiveMinimum: true
                                    maximum: 9007199254740991
                                additionalProperties: {}
                            required:
                              - schemaVersion
                              - code
                              - source
                              - message
                              - retryable
                              - issues
                            additionalProperties: {}
                        required:
                          - schemaVersion
                          - status
                          - attachments
                        additionalProperties: {}
                    required:
                      - schemaVersion
                      - interactionId
                      - actorId
                      - task
                      - scheduledAtVirtualUs
                      - startedAtVirtualUs
                      - finishedAtVirtualUs
                      - bindingEvidence
                      - targetResult
                    additionalProperties: false
                checkpoints:
                  type: array
                  items:
                    type: object
                    properties:
                      schemaVersion:
                        type: number
                        enum:
                          - 1
                      checkpointId:
                        type: string
                        minLength: 1
                        maxLength: 96
                        pattern: ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*$
                      kind:
                        type: string
                        enum:
                          - after_interaction
                          - after_event
                          - horizon
                          - final
                      interactionId:
                        type: string
                        minLength: 1
                        maxLength: 96
                        pattern: ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*$
                      virtualTimeUs:
                        type: integer
                        minimum: -9007199254740991
                        maximum: 9007199254740991
                      verdict:
                        type: string
                        enum:
                          - passed
                          - failed
                          - inconclusive
                      assertionResults:
                        minItems: 1
                        type: array
                        items:
                          type: object
                          properties:
                            schemaVersion:
                              type: number
                              enum:
                                - 1
                            assertionId:
                              type: string
                              minLength: 1
                              maxLength: 96
                              pattern: ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*$
                            kind:
                              type: string
                              enum:
                                - state.value
                                - state.count
                                - operation.count
                                - operation.order
                                - operation.arguments
                                - operation.denied
                                - event.count
                                - callback.count
                            status:
                              type: string
                              enum:
                                - passed
                                - failed
                                - inconclusive
                                - invalid
                            gate:
                              type: boolean
                            message:
                              type: string
                              minLength: 1
                              maxLength: 4000
                            expected:
                              $ref: >-
                                #/components/schemas/LocalReportDocument___schema0
                            actual:
                              $ref: >-
                                #/components/schemas/LocalReportDocument___schema0
                            location:
                              oneOf:
                                - type: object
                                  properties:
                                    subject:
                                      type: string
                                      enum:
                                        - state
                                    packageId:
                                      type: string
                                      minLength: 1
                                      maxLength: 96
                                      pattern: ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*$
                                    namespace:
                                      type: string
                                      minLength: 1
                                      maxLength: 96
                                      pattern: ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*$
                                    rowId:
                                      type: string
                                      minLength: 1
                                      maxLength: 512
                                    path:
                                      default: []
                                      type: array
                                      items:
                                        anyOf:
                                          - type: string
                                            minLength: 1
                                          - type: integer
                                            minimum: 0
                                            maximum: 9007199254740991
                                  required:
                                    - subject
                                    - packageId
                                    - namespace
                                    - path
                                  additionalProperties: false
                                - type: object
                                  properties:
                                    subject:
                                      type: string
                                      enum:
                                        - operation
                                    operations:
                                      minItems: 1
                                      type: array
                                      items:
                                        type: object
                                        properties:
                                          packageId:
                                            type: string
                                            minLength: 1
                                            maxLength: 96
                                            pattern: ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*$
                                          operationId:
                                            type: string
                                            minLength: 1
                                            maxLength: 160
                                            pattern: >-
                                              ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*(?:\.[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*)*$
                                        required:
                                          - packageId
                                          - operationId
                                        additionalProperties: false
                                    occurrence:
                                      type: integer
                                      minimum: 0
                                      exclusiveMinimum: true
                                      maximum: 9007199254740991
                                  required:
                                    - subject
                                    - operations
                                  additionalProperties: false
                                - type: object
                                  properties:
                                    subject:
                                      type: string
                                      enum:
                                        - event
                                    event:
                                      type: object
                                      properties:
                                        packageId:
                                          type: string
                                          minLength: 1
                                          maxLength: 96
                                          pattern: ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*$
                                        eventId:
                                          type: string
                                          minLength: 1
                                          maxLength: 160
                                          pattern: >-
                                            ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*(?:\.[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*)*$
                                      required:
                                        - packageId
                                        - eventId
                                      additionalProperties: false
                                    phase:
                                      type: string
                                      enum:
                                        - emitted
                                        - scheduled
                                        - handled
                                        - failed
                                  required:
                                    - subject
                                    - event
                                    - phase
                                  additionalProperties: false
                                - type: object
                                  properties:
                                    subject:
                                      type: string
                                      enum:
                                        - callback
                                    callback:
                                      type: object
                                      properties:
                                        packageId:
                                          type: string
                                          minLength: 1
                                          maxLength: 96
                                          pattern: ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*$
                                        callbackId:
                                          type: string
                                          minLength: 1
                                          maxLength: 96
                                          pattern: ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*$
                                      required:
                                        - packageId
                                        - callbackId
                                      additionalProperties: false
                                    phase:
                                      type: string
                                      enum:
                                        - queued
                                        - attempt_started
                                        - delivered
                                        - retry_scheduled
                                        - failed
                                        - recovered
                                  required:
                                    - subject
                                    - callback
                                    - phase
                                  additionalProperties: false
                            diff:
                              type: object
                              properties:
                                operator:
                                  type: string
                                  enum:
                                    - equals
                                    - not_equals
                                    - greater_than_or_equal
                                    - less_than_or_equal
                                    - one_of
                                    - contains
                                    - contains_in_order
                                    - all_denied
                                matched:
                                  type: boolean
                                details:
                                  default: {}
                                  type: object
                                  additionalProperties:
                                    $ref: >-
                                      #/components/schemas/LocalReportDocument___schema0
                              required:
                                - operator
                                - matched
                                - details
                              additionalProperties: false
                            evidenceSequences:
                              default: []
                              type: array
                              items:
                                type: integer
                                minimum: 0
                                exclusiveMinimum: true
                                maximum: 9007199254740991
                          required:
                            - schemaVersion
                            - assertionId
                            - kind
                            - status
                            - gate
                            - message
                            - expected
                            - actual
                            - location
                            - diff
                            - evidenceSequences
                          additionalProperties: {}
                    required:
                      - schemaVersion
                      - checkpointId
                      - kind
                      - virtualTimeUs
                      - verdict
                      - assertionResults
                    additionalProperties: false
                budgetUsage:
                  type: object
                  properties:
                    toolCalls:
                      type: object
                      properties:
                        limit:
                          type: integer
                          minimum: 0
                          exclusiveMinimum: true
                          maximum: 9007199254740991
                        attempted:
                          type: integer
                          minimum: -9007199254740991
                          maximum: 9007199254740991
                        rejected:
                          type: integer
                          minimum: -9007199254740991
                          maximum: 9007199254740991
                      required:
                        - limit
                        - attempted
                        - rejected
                      additionalProperties: false
                    scheduledEvents:
                      type: object
                      properties:
                        limit:
                          type: integer
                          minimum: 0
                          exclusiveMinimum: true
                          maximum: 9007199254740991
                        processed:
                          type: integer
                          minimum: -9007199254740991
                          maximum: 9007199254740991
                        exhausted:
                          type: boolean
                      required:
                        - limit
                        - processed
                        - exhausted
                      additionalProperties: false
                  required:
                    - toolCalls
                    - scheduledEvents
                  additionalProperties: false
                status:
                  type: string
                  enum:
                    - cancelled
                reason:
                  type: string
                  minLength: 1
                  maxLength: 1000
                assertionResults:
                  default: []
                  type: array
                  items:
                    type: object
                    properties:
                      schemaVersion:
                        type: number
                        enum:
                          - 1
                      assertionId:
                        type: string
                        minLength: 1
                        maxLength: 96
                        pattern: ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*$
                      kind:
                        type: string
                        enum:
                          - state.value
                          - state.count
                          - operation.count
                          - operation.order
                          - operation.arguments
                          - operation.denied
                          - event.count
                          - callback.count
                      status:
                        type: string
                        enum:
                          - passed
                          - failed
                          - inconclusive
                          - invalid
                      gate:
                        type: boolean
                      message:
                        type: string
                        minLength: 1
                        maxLength: 4000
                      expected:
                        $ref: '#/components/schemas/LocalReportDocument___schema0'
                      actual:
                        $ref: '#/components/schemas/LocalReportDocument___schema0'
                      location:
                        oneOf:
                          - type: object
                            properties:
                              subject:
                                type: string
                                enum:
                                  - state
                              packageId:
                                type: string
                                minLength: 1
                                maxLength: 96
                                pattern: ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*$
                              namespace:
                                type: string
                                minLength: 1
                                maxLength: 96
                                pattern: ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*$
                              rowId:
                                type: string
                                minLength: 1
                                maxLength: 512
                              path:
                                default: []
                                type: array
                                items:
                                  anyOf:
                                    - type: string
                                      minLength: 1
                                    - type: integer
                                      minimum: 0
                                      maximum: 9007199254740991
                            required:
                              - subject
                              - packageId
                              - namespace
                              - path
                            additionalProperties: false
                          - type: object
                            properties:
                              subject:
                                type: string
                                enum:
                                  - operation
                              operations:
                                minItems: 1
                                type: array
                                items:
                                  type: object
                                  properties:
                                    packageId:
                                      type: string
                                      minLength: 1
                                      maxLength: 96
                                      pattern: ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*$
                                    operationId:
                                      type: string
                                      minLength: 1
                                      maxLength: 160
                                      pattern: >-
                                        ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*(?:\.[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*)*$
                                  required:
                                    - packageId
                                    - operationId
                                  additionalProperties: false
                              occurrence:
                                type: integer
                                minimum: 0
                                exclusiveMinimum: true
                                maximum: 9007199254740991
                            required:
                              - subject
                              - operations
                            additionalProperties: false
                          - type: object
                            properties:
                              subject:
                                type: string
                                enum:
                                  - event
                              event:
                                type: object
                                properties:
                                  packageId:
                                    type: string
                                    minLength: 1
                                    maxLength: 96
                                    pattern: ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*$
                                  eventId:
                                    type: string
                                    minLength: 1
                                    maxLength: 160
                                    pattern: >-
                                      ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*(?:\.[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*)*$
                                required:
                                  - packageId
                                  - eventId
                                additionalProperties: false
                              phase:
                                type: string
                                enum:
                                  - emitted
                                  - scheduled
                                  - handled
                                  - failed
                            required:
                              - subject
                              - event
                              - phase
                            additionalProperties: false
                          - type: object
                            properties:
                              subject:
                                type: string
                                enum:
                                  - callback
                              callback:
                                type: object
                                properties:
                                  packageId:
                                    type: string
                                    minLength: 1
                                    maxLength: 96
                                    pattern: ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*$
                                  callbackId:
                                    type: string
                                    minLength: 1
                                    maxLength: 96
                                    pattern: ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*$
                                required:
                                  - packageId
                                  - callbackId
                                additionalProperties: false
                              phase:
                                type: string
                                enum:
                                  - queued
                                  - attempt_started
                                  - delivered
                                  - retry_scheduled
                                  - failed
                                  - recovered
                            required:
                              - subject
                              - callback
                              - phase
                            additionalProperties: false
                      diff:
                        type: object
                        properties:
                          operator:
                            type: string
                            enum:
                              - equals
                              - not_equals
                              - greater_than_or_equal
                              - less_than_or_equal
                              - one_of
                              - contains
                              - contains_in_order
                              - all_denied
                          matched:
                            type: boolean
                          details:
                            default: {}
                            type: object
                            additionalProperties:
                              $ref: >-
                                #/components/schemas/LocalReportDocument___schema0
                        required:
                          - operator
                          - matched
                          - details
                        additionalProperties: false
                      evidenceSequences:
                        default: []
                        type: array
                        items:
                          type: integer
                          minimum: 0
                          exclusiveMinimum: true
                          maximum: 9007199254740991
                    required:
                      - schemaVersion
                      - assertionId
                      - kind
                      - status
                      - gate
                      - message
                      - expected
                      - actual
                      - location
                      - diff
                      - evidenceSequences
                    additionalProperties: {}
                evidenceRange:
                  type: object
                  properties:
                    fromSequence:
                      type: integer
                      minimum: 0
                      exclusiveMinimum: true
                      maximum: 9007199254740991
                    toSequence:
                      type: integer
                      minimum: 0
                      exclusiveMinimum: true
                      maximum: 9007199254740991
                  required:
                    - fromSequence
                    - toSequence
                  additionalProperties: false
              required:
                - schemaVersion
                - identity
                - startedAtVirtualUs
                - finishedAtVirtualUs
                - bindingEvidence
                - worldConsistency
                - interactions
                - checkpoints
                - budgetUsage
                - status
                - reason
                - assertionResults
              additionalProperties: {}
        tools:
          type: array
          items:
            type: object
            properties:
              id:
                type: string
                minLength: 1
                maxLength: 96
                pattern: ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*$
              version:
                type: string
                pattern: >-
                  ^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-[0-9A-Za-z.-]+)?(?:\+[0-9A-Za-z.-]+)?$
              operations:
                minItems: 1
                type: array
                items:
                  type: object
                  properties:
                    id:
                      type: string
                      minLength: 1
                      maxLength: 160
                      pattern: >-
                        ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*(?:\.[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*)*$
                    fidelity:
                      type: string
                      enum:
                        - contract
                        - stateful
                        - behavioral
                        - validated
                  required:
                    - id
                    - fidelity
                  additionalProperties: false
              http:
                default: []
                type: array
                items:
                  type: object
                  properties:
                    id:
                      type: string
                      minLength: 1
                      maxLength: 96
                      pattern: ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*$
                    operationId:
                      type: string
                      minLength: 1
                      maxLength: 160
                      pattern: >-
                        ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*(?:\.[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*)*$
                    method:
                      type: string
                      enum:
                        - DELETE
                        - GET
                        - PATCH
                        - POST
                        - PUT
                    path:
                      type: string
                      minLength: 1
                      maxLength: 512
                  required:
                    - id
                    - operationId
                    - method
                    - path
                  additionalProperties: false
              compatibility:
                default: []
                type: array
                items:
                  type: object
                  properties:
                    id:
                      type: string
                      minLength: 1
                      maxLength: 96
                      pattern: ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*$
                    mode:
                      type: string
                      enum:
                        - translated
                    protocol:
                      type: string
                      enum:
                        - http
                    service:
                      type: string
                      minLength: 1
                      maxLength: 256
                    apiVersion:
                      type: string
                      minLength: 1
                      maxLength: 128
                    client:
                      type: object
                      properties:
                        ecosystem:
                          type: string
                          enum:
                            - npm
                            - pypi
                            - other
                        name:
                          type: string
                          minLength: 1
                          maxLength: 256
                        version:
                          type: string
                          minLength: 1
                          maxLength: 128
                      required:
                        - ecosystem
                        - name
                        - version
                      additionalProperties: false
                    configuration:
                      type: object
                      properties:
                        endpoint:
                          type: string
                          minLength: 1
                          maxLength: 128
                        credential:
                          type: string
                          minLength: 1
                          maxLength: 128
                      required:
                        - endpoint
                        - credential
                      additionalProperties: false
                    routes:
                      minItems: 1
                      type: array
                      items:
                        type: object
                        properties:
                          routeId:
                            type: string
                            minLength: 1
                            maxLength: 96
                            pattern: ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*$
                          clientMethod:
                            type: string
                            minLength: 1
                            maxLength: 256
                        required:
                          - routeId
                          - clientMethod
                        additionalProperties: false
                    flows:
                      minItems: 1
                      type: array
                      items:
                        type: object
                        properties:
                          id:
                            type: string
                            minLength: 1
                            maxLength: 96
                            pattern: ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*$
                          description:
                            type: string
                            minLength: 1
                            maxLength: 1000
                          routeIds:
                            minItems: 1
                            type: array
                            items:
                              type: string
                              minLength: 1
                              maxLength: 96
                              pattern: ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*$
                        required:
                          - id
                          - description
                          - routeIds
                        additionalProperties: false
                    limitations:
                      minItems: 1
                      maxItems: 100
                      type: array
                      items:
                        type: string
                        minLength: 1
                        maxLength: 1000
                  required:
                    - id
                    - mode
                    - protocol
                    - service
                    - client
                    - configuration
                    - routes
                    - flows
                    - limitations
                  additionalProperties: false
            required:
              - id
              - version
              - operations
              - http
              - compatibility
            additionalProperties: false
        evidence:
          type: array
          items:
            oneOf:
              - type: object
                properties:
                  schemaVersion:
                    type: number
                    enum:
                      - 1
                  sequence:
                    type: integer
                    minimum: 0
                    exclusiveMinimum: true
                    maximum: 9007199254740991
                  transactionId:
                    type: string
                    pattern: ^txn_[A-Za-z0-9][A-Za-z0-9_-]{5,95}$
                  transactionIndex:
                    type: integer
                    minimum: 0
                    maximum: 9007199254740991
                  transactionSize:
                    type: integer
                    minimum: 0
                    exclusiveMinimum: true
                    maximum: 9007199254740991
                  virtualTimeUs:
                    type: integer
                    minimum: -9007199254740991
                    maximum: 9007199254740991
                  causeSequence:
                    type: integer
                    minimum: 0
                    exclusiveMinimum: true
                    maximum: 9007199254740991
                  correlationId:
                    type: string
                    pattern: ^corr_[A-Za-z0-9][A-Za-z0-9_-]{5,95}$
                  kind:
                    type: string
                    enum:
                      - operation
                  invocation:
                    type: object
                    properties:
                      schemaVersion:
                        type: number
                        enum:
                          - 1
                      callId:
                        type: string
                        pattern: ^call_[A-Za-z0-9][A-Za-z0-9_-]{5,95}$
                      correlationId:
                        type: string
                        pattern: ^corr_[A-Za-z0-9][A-Za-z0-9_-]{5,95}$
                      operation:
                        type: object
                        properties:
                          packageId:
                            type: string
                            minLength: 1
                            maxLength: 96
                            pattern: ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*$
                          operationId:
                            type: string
                            minLength: 1
                            maxLength: 160
                            pattern: >-
                              ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*(?:\.[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*)*$
                        required:
                          - packageId
                          - operationId
                        additionalProperties: false
                      actorBindingId:
                        type: string
                        pattern: ^actor_[A-Za-z0-9][A-Za-z0-9_-]{5,95}$
                      arguments:
                        type: object
                        additionalProperties:
                          $ref: '#/components/schemas/LocalReportDocument___schema0'
                      idempotencyKey:
                        type: string
                        minLength: 1
                        maxLength: 255
                    required:
                      - schemaVersion
                      - callId
                      - correlationId
                      - operation
                      - actorBindingId
                      - arguments
                    additionalProperties: false
                  actorId:
                    type: string
                    minLength: 1
                    maxLength: 96
                    pattern: ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*$
                  outcome:
                    type: object
                    properties:
                      status:
                        type: string
                        enum:
                          - ok
                          - denied
                          - tool_error
                          - unsupported
                          - invalid
                      value:
                        allOf:
                          - $ref: '#/components/schemas/LocalReportDocument___schema0'
                      error:
                        type: object
                        properties:
                          schemaVersion:
                            type: number
                            enum:
                              - 1
                          code:
                            type: string
                            pattern: ^[a-z][a-z0-9-]*\.[A-Z][A-Z0-9_]*$
                          source:
                            type: string
                            enum:
                              - framework
                              - world
                              - tool
                              - target
                              - assertion
                              - reporter
                              - control
                          message:
                            type: string
                            minLength: 1
                            maxLength: 4000
                          retryable:
                            type: boolean
                          correlationId:
                            type: string
                            pattern: ^corr_[A-Za-z0-9][A-Za-z0-9_-]{5,95}$
                          issues:
                            default: []
                            type: array
                            items:
                              type: object
                              properties:
                                code:
                                  type: string
                                  minLength: 1
                                  maxLength: 128
                                message:
                                  type: string
                                  minLength: 1
                                  maxLength: 2000
                                path:
                                  type: array
                                  items:
                                    anyOf:
                                      - type: string
                                      - type: integer
                                        minimum: 0
                                        maximum: 9007199254740991
                                suggestion:
                                  type: string
                                  minLength: 1
                                  maxLength: 4000
                              required:
                                - code
                                - message
                              additionalProperties: {}
                          details:
                            type: object
                            additionalProperties:
                              $ref: >-
                                #/components/schemas/LocalReportDocument___schema0
                          evidence:
                            type: object
                            properties:
                              runId:
                                type: string
                                pattern: ^run_[A-Za-z0-9][A-Za-z0-9_-]{5,95}$
                              sequence:
                                type: integer
                                minimum: 0
                                exclusiveMinimum: true
                                maximum: 9007199254740991
                            additionalProperties: {}
                        required:
                          - schemaVersion
                          - code
                          - source
                          - message
                          - retryable
                          - issues
                        additionalProperties: {}
                    required:
                      - status
                    additionalProperties: false
                  idempotency:
                    type: string
                    enum:
                      - not_requested
                      - recorded
                      - replayed
                      - not_recorded
                  replayedFromSequence:
                    type: integer
                    minimum: 0
                    exclusiveMinimum: true
                    maximum: 9007199254740991
                  toolOverride:
                    type: object
                    properties:
                      id:
                        type: string
                        minLength: 1
                        maxLength: 96
                        pattern: ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*$
                      scope:
                        oneOf:
                          - type: object
                            properties:
                              kind:
                                type: string
                                enum:
                                  - baseline
                            required:
                              - kind
                            additionalProperties: false
                          - type: object
                            properties:
                              kind:
                                type: string
                                enum:
                                  - scenario
                              scenarioId:
                                type: string
                                minLength: 1
                                maxLength: 96
                                pattern: ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*$
                            required:
                              - kind
                              - scenarioId
                            additionalProperties: false
                          - type: object
                            properties:
                              kind:
                                type: string
                                enum:
                                  - drill
                              drillId:
                                type: string
                                minLength: 1
                                maxLength: 96
                                pattern: ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*$
                            required:
                              - kind
                              - drillId
                            additionalProperties: false
                          - type: object
                            properties:
                              kind:
                                type: string
                                enum:
                                  - run
                              drillId:
                                type: string
                                minLength: 1
                                maxLength: 96
                                pattern: ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*$
                            required:
                              - kind
                              - drillId
                            additionalProperties: false
                      outcome:
                        type: string
                        enum:
                          - return
                          - error
                          - original
                      matchIndex:
                        type: integer
                        minimum: 0
                        exclusiveMinimum: true
                        maximum: 9007199254740991
                    required:
                      - id
                      - scope
                      - outcome
                      - matchIndex
                    additionalProperties: false
                required:
                  - schemaVersion
                  - sequence
                  - transactionId
                  - transactionIndex
                  - transactionSize
                  - virtualTimeUs
                  - correlationId
                  - kind
                  - invocation
                  - outcome
                  - idempotency
                additionalProperties: {}
              - type: object
                properties:
                  schemaVersion:
                    type: number
                    enum:
                      - 1
                  sequence:
                    type: integer
                    minimum: 0
                    exclusiveMinimum: true
                    maximum: 9007199254740991
                  transactionId:
                    type: string
                    pattern: ^txn_[A-Za-z0-9][A-Za-z0-9_-]{5,95}$
                  transactionIndex:
                    type: integer
                    minimum: 0
                    maximum: 9007199254740991
                  transactionSize:
                    type: integer
                    minimum: 0
                    exclusiveMinimum: true
                    maximum: 9007199254740991
                  virtualTimeUs:
                    type: integer
                    minimum: -9007199254740991
                    maximum: 9007199254740991
                  causeSequence:
                    type: integer
                    minimum: 0
                    exclusiveMinimum: true
                    maximum: 9007199254740991
                  correlationId:
                    type: string
                    pattern: ^corr_[A-Za-z0-9][A-Za-z0-9_-]{5,95}$
                  kind:
                    type: string
                    enum:
                      - state_change
                  packageId:
                    type: string
                    minLength: 1
                    maxLength: 96
                    pattern: ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*$
                  namespace:
                    type: string
                    minLength: 1
                    maxLength: 96
                    pattern: ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*$
                  rowId:
                    type: string
                    minLength: 1
                    maxLength: 512
                  change:
                    type: string
                    enum:
                      - insert
                      - update
                      - delete
                  before:
                    nullable: true
                    type: object
                    additionalProperties:
                      $ref: '#/components/schemas/LocalReportDocument___schema0'
                  after:
                    nullable: true
                    type: object
                    additionalProperties:
                      $ref: '#/components/schemas/LocalReportDocument___schema0'
                  deltaHash:
                    type: string
                    pattern: ^sha256:[0-9a-f]{64}$
                required:
                  - schemaVersion
                  - sequence
                  - transactionId
                  - transactionIndex
                  - transactionSize
                  - virtualTimeUs
                  - correlationId
                  - kind
                  - packageId
                  - namespace
                  - rowId
                  - change
                  - before
                  - after
                  - deltaHash
                additionalProperties: {}
              - type: object
                properties:
                  schemaVersion:
                    type: number
                    enum:
                      - 1
                  sequence:
                    type: integer
                    minimum: 0
                    exclusiveMinimum: true
                    maximum: 9007199254740991
                  transactionId:
                    type: string
                    pattern: ^txn_[A-Za-z0-9][A-Za-z0-9_-]{5,95}$
                  transactionIndex:
                    type: integer
                    minimum: 0
                    maximum: 9007199254740991
                  transactionSize:
                    type: integer
                    minimum: 0
                    exclusiveMinimum: true
                    maximum: 9007199254740991
                  virtualTimeUs:
                    type: integer
                    minimum: -9007199254740991
                    maximum: 9007199254740991
                  causeSequence:
                    type: integer
                    minimum: 0
                    exclusiveMinimum: true
                    maximum: 9007199254740991
                  correlationId:
                    type: string
                    pattern: ^corr_[A-Za-z0-9][A-Za-z0-9_-]{5,95}$
                  kind:
                    type: string
                    enum:
                      - event
                  event:
                    type: object
                    properties:
                      packageId:
                        type: string
                        minLength: 1
                        maxLength: 96
                        pattern: ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*$
                      eventId:
                        type: string
                        minLength: 1
                        maxLength: 160
                        pattern: >-
                          ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*(?:\.[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*)*$
                    required:
                      - packageId
                      - eventId
                    additionalProperties: false
                  phase:
                    type: string
                    enum:
                      - emitted
                      - scheduled
                      - handled
                      - failed
                  payload:
                    type: object
                    additionalProperties:
                      $ref: '#/components/schemas/LocalReportDocument___schema0'
                  scheduledEventId:
                    type: string
                    pattern: ^pending_[A-Za-z0-9][A-Za-z0-9_-]{5,95}$
                  scheduledForUs:
                    type: integer
                    minimum: -9007199254740991
                    maximum: 9007199254740991
                  handlerPackageId:
                    type: string
                    minLength: 1
                    maxLength: 96
                    pattern: ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*$
                  subscriptionId:
                    type: string
                    minLength: 1
                    maxLength: 96
                    pattern: ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*$
                required:
                  - schemaVersion
                  - sequence
                  - transactionId
                  - transactionIndex
                  - transactionSize
                  - virtualTimeUs
                  - correlationId
                  - kind
                  - event
                  - phase
                  - payload
                additionalProperties: {}
              - type: object
                properties:
                  schemaVersion:
                    type: number
                    enum:
                      - 1
                  sequence:
                    type: integer
                    minimum: 0
                    exclusiveMinimum: true
                    maximum: 9007199254740991
                  transactionId:
                    type: string
                    pattern: ^txn_[A-Za-z0-9][A-Za-z0-9_-]{5,95}$
                  transactionIndex:
                    type: integer
                    minimum: 0
                    maximum: 9007199254740991
                  transactionSize:
                    type: integer
                    minimum: 0
                    exclusiveMinimum: true
                    maximum: 9007199254740991
                  virtualTimeUs:
                    type: integer
                    minimum: -9007199254740991
                    maximum: 9007199254740991
                  causeSequence:
                    type: integer
                    minimum: 0
                    exclusiveMinimum: true
                    maximum: 9007199254740991
                  correlationId:
                    type: string
                    pattern: ^corr_[A-Za-z0-9][A-Za-z0-9_-]{5,95}$
                  kind:
                    type: string
                    enum:
                      - callback
                  callback:
                    type: object
                    properties:
                      packageId:
                        type: string
                        minLength: 1
                        maxLength: 96
                        pattern: ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*$
                      callbackId:
                        type: string
                        minLength: 1
                        maxLength: 96
                        pattern: ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*$
                    required:
                      - packageId
                      - callbackId
                    additionalProperties: false
                  deliveryId:
                    type: string
                    pattern: ^delivery_[A-Za-z0-9][A-Za-z0-9_-]{5,95}$
                  receiverId:
                    type: string
                    minLength: 1
                    maxLength: 96
                    pattern: ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*$
                  event:
                    type: object
                    properties:
                      packageId:
                        type: string
                        minLength: 1
                        maxLength: 96
                        pattern: ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*$
                      eventId:
                        type: string
                        minLength: 1
                        maxLength: 160
                        pattern: >-
                          ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*(?:\.[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*)*$
                    required:
                      - packageId
                      - eventId
                    additionalProperties: false
                  phase:
                    type: string
                    enum:
                      - queued
                      - attempt_started
                      - delivered
                      - retry_scheduled
                      - failed
                      - recovered
                  attempt:
                    type: integer
                    minimum: 0
                    exclusiveMinimum: true
                    maximum: 10
                  idempotencyKey:
                    type: string
                    minLength: 1
                    maxLength: 128
                  scheduledForUs:
                    type: integer
                    minimum: -9007199254740991
                    maximum: 9007199254740991
                  request:
                    type: object
                    properties:
                      method:
                        type: string
                        enum:
                          - POST
                          - PUT
                      path:
                        type: string
                        minLength: 1
                        maxLength: 512
                      bodyHash:
                        type: string
                        pattern: ^sha256:[0-9a-f]{64}$
                      bodyBytes:
                        type: integer
                        minimum: -9007199254740991
                        maximum: 9007199254740991
                      idempotencyKey:
                        type: string
                        minLength: 1
                        maxLength: 128
                      signature:
                        oneOf:
                          - type: object
                            properties:
                              kind:
                                type: string
                                enum:
                                  - none
                            required:
                              - kind
                            additionalProperties: false
                          - type: object
                            properties:
                              kind:
                                type: string
                                enum:
                                  - hmac-sha256
                              header:
                                type: string
                                minLength: 1
                                maxLength: 128
                            required:
                              - kind
                              - header
                            additionalProperties: false
                    required:
                      - method
                      - path
                      - bodyHash
                      - bodyBytes
                      - signature
                    additionalProperties: false
                  response:
                    type: object
                    properties:
                      status:
                        type: integer
                        minimum: 100
                        maximum: 599
                      body:
                        type: string
                        maxLength: 65536
                      bodyHash:
                        type: string
                        pattern: ^sha256:[0-9a-f]{64}$
                      bodyBytes:
                        type: integer
                        minimum: 0
                        maximum: 65536
                    required:
                      - status
                      - body
                      - bodyHash
                      - bodyBytes
                    additionalProperties: false
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                        pattern: ^framework\.[A-Z][A-Z0-9_]*$
                      message:
                        type: string
                        minLength: 1
                        maxLength: 1000
                      retryable:
                        type: boolean
                    required:
                      - code
                      - message
                      - retryable
                    additionalProperties: false
                  durationMs:
                    type: number
                    minimum: 0
                    maximum: 60000
                required:
                  - schemaVersion
                  - sequence
                  - transactionId
                  - transactionIndex
                  - transactionSize
                  - virtualTimeUs
                  - correlationId
                  - kind
                  - callback
                  - deliveryId
                  - receiverId
                  - event
                  - phase
                  - idempotencyKey
                additionalProperties: {}
              - type: object
                properties:
                  schemaVersion:
                    type: number
                    enum:
                      - 1
                  sequence:
                    type: integer
                    minimum: 0
                    exclusiveMinimum: true
                    maximum: 9007199254740991
                  transactionId:
                    type: string
                    pattern: ^txn_[A-Za-z0-9][A-Za-z0-9_-]{5,95}$
                  transactionIndex:
                    type: integer
                    minimum: 0
                    maximum: 9007199254740991
                  transactionSize:
                    type: integer
                    minimum: 0
                    exclusiveMinimum: true
                    maximum: 9007199254740991
                  virtualTimeUs:
                    type: integer
                    minimum: -9007199254740991
                    maximum: 9007199254740991
                  causeSequence:
                    type: integer
                    minimum: 0
                    exclusiveMinimum: true
                    maximum: 9007199254740991
                  correlationId:
                    type: string
                    pattern: ^corr_[A-Za-z0-9][A-Za-z0-9_-]{5,95}$
                  kind:
                    type: string
                    enum:
                      - fault
                  packageId:
                    type: string
                    minLength: 1
                    maxLength: 96
                    pattern: ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*$
                  faultId:
                    type: string
                    minLength: 1
                    maxLength: 96
                    pattern: ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*$
                  operation:
                    type: object
                    properties:
                      packageId:
                        type: string
                        minLength: 1
                        maxLength: 96
                        pattern: ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*$
                      operationId:
                        type: string
                        minLength: 1
                        maxLength: 160
                        pattern: >-
                          ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*(?:\.[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*)*$
                    required:
                      - packageId
                      - operationId
                    additionalProperties: false
                  timing:
                    type: string
                    enum:
                      - before
                      - after_commit
                  errorCode:
                    type: string
                    pattern: ^[A-Z][A-Z0-9_]*$
                required:
                  - schemaVersion
                  - sequence
                  - transactionId
                  - transactionIndex
                  - transactionSize
                  - virtualTimeUs
                  - correlationId
                  - kind
                  - packageId
                  - faultId
                  - operation
                  - timing
                  - errorCode
                additionalProperties: {}
              - type: object
                properties:
                  schemaVersion:
                    type: number
                    enum:
                      - 1
                  sequence:
                    type: integer
                    minimum: 0
                    exclusiveMinimum: true
                    maximum: 9007199254740991
                  transactionId:
                    type: string
                    pattern: ^txn_[A-Za-z0-9][A-Za-z0-9_-]{5,95}$
                  transactionIndex:
                    type: integer
                    minimum: 0
                    maximum: 9007199254740991
                  transactionSize:
                    type: integer
                    minimum: 0
                    exclusiveMinimum: true
                    maximum: 9007199254740991
                  virtualTimeUs:
                    type: integer
                    minimum: -9007199254740991
                    maximum: 9007199254740991
                  causeSequence:
                    type: integer
                    minimum: 0
                    exclusiveMinimum: true
                    maximum: 9007199254740991
                  correlationId:
                    type: string
                    pattern: ^corr_[A-Za-z0-9][A-Za-z0-9_-]{5,95}$
                  kind:
                    type: string
                    enum:
                      - fault_control
                  packageId:
                    type: string
                    minLength: 1
                    maxLength: 96
                    pattern: ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*$
                  faultId:
                    type: string
                    minLength: 1
                    maxLength: 96
                    pattern: ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*$
                  previouslyActive:
                    type: boolean
                  active:
                    type: boolean
                required:
                  - schemaVersion
                  - sequence
                  - transactionId
                  - transactionIndex
                  - transactionSize
                  - virtualTimeUs
                  - correlationId
                  - kind
                  - packageId
                  - faultId
                  - previouslyActive
                  - active
                additionalProperties: {}
              - type: object
                properties:
                  schemaVersion:
                    type: number
                    enum:
                      - 1
                  sequence:
                    type: integer
                    minimum: 0
                    exclusiveMinimum: true
                    maximum: 9007199254740991
                  transactionId:
                    type: string
                    pattern: ^txn_[A-Za-z0-9][A-Za-z0-9_-]{5,95}$
                  transactionIndex:
                    type: integer
                    minimum: 0
                    maximum: 9007199254740991
                  transactionSize:
                    type: integer
                    minimum: 0
                    exclusiveMinimum: true
                    maximum: 9007199254740991
                  virtualTimeUs:
                    type: integer
                    minimum: -9007199254740991
                    maximum: 9007199254740991
                  causeSequence:
                    type: integer
                    minimum: 0
                    exclusiveMinimum: true
                    maximum: 9007199254740991
                  correlationId:
                    type: string
                    pattern: ^corr_[A-Za-z0-9][A-Za-z0-9_-]{5,95}$
                  kind:
                    type: string
                    enum:
                      - random
                  packageId:
                    type: string
                    minLength: 1
                    maxLength: 96
                    pattern: ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*$
                  draw:
                    type: integer
                    minimum: 0
                    exclusiveMinimum: true
                    maximum: 9007199254740991
                  value:
                    type: string
                    pattern: ^(0|[1-9]\d{0,19})$
                required:
                  - schemaVersion
                  - sequence
                  - transactionId
                  - transactionIndex
                  - transactionSize
                  - virtualTimeUs
                  - correlationId
                  - kind
                  - packageId
                  - draw
                  - value
                additionalProperties: {}
              - type: object
                properties:
                  schemaVersion:
                    type: number
                    enum:
                      - 1
                  sequence:
                    type: integer
                    minimum: 0
                    exclusiveMinimum: true
                    maximum: 9007199254740991
                  transactionId:
                    type: string
                    pattern: ^txn_[A-Za-z0-9][A-Za-z0-9_-]{5,95}$
                  transactionIndex:
                    type: integer
                    minimum: 0
                    maximum: 9007199254740991
                  transactionSize:
                    type: integer
                    minimum: 0
                    exclusiveMinimum: true
                    maximum: 9007199254740991
                  virtualTimeUs:
                    type: integer
                    minimum: -9007199254740991
                    maximum: 9007199254740991
                  causeSequence:
                    type: integer
                    minimum: 0
                    exclusiveMinimum: true
                    maximum: 9007199254740991
                  correlationId:
                    type: string
                    pattern: ^corr_[A-Za-z0-9][A-Za-z0-9_-]{5,95}$
                  kind:
                    type: string
                    enum:
                      - clock
                  fromUs:
                    type: integer
                    minimum: -9007199254740991
                    maximum: 9007199254740991
                  toUs:
                    type: integer
                    minimum: -9007199254740991
                    maximum: 9007199254740991
                  reason:
                    type: string
                    enum:
                      - scenario
                      - explicit
                      - scheduled_work
                      - reset
                required:
                  - schemaVersion
                  - sequence
                  - transactionId
                  - transactionIndex
                  - transactionSize
                  - virtualTimeUs
                  - correlationId
                  - kind
                  - fromUs
                  - toUs
                  - reason
                additionalProperties: {}
              - type: object
                properties:
                  schemaVersion:
                    type: number
                    enum:
                      - 1
                  sequence:
                    type: integer
                    minimum: 0
                    exclusiveMinimum: true
                    maximum: 9007199254740991
                  transactionId:
                    type: string
                    pattern: ^txn_[A-Za-z0-9][A-Za-z0-9_-]{5,95}$
                  transactionIndex:
                    type: integer
                    minimum: 0
                    maximum: 9007199254740991
                  transactionSize:
                    type: integer
                    minimum: 0
                    exclusiveMinimum: true
                    maximum: 9007199254740991
                  virtualTimeUs:
                    type: integer
                    minimum: -9007199254740991
                    maximum: 9007199254740991
                  causeSequence:
                    type: integer
                    minimum: 0
                    exclusiveMinimum: true
                    maximum: 9007199254740991
                  correlationId:
                    type: string
                    pattern: ^corr_[A-Za-z0-9][A-Za-z0-9_-]{5,95}$
                  kind:
                    type: string
                    enum:
                      - lifecycle
                  action:
                    type: string
                    enum:
                      - world_created
                      - snapshot_created
                      - world_reset
                      - world_forked
                      - world_closed
                  worldInstanceId:
                    type: string
                    pattern: ^world_[A-Za-z0-9][A-Za-z0-9_-]{5,95}$
                  snapshotId:
                    type: string
                    pattern: ^snap_[A-Za-z0-9][A-Za-z0-9_-]{5,95}$
                  actorBindingId:
                    type: string
                    pattern: ^actor_[A-Za-z0-9][A-Za-z0-9_-]{5,95}$
                  details:
                    type: object
                    additionalProperties:
                      $ref: '#/components/schemas/LocalReportDocument___schema0'
                required:
                  - schemaVersion
                  - sequence
                  - transactionId
                  - transactionIndex
                  - transactionSize
                  - virtualTimeUs
                  - correlationId
                  - kind
                  - action
                  - worldInstanceId
                additionalProperties: {}
              - type: object
                properties:
                  schemaVersion:
                    type: number
                    enum:
                      - 1
                  sequence:
                    type: integer
                    minimum: 0
                    exclusiveMinimum: true
                    maximum: 9007199254740991
                  transactionId:
                    type: string
                    pattern: ^txn_[A-Za-z0-9][A-Za-z0-9_-]{5,95}$
                  transactionIndex:
                    type: integer
                    minimum: 0
                    maximum: 9007199254740991
                  transactionSize:
                    type: integer
                    minimum: 0
                    exclusiveMinimum: true
                    maximum: 9007199254740991
                  virtualTimeUs:
                    type: integer
                    minimum: -9007199254740991
                    maximum: 9007199254740991
                  causeSequence:
                    type: integer
                    minimum: 0
                    exclusiveMinimum: true
                    maximum: 9007199254740991
                  correlationId:
                    type: string
                    pattern: ^corr_[A-Za-z0-9][A-Za-z0-9_-]{5,95}$
                  kind:
                    type: string
                    enum:
                      - verification
                  checkpointId:
                    type: string
                    minLength: 1
                    maxLength: 96
                    pattern: ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*$
                  checkpointKind:
                    type: string
                    enum:
                      - after_interaction
                      - after_event
                      - horizon
                      - final
                  interactionId:
                    type: string
                    minLength: 1
                    maxLength: 96
                    pattern: ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*$
                  result:
                    type: object
                    properties:
                      schemaVersion:
                        type: number
                        enum:
                          - 1
                      assertionId:
                        type: string
                        minLength: 1
                        maxLength: 96
                        pattern: ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*$
                      kind:
                        type: string
                        enum:
                          - state.value
                          - state.count
                          - operation.count
                          - operation.order
                          - operation.arguments
                          - operation.denied
                          - event.count
                          - callback.count
                      status:
                        type: string
                        enum:
                          - passed
                          - failed
                          - inconclusive
                          - invalid
                      gate:
                        type: boolean
                      message:
                        type: string
                        minLength: 1
                        maxLength: 4000
                      expected:
                        $ref: '#/components/schemas/LocalReportDocument___schema0'
                      actual:
                        $ref: '#/components/schemas/LocalReportDocument___schema0'
                      location:
                        oneOf:
                          - type: object
                            properties:
                              subject:
                                type: string
                                enum:
                                  - state
                              packageId:
                                type: string
                                minLength: 1
                                maxLength: 96
                                pattern: ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*$
                              namespace:
                                type: string
                                minLength: 1
                                maxLength: 96
                                pattern: ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*$
                              rowId:
                                type: string
                                minLength: 1
                                maxLength: 512
                              path:
                                default: []
                                type: array
                                items:
                                  anyOf:
                                    - type: string
                                      minLength: 1
                                    - type: integer
                                      minimum: 0
                                      maximum: 9007199254740991
                            required:
                              - subject
                              - packageId
                              - namespace
                              - path
                            additionalProperties: false
                          - type: object
                            properties:
                              subject:
                                type: string
                                enum:
                                  - operation
                              operations:
                                minItems: 1
                                type: array
                                items:
                                  type: object
                                  properties:
                                    packageId:
                                      type: string
                                      minLength: 1
                                      maxLength: 96
                                      pattern: ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*$
                                    operationId:
                                      type: string
                                      minLength: 1
                                      maxLength: 160
                                      pattern: >-
                                        ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*(?:\.[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*)*$
                                  required:
                                    - packageId
                                    - operationId
                                  additionalProperties: false
                              occurrence:
                                type: integer
                                minimum: 0
                                exclusiveMinimum: true
                                maximum: 9007199254740991
                            required:
                              - subject
                              - operations
                            additionalProperties: false
                          - type: object
                            properties:
                              subject:
                                type: string
                                enum:
                                  - event
                              event:
                                type: object
                                properties:
                                  packageId:
                                    type: string
                                    minLength: 1
                                    maxLength: 96
                                    pattern: ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*$
                                  eventId:
                                    type: string
                                    minLength: 1
                                    maxLength: 160
                                    pattern: >-
                                      ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*(?:\.[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*)*$
                                required:
                                  - packageId
                                  - eventId
                                additionalProperties: false
                              phase:
                                type: string
                                enum:
                                  - emitted
                                  - scheduled
                                  - handled
                                  - failed
                            required:
                              - subject
                              - event
                              - phase
                            additionalProperties: false
                          - type: object
                            properties:
                              subject:
                                type: string
                                enum:
                                  - callback
                              callback:
                                type: object
                                properties:
                                  packageId:
                                    type: string
                                    minLength: 1
                                    maxLength: 96
                                    pattern: ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*$
                                  callbackId:
                                    type: string
                                    minLength: 1
                                    maxLength: 96
                                    pattern: ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*$
                                required:
                                  - packageId
                                  - callbackId
                                additionalProperties: false
                              phase:
                                type: string
                                enum:
                                  - queued
                                  - attempt_started
                                  - delivered
                                  - retry_scheduled
                                  - failed
                                  - recovered
                            required:
                              - subject
                              - callback
                              - phase
                            additionalProperties: false
                      diff:
                        type: object
                        properties:
                          operator:
                            type: string
                            enum:
                              - equals
                              - not_equals
                              - greater_than_or_equal
                              - less_than_or_equal
                              - one_of
                              - contains
                              - contains_in_order
                              - all_denied
                          matched:
                            type: boolean
                          details:
                            default: {}
                            type: object
                            additionalProperties:
                              $ref: >-
                                #/components/schemas/LocalReportDocument___schema0
                        required:
                          - operator
                          - matched
                          - details
                        additionalProperties: false
                      evidenceSequences:
                        default: []
                        type: array
                        items:
                          type: integer
                          minimum: 0
                          exclusiveMinimum: true
                          maximum: 9007199254740991
                    required:
                      - schemaVersion
                      - assertionId
                      - kind
                      - status
                      - gate
                      - message
                      - expected
                      - actual
                      - location
                      - diff
                      - evidenceSequences
                    additionalProperties: {}
                required:
                  - schemaVersion
                  - sequence
                  - transactionId
                  - transactionIndex
                  - transactionSize
                  - virtualTimeUs
                  - correlationId
                  - kind
                  - checkpointId
                  - checkpointKind
                  - result
                additionalProperties: {}
      required:
        - schemaVersion
        - run
        - tools
        - evidence
      additionalProperties: false
      description: >-
        Original OSS report.json projection. User-produced and unattested; does
        not establish hosted observation or build availability.
    ErrorEnvelope:
      type: object
      properties:
        code:
          type: string
          pattern: ^(control|world)\.[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$
        message:
          type: string
          minLength: 1
        correlationId:
          type: string
          minLength: 1
        retryable:
          type: boolean
        retryAfterMs:
          type: integer
          exclusiveMinimum: 0
          maximum: 9007199254740991
        operationId:
          type: string
        source:
          type: string
          enum:
            - platform
            - simulated_provider
        issues:
          type: array
          items:
            type: object
            properties:
              path:
                type: string
              code:
                type: string
              message:
                type: string
            required:
              - path
              - code
              - message
            additionalProperties: false
        details:
          type: object
          propertyNames:
            type: string
          additionalProperties: {}
        evidence:
          type: object
          properties:
            sessionId:
              type: string
            runId:
              type: string
            journalSeq:
              type: integer
              minimum: 0
              maximum: 9007199254740991
            buildHash:
              type: string
          additionalProperties: false
      required:
        - code
        - message
        - correlationId
        - retryable
        - source
      additionalProperties: true
    LocalReportDocument___schema0:
      description: Any JSON-compatible value
  securitySchemes:
    controlCredential:
      type: http
      scheme: bearer
      description: Opaque control credential

````