// Generated by scripts/generate-contract-schemas.ts. Do not edit by hand.
// Source of truth: crates/runx-contracts.

import type { JsonSchema } from "./internal.js";

export const runxSchemaArtifacts = {
  "act-assignment.schema.json": {
    "$id": "https://schemas.runx.dev/runx/act-assignment/v1.json",
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "additionalProperties": false,
    "properties": {
      "host": {
        "additionalProperties": false,
        "properties": {
          "actor": {
            "additionalProperties": false,
            "properties": {
              "actor_id": {
                "type": "string"
              },
              "display_name": {
                "type": "string"
              },
              "provider_identity": {
                "type": "string"
              },
              "role": {
                "type": "string"
              }
            },
            "type": "object"
          },
          "kind": {
            "anyOf": [
              {
                "const": "cli",
                "type": "string"
              },
              {
                "const": "api",
                "type": "string"
              },
              {
                "const": "github_issue_comment",
                "type": "string"
              },
              {
                "const": "system",
                "type": "string"
              }
            ]
          },
          "scope_set": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "trigger_ref": {
            "type": "string"
          }
        },
        "required": [
          "kind"
        ],
        "type": "object"
      },
      "idempotency": {
        "additionalProperties": false,
        "properties": {
          "algorithm": {
            "type": "string"
          },
          "content_hash": {
            "minLength": 1,
            "type": "string"
          },
          "intent_key": {
            "minLength": 1,
            "type": "string"
          },
          "trigger_key": {
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "algorithm",
          "intent_key",
          "content_hash"
        ],
        "type": "object"
      },
      "input_overrides": {
        "additionalProperties": {},
        "type": "object"
      },
      "requested_at": {
        "minLength": 1,
        "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
        "type": "string"
      },
      "runner": {
        "minLength": 1,
        "type": "string"
      },
      "schema": {
        "anyOf": [
          {
            "const": "runx.act_assignment.v1",
            "type": "string"
          }
        ]
      },
      "skill_ref": {
        "minLength": 1,
        "type": "string"
      },
      "source_ref": {
        "minLength": 1,
        "type": "string"
      }
    },
    "required": [
      "schema",
      "skill_ref",
      "runner",
      "requested_at",
      "host",
      "idempotency"
    ],
    "type": "object",
    "x-runx-schema": "runx.act_assignment.v1"
  } as JsonSchema,
  "act-result.schema.json": {
    "$id": "https://runx.ai/spec/act-result.schema.json",
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "anyOf": [
      {
        "additionalProperties": false,
        "properties": {
          "durationMs": {
            "type": "integer"
          },
          "errorMessage": {
            "type": "string"
          },
          "exitCode": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ]
          },
          "metadata": {
            "additionalProperties": {},
            "type": "object"
          },
          "signal": {
            "anyOf": [
              {
                "anyOf": [
                  {
                    "const": "SIGABRT",
                    "type": "string"
                  },
                  {
                    "const": "SIGALRM",
                    "type": "string"
                  },
                  {
                    "const": "SIGBUS",
                    "type": "string"
                  },
                  {
                    "const": "SIGCHLD",
                    "type": "string"
                  },
                  {
                    "const": "SIGCONT",
                    "type": "string"
                  },
                  {
                    "const": "SIGFPE",
                    "type": "string"
                  },
                  {
                    "const": "SIGHUP",
                    "type": "string"
                  },
                  {
                    "const": "SIGILL",
                    "type": "string"
                  },
                  {
                    "const": "SIGINT",
                    "type": "string"
                  },
                  {
                    "const": "SIGIO",
                    "type": "string"
                  },
                  {
                    "const": "SIGIOT",
                    "type": "string"
                  },
                  {
                    "const": "SIGKILL",
                    "type": "string"
                  },
                  {
                    "const": "SIGPIPE",
                    "type": "string"
                  },
                  {
                    "const": "SIGPOLL",
                    "type": "string"
                  },
                  {
                    "const": "SIGPROF",
                    "type": "string"
                  },
                  {
                    "const": "SIGPWR",
                    "type": "string"
                  },
                  {
                    "const": "SIGQUIT",
                    "type": "string"
                  },
                  {
                    "const": "SIGSEGV",
                    "type": "string"
                  },
                  {
                    "const": "SIGSTKFLT",
                    "type": "string"
                  },
                  {
                    "const": "SIGSTOP",
                    "type": "string"
                  },
                  {
                    "const": "SIGSYS",
                    "type": "string"
                  },
                  {
                    "const": "SIGTERM",
                    "type": "string"
                  },
                  {
                    "const": "SIGTRAP",
                    "type": "string"
                  },
                  {
                    "const": "SIGTSTP",
                    "type": "string"
                  },
                  {
                    "const": "SIGTTIN",
                    "type": "string"
                  },
                  {
                    "const": "SIGTTOU",
                    "type": "string"
                  },
                  {
                    "const": "SIGUNUSED",
                    "type": "string"
                  },
                  {
                    "const": "SIGURG",
                    "type": "string"
                  },
                  {
                    "const": "SIGUSR1",
                    "type": "string"
                  },
                  {
                    "const": "SIGUSR2",
                    "type": "string"
                  },
                  {
                    "const": "SIGVTALRM",
                    "type": "string"
                  },
                  {
                    "const": "SIGWINCH",
                    "type": "string"
                  },
                  {
                    "const": "SIGXCPU",
                    "type": "string"
                  },
                  {
                    "const": "SIGXFSZ",
                    "type": "string"
                  },
                  {
                    "const": "SIGBREAK",
                    "type": "string"
                  },
                  {
                    "const": "SIGLOST",
                    "type": "string"
                  },
                  {
                    "const": "SIGINFO",
                    "type": "string"
                  }
                ]
              },
              {
                "type": "null"
              }
            ]
          },
          "status": {
            "anyOf": [
              {
                "const": "sealed",
                "type": "string"
              },
              {
                "const": "failure",
                "type": "string"
              }
            ]
          },
          "stderr": {
            "type": "string"
          },
          "stdout": {
            "type": "string"
          }
        },
        "required": [
          "status",
          "stdout",
          "stderr",
          "exitCode",
          "signal",
          "durationMs"
        ],
        "type": "object"
      },
      {
        "additionalProperties": false,
        "properties": {
          "durationMs": {
            "type": "integer"
          },
          "errorMessage": {
            "type": "string"
          },
          "exitCode": {
            "type": "null"
          },
          "metadata": {
            "additionalProperties": {},
            "type": "object"
          },
          "request": {
            "$id": "https://runx.ai/spec/resolution-request.schema.json",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "anyOf": [
              {
                "additionalProperties": false,
                "properties": {
                  "id": {
                    "minLength": 1,
                    "type": "string"
                  },
                  "kind": {
                    "const": "input",
                    "type": "string"
                  },
                  "questions": {
                    "items": {
                      "$id": "https://runx.ai/spec/question.schema.json",
                      "$schema": "https://json-schema.org/draft/2020-12/schema",
                      "additionalProperties": false,
                      "properties": {
                        "description": {
                          "type": "string"
                        },
                        "id": {
                          "minLength": 1,
                          "type": "string"
                        },
                        "prompt": {
                          "minLength": 1,
                          "type": "string"
                        },
                        "required": {
                          "type": "boolean"
                        },
                        "type": {
                          "minLength": 1,
                          "type": "string"
                        }
                      },
                      "required": [
                        "id",
                        "prompt",
                        "required",
                        "type"
                      ],
                      "type": "object"
                    },
                    "type": "array"
                  }
                },
                "required": [
                  "kind",
                  "id",
                  "questions"
                ],
                "type": "object"
              },
              {
                "additionalProperties": false,
                "properties": {
                  "gate": {
                    "$id": "https://runx.ai/spec/approval-gate.schema.json",
                    "$schema": "https://json-schema.org/draft/2020-12/schema",
                    "additionalProperties": false,
                    "properties": {
                      "id": {
                        "minLength": 1,
                        "type": "string"
                      },
                      "reason": {
                        "minLength": 1,
                        "type": "string"
                      },
                      "summary": {
                        "additionalProperties": {},
                        "type": "object"
                      },
                      "type": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "id",
                      "reason"
                    ],
                    "type": "object"
                  },
                  "id": {
                    "minLength": 1,
                    "type": "string"
                  },
                  "kind": {
                    "const": "approval",
                    "type": "string"
                  }
                },
                "required": [
                  "kind",
                  "id",
                  "gate"
                ],
                "type": "object"
              },
              {
                "additionalProperties": false,
                "properties": {
                  "id": {
                    "minLength": 1,
                    "type": "string"
                  },
                  "invocation": {
                    "$id": "https://runx.ai/spec/agent-act-invocation.schema.json",
                    "$schema": "https://json-schema.org/draft/2020-12/schema",
                    "additionalProperties": false,
                    "properties": {
                      "agent": {
                        "minLength": 1,
                        "type": "string"
                      },
                      "envelope": {
                        "$id": "https://runx.ai/spec/agent-context-envelope.schema.json",
                        "$schema": "https://json-schema.org/draft/2020-12/schema",
                        "additionalProperties": false,
                        "properties": {
                          "allowed_tools": {
                            "items": {
                              "minLength": 1,
                              "type": "string"
                            },
                            "type": "array"
                          },
                          "context": {
                            "additionalProperties": false,
                            "properties": {
                              "conventions": {
                                "additionalProperties": false,
                                "properties": {
                                  "content": {
                                    "type": "string"
                                  },
                                  "path": {
                                    "minLength": 1,
                                    "type": "string"
                                  },
                                  "root_path": {
                                    "minLength": 1,
                                    "type": "string"
                                  },
                                  "sha256": {
                                    "minLength": 1,
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "root_path",
                                  "path",
                                  "sha256",
                                  "content"
                                ],
                                "type": "object"
                              },
                              "memory": {
                                "additionalProperties": false,
                                "properties": {
                                  "content": {
                                    "type": "string"
                                  },
                                  "path": {
                                    "minLength": 1,
                                    "type": "string"
                                  },
                                  "root_path": {
                                    "minLength": 1,
                                    "type": "string"
                                  },
                                  "sha256": {
                                    "minLength": 1,
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "root_path",
                                  "path",
                                  "sha256",
                                  "content"
                                ],
                                "type": "object"
                              }
                            },
                            "type": "object"
                          },
                          "current_context": {
                            "items": {
                              "additionalProperties": false,
                              "properties": {
                                "data": {
                                  "additionalProperties": {},
                                  "type": "object"
                                },
                                "meta": {
                                  "additionalProperties": false,
                                  "properties": {
                                    "artifact_id": {
                                      "minLength": 1,
                                      "type": "string"
                                    },
                                    "created_at": {
                                      "minLength": 1,
                                      "type": "string"
                                    },
                                    "hash": {
                                      "minLength": 1,
                                      "type": "string"
                                    },
                                    "parent_artifact_id": {
                                      "anyOf": [
                                        {
                                          "minLength": 1,
                                          "type": "string"
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    },
                                    "producer": {
                                      "additionalProperties": false,
                                      "properties": {
                                        "runner": {
                                          "minLength": 1,
                                          "type": "string"
                                        },
                                        "skill": {
                                          "minLength": 1,
                                          "type": "string"
                                        }
                                      },
                                      "required": [
                                        "skill",
                                        "runner"
                                      ],
                                      "type": "object"
                                    },
                                    "receipt_id": {
                                      "anyOf": [
                                        {
                                          "minLength": 1,
                                          "type": "string"
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    },
                                    "redacted": {
                                      "type": "boolean"
                                    },
                                    "run_id": {
                                      "minLength": 1,
                                      "type": "string"
                                    },
                                    "size_bytes": {
                                      "type": "integer"
                                    },
                                    "step_id": {
                                      "anyOf": [
                                        {
                                          "minLength": 1,
                                          "type": "string"
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    }
                                  },
                                  "required": [
                                    "artifact_id",
                                    "run_id",
                                    "step_id",
                                    "producer",
                                    "created_at",
                                    "hash",
                                    "size_bytes",
                                    "parent_artifact_id",
                                    "receipt_id",
                                    "redacted"
                                  ],
                                  "type": "object"
                                },
                                "type": {
                                  "anyOf": [
                                    {
                                      "minLength": 1,
                                      "type": "string"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "version": {
                                  "anyOf": [
                                    {
                                      "const": "1",
                                      "type": "string"
                                    }
                                  ]
                                }
                              },
                              "required": [
                                "type",
                                "version",
                                "data",
                                "meta"
                              ],
                              "type": "object"
                            },
                            "type": "array"
                          },
                          "execution_location": {
                            "additionalProperties": false,
                            "properties": {
                              "skill_directory": {
                                "minLength": 1,
                                "type": "string"
                              },
                              "tool_roots": {
                                "items": {
                                  "minLength": 1,
                                  "type": "string"
                                },
                                "type": "array"
                              }
                            },
                            "required": [
                              "skill_directory"
                            ],
                            "type": "object"
                          },
                          "historical_context": {
                            "items": {
                              "additionalProperties": false,
                              "properties": {
                                "data": {
                                  "additionalProperties": {},
                                  "type": "object"
                                },
                                "meta": {
                                  "additionalProperties": false,
                                  "properties": {
                                    "artifact_id": {
                                      "minLength": 1,
                                      "type": "string"
                                    },
                                    "created_at": {
                                      "minLength": 1,
                                      "type": "string"
                                    },
                                    "hash": {
                                      "minLength": 1,
                                      "type": "string"
                                    },
                                    "parent_artifact_id": {
                                      "anyOf": [
                                        {
                                          "minLength": 1,
                                          "type": "string"
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    },
                                    "producer": {
                                      "additionalProperties": false,
                                      "properties": {
                                        "runner": {
                                          "minLength": 1,
                                          "type": "string"
                                        },
                                        "skill": {
                                          "minLength": 1,
                                          "type": "string"
                                        }
                                      },
                                      "required": [
                                        "skill",
                                        "runner"
                                      ],
                                      "type": "object"
                                    },
                                    "receipt_id": {
                                      "anyOf": [
                                        {
                                          "minLength": 1,
                                          "type": "string"
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    },
                                    "redacted": {
                                      "type": "boolean"
                                    },
                                    "run_id": {
                                      "minLength": 1,
                                      "type": "string"
                                    },
                                    "size_bytes": {
                                      "type": "integer"
                                    },
                                    "step_id": {
                                      "anyOf": [
                                        {
                                          "minLength": 1,
                                          "type": "string"
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    }
                                  },
                                  "required": [
                                    "artifact_id",
                                    "run_id",
                                    "step_id",
                                    "producer",
                                    "created_at",
                                    "hash",
                                    "size_bytes",
                                    "parent_artifact_id",
                                    "receipt_id",
                                    "redacted"
                                  ],
                                  "type": "object"
                                },
                                "type": {
                                  "anyOf": [
                                    {
                                      "minLength": 1,
                                      "type": "string"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "version": {
                                  "anyOf": [
                                    {
                                      "const": "1",
                                      "type": "string"
                                    }
                                  ]
                                }
                              },
                              "required": [
                                "type",
                                "version",
                                "data",
                                "meta"
                              ],
                              "type": "object"
                            },
                            "type": "array"
                          },
                          "inputs": {
                            "additionalProperties": {},
                            "type": "object"
                          },
                          "instructions": {
                            "minLength": 1,
                            "type": "string"
                          },
                          "output": {
                            "additionalProperties": {
                              "anyOf": [
                                {
                                  "anyOf": [
                                    {
                                      "const": "string",
                                      "type": "string"
                                    },
                                    {
                                      "const": "number",
                                      "type": "string"
                                    },
                                    {
                                      "const": "integer",
                                      "type": "string"
                                    },
                                    {
                                      "const": "boolean",
                                      "type": "string"
                                    },
                                    {
                                      "const": "array",
                                      "type": "string"
                                    },
                                    {
                                      "const": "object",
                                      "type": "string"
                                    },
                                    {
                                      "const": "null",
                                      "type": "string"
                                    }
                                  ]
                                },
                                {
                                  "additionalProperties": false,
                                  "properties": {
                                    "description": {
                                      "type": "string"
                                    },
                                    "enum": {
                                      "items": {
                                        "type": "string"
                                      },
                                      "type": "array"
                                    },
                                    "required": {
                                      "type": "boolean"
                                    },
                                    "type": {
                                      "anyOf": [
                                        {
                                          "const": "string",
                                          "type": "string"
                                        },
                                        {
                                          "const": "number",
                                          "type": "string"
                                        },
                                        {
                                          "const": "integer",
                                          "type": "string"
                                        },
                                        {
                                          "const": "boolean",
                                          "type": "string"
                                        },
                                        {
                                          "const": "array",
                                          "type": "string"
                                        },
                                        {
                                          "const": "object",
                                          "type": "string"
                                        },
                                        {
                                          "const": "null",
                                          "type": "string"
                                        }
                                      ]
                                    },
                                    "wrap_as": {
                                      "minLength": 1,
                                      "type": "string"
                                    }
                                  },
                                  "type": "object"
                                }
                              ]
                            },
                            "type": "object"
                          },
                          "provenance": {
                            "items": {
                              "additionalProperties": false,
                              "properties": {
                                "artifact_id": {
                                  "type": "string"
                                },
                                "from_step": {
                                  "type": "string"
                                },
                                "input": {
                                  "minLength": 1,
                                  "type": "string"
                                },
                                "output": {
                                  "minLength": 1,
                                  "type": "string"
                                },
                                "receipt_id": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "input",
                                "output"
                              ],
                              "type": "object"
                            },
                            "type": "array"
                          },
                          "quality_profile": {
                            "additionalProperties": false,
                            "properties": {
                              "content": {
                                "type": "string"
                              },
                              "sha256": {
                                "minLength": 1,
                                "type": "string"
                              },
                              "source": {
                                "anyOf": [
                                  {
                                    "const": "SKILL.md#quality-profile",
                                    "type": "string"
                                  }
                                ]
                              }
                            },
                            "required": [
                              "source",
                              "sha256",
                              "content"
                            ],
                            "type": "object"
                          },
                          "run_id": {
                            "minLength": 1,
                            "type": "string"
                          },
                          "skill": {
                            "minLength": 1,
                            "type": "string"
                          },
                          "step_id": {
                            "minLength": 1,
                            "type": "string"
                          },
                          "trust_boundary": {
                            "minLength": 1,
                            "type": "string"
                          },
                          "voice_profile": {
                            "additionalProperties": false,
                            "properties": {
                              "content": {
                                "type": "string"
                              },
                              "path": {
                                "minLength": 1,
                                "type": "string"
                              },
                              "root_path": {
                                "minLength": 1,
                                "type": "string"
                              },
                              "sha256": {
                                "minLength": 1,
                                "type": "string"
                              }
                            },
                            "required": [
                              "root_path",
                              "path",
                              "sha256",
                              "content"
                            ],
                            "type": "object"
                          }
                        },
                        "required": [
                          "run_id",
                          "skill",
                          "instructions",
                          "inputs",
                          "allowed_tools",
                          "current_context",
                          "historical_context",
                          "provenance",
                          "trust_boundary"
                        ],
                        "type": "object"
                      },
                      "id": {
                        "minLength": 1,
                        "type": "string"
                      },
                      "source_type": {
                        "anyOf": [
                          {
                            "const": "agent",
                            "type": "string"
                          },
                          {
                            "const": "agent-task",
                            "type": "string"
                          }
                        ]
                      },
                      "task": {
                        "minLength": 1,
                        "type": "string"
                      }
                    },
                    "required": [
                      "id",
                      "source_type",
                      "envelope"
                    ],
                    "type": "object"
                  },
                  "kind": {
                    "const": "agent_act",
                    "type": "string"
                  }
                },
                "required": [
                  "kind",
                  "id",
                  "invocation"
                ],
                "type": "object"
              }
            ]
          },
          "signal": {
            "type": "null"
          },
          "status": {
            "anyOf": [
              {
                "const": "needs_agent",
                "type": "string"
              }
            ]
          },
          "stderr": {
            "type": "string"
          },
          "stdout": {
            "type": "string"
          }
        },
        "required": [
          "status",
          "stdout",
          "stderr",
          "exitCode",
          "signal",
          "durationMs",
          "request"
        ],
        "type": "object"
      }
    ]
  } as JsonSchema,
  "act.schema.json": {
    "$id": "https://schemas.runx.dev/runx/act/v1.json",
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "additionalProperties": false,
    "properties": {
      "act_id": {
        "minLength": 1,
        "type": "string"
      },
      "artifact_refs": {
        "items": {
          "$id": "https://schemas.runx.dev/runx/reference/v1.json",
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "additionalProperties": false,
          "properties": {
            "label": {
              "minLength": 1,
              "type": "string"
            },
            "locator": {
              "minLength": 1,
              "type": "string"
            },
            "observed_at": {
              "minLength": 1,
              "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
              "type": "string"
            },
            "proof_kind": {
              "anyOf": [
                {
                  "const": "effect_evidence",
                  "type": "string"
                },
                {
                  "const": "effect_finality",
                  "type": "string"
                },
                {
                  "const": "credential_resolution",
                  "type": "string"
                }
              ]
            },
            "provider": {
              "minLength": 1,
              "type": "string"
            },
            "schema": {
              "const": "runx.reference.v1",
              "type": "string"
            },
            "type": {
              "anyOf": [
                {
                  "const": "github_issue",
                  "type": "string"
                },
                {
                  "const": "github_pull_request",
                  "type": "string"
                },
                {
                  "const": "github_repo",
                  "type": "string"
                },
                {
                  "const": "slack_thread",
                  "type": "string"
                },
                {
                  "const": "sentry_event",
                  "type": "string"
                },
                {
                  "const": "provider_thread",
                  "type": "string"
                },
                {
                  "const": "provider_event",
                  "type": "string"
                },
                {
                  "const": "provider_comment",
                  "type": "string"
                },
                {
                  "const": "tracking_item",
                  "type": "string"
                },
                {
                  "const": "change_request",
                  "type": "string"
                },
                {
                  "const": "repository",
                  "type": "string"
                },
                {
                  "const": "support_ticket",
                  "type": "string"
                },
                {
                  "const": "signal",
                  "type": "string"
                },
                {
                  "const": "act",
                  "type": "string"
                },
                {
                  "const": "receipt",
                  "type": "string"
                },
                {
                  "const": "graph_receipt",
                  "type": "string"
                },
                {
                  "const": "artifact",
                  "type": "string"
                },
                {
                  "const": "verification",
                  "type": "string"
                },
                {
                  "const": "harness",
                  "type": "string"
                },
                {
                  "const": "host",
                  "type": "string"
                },
                {
                  "const": "deployment",
                  "type": "string"
                },
                {
                  "const": "surface",
                  "type": "string"
                },
                {
                  "const": "target",
                  "type": "string"
                },
                {
                  "const": "opportunity",
                  "type": "string"
                },
                {
                  "const": "thesis_assessment",
                  "type": "string"
                },
                {
                  "const": "selection",
                  "type": "string"
                },
                {
                  "const": "skill_binding",
                  "type": "string"
                },
                {
                  "const": "target_transition_entry",
                  "type": "string"
                },
                {
                  "const": "selection_cycle",
                  "type": "string"
                },
                {
                  "const": "decision",
                  "type": "string"
                },
                {
                  "const": "reflection_entry",
                  "type": "string"
                },
                {
                  "const": "feed_entry",
                  "type": "string"
                },
                {
                  "const": "principal",
                  "type": "string"
                },
                {
                  "const": "authority_proof",
                  "type": "string"
                },
                {
                  "const": "scope_admission",
                  "type": "string"
                },
                {
                  "const": "grant",
                  "type": "string"
                },
                {
                  "const": "mandate",
                  "type": "string"
                },
                {
                  "const": "credential",
                  "type": "string"
                },
                {
                  "const": "webhook_delivery",
                  "type": "string"
                },
                {
                  "const": "redaction_policy",
                  "type": "string"
                },
                {
                  "const": "external_url",
                  "type": "string"
                }
              ]
            },
            "uri": {
              "minLength": 1,
              "type": "string"
            }
          },
          "required": [
            "type",
            "uri"
          ],
          "type": "object",
          "x-runx-schema": "runx.reference.v1"
        },
        "type": "array"
      },
      "closure": {
        "additionalProperties": false,
        "properties": {
          "closed_at": {
            "minLength": 1,
            "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
            "type": "string"
          },
          "disposition": {
            "anyOf": [
              {
                "const": "closed",
                "type": "string"
              },
              {
                "const": "deferred",
                "type": "string"
              },
              {
                "const": "superseded",
                "type": "string"
              },
              {
                "const": "declined",
                "type": "string"
              },
              {
                "const": "blocked",
                "type": "string"
              },
              {
                "const": "failed",
                "type": "string"
              },
              {
                "const": "killed",
                "type": "string"
              },
              {
                "const": "timed_out",
                "type": "string"
              }
            ]
          },
          "reason_code": {
            "minLength": 1,
            "type": "string"
          },
          "summary": {
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "disposition",
          "reason_code",
          "summary",
          "closed_at"
        ],
        "type": "object"
      },
      "criterion_bindings": {
        "items": {
          "additionalProperties": false,
          "properties": {
            "criterion_id": {
              "minLength": 1,
              "type": "string"
            },
            "evidence_refs": {
              "items": {
                "$id": "https://schemas.runx.dev/runx/reference/v1.json",
                "$schema": "https://json-schema.org/draft/2020-12/schema",
                "additionalProperties": false,
                "properties": {
                  "label": {
                    "minLength": 1,
                    "type": "string"
                  },
                  "locator": {
                    "minLength": 1,
                    "type": "string"
                  },
                  "observed_at": {
                    "minLength": 1,
                    "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
                    "type": "string"
                  },
                  "proof_kind": {
                    "anyOf": [
                      {
                        "const": "effect_evidence",
                        "type": "string"
                      },
                      {
                        "const": "effect_finality",
                        "type": "string"
                      },
                      {
                        "const": "credential_resolution",
                        "type": "string"
                      }
                    ]
                  },
                  "provider": {
                    "minLength": 1,
                    "type": "string"
                  },
                  "schema": {
                    "const": "runx.reference.v1",
                    "type": "string"
                  },
                  "type": {
                    "anyOf": [
                      {
                        "const": "github_issue",
                        "type": "string"
                      },
                      {
                        "const": "github_pull_request",
                        "type": "string"
                      },
                      {
                        "const": "github_repo",
                        "type": "string"
                      },
                      {
                        "const": "slack_thread",
                        "type": "string"
                      },
                      {
                        "const": "sentry_event",
                        "type": "string"
                      },
                      {
                        "const": "provider_thread",
                        "type": "string"
                      },
                      {
                        "const": "provider_event",
                        "type": "string"
                      },
                      {
                        "const": "provider_comment",
                        "type": "string"
                      },
                      {
                        "const": "tracking_item",
                        "type": "string"
                      },
                      {
                        "const": "change_request",
                        "type": "string"
                      },
                      {
                        "const": "repository",
                        "type": "string"
                      },
                      {
                        "const": "support_ticket",
                        "type": "string"
                      },
                      {
                        "const": "signal",
                        "type": "string"
                      },
                      {
                        "const": "act",
                        "type": "string"
                      },
                      {
                        "const": "receipt",
                        "type": "string"
                      },
                      {
                        "const": "graph_receipt",
                        "type": "string"
                      },
                      {
                        "const": "artifact",
                        "type": "string"
                      },
                      {
                        "const": "verification",
                        "type": "string"
                      },
                      {
                        "const": "harness",
                        "type": "string"
                      },
                      {
                        "const": "host",
                        "type": "string"
                      },
                      {
                        "const": "deployment",
                        "type": "string"
                      },
                      {
                        "const": "surface",
                        "type": "string"
                      },
                      {
                        "const": "target",
                        "type": "string"
                      },
                      {
                        "const": "opportunity",
                        "type": "string"
                      },
                      {
                        "const": "thesis_assessment",
                        "type": "string"
                      },
                      {
                        "const": "selection",
                        "type": "string"
                      },
                      {
                        "const": "skill_binding",
                        "type": "string"
                      },
                      {
                        "const": "target_transition_entry",
                        "type": "string"
                      },
                      {
                        "const": "selection_cycle",
                        "type": "string"
                      },
                      {
                        "const": "decision",
                        "type": "string"
                      },
                      {
                        "const": "reflection_entry",
                        "type": "string"
                      },
                      {
                        "const": "feed_entry",
                        "type": "string"
                      },
                      {
                        "const": "principal",
                        "type": "string"
                      },
                      {
                        "const": "authority_proof",
                        "type": "string"
                      },
                      {
                        "const": "scope_admission",
                        "type": "string"
                      },
                      {
                        "const": "grant",
                        "type": "string"
                      },
                      {
                        "const": "mandate",
                        "type": "string"
                      },
                      {
                        "const": "credential",
                        "type": "string"
                      },
                      {
                        "const": "webhook_delivery",
                        "type": "string"
                      },
                      {
                        "const": "redaction_policy",
                        "type": "string"
                      },
                      {
                        "const": "external_url",
                        "type": "string"
                      }
                    ]
                  },
                  "uri": {
                    "minLength": 1,
                    "type": "string"
                  }
                },
                "required": [
                  "type",
                  "uri"
                ],
                "type": "object",
                "x-runx-schema": "runx.reference.v1"
              },
              "type": "array"
            },
            "status": {
              "anyOf": [
                {
                  "const": "verified",
                  "type": "string"
                },
                {
                  "const": "failed",
                  "type": "string"
                },
                {
                  "const": "pending",
                  "type": "string"
                },
                {
                  "const": "not_applicable",
                  "type": "string"
                },
                {
                  "const": "unknown",
                  "type": "string"
                }
              ]
            },
            "summary": {
              "minLength": 1,
              "type": "string"
            },
            "verification_refs": {
              "items": {
                "$id": "https://schemas.runx.dev/runx/reference/v1.json",
                "$schema": "https://json-schema.org/draft/2020-12/schema",
                "additionalProperties": false,
                "properties": {
                  "label": {
                    "minLength": 1,
                    "type": "string"
                  },
                  "locator": {
                    "minLength": 1,
                    "type": "string"
                  },
                  "observed_at": {
                    "minLength": 1,
                    "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
                    "type": "string"
                  },
                  "proof_kind": {
                    "anyOf": [
                      {
                        "const": "effect_evidence",
                        "type": "string"
                      },
                      {
                        "const": "effect_finality",
                        "type": "string"
                      },
                      {
                        "const": "credential_resolution",
                        "type": "string"
                      }
                    ]
                  },
                  "provider": {
                    "minLength": 1,
                    "type": "string"
                  },
                  "schema": {
                    "const": "runx.reference.v1",
                    "type": "string"
                  },
                  "type": {
                    "anyOf": [
                      {
                        "const": "github_issue",
                        "type": "string"
                      },
                      {
                        "const": "github_pull_request",
                        "type": "string"
                      },
                      {
                        "const": "github_repo",
                        "type": "string"
                      },
                      {
                        "const": "slack_thread",
                        "type": "string"
                      },
                      {
                        "const": "sentry_event",
                        "type": "string"
                      },
                      {
                        "const": "provider_thread",
                        "type": "string"
                      },
                      {
                        "const": "provider_event",
                        "type": "string"
                      },
                      {
                        "const": "provider_comment",
                        "type": "string"
                      },
                      {
                        "const": "tracking_item",
                        "type": "string"
                      },
                      {
                        "const": "change_request",
                        "type": "string"
                      },
                      {
                        "const": "repository",
                        "type": "string"
                      },
                      {
                        "const": "support_ticket",
                        "type": "string"
                      },
                      {
                        "const": "signal",
                        "type": "string"
                      },
                      {
                        "const": "act",
                        "type": "string"
                      },
                      {
                        "const": "receipt",
                        "type": "string"
                      },
                      {
                        "const": "graph_receipt",
                        "type": "string"
                      },
                      {
                        "const": "artifact",
                        "type": "string"
                      },
                      {
                        "const": "verification",
                        "type": "string"
                      },
                      {
                        "const": "harness",
                        "type": "string"
                      },
                      {
                        "const": "host",
                        "type": "string"
                      },
                      {
                        "const": "deployment",
                        "type": "string"
                      },
                      {
                        "const": "surface",
                        "type": "string"
                      },
                      {
                        "const": "target",
                        "type": "string"
                      },
                      {
                        "const": "opportunity",
                        "type": "string"
                      },
                      {
                        "const": "thesis_assessment",
                        "type": "string"
                      },
                      {
                        "const": "selection",
                        "type": "string"
                      },
                      {
                        "const": "skill_binding",
                        "type": "string"
                      },
                      {
                        "const": "target_transition_entry",
                        "type": "string"
                      },
                      {
                        "const": "selection_cycle",
                        "type": "string"
                      },
                      {
                        "const": "decision",
                        "type": "string"
                      },
                      {
                        "const": "reflection_entry",
                        "type": "string"
                      },
                      {
                        "const": "feed_entry",
                        "type": "string"
                      },
                      {
                        "const": "principal",
                        "type": "string"
                      },
                      {
                        "const": "authority_proof",
                        "type": "string"
                      },
                      {
                        "const": "scope_admission",
                        "type": "string"
                      },
                      {
                        "const": "grant",
                        "type": "string"
                      },
                      {
                        "const": "mandate",
                        "type": "string"
                      },
                      {
                        "const": "credential",
                        "type": "string"
                      },
                      {
                        "const": "webhook_delivery",
                        "type": "string"
                      },
                      {
                        "const": "redaction_policy",
                        "type": "string"
                      },
                      {
                        "const": "external_url",
                        "type": "string"
                      }
                    ]
                  },
                  "uri": {
                    "minLength": 1,
                    "type": "string"
                  }
                },
                "required": [
                  "type",
                  "uri"
                ],
                "type": "object",
                "x-runx-schema": "runx.reference.v1"
              },
              "type": "array"
            }
          },
          "required": [
            "criterion_id",
            "status"
          ],
          "type": "object"
        },
        "type": "array"
      },
      "form": {
        "anyOf": [
          {
            "const": "revision",
            "type": "string"
          },
          {
            "const": "reply",
            "type": "string"
          },
          {
            "const": "review",
            "type": "string"
          },
          {
            "const": "observation",
            "type": "string"
          },
          {
            "const": "verification",
            "type": "string"
          }
        ]
      },
      "harness_refs": {
        "items": {
          "$id": "https://schemas.runx.dev/runx/reference/v1.json",
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "additionalProperties": false,
          "properties": {
            "label": {
              "minLength": 1,
              "type": "string"
            },
            "locator": {
              "minLength": 1,
              "type": "string"
            },
            "observed_at": {
              "minLength": 1,
              "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
              "type": "string"
            },
            "proof_kind": {
              "anyOf": [
                {
                  "const": "effect_evidence",
                  "type": "string"
                },
                {
                  "const": "effect_finality",
                  "type": "string"
                },
                {
                  "const": "credential_resolution",
                  "type": "string"
                }
              ]
            },
            "provider": {
              "minLength": 1,
              "type": "string"
            },
            "schema": {
              "const": "runx.reference.v1",
              "type": "string"
            },
            "type": {
              "anyOf": [
                {
                  "const": "github_issue",
                  "type": "string"
                },
                {
                  "const": "github_pull_request",
                  "type": "string"
                },
                {
                  "const": "github_repo",
                  "type": "string"
                },
                {
                  "const": "slack_thread",
                  "type": "string"
                },
                {
                  "const": "sentry_event",
                  "type": "string"
                },
                {
                  "const": "provider_thread",
                  "type": "string"
                },
                {
                  "const": "provider_event",
                  "type": "string"
                },
                {
                  "const": "provider_comment",
                  "type": "string"
                },
                {
                  "const": "tracking_item",
                  "type": "string"
                },
                {
                  "const": "change_request",
                  "type": "string"
                },
                {
                  "const": "repository",
                  "type": "string"
                },
                {
                  "const": "support_ticket",
                  "type": "string"
                },
                {
                  "const": "signal",
                  "type": "string"
                },
                {
                  "const": "act",
                  "type": "string"
                },
                {
                  "const": "receipt",
                  "type": "string"
                },
                {
                  "const": "graph_receipt",
                  "type": "string"
                },
                {
                  "const": "artifact",
                  "type": "string"
                },
                {
                  "const": "verification",
                  "type": "string"
                },
                {
                  "const": "harness",
                  "type": "string"
                },
                {
                  "const": "host",
                  "type": "string"
                },
                {
                  "const": "deployment",
                  "type": "string"
                },
                {
                  "const": "surface",
                  "type": "string"
                },
                {
                  "const": "target",
                  "type": "string"
                },
                {
                  "const": "opportunity",
                  "type": "string"
                },
                {
                  "const": "thesis_assessment",
                  "type": "string"
                },
                {
                  "const": "selection",
                  "type": "string"
                },
                {
                  "const": "skill_binding",
                  "type": "string"
                },
                {
                  "const": "target_transition_entry",
                  "type": "string"
                },
                {
                  "const": "selection_cycle",
                  "type": "string"
                },
                {
                  "const": "decision",
                  "type": "string"
                },
                {
                  "const": "reflection_entry",
                  "type": "string"
                },
                {
                  "const": "feed_entry",
                  "type": "string"
                },
                {
                  "const": "principal",
                  "type": "string"
                },
                {
                  "const": "authority_proof",
                  "type": "string"
                },
                {
                  "const": "scope_admission",
                  "type": "string"
                },
                {
                  "const": "grant",
                  "type": "string"
                },
                {
                  "const": "mandate",
                  "type": "string"
                },
                {
                  "const": "credential",
                  "type": "string"
                },
                {
                  "const": "webhook_delivery",
                  "type": "string"
                },
                {
                  "const": "redaction_policy",
                  "type": "string"
                },
                {
                  "const": "external_url",
                  "type": "string"
                }
              ]
            },
            "uri": {
              "minLength": 1,
              "type": "string"
            }
          },
          "required": [
            "type",
            "uri"
          ],
          "type": "object",
          "x-runx-schema": "runx.reference.v1"
        },
        "type": "array"
      },
      "intent": {
        "additionalProperties": false,
        "properties": {
          "constraints": {
            "items": {
              "minLength": 1,
              "type": "string"
            },
            "type": "array"
          },
          "derived_from": {
            "items": {
              "$id": "https://schemas.runx.dev/runx/reference/v1.json",
              "$schema": "https://json-schema.org/draft/2020-12/schema",
              "additionalProperties": false,
              "properties": {
                "label": {
                  "minLength": 1,
                  "type": "string"
                },
                "locator": {
                  "minLength": 1,
                  "type": "string"
                },
                "observed_at": {
                  "minLength": 1,
                  "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
                  "type": "string"
                },
                "proof_kind": {
                  "anyOf": [
                    {
                      "const": "effect_evidence",
                      "type": "string"
                    },
                    {
                      "const": "effect_finality",
                      "type": "string"
                    },
                    {
                      "const": "credential_resolution",
                      "type": "string"
                    }
                  ]
                },
                "provider": {
                  "minLength": 1,
                  "type": "string"
                },
                "schema": {
                  "const": "runx.reference.v1",
                  "type": "string"
                },
                "type": {
                  "anyOf": [
                    {
                      "const": "github_issue",
                      "type": "string"
                    },
                    {
                      "const": "github_pull_request",
                      "type": "string"
                    },
                    {
                      "const": "github_repo",
                      "type": "string"
                    },
                    {
                      "const": "slack_thread",
                      "type": "string"
                    },
                    {
                      "const": "sentry_event",
                      "type": "string"
                    },
                    {
                      "const": "provider_thread",
                      "type": "string"
                    },
                    {
                      "const": "provider_event",
                      "type": "string"
                    },
                    {
                      "const": "provider_comment",
                      "type": "string"
                    },
                    {
                      "const": "tracking_item",
                      "type": "string"
                    },
                    {
                      "const": "change_request",
                      "type": "string"
                    },
                    {
                      "const": "repository",
                      "type": "string"
                    },
                    {
                      "const": "support_ticket",
                      "type": "string"
                    },
                    {
                      "const": "signal",
                      "type": "string"
                    },
                    {
                      "const": "act",
                      "type": "string"
                    },
                    {
                      "const": "receipt",
                      "type": "string"
                    },
                    {
                      "const": "graph_receipt",
                      "type": "string"
                    },
                    {
                      "const": "artifact",
                      "type": "string"
                    },
                    {
                      "const": "verification",
                      "type": "string"
                    },
                    {
                      "const": "harness",
                      "type": "string"
                    },
                    {
                      "const": "host",
                      "type": "string"
                    },
                    {
                      "const": "deployment",
                      "type": "string"
                    },
                    {
                      "const": "surface",
                      "type": "string"
                    },
                    {
                      "const": "target",
                      "type": "string"
                    },
                    {
                      "const": "opportunity",
                      "type": "string"
                    },
                    {
                      "const": "thesis_assessment",
                      "type": "string"
                    },
                    {
                      "const": "selection",
                      "type": "string"
                    },
                    {
                      "const": "skill_binding",
                      "type": "string"
                    },
                    {
                      "const": "target_transition_entry",
                      "type": "string"
                    },
                    {
                      "const": "selection_cycle",
                      "type": "string"
                    },
                    {
                      "const": "decision",
                      "type": "string"
                    },
                    {
                      "const": "reflection_entry",
                      "type": "string"
                    },
                    {
                      "const": "feed_entry",
                      "type": "string"
                    },
                    {
                      "const": "principal",
                      "type": "string"
                    },
                    {
                      "const": "authority_proof",
                      "type": "string"
                    },
                    {
                      "const": "scope_admission",
                      "type": "string"
                    },
                    {
                      "const": "grant",
                      "type": "string"
                    },
                    {
                      "const": "mandate",
                      "type": "string"
                    },
                    {
                      "const": "credential",
                      "type": "string"
                    },
                    {
                      "const": "webhook_delivery",
                      "type": "string"
                    },
                    {
                      "const": "redaction_policy",
                      "type": "string"
                    },
                    {
                      "const": "external_url",
                      "type": "string"
                    }
                  ]
                },
                "uri": {
                  "minLength": 1,
                  "type": "string"
                }
              },
              "required": [
                "type",
                "uri"
              ],
              "type": "object",
              "x-runx-schema": "runx.reference.v1"
            },
            "type": "array"
          },
          "legitimacy": {
            "minLength": 1,
            "type": "string"
          },
          "purpose": {
            "minLength": 1,
            "type": "string"
          },
          "success_criteria": {
            "items": {
              "additionalProperties": false,
              "properties": {
                "criterion_id": {
                  "minLength": 1,
                  "type": "string"
                },
                "required": {
                  "type": "boolean"
                },
                "statement": {
                  "minLength": 1,
                  "type": "string"
                }
              },
              "required": [
                "criterion_id",
                "statement",
                "required"
              ],
              "type": "object"
            },
            "type": "array"
          }
        },
        "required": [
          "purpose",
          "legitimacy"
        ],
        "type": "object"
      },
      "performed_at": {
        "minLength": 1,
        "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
        "type": "string"
      },
      "revision": {
        "additionalProperties": false,
        "properties": {
          "change_plan": {
            "additionalProperties": false,
            "properties": {
              "plan_id": {
                "minLength": 1,
                "type": "string"
              },
              "risks": {
                "items": {
                  "minLength": 1,
                  "type": "string"
                },
                "type": "array"
              },
              "steps": {
                "items": {
                  "minLength": 1,
                  "type": "string"
                },
                "type": "array"
              },
              "summary": {
                "minLength": 1,
                "type": "string"
              }
            },
            "required": [
              "plan_id",
              "summary"
            ],
            "type": "object"
          },
          "change_request": {
            "additionalProperties": false,
            "properties": {
              "request_id": {
                "minLength": 1,
                "type": "string"
              },
              "success_criteria": {
                "items": {
                  "additionalProperties": false,
                  "properties": {
                    "criterion_id": {
                      "minLength": 1,
                      "type": "string"
                    },
                    "required": {
                      "type": "boolean"
                    },
                    "statement": {
                      "minLength": 1,
                      "type": "string"
                    }
                  },
                  "required": [
                    "criterion_id",
                    "statement",
                    "required"
                  ],
                  "type": "object"
                },
                "type": "array"
              },
              "summary": {
                "minLength": 1,
                "type": "string"
              },
              "target_surfaces": {
                "items": {
                  "additionalProperties": false,
                  "properties": {
                    "mutating": {
                      "type": "boolean"
                    },
                    "rationale": {
                      "minLength": 1,
                      "type": "string"
                    },
                    "surface_ref": {
                      "$id": "https://schemas.runx.dev/runx/reference/v1.json",
                      "$schema": "https://json-schema.org/draft/2020-12/schema",
                      "additionalProperties": false,
                      "properties": {
                        "label": {
                          "minLength": 1,
                          "type": "string"
                        },
                        "locator": {
                          "minLength": 1,
                          "type": "string"
                        },
                        "observed_at": {
                          "minLength": 1,
                          "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
                          "type": "string"
                        },
                        "proof_kind": {
                          "anyOf": [
                            {
                              "const": "effect_evidence",
                              "type": "string"
                            },
                            {
                              "const": "effect_finality",
                              "type": "string"
                            },
                            {
                              "const": "credential_resolution",
                              "type": "string"
                            }
                          ]
                        },
                        "provider": {
                          "minLength": 1,
                          "type": "string"
                        },
                        "schema": {
                          "const": "runx.reference.v1",
                          "type": "string"
                        },
                        "type": {
                          "anyOf": [
                            {
                              "const": "github_issue",
                              "type": "string"
                            },
                            {
                              "const": "github_pull_request",
                              "type": "string"
                            },
                            {
                              "const": "github_repo",
                              "type": "string"
                            },
                            {
                              "const": "slack_thread",
                              "type": "string"
                            },
                            {
                              "const": "sentry_event",
                              "type": "string"
                            },
                            {
                              "const": "provider_thread",
                              "type": "string"
                            },
                            {
                              "const": "provider_event",
                              "type": "string"
                            },
                            {
                              "const": "provider_comment",
                              "type": "string"
                            },
                            {
                              "const": "tracking_item",
                              "type": "string"
                            },
                            {
                              "const": "change_request",
                              "type": "string"
                            },
                            {
                              "const": "repository",
                              "type": "string"
                            },
                            {
                              "const": "support_ticket",
                              "type": "string"
                            },
                            {
                              "const": "signal",
                              "type": "string"
                            },
                            {
                              "const": "act",
                              "type": "string"
                            },
                            {
                              "const": "receipt",
                              "type": "string"
                            },
                            {
                              "const": "graph_receipt",
                              "type": "string"
                            },
                            {
                              "const": "artifact",
                              "type": "string"
                            },
                            {
                              "const": "verification",
                              "type": "string"
                            },
                            {
                              "const": "harness",
                              "type": "string"
                            },
                            {
                              "const": "host",
                              "type": "string"
                            },
                            {
                              "const": "deployment",
                              "type": "string"
                            },
                            {
                              "const": "surface",
                              "type": "string"
                            },
                            {
                              "const": "target",
                              "type": "string"
                            },
                            {
                              "const": "opportunity",
                              "type": "string"
                            },
                            {
                              "const": "thesis_assessment",
                              "type": "string"
                            },
                            {
                              "const": "selection",
                              "type": "string"
                            },
                            {
                              "const": "skill_binding",
                              "type": "string"
                            },
                            {
                              "const": "target_transition_entry",
                              "type": "string"
                            },
                            {
                              "const": "selection_cycle",
                              "type": "string"
                            },
                            {
                              "const": "decision",
                              "type": "string"
                            },
                            {
                              "const": "reflection_entry",
                              "type": "string"
                            },
                            {
                              "const": "feed_entry",
                              "type": "string"
                            },
                            {
                              "const": "principal",
                              "type": "string"
                            },
                            {
                              "const": "authority_proof",
                              "type": "string"
                            },
                            {
                              "const": "scope_admission",
                              "type": "string"
                            },
                            {
                              "const": "grant",
                              "type": "string"
                            },
                            {
                              "const": "mandate",
                              "type": "string"
                            },
                            {
                              "const": "credential",
                              "type": "string"
                            },
                            {
                              "const": "webhook_delivery",
                              "type": "string"
                            },
                            {
                              "const": "redaction_policy",
                              "type": "string"
                            },
                            {
                              "const": "external_url",
                              "type": "string"
                            }
                          ]
                        },
                        "uri": {
                          "minLength": 1,
                          "type": "string"
                        }
                      },
                      "required": [
                        "type",
                        "uri"
                      ],
                      "type": "object",
                      "x-runx-schema": "runx.reference.v1"
                    }
                  },
                  "required": [
                    "surface_ref",
                    "mutating"
                  ],
                  "type": "object"
                },
                "type": "array"
              }
            },
            "required": [
              "request_id",
              "summary"
            ],
            "type": "object"
          },
          "handoff_refs": {
            "items": {
              "$id": "https://schemas.runx.dev/runx/reference/v1.json",
              "$schema": "https://json-schema.org/draft/2020-12/schema",
              "additionalProperties": false,
              "properties": {
                "label": {
                  "minLength": 1,
                  "type": "string"
                },
                "locator": {
                  "minLength": 1,
                  "type": "string"
                },
                "observed_at": {
                  "minLength": 1,
                  "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
                  "type": "string"
                },
                "proof_kind": {
                  "anyOf": [
                    {
                      "const": "effect_evidence",
                      "type": "string"
                    },
                    {
                      "const": "effect_finality",
                      "type": "string"
                    },
                    {
                      "const": "credential_resolution",
                      "type": "string"
                    }
                  ]
                },
                "provider": {
                  "minLength": 1,
                  "type": "string"
                },
                "schema": {
                  "const": "runx.reference.v1",
                  "type": "string"
                },
                "type": {
                  "anyOf": [
                    {
                      "const": "github_issue",
                      "type": "string"
                    },
                    {
                      "const": "github_pull_request",
                      "type": "string"
                    },
                    {
                      "const": "github_repo",
                      "type": "string"
                    },
                    {
                      "const": "slack_thread",
                      "type": "string"
                    },
                    {
                      "const": "sentry_event",
                      "type": "string"
                    },
                    {
                      "const": "provider_thread",
                      "type": "string"
                    },
                    {
                      "const": "provider_event",
                      "type": "string"
                    },
                    {
                      "const": "provider_comment",
                      "type": "string"
                    },
                    {
                      "const": "tracking_item",
                      "type": "string"
                    },
                    {
                      "const": "change_request",
                      "type": "string"
                    },
                    {
                      "const": "repository",
                      "type": "string"
                    },
                    {
                      "const": "support_ticket",
                      "type": "string"
                    },
                    {
                      "const": "signal",
                      "type": "string"
                    },
                    {
                      "const": "act",
                      "type": "string"
                    },
                    {
                      "const": "receipt",
                      "type": "string"
                    },
                    {
                      "const": "graph_receipt",
                      "type": "string"
                    },
                    {
                      "const": "artifact",
                      "type": "string"
                    },
                    {
                      "const": "verification",
                      "type": "string"
                    },
                    {
                      "const": "harness",
                      "type": "string"
                    },
                    {
                      "const": "host",
                      "type": "string"
                    },
                    {
                      "const": "deployment",
                      "type": "string"
                    },
                    {
                      "const": "surface",
                      "type": "string"
                    },
                    {
                      "const": "target",
                      "type": "string"
                    },
                    {
                      "const": "opportunity",
                      "type": "string"
                    },
                    {
                      "const": "thesis_assessment",
                      "type": "string"
                    },
                    {
                      "const": "selection",
                      "type": "string"
                    },
                    {
                      "const": "skill_binding",
                      "type": "string"
                    },
                    {
                      "const": "target_transition_entry",
                      "type": "string"
                    },
                    {
                      "const": "selection_cycle",
                      "type": "string"
                    },
                    {
                      "const": "decision",
                      "type": "string"
                    },
                    {
                      "const": "reflection_entry",
                      "type": "string"
                    },
                    {
                      "const": "feed_entry",
                      "type": "string"
                    },
                    {
                      "const": "principal",
                      "type": "string"
                    },
                    {
                      "const": "authority_proof",
                      "type": "string"
                    },
                    {
                      "const": "scope_admission",
                      "type": "string"
                    },
                    {
                      "const": "grant",
                      "type": "string"
                    },
                    {
                      "const": "mandate",
                      "type": "string"
                    },
                    {
                      "const": "credential",
                      "type": "string"
                    },
                    {
                      "const": "webhook_delivery",
                      "type": "string"
                    },
                    {
                      "const": "redaction_policy",
                      "type": "string"
                    },
                    {
                      "const": "external_url",
                      "type": "string"
                    }
                  ]
                },
                "uri": {
                  "minLength": 1,
                  "type": "string"
                }
              },
              "required": [
                "type",
                "uri"
              ],
              "type": "object",
              "x-runx-schema": "runx.reference.v1"
            },
            "type": "array"
          },
          "invariants": {
            "items": {
              "minLength": 1,
              "type": "string"
            },
            "type": "array"
          },
          "revision_refs": {
            "items": {
              "$id": "https://schemas.runx.dev/runx/reference/v1.json",
              "$schema": "https://json-schema.org/draft/2020-12/schema",
              "additionalProperties": false,
              "properties": {
                "label": {
                  "minLength": 1,
                  "type": "string"
                },
                "locator": {
                  "minLength": 1,
                  "type": "string"
                },
                "observed_at": {
                  "minLength": 1,
                  "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
                  "type": "string"
                },
                "proof_kind": {
                  "anyOf": [
                    {
                      "const": "effect_evidence",
                      "type": "string"
                    },
                    {
                      "const": "effect_finality",
                      "type": "string"
                    },
                    {
                      "const": "credential_resolution",
                      "type": "string"
                    }
                  ]
                },
                "provider": {
                  "minLength": 1,
                  "type": "string"
                },
                "schema": {
                  "const": "runx.reference.v1",
                  "type": "string"
                },
                "type": {
                  "anyOf": [
                    {
                      "const": "github_issue",
                      "type": "string"
                    },
                    {
                      "const": "github_pull_request",
                      "type": "string"
                    },
                    {
                      "const": "github_repo",
                      "type": "string"
                    },
                    {
                      "const": "slack_thread",
                      "type": "string"
                    },
                    {
                      "const": "sentry_event",
                      "type": "string"
                    },
                    {
                      "const": "provider_thread",
                      "type": "string"
                    },
                    {
                      "const": "provider_event",
                      "type": "string"
                    },
                    {
                      "const": "provider_comment",
                      "type": "string"
                    },
                    {
                      "const": "tracking_item",
                      "type": "string"
                    },
                    {
                      "const": "change_request",
                      "type": "string"
                    },
                    {
                      "const": "repository",
                      "type": "string"
                    },
                    {
                      "const": "support_ticket",
                      "type": "string"
                    },
                    {
                      "const": "signal",
                      "type": "string"
                    },
                    {
                      "const": "act",
                      "type": "string"
                    },
                    {
                      "const": "receipt",
                      "type": "string"
                    },
                    {
                      "const": "graph_receipt",
                      "type": "string"
                    },
                    {
                      "const": "artifact",
                      "type": "string"
                    },
                    {
                      "const": "verification",
                      "type": "string"
                    },
                    {
                      "const": "harness",
                      "type": "string"
                    },
                    {
                      "const": "host",
                      "type": "string"
                    },
                    {
                      "const": "deployment",
                      "type": "string"
                    },
                    {
                      "const": "surface",
                      "type": "string"
                    },
                    {
                      "const": "target",
                      "type": "string"
                    },
                    {
                      "const": "opportunity",
                      "type": "string"
                    },
                    {
                      "const": "thesis_assessment",
                      "type": "string"
                    },
                    {
                      "const": "selection",
                      "type": "string"
                    },
                    {
                      "const": "skill_binding",
                      "type": "string"
                    },
                    {
                      "const": "target_transition_entry",
                      "type": "string"
                    },
                    {
                      "const": "selection_cycle",
                      "type": "string"
                    },
                    {
                      "const": "decision",
                      "type": "string"
                    },
                    {
                      "const": "reflection_entry",
                      "type": "string"
                    },
                    {
                      "const": "feed_entry",
                      "type": "string"
                    },
                    {
                      "const": "principal",
                      "type": "string"
                    },
                    {
                      "const": "authority_proof",
                      "type": "string"
                    },
                    {
                      "const": "scope_admission",
                      "type": "string"
                    },
                    {
                      "const": "grant",
                      "type": "string"
                    },
                    {
                      "const": "mandate",
                      "type": "string"
                    },
                    {
                      "const": "credential",
                      "type": "string"
                    },
                    {
                      "const": "webhook_delivery",
                      "type": "string"
                    },
                    {
                      "const": "redaction_policy",
                      "type": "string"
                    },
                    {
                      "const": "external_url",
                      "type": "string"
                    }
                  ]
                },
                "uri": {
                  "minLength": 1,
                  "type": "string"
                }
              },
              "required": [
                "type",
                "uri"
              ],
              "type": "object",
              "x-runx-schema": "runx.reference.v1"
            },
            "type": "array"
          },
          "target_surfaces": {
            "items": {
              "additionalProperties": false,
              "properties": {
                "mutating": {
                  "type": "boolean"
                },
                "rationale": {
                  "minLength": 1,
                  "type": "string"
                },
                "surface_ref": {
                  "$id": "https://schemas.runx.dev/runx/reference/v1.json",
                  "$schema": "https://json-schema.org/draft/2020-12/schema",
                  "additionalProperties": false,
                  "properties": {
                    "label": {
                      "minLength": 1,
                      "type": "string"
                    },
                    "locator": {
                      "minLength": 1,
                      "type": "string"
                    },
                    "observed_at": {
                      "minLength": 1,
                      "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
                      "type": "string"
                    },
                    "proof_kind": {
                      "anyOf": [
                        {
                          "const": "effect_evidence",
                          "type": "string"
                        },
                        {
                          "const": "effect_finality",
                          "type": "string"
                        },
                        {
                          "const": "credential_resolution",
                          "type": "string"
                        }
                      ]
                    },
                    "provider": {
                      "minLength": 1,
                      "type": "string"
                    },
                    "schema": {
                      "const": "runx.reference.v1",
                      "type": "string"
                    },
                    "type": {
                      "anyOf": [
                        {
                          "const": "github_issue",
                          "type": "string"
                        },
                        {
                          "const": "github_pull_request",
                          "type": "string"
                        },
                        {
                          "const": "github_repo",
                          "type": "string"
                        },
                        {
                          "const": "slack_thread",
                          "type": "string"
                        },
                        {
                          "const": "sentry_event",
                          "type": "string"
                        },
                        {
                          "const": "provider_thread",
                          "type": "string"
                        },
                        {
                          "const": "provider_event",
                          "type": "string"
                        },
                        {
                          "const": "provider_comment",
                          "type": "string"
                        },
                        {
                          "const": "tracking_item",
                          "type": "string"
                        },
                        {
                          "const": "change_request",
                          "type": "string"
                        },
                        {
                          "const": "repository",
                          "type": "string"
                        },
                        {
                          "const": "support_ticket",
                          "type": "string"
                        },
                        {
                          "const": "signal",
                          "type": "string"
                        },
                        {
                          "const": "act",
                          "type": "string"
                        },
                        {
                          "const": "receipt",
                          "type": "string"
                        },
                        {
                          "const": "graph_receipt",
                          "type": "string"
                        },
                        {
                          "const": "artifact",
                          "type": "string"
                        },
                        {
                          "const": "verification",
                          "type": "string"
                        },
                        {
                          "const": "harness",
                          "type": "string"
                        },
                        {
                          "const": "host",
                          "type": "string"
                        },
                        {
                          "const": "deployment",
                          "type": "string"
                        },
                        {
                          "const": "surface",
                          "type": "string"
                        },
                        {
                          "const": "target",
                          "type": "string"
                        },
                        {
                          "const": "opportunity",
                          "type": "string"
                        },
                        {
                          "const": "thesis_assessment",
                          "type": "string"
                        },
                        {
                          "const": "selection",
                          "type": "string"
                        },
                        {
                          "const": "skill_binding",
                          "type": "string"
                        },
                        {
                          "const": "target_transition_entry",
                          "type": "string"
                        },
                        {
                          "const": "selection_cycle",
                          "type": "string"
                        },
                        {
                          "const": "decision",
                          "type": "string"
                        },
                        {
                          "const": "reflection_entry",
                          "type": "string"
                        },
                        {
                          "const": "feed_entry",
                          "type": "string"
                        },
                        {
                          "const": "principal",
                          "type": "string"
                        },
                        {
                          "const": "authority_proof",
                          "type": "string"
                        },
                        {
                          "const": "scope_admission",
                          "type": "string"
                        },
                        {
                          "const": "grant",
                          "type": "string"
                        },
                        {
                          "const": "mandate",
                          "type": "string"
                        },
                        {
                          "const": "credential",
                          "type": "string"
                        },
                        {
                          "const": "webhook_delivery",
                          "type": "string"
                        },
                        {
                          "const": "redaction_policy",
                          "type": "string"
                        },
                        {
                          "const": "external_url",
                          "type": "string"
                        }
                      ]
                    },
                    "uri": {
                      "minLength": 1,
                      "type": "string"
                    }
                  },
                  "required": [
                    "type",
                    "uri"
                  ],
                  "type": "object",
                  "x-runx-schema": "runx.reference.v1"
                }
              },
              "required": [
                "surface_ref",
                "mutating"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "verification": {
            "$id": "https://schemas.runx.dev/runx/verification/v1.json",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "additionalProperties": false,
            "properties": {
              "checks": {
                "items": {
                  "additionalProperties": false,
                  "properties": {
                    "check_id": {
                      "minLength": 1,
                      "type": "string"
                    },
                    "checked_refs": {
                      "items": {
                        "$id": "https://schemas.runx.dev/runx/reference/v1.json",
                        "$schema": "https://json-schema.org/draft/2020-12/schema",
                        "additionalProperties": false,
                        "properties": {
                          "label": {
                            "minLength": 1,
                            "type": "string"
                          },
                          "locator": {
                            "minLength": 1,
                            "type": "string"
                          },
                          "observed_at": {
                            "minLength": 1,
                            "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
                            "type": "string"
                          },
                          "proof_kind": {
                            "anyOf": [
                              {
                                "const": "effect_evidence",
                                "type": "string"
                              },
                              {
                                "const": "effect_finality",
                                "type": "string"
                              },
                              {
                                "const": "credential_resolution",
                                "type": "string"
                              }
                            ]
                          },
                          "provider": {
                            "minLength": 1,
                            "type": "string"
                          },
                          "schema": {
                            "const": "runx.reference.v1",
                            "type": "string"
                          },
                          "type": {
                            "anyOf": [
                              {
                                "const": "github_issue",
                                "type": "string"
                              },
                              {
                                "const": "github_pull_request",
                                "type": "string"
                              },
                              {
                                "const": "github_repo",
                                "type": "string"
                              },
                              {
                                "const": "slack_thread",
                                "type": "string"
                              },
                              {
                                "const": "sentry_event",
                                "type": "string"
                              },
                              {
                                "const": "provider_thread",
                                "type": "string"
                              },
                              {
                                "const": "provider_event",
                                "type": "string"
                              },
                              {
                                "const": "provider_comment",
                                "type": "string"
                              },
                              {
                                "const": "tracking_item",
                                "type": "string"
                              },
                              {
                                "const": "change_request",
                                "type": "string"
                              },
                              {
                                "const": "repository",
                                "type": "string"
                              },
                              {
                                "const": "support_ticket",
                                "type": "string"
                              },
                              {
                                "const": "signal",
                                "type": "string"
                              },
                              {
                                "const": "act",
                                "type": "string"
                              },
                              {
                                "const": "receipt",
                                "type": "string"
                              },
                              {
                                "const": "graph_receipt",
                                "type": "string"
                              },
                              {
                                "const": "artifact",
                                "type": "string"
                              },
                              {
                                "const": "verification",
                                "type": "string"
                              },
                              {
                                "const": "harness",
                                "type": "string"
                              },
                              {
                                "const": "host",
                                "type": "string"
                              },
                              {
                                "const": "deployment",
                                "type": "string"
                              },
                              {
                                "const": "surface",
                                "type": "string"
                              },
                              {
                                "const": "target",
                                "type": "string"
                              },
                              {
                                "const": "opportunity",
                                "type": "string"
                              },
                              {
                                "const": "thesis_assessment",
                                "type": "string"
                              },
                              {
                                "const": "selection",
                                "type": "string"
                              },
                              {
                                "const": "skill_binding",
                                "type": "string"
                              },
                              {
                                "const": "target_transition_entry",
                                "type": "string"
                              },
                              {
                                "const": "selection_cycle",
                                "type": "string"
                              },
                              {
                                "const": "decision",
                                "type": "string"
                              },
                              {
                                "const": "reflection_entry",
                                "type": "string"
                              },
                              {
                                "const": "feed_entry",
                                "type": "string"
                              },
                              {
                                "const": "principal",
                                "type": "string"
                              },
                              {
                                "const": "authority_proof",
                                "type": "string"
                              },
                              {
                                "const": "scope_admission",
                                "type": "string"
                              },
                              {
                                "const": "grant",
                                "type": "string"
                              },
                              {
                                "const": "mandate",
                                "type": "string"
                              },
                              {
                                "const": "credential",
                                "type": "string"
                              },
                              {
                                "const": "webhook_delivery",
                                "type": "string"
                              },
                              {
                                "const": "redaction_policy",
                                "type": "string"
                              },
                              {
                                "const": "external_url",
                                "type": "string"
                              }
                            ]
                          },
                          "uri": {
                            "minLength": 1,
                            "type": "string"
                          }
                        },
                        "required": [
                          "type",
                          "uri"
                        ],
                        "type": "object",
                        "x-runx-schema": "runx.reference.v1"
                      },
                      "type": "array"
                    },
                    "criterion_ids": {
                      "items": {
                        "minLength": 1,
                        "type": "string"
                      },
                      "type": "array"
                    },
                    "evidence_refs": {
                      "items": {
                        "$id": "https://schemas.runx.dev/runx/reference/v1.json",
                        "$schema": "https://json-schema.org/draft/2020-12/schema",
                        "additionalProperties": false,
                        "properties": {
                          "label": {
                            "minLength": 1,
                            "type": "string"
                          },
                          "locator": {
                            "minLength": 1,
                            "type": "string"
                          },
                          "observed_at": {
                            "minLength": 1,
                            "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
                            "type": "string"
                          },
                          "proof_kind": {
                            "anyOf": [
                              {
                                "const": "effect_evidence",
                                "type": "string"
                              },
                              {
                                "const": "effect_finality",
                                "type": "string"
                              },
                              {
                                "const": "credential_resolution",
                                "type": "string"
                              }
                            ]
                          },
                          "provider": {
                            "minLength": 1,
                            "type": "string"
                          },
                          "schema": {
                            "const": "runx.reference.v1",
                            "type": "string"
                          },
                          "type": {
                            "anyOf": [
                              {
                                "const": "github_issue",
                                "type": "string"
                              },
                              {
                                "const": "github_pull_request",
                                "type": "string"
                              },
                              {
                                "const": "github_repo",
                                "type": "string"
                              },
                              {
                                "const": "slack_thread",
                                "type": "string"
                              },
                              {
                                "const": "sentry_event",
                                "type": "string"
                              },
                              {
                                "const": "provider_thread",
                                "type": "string"
                              },
                              {
                                "const": "provider_event",
                                "type": "string"
                              },
                              {
                                "const": "provider_comment",
                                "type": "string"
                              },
                              {
                                "const": "tracking_item",
                                "type": "string"
                              },
                              {
                                "const": "change_request",
                                "type": "string"
                              },
                              {
                                "const": "repository",
                                "type": "string"
                              },
                              {
                                "const": "support_ticket",
                                "type": "string"
                              },
                              {
                                "const": "signal",
                                "type": "string"
                              },
                              {
                                "const": "act",
                                "type": "string"
                              },
                              {
                                "const": "receipt",
                                "type": "string"
                              },
                              {
                                "const": "graph_receipt",
                                "type": "string"
                              },
                              {
                                "const": "artifact",
                                "type": "string"
                              },
                              {
                                "const": "verification",
                                "type": "string"
                              },
                              {
                                "const": "harness",
                                "type": "string"
                              },
                              {
                                "const": "host",
                                "type": "string"
                              },
                              {
                                "const": "deployment",
                                "type": "string"
                              },
                              {
                                "const": "surface",
                                "type": "string"
                              },
                              {
                                "const": "target",
                                "type": "string"
                              },
                              {
                                "const": "opportunity",
                                "type": "string"
                              },
                              {
                                "const": "thesis_assessment",
                                "type": "string"
                              },
                              {
                                "const": "selection",
                                "type": "string"
                              },
                              {
                                "const": "skill_binding",
                                "type": "string"
                              },
                              {
                                "const": "target_transition_entry",
                                "type": "string"
                              },
                              {
                                "const": "selection_cycle",
                                "type": "string"
                              },
                              {
                                "const": "decision",
                                "type": "string"
                              },
                              {
                                "const": "reflection_entry",
                                "type": "string"
                              },
                              {
                                "const": "feed_entry",
                                "type": "string"
                              },
                              {
                                "const": "principal",
                                "type": "string"
                              },
                              {
                                "const": "authority_proof",
                                "type": "string"
                              },
                              {
                                "const": "scope_admission",
                                "type": "string"
                              },
                              {
                                "const": "grant",
                                "type": "string"
                              },
                              {
                                "const": "mandate",
                                "type": "string"
                              },
                              {
                                "const": "credential",
                                "type": "string"
                              },
                              {
                                "const": "webhook_delivery",
                                "type": "string"
                              },
                              {
                                "const": "redaction_policy",
                                "type": "string"
                              },
                              {
                                "const": "external_url",
                                "type": "string"
                              }
                            ]
                          },
                          "uri": {
                            "minLength": 1,
                            "type": "string"
                          }
                        },
                        "required": [
                          "type",
                          "uri"
                        ],
                        "type": "object",
                        "x-runx-schema": "runx.reference.v1"
                      },
                      "type": "array"
                    },
                    "status": {
                      "anyOf": [
                        {
                          "const": "passed",
                          "type": "string"
                        },
                        {
                          "const": "failed",
                          "type": "string"
                        },
                        {
                          "const": "pending",
                          "type": "string"
                        },
                        {
                          "const": "not_applicable",
                          "type": "string"
                        },
                        {
                          "const": "missing",
                          "type": "string"
                        }
                      ]
                    },
                    "summary": {
                      "minLength": 1,
                      "type": "string"
                    },
                    "verified_at": {
                      "minLength": 1,
                      "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
                      "type": "string"
                    }
                  },
                  "required": [
                    "check_id",
                    "criterion_ids",
                    "status",
                    "evidence_refs"
                  ],
                  "type": "object"
                },
                "type": "array"
              },
              "evidence_refs": {
                "items": {
                  "$id": "https://schemas.runx.dev/runx/reference/v1.json",
                  "$schema": "https://json-schema.org/draft/2020-12/schema",
                  "additionalProperties": false,
                  "properties": {
                    "label": {
                      "minLength": 1,
                      "type": "string"
                    },
                    "locator": {
                      "minLength": 1,
                      "type": "string"
                    },
                    "observed_at": {
                      "minLength": 1,
                      "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
                      "type": "string"
                    },
                    "proof_kind": {
                      "anyOf": [
                        {
                          "const": "effect_evidence",
                          "type": "string"
                        },
                        {
                          "const": "effect_finality",
                          "type": "string"
                        },
                        {
                          "const": "credential_resolution",
                          "type": "string"
                        }
                      ]
                    },
                    "provider": {
                      "minLength": 1,
                      "type": "string"
                    },
                    "schema": {
                      "const": "runx.reference.v1",
                      "type": "string"
                    },
                    "type": {
                      "anyOf": [
                        {
                          "const": "github_issue",
                          "type": "string"
                        },
                        {
                          "const": "github_pull_request",
                          "type": "string"
                        },
                        {
                          "const": "github_repo",
                          "type": "string"
                        },
                        {
                          "const": "slack_thread",
                          "type": "string"
                        },
                        {
                          "const": "sentry_event",
                          "type": "string"
                        },
                        {
                          "const": "provider_thread",
                          "type": "string"
                        },
                        {
                          "const": "provider_event",
                          "type": "string"
                        },
                        {
                          "const": "provider_comment",
                          "type": "string"
                        },
                        {
                          "const": "tracking_item",
                          "type": "string"
                        },
                        {
                          "const": "change_request",
                          "type": "string"
                        },
                        {
                          "const": "repository",
                          "type": "string"
                        },
                        {
                          "const": "support_ticket",
                          "type": "string"
                        },
                        {
                          "const": "signal",
                          "type": "string"
                        },
                        {
                          "const": "act",
                          "type": "string"
                        },
                        {
                          "const": "receipt",
                          "type": "string"
                        },
                        {
                          "const": "graph_receipt",
                          "type": "string"
                        },
                        {
                          "const": "artifact",
                          "type": "string"
                        },
                        {
                          "const": "verification",
                          "type": "string"
                        },
                        {
                          "const": "harness",
                          "type": "string"
                        },
                        {
                          "const": "host",
                          "type": "string"
                        },
                        {
                          "const": "deployment",
                          "type": "string"
                        },
                        {
                          "const": "surface",
                          "type": "string"
                        },
                        {
                          "const": "target",
                          "type": "string"
                        },
                        {
                          "const": "opportunity",
                          "type": "string"
                        },
                        {
                          "const": "thesis_assessment",
                          "type": "string"
                        },
                        {
                          "const": "selection",
                          "type": "string"
                        },
                        {
                          "const": "skill_binding",
                          "type": "string"
                        },
                        {
                          "const": "target_transition_entry",
                          "type": "string"
                        },
                        {
                          "const": "selection_cycle",
                          "type": "string"
                        },
                        {
                          "const": "decision",
                          "type": "string"
                        },
                        {
                          "const": "reflection_entry",
                          "type": "string"
                        },
                        {
                          "const": "feed_entry",
                          "type": "string"
                        },
                        {
                          "const": "principal",
                          "type": "string"
                        },
                        {
                          "const": "authority_proof",
                          "type": "string"
                        },
                        {
                          "const": "scope_admission",
                          "type": "string"
                        },
                        {
                          "const": "grant",
                          "type": "string"
                        },
                        {
                          "const": "mandate",
                          "type": "string"
                        },
                        {
                          "const": "credential",
                          "type": "string"
                        },
                        {
                          "const": "webhook_delivery",
                          "type": "string"
                        },
                        {
                          "const": "redaction_policy",
                          "type": "string"
                        },
                        {
                          "const": "external_url",
                          "type": "string"
                        }
                      ]
                    },
                    "uri": {
                      "minLength": 1,
                      "type": "string"
                    }
                  },
                  "required": [
                    "type",
                    "uri"
                  ],
                  "type": "object",
                  "x-runx-schema": "runx.reference.v1"
                },
                "type": "array"
              },
              "schema": {
                "anyOf": [
                  {
                    "const": "runx.verification.v1",
                    "type": "string"
                  }
                ]
              },
              "status": {
                "anyOf": [
                  {
                    "const": "passed",
                    "type": "string"
                  },
                  {
                    "const": "failed",
                    "type": "string"
                  },
                  {
                    "const": "pending",
                    "type": "string"
                  },
                  {
                    "const": "not_applicable",
                    "type": "string"
                  },
                  {
                    "const": "missing",
                    "type": "string"
                  }
                ]
              },
              "verification_id": {
                "minLength": 1,
                "type": "string"
              },
              "verified_at": {
                "minLength": 1,
                "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
                "type": "string"
              }
            },
            "required": [
              "status",
              "checks",
              "evidence_refs"
            ],
            "type": "object",
            "x-runx-schema": "runx.verification.v1"
          }
        },
        "required": [
          "change_request",
          "change_plan"
        ],
        "type": "object"
      },
      "schema": {
        "anyOf": [
          {
            "const": "runx.act.v1",
            "type": "string"
          }
        ]
      },
      "source_refs": {
        "items": {
          "$id": "https://schemas.runx.dev/runx/reference/v1.json",
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "additionalProperties": false,
          "properties": {
            "label": {
              "minLength": 1,
              "type": "string"
            },
            "locator": {
              "minLength": 1,
              "type": "string"
            },
            "observed_at": {
              "minLength": 1,
              "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
              "type": "string"
            },
            "proof_kind": {
              "anyOf": [
                {
                  "const": "effect_evidence",
                  "type": "string"
                },
                {
                  "const": "effect_finality",
                  "type": "string"
                },
                {
                  "const": "credential_resolution",
                  "type": "string"
                }
              ]
            },
            "provider": {
              "minLength": 1,
              "type": "string"
            },
            "schema": {
              "const": "runx.reference.v1",
              "type": "string"
            },
            "type": {
              "anyOf": [
                {
                  "const": "github_issue",
                  "type": "string"
                },
                {
                  "const": "github_pull_request",
                  "type": "string"
                },
                {
                  "const": "github_repo",
                  "type": "string"
                },
                {
                  "const": "slack_thread",
                  "type": "string"
                },
                {
                  "const": "sentry_event",
                  "type": "string"
                },
                {
                  "const": "provider_thread",
                  "type": "string"
                },
                {
                  "const": "provider_event",
                  "type": "string"
                },
                {
                  "const": "provider_comment",
                  "type": "string"
                },
                {
                  "const": "tracking_item",
                  "type": "string"
                },
                {
                  "const": "change_request",
                  "type": "string"
                },
                {
                  "const": "repository",
                  "type": "string"
                },
                {
                  "const": "support_ticket",
                  "type": "string"
                },
                {
                  "const": "signal",
                  "type": "string"
                },
                {
                  "const": "act",
                  "type": "string"
                },
                {
                  "const": "receipt",
                  "type": "string"
                },
                {
                  "const": "graph_receipt",
                  "type": "string"
                },
                {
                  "const": "artifact",
                  "type": "string"
                },
                {
                  "const": "verification",
                  "type": "string"
                },
                {
                  "const": "harness",
                  "type": "string"
                },
                {
                  "const": "host",
                  "type": "string"
                },
                {
                  "const": "deployment",
                  "type": "string"
                },
                {
                  "const": "surface",
                  "type": "string"
                },
                {
                  "const": "target",
                  "type": "string"
                },
                {
                  "const": "opportunity",
                  "type": "string"
                },
                {
                  "const": "thesis_assessment",
                  "type": "string"
                },
                {
                  "const": "selection",
                  "type": "string"
                },
                {
                  "const": "skill_binding",
                  "type": "string"
                },
                {
                  "const": "target_transition_entry",
                  "type": "string"
                },
                {
                  "const": "selection_cycle",
                  "type": "string"
                },
                {
                  "const": "decision",
                  "type": "string"
                },
                {
                  "const": "reflection_entry",
                  "type": "string"
                },
                {
                  "const": "feed_entry",
                  "type": "string"
                },
                {
                  "const": "principal",
                  "type": "string"
                },
                {
                  "const": "authority_proof",
                  "type": "string"
                },
                {
                  "const": "scope_admission",
                  "type": "string"
                },
                {
                  "const": "grant",
                  "type": "string"
                },
                {
                  "const": "mandate",
                  "type": "string"
                },
                {
                  "const": "credential",
                  "type": "string"
                },
                {
                  "const": "webhook_delivery",
                  "type": "string"
                },
                {
                  "const": "redaction_policy",
                  "type": "string"
                },
                {
                  "const": "external_url",
                  "type": "string"
                }
              ]
            },
            "uri": {
              "minLength": 1,
              "type": "string"
            }
          },
          "required": [
            "type",
            "uri"
          ],
          "type": "object",
          "x-runx-schema": "runx.reference.v1"
        },
        "type": "array"
      },
      "summary": {
        "minLength": 1,
        "type": "string"
      },
      "surface_refs": {
        "items": {
          "$id": "https://schemas.runx.dev/runx/reference/v1.json",
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "additionalProperties": false,
          "properties": {
            "label": {
              "minLength": 1,
              "type": "string"
            },
            "locator": {
              "minLength": 1,
              "type": "string"
            },
            "observed_at": {
              "minLength": 1,
              "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
              "type": "string"
            },
            "proof_kind": {
              "anyOf": [
                {
                  "const": "effect_evidence",
                  "type": "string"
                },
                {
                  "const": "effect_finality",
                  "type": "string"
                },
                {
                  "const": "credential_resolution",
                  "type": "string"
                }
              ]
            },
            "provider": {
              "minLength": 1,
              "type": "string"
            },
            "schema": {
              "const": "runx.reference.v1",
              "type": "string"
            },
            "type": {
              "anyOf": [
                {
                  "const": "github_issue",
                  "type": "string"
                },
                {
                  "const": "github_pull_request",
                  "type": "string"
                },
                {
                  "const": "github_repo",
                  "type": "string"
                },
                {
                  "const": "slack_thread",
                  "type": "string"
                },
                {
                  "const": "sentry_event",
                  "type": "string"
                },
                {
                  "const": "provider_thread",
                  "type": "string"
                },
                {
                  "const": "provider_event",
                  "type": "string"
                },
                {
                  "const": "provider_comment",
                  "type": "string"
                },
                {
                  "const": "tracking_item",
                  "type": "string"
                },
                {
                  "const": "change_request",
                  "type": "string"
                },
                {
                  "const": "repository",
                  "type": "string"
                },
                {
                  "const": "support_ticket",
                  "type": "string"
                },
                {
                  "const": "signal",
                  "type": "string"
                },
                {
                  "const": "act",
                  "type": "string"
                },
                {
                  "const": "receipt",
                  "type": "string"
                },
                {
                  "const": "graph_receipt",
                  "type": "string"
                },
                {
                  "const": "artifact",
                  "type": "string"
                },
                {
                  "const": "verification",
                  "type": "string"
                },
                {
                  "const": "harness",
                  "type": "string"
                },
                {
                  "const": "host",
                  "type": "string"
                },
                {
                  "const": "deployment",
                  "type": "string"
                },
                {
                  "const": "surface",
                  "type": "string"
                },
                {
                  "const": "target",
                  "type": "string"
                },
                {
                  "const": "opportunity",
                  "type": "string"
                },
                {
                  "const": "thesis_assessment",
                  "type": "string"
                },
                {
                  "const": "selection",
                  "type": "string"
                },
                {
                  "const": "skill_binding",
                  "type": "string"
                },
                {
                  "const": "target_transition_entry",
                  "type": "string"
                },
                {
                  "const": "selection_cycle",
                  "type": "string"
                },
                {
                  "const": "decision",
                  "type": "string"
                },
                {
                  "const": "reflection_entry",
                  "type": "string"
                },
                {
                  "const": "feed_entry",
                  "type": "string"
                },
                {
                  "const": "principal",
                  "type": "string"
                },
                {
                  "const": "authority_proof",
                  "type": "string"
                },
                {
                  "const": "scope_admission",
                  "type": "string"
                },
                {
                  "const": "grant",
                  "type": "string"
                },
                {
                  "const": "mandate",
                  "type": "string"
                },
                {
                  "const": "credential",
                  "type": "string"
                },
                {
                  "const": "webhook_delivery",
                  "type": "string"
                },
                {
                  "const": "redaction_policy",
                  "type": "string"
                },
                {
                  "const": "external_url",
                  "type": "string"
                }
              ]
            },
            "uri": {
              "minLength": 1,
              "type": "string"
            }
          },
          "required": [
            "type",
            "uri"
          ],
          "type": "object",
          "x-runx-schema": "runx.reference.v1"
        },
        "type": "array"
      },
      "target_refs": {
        "items": {
          "$id": "https://schemas.runx.dev/runx/reference/v1.json",
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "additionalProperties": false,
          "properties": {
            "label": {
              "minLength": 1,
              "type": "string"
            },
            "locator": {
              "minLength": 1,
              "type": "string"
            },
            "observed_at": {
              "minLength": 1,
              "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
              "type": "string"
            },
            "proof_kind": {
              "anyOf": [
                {
                  "const": "effect_evidence",
                  "type": "string"
                },
                {
                  "const": "effect_finality",
                  "type": "string"
                },
                {
                  "const": "credential_resolution",
                  "type": "string"
                }
              ]
            },
            "provider": {
              "minLength": 1,
              "type": "string"
            },
            "schema": {
              "const": "runx.reference.v1",
              "type": "string"
            },
            "type": {
              "anyOf": [
                {
                  "const": "github_issue",
                  "type": "string"
                },
                {
                  "const": "github_pull_request",
                  "type": "string"
                },
                {
                  "const": "github_repo",
                  "type": "string"
                },
                {
                  "const": "slack_thread",
                  "type": "string"
                },
                {
                  "const": "sentry_event",
                  "type": "string"
                },
                {
                  "const": "provider_thread",
                  "type": "string"
                },
                {
                  "const": "provider_event",
                  "type": "string"
                },
                {
                  "const": "provider_comment",
                  "type": "string"
                },
                {
                  "const": "tracking_item",
                  "type": "string"
                },
                {
                  "const": "change_request",
                  "type": "string"
                },
                {
                  "const": "repository",
                  "type": "string"
                },
                {
                  "const": "support_ticket",
                  "type": "string"
                },
                {
                  "const": "signal",
                  "type": "string"
                },
                {
                  "const": "act",
                  "type": "string"
                },
                {
                  "const": "receipt",
                  "type": "string"
                },
                {
                  "const": "graph_receipt",
                  "type": "string"
                },
                {
                  "const": "artifact",
                  "type": "string"
                },
                {
                  "const": "verification",
                  "type": "string"
                },
                {
                  "const": "harness",
                  "type": "string"
                },
                {
                  "const": "host",
                  "type": "string"
                },
                {
                  "const": "deployment",
                  "type": "string"
                },
                {
                  "const": "surface",
                  "type": "string"
                },
                {
                  "const": "target",
                  "type": "string"
                },
                {
                  "const": "opportunity",
                  "type": "string"
                },
                {
                  "const": "thesis_assessment",
                  "type": "string"
                },
                {
                  "const": "selection",
                  "type": "string"
                },
                {
                  "const": "skill_binding",
                  "type": "string"
                },
                {
                  "const": "target_transition_entry",
                  "type": "string"
                },
                {
                  "const": "selection_cycle",
                  "type": "string"
                },
                {
                  "const": "decision",
                  "type": "string"
                },
                {
                  "const": "reflection_entry",
                  "type": "string"
                },
                {
                  "const": "feed_entry",
                  "type": "string"
                },
                {
                  "const": "principal",
                  "type": "string"
                },
                {
                  "const": "authority_proof",
                  "type": "string"
                },
                {
                  "const": "scope_admission",
                  "type": "string"
                },
                {
                  "const": "grant",
                  "type": "string"
                },
                {
                  "const": "mandate",
                  "type": "string"
                },
                {
                  "const": "credential",
                  "type": "string"
                },
                {
                  "const": "webhook_delivery",
                  "type": "string"
                },
                {
                  "const": "redaction_policy",
                  "type": "string"
                },
                {
                  "const": "external_url",
                  "type": "string"
                }
              ]
            },
            "uri": {
              "minLength": 1,
              "type": "string"
            }
          },
          "required": [
            "type",
            "uri"
          ],
          "type": "object",
          "x-runx-schema": "runx.reference.v1"
        },
        "type": "array"
      },
      "verification": {
        "additionalProperties": false,
        "properties": {
          "criterion_ids": {
            "items": {
              "minLength": 1,
              "type": "string"
            },
            "type": "array"
          },
          "deployment_ref": {
            "$id": "https://schemas.runx.dev/runx/reference/v1.json",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "additionalProperties": false,
            "properties": {
              "label": {
                "minLength": 1,
                "type": "string"
              },
              "locator": {
                "minLength": 1,
                "type": "string"
              },
              "observed_at": {
                "minLength": 1,
                "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
                "type": "string"
              },
              "proof_kind": {
                "anyOf": [
                  {
                    "const": "effect_evidence",
                    "type": "string"
                  },
                  {
                    "const": "effect_finality",
                    "type": "string"
                  },
                  {
                    "const": "credential_resolution",
                    "type": "string"
                  }
                ]
              },
              "provider": {
                "minLength": 1,
                "type": "string"
              },
              "schema": {
                "const": "runx.reference.v1",
                "type": "string"
              },
              "type": {
                "anyOf": [
                  {
                    "const": "github_issue",
                    "type": "string"
                  },
                  {
                    "const": "github_pull_request",
                    "type": "string"
                  },
                  {
                    "const": "github_repo",
                    "type": "string"
                  },
                  {
                    "const": "slack_thread",
                    "type": "string"
                  },
                  {
                    "const": "sentry_event",
                    "type": "string"
                  },
                  {
                    "const": "provider_thread",
                    "type": "string"
                  },
                  {
                    "const": "provider_event",
                    "type": "string"
                  },
                  {
                    "const": "provider_comment",
                    "type": "string"
                  },
                  {
                    "const": "tracking_item",
                    "type": "string"
                  },
                  {
                    "const": "change_request",
                    "type": "string"
                  },
                  {
                    "const": "repository",
                    "type": "string"
                  },
                  {
                    "const": "support_ticket",
                    "type": "string"
                  },
                  {
                    "const": "signal",
                    "type": "string"
                  },
                  {
                    "const": "act",
                    "type": "string"
                  },
                  {
                    "const": "receipt",
                    "type": "string"
                  },
                  {
                    "const": "graph_receipt",
                    "type": "string"
                  },
                  {
                    "const": "artifact",
                    "type": "string"
                  },
                  {
                    "const": "verification",
                    "type": "string"
                  },
                  {
                    "const": "harness",
                    "type": "string"
                  },
                  {
                    "const": "host",
                    "type": "string"
                  },
                  {
                    "const": "deployment",
                    "type": "string"
                  },
                  {
                    "const": "surface",
                    "type": "string"
                  },
                  {
                    "const": "target",
                    "type": "string"
                  },
                  {
                    "const": "opportunity",
                    "type": "string"
                  },
                  {
                    "const": "thesis_assessment",
                    "type": "string"
                  },
                  {
                    "const": "selection",
                    "type": "string"
                  },
                  {
                    "const": "skill_binding",
                    "type": "string"
                  },
                  {
                    "const": "target_transition_entry",
                    "type": "string"
                  },
                  {
                    "const": "selection_cycle",
                    "type": "string"
                  },
                  {
                    "const": "decision",
                    "type": "string"
                  },
                  {
                    "const": "reflection_entry",
                    "type": "string"
                  },
                  {
                    "const": "feed_entry",
                    "type": "string"
                  },
                  {
                    "const": "principal",
                    "type": "string"
                  },
                  {
                    "const": "authority_proof",
                    "type": "string"
                  },
                  {
                    "const": "scope_admission",
                    "type": "string"
                  },
                  {
                    "const": "grant",
                    "type": "string"
                  },
                  {
                    "const": "mandate",
                    "type": "string"
                  },
                  {
                    "const": "credential",
                    "type": "string"
                  },
                  {
                    "const": "webhook_delivery",
                    "type": "string"
                  },
                  {
                    "const": "redaction_policy",
                    "type": "string"
                  },
                  {
                    "const": "external_url",
                    "type": "string"
                  }
                ]
              },
              "uri": {
                "minLength": 1,
                "type": "string"
              }
            },
            "required": [
              "type",
              "uri"
            ],
            "type": "object",
            "x-runx-schema": "runx.reference.v1"
          },
          "verification": {
            "$id": "https://schemas.runx.dev/runx/verification/v1.json",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "additionalProperties": false,
            "properties": {
              "checks": {
                "items": {
                  "additionalProperties": false,
                  "properties": {
                    "check_id": {
                      "minLength": 1,
                      "type": "string"
                    },
                    "checked_refs": {
                      "items": {
                        "$id": "https://schemas.runx.dev/runx/reference/v1.json",
                        "$schema": "https://json-schema.org/draft/2020-12/schema",
                        "additionalProperties": false,
                        "properties": {
                          "label": {
                            "minLength": 1,
                            "type": "string"
                          },
                          "locator": {
                            "minLength": 1,
                            "type": "string"
                          },
                          "observed_at": {
                            "minLength": 1,
                            "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
                            "type": "string"
                          },
                          "proof_kind": {
                            "anyOf": [
                              {
                                "const": "effect_evidence",
                                "type": "string"
                              },
                              {
                                "const": "effect_finality",
                                "type": "string"
                              },
                              {
                                "const": "credential_resolution",
                                "type": "string"
                              }
                            ]
                          },
                          "provider": {
                            "minLength": 1,
                            "type": "string"
                          },
                          "schema": {
                            "const": "runx.reference.v1",
                            "type": "string"
                          },
                          "type": {
                            "anyOf": [
                              {
                                "const": "github_issue",
                                "type": "string"
                              },
                              {
                                "const": "github_pull_request",
                                "type": "string"
                              },
                              {
                                "const": "github_repo",
                                "type": "string"
                              },
                              {
                                "const": "slack_thread",
                                "type": "string"
                              },
                              {
                                "const": "sentry_event",
                                "type": "string"
                              },
                              {
                                "const": "provider_thread",
                                "type": "string"
                              },
                              {
                                "const": "provider_event",
                                "type": "string"
                              },
                              {
                                "const": "provider_comment",
                                "type": "string"
                              },
                              {
                                "const": "tracking_item",
                                "type": "string"
                              },
                              {
                                "const": "change_request",
                                "type": "string"
                              },
                              {
                                "const": "repository",
                                "type": "string"
                              },
                              {
                                "const": "support_ticket",
                                "type": "string"
                              },
                              {
                                "const": "signal",
                                "type": "string"
                              },
                              {
                                "const": "act",
                                "type": "string"
                              },
                              {
                                "const": "receipt",
                                "type": "string"
                              },
                              {
                                "const": "graph_receipt",
                                "type": "string"
                              },
                              {
                                "const": "artifact",
                                "type": "string"
                              },
                              {
                                "const": "verification",
                                "type": "string"
                              },
                              {
                                "const": "harness",
                                "type": "string"
                              },
                              {
                                "const": "host",
                                "type": "string"
                              },
                              {
                                "const": "deployment",
                                "type": "string"
                              },
                              {
                                "const": "surface",
                                "type": "string"
                              },
                              {
                                "const": "target",
                                "type": "string"
                              },
                              {
                                "const": "opportunity",
                                "type": "string"
                              },
                              {
                                "const": "thesis_assessment",
                                "type": "string"
                              },
                              {
                                "const": "selection",
                                "type": "string"
                              },
                              {
                                "const": "skill_binding",
                                "type": "string"
                              },
                              {
                                "const": "target_transition_entry",
                                "type": "string"
                              },
                              {
                                "const": "selection_cycle",
                                "type": "string"
                              },
                              {
                                "const": "decision",
                                "type": "string"
                              },
                              {
                                "const": "reflection_entry",
                                "type": "string"
                              },
                              {
                                "const": "feed_entry",
                                "type": "string"
                              },
                              {
                                "const": "principal",
                                "type": "string"
                              },
                              {
                                "const": "authority_proof",
                                "type": "string"
                              },
                              {
                                "const": "scope_admission",
                                "type": "string"
                              },
                              {
                                "const": "grant",
                                "type": "string"
                              },
                              {
                                "const": "mandate",
                                "type": "string"
                              },
                              {
                                "const": "credential",
                                "type": "string"
                              },
                              {
                                "const": "webhook_delivery",
                                "type": "string"
                              },
                              {
                                "const": "redaction_policy",
                                "type": "string"
                              },
                              {
                                "const": "external_url",
                                "type": "string"
                              }
                            ]
                          },
                          "uri": {
                            "minLength": 1,
                            "type": "string"
                          }
                        },
                        "required": [
                          "type",
                          "uri"
                        ],
                        "type": "object",
                        "x-runx-schema": "runx.reference.v1"
                      },
                      "type": "array"
                    },
                    "criterion_ids": {
                      "items": {
                        "minLength": 1,
                        "type": "string"
                      },
                      "type": "array"
                    },
                    "evidence_refs": {
                      "items": {
                        "$id": "https://schemas.runx.dev/runx/reference/v1.json",
                        "$schema": "https://json-schema.org/draft/2020-12/schema",
                        "additionalProperties": false,
                        "properties": {
                          "label": {
                            "minLength": 1,
                            "type": "string"
                          },
                          "locator": {
                            "minLength": 1,
                            "type": "string"
                          },
                          "observed_at": {
                            "minLength": 1,
                            "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
                            "type": "string"
                          },
                          "proof_kind": {
                            "anyOf": [
                              {
                                "const": "effect_evidence",
                                "type": "string"
                              },
                              {
                                "const": "effect_finality",
                                "type": "string"
                              },
                              {
                                "const": "credential_resolution",
                                "type": "string"
                              }
                            ]
                          },
                          "provider": {
                            "minLength": 1,
                            "type": "string"
                          },
                          "schema": {
                            "const": "runx.reference.v1",
                            "type": "string"
                          },
                          "type": {
                            "anyOf": [
                              {
                                "const": "github_issue",
                                "type": "string"
                              },
                              {
                                "const": "github_pull_request",
                                "type": "string"
                              },
                              {
                                "const": "github_repo",
                                "type": "string"
                              },
                              {
                                "const": "slack_thread",
                                "type": "string"
                              },
                              {
                                "const": "sentry_event",
                                "type": "string"
                              },
                              {
                                "const": "provider_thread",
                                "type": "string"
                              },
                              {
                                "const": "provider_event",
                                "type": "string"
                              },
                              {
                                "const": "provider_comment",
                                "type": "string"
                              },
                              {
                                "const": "tracking_item",
                                "type": "string"
                              },
                              {
                                "const": "change_request",
                                "type": "string"
                              },
                              {
                                "const": "repository",
                                "type": "string"
                              },
                              {
                                "const": "support_ticket",
                                "type": "string"
                              },
                              {
                                "const": "signal",
                                "type": "string"
                              },
                              {
                                "const": "act",
                                "type": "string"
                              },
                              {
                                "const": "receipt",
                                "type": "string"
                              },
                              {
                                "const": "graph_receipt",
                                "type": "string"
                              },
                              {
                                "const": "artifact",
                                "type": "string"
                              },
                              {
                                "const": "verification",
                                "type": "string"
                              },
                              {
                                "const": "harness",
                                "type": "string"
                              },
                              {
                                "const": "host",
                                "type": "string"
                              },
                              {
                                "const": "deployment",
                                "type": "string"
                              },
                              {
                                "const": "surface",
                                "type": "string"
                              },
                              {
                                "const": "target",
                                "type": "string"
                              },
                              {
                                "const": "opportunity",
                                "type": "string"
                              },
                              {
                                "const": "thesis_assessment",
                                "type": "string"
                              },
                              {
                                "const": "selection",
                                "type": "string"
                              },
                              {
                                "const": "skill_binding",
                                "type": "string"
                              },
                              {
                                "const": "target_transition_entry",
                                "type": "string"
                              },
                              {
                                "const": "selection_cycle",
                                "type": "string"
                              },
                              {
                                "const": "decision",
                                "type": "string"
                              },
                              {
                                "const": "reflection_entry",
                                "type": "string"
                              },
                              {
                                "const": "feed_entry",
                                "type": "string"
                              },
                              {
                                "const": "principal",
                                "type": "string"
                              },
                              {
                                "const": "authority_proof",
                                "type": "string"
                              },
                              {
                                "const": "scope_admission",
                                "type": "string"
                              },
                              {
                                "const": "grant",
                                "type": "string"
                              },
                              {
                                "const": "mandate",
                                "type": "string"
                              },
                              {
                                "const": "credential",
                                "type": "string"
                              },
                              {
                                "const": "webhook_delivery",
                                "type": "string"
                              },
                              {
                                "const": "redaction_policy",
                                "type": "string"
                              },
                              {
                                "const": "external_url",
                                "type": "string"
                              }
                            ]
                          },
                          "uri": {
                            "minLength": 1,
                            "type": "string"
                          }
                        },
                        "required": [
                          "type",
                          "uri"
                        ],
                        "type": "object",
                        "x-runx-schema": "runx.reference.v1"
                      },
                      "type": "array"
                    },
                    "status": {
                      "anyOf": [
                        {
                          "const": "passed",
                          "type": "string"
                        },
                        {
                          "const": "failed",
                          "type": "string"
                        },
                        {
                          "const": "pending",
                          "type": "string"
                        },
                        {
                          "const": "not_applicable",
                          "type": "string"
                        },
                        {
                          "const": "missing",
                          "type": "string"
                        }
                      ]
                    },
                    "summary": {
                      "minLength": 1,
                      "type": "string"
                    },
                    "verified_at": {
                      "minLength": 1,
                      "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
                      "type": "string"
                    }
                  },
                  "required": [
                    "check_id",
                    "criterion_ids",
                    "status",
                    "evidence_refs"
                  ],
                  "type": "object"
                },
                "type": "array"
              },
              "evidence_refs": {
                "items": {
                  "$id": "https://schemas.runx.dev/runx/reference/v1.json",
                  "$schema": "https://json-schema.org/draft/2020-12/schema",
                  "additionalProperties": false,
                  "properties": {
                    "label": {
                      "minLength": 1,
                      "type": "string"
                    },
                    "locator": {
                      "minLength": 1,
                      "type": "string"
                    },
                    "observed_at": {
                      "minLength": 1,
                      "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
                      "type": "string"
                    },
                    "proof_kind": {
                      "anyOf": [
                        {
                          "const": "effect_evidence",
                          "type": "string"
                        },
                        {
                          "const": "effect_finality",
                          "type": "string"
                        },
                        {
                          "const": "credential_resolution",
                          "type": "string"
                        }
                      ]
                    },
                    "provider": {
                      "minLength": 1,
                      "type": "string"
                    },
                    "schema": {
                      "const": "runx.reference.v1",
                      "type": "string"
                    },
                    "type": {
                      "anyOf": [
                        {
                          "const": "github_issue",
                          "type": "string"
                        },
                        {
                          "const": "github_pull_request",
                          "type": "string"
                        },
                        {
                          "const": "github_repo",
                          "type": "string"
                        },
                        {
                          "const": "slack_thread",
                          "type": "string"
                        },
                        {
                          "const": "sentry_event",
                          "type": "string"
                        },
                        {
                          "const": "provider_thread",
                          "type": "string"
                        },
                        {
                          "const": "provider_event",
                          "type": "string"
                        },
                        {
                          "const": "provider_comment",
                          "type": "string"
                        },
                        {
                          "const": "tracking_item",
                          "type": "string"
                        },
                        {
                          "const": "change_request",
                          "type": "string"
                        },
                        {
                          "const": "repository",
                          "type": "string"
                        },
                        {
                          "const": "support_ticket",
                          "type": "string"
                        },
                        {
                          "const": "signal",
                          "type": "string"
                        },
                        {
                          "const": "act",
                          "type": "string"
                        },
                        {
                          "const": "receipt",
                          "type": "string"
                        },
                        {
                          "const": "graph_receipt",
                          "type": "string"
                        },
                        {
                          "const": "artifact",
                          "type": "string"
                        },
                        {
                          "const": "verification",
                          "type": "string"
                        },
                        {
                          "const": "harness",
                          "type": "string"
                        },
                        {
                          "const": "host",
                          "type": "string"
                        },
                        {
                          "const": "deployment",
                          "type": "string"
                        },
                        {
                          "const": "surface",
                          "type": "string"
                        },
                        {
                          "const": "target",
                          "type": "string"
                        },
                        {
                          "const": "opportunity",
                          "type": "string"
                        },
                        {
                          "const": "thesis_assessment",
                          "type": "string"
                        },
                        {
                          "const": "selection",
                          "type": "string"
                        },
                        {
                          "const": "skill_binding",
                          "type": "string"
                        },
                        {
                          "const": "target_transition_entry",
                          "type": "string"
                        },
                        {
                          "const": "selection_cycle",
                          "type": "string"
                        },
                        {
                          "const": "decision",
                          "type": "string"
                        },
                        {
                          "const": "reflection_entry",
                          "type": "string"
                        },
                        {
                          "const": "feed_entry",
                          "type": "string"
                        },
                        {
                          "const": "principal",
                          "type": "string"
                        },
                        {
                          "const": "authority_proof",
                          "type": "string"
                        },
                        {
                          "const": "scope_admission",
                          "type": "string"
                        },
                        {
                          "const": "grant",
                          "type": "string"
                        },
                        {
                          "const": "mandate",
                          "type": "string"
                        },
                        {
                          "const": "credential",
                          "type": "string"
                        },
                        {
                          "const": "webhook_delivery",
                          "type": "string"
                        },
                        {
                          "const": "redaction_policy",
                          "type": "string"
                        },
                        {
                          "const": "external_url",
                          "type": "string"
                        }
                      ]
                    },
                    "uri": {
                      "minLength": 1,
                      "type": "string"
                    }
                  },
                  "required": [
                    "type",
                    "uri"
                  ],
                  "type": "object",
                  "x-runx-schema": "runx.reference.v1"
                },
                "type": "array"
              },
              "schema": {
                "anyOf": [
                  {
                    "const": "runx.verification.v1",
                    "type": "string"
                  }
                ]
              },
              "status": {
                "anyOf": [
                  {
                    "const": "passed",
                    "type": "string"
                  },
                  {
                    "const": "failed",
                    "type": "string"
                  },
                  {
                    "const": "pending",
                    "type": "string"
                  },
                  {
                    "const": "not_applicable",
                    "type": "string"
                  },
                  {
                    "const": "missing",
                    "type": "string"
                  }
                ]
              },
              "verification_id": {
                "minLength": 1,
                "type": "string"
              },
              "verified_at": {
                "minLength": 1,
                "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
                "type": "string"
              }
            },
            "required": [
              "status",
              "checks",
              "evidence_refs"
            ],
            "type": "object",
            "x-runx-schema": "runx.verification.v1"
          }
        },
        "required": [
          "criterion_ids",
          "verification"
        ],
        "type": "object"
      },
      "verification_refs": {
        "items": {
          "$id": "https://schemas.runx.dev/runx/reference/v1.json",
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "additionalProperties": false,
          "properties": {
            "label": {
              "minLength": 1,
              "type": "string"
            },
            "locator": {
              "minLength": 1,
              "type": "string"
            },
            "observed_at": {
              "minLength": 1,
              "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
              "type": "string"
            },
            "proof_kind": {
              "anyOf": [
                {
                  "const": "effect_evidence",
                  "type": "string"
                },
                {
                  "const": "effect_finality",
                  "type": "string"
                },
                {
                  "const": "credential_resolution",
                  "type": "string"
                }
              ]
            },
            "provider": {
              "minLength": 1,
              "type": "string"
            },
            "schema": {
              "const": "runx.reference.v1",
              "type": "string"
            },
            "type": {
              "anyOf": [
                {
                  "const": "github_issue",
                  "type": "string"
                },
                {
                  "const": "github_pull_request",
                  "type": "string"
                },
                {
                  "const": "github_repo",
                  "type": "string"
                },
                {
                  "const": "slack_thread",
                  "type": "string"
                },
                {
                  "const": "sentry_event",
                  "type": "string"
                },
                {
                  "const": "provider_thread",
                  "type": "string"
                },
                {
                  "const": "provider_event",
                  "type": "string"
                },
                {
                  "const": "provider_comment",
                  "type": "string"
                },
                {
                  "const": "tracking_item",
                  "type": "string"
                },
                {
                  "const": "change_request",
                  "type": "string"
                },
                {
                  "const": "repository",
                  "type": "string"
                },
                {
                  "const": "support_ticket",
                  "type": "string"
                },
                {
                  "const": "signal",
                  "type": "string"
                },
                {
                  "const": "act",
                  "type": "string"
                },
                {
                  "const": "receipt",
                  "type": "string"
                },
                {
                  "const": "graph_receipt",
                  "type": "string"
                },
                {
                  "const": "artifact",
                  "type": "string"
                },
                {
                  "const": "verification",
                  "type": "string"
                },
                {
                  "const": "harness",
                  "type": "string"
                },
                {
                  "const": "host",
                  "type": "string"
                },
                {
                  "const": "deployment",
                  "type": "string"
                },
                {
                  "const": "surface",
                  "type": "string"
                },
                {
                  "const": "target",
                  "type": "string"
                },
                {
                  "const": "opportunity",
                  "type": "string"
                },
                {
                  "const": "thesis_assessment",
                  "type": "string"
                },
                {
                  "const": "selection",
                  "type": "string"
                },
                {
                  "const": "skill_binding",
                  "type": "string"
                },
                {
                  "const": "target_transition_entry",
                  "type": "string"
                },
                {
                  "const": "selection_cycle",
                  "type": "string"
                },
                {
                  "const": "decision",
                  "type": "string"
                },
                {
                  "const": "reflection_entry",
                  "type": "string"
                },
                {
                  "const": "feed_entry",
                  "type": "string"
                },
                {
                  "const": "principal",
                  "type": "string"
                },
                {
                  "const": "authority_proof",
                  "type": "string"
                },
                {
                  "const": "scope_admission",
                  "type": "string"
                },
                {
                  "const": "grant",
                  "type": "string"
                },
                {
                  "const": "mandate",
                  "type": "string"
                },
                {
                  "const": "credential",
                  "type": "string"
                },
                {
                  "const": "webhook_delivery",
                  "type": "string"
                },
                {
                  "const": "redaction_policy",
                  "type": "string"
                },
                {
                  "const": "external_url",
                  "type": "string"
                }
              ]
            },
            "uri": {
              "minLength": 1,
              "type": "string"
            }
          },
          "required": [
            "type",
            "uri"
          ],
          "type": "object",
          "x-runx-schema": "runx.reference.v1"
        },
        "type": "array"
      }
    },
    "required": [
      "act_id",
      "form",
      "intent",
      "summary",
      "closure",
      "performed_at"
    ],
    "type": "object",
    "x-runx-schema": "runx.act.v1"
  } as JsonSchema,
  "agent-act-invocation.schema.json": {
    "$id": "https://runx.ai/spec/agent-act-invocation.schema.json",
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "additionalProperties": false,
    "properties": {
      "agent": {
        "minLength": 1,
        "type": "string"
      },
      "envelope": {
        "$id": "https://runx.ai/spec/agent-context-envelope.schema.json",
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false,
        "properties": {
          "allowed_tools": {
            "items": {
              "minLength": 1,
              "type": "string"
            },
            "type": "array"
          },
          "context": {
            "additionalProperties": false,
            "properties": {
              "conventions": {
                "additionalProperties": false,
                "properties": {
                  "content": {
                    "type": "string"
                  },
                  "path": {
                    "minLength": 1,
                    "type": "string"
                  },
                  "root_path": {
                    "minLength": 1,
                    "type": "string"
                  },
                  "sha256": {
                    "minLength": 1,
                    "type": "string"
                  }
                },
                "required": [
                  "root_path",
                  "path",
                  "sha256",
                  "content"
                ],
                "type": "object"
              },
              "memory": {
                "additionalProperties": false,
                "properties": {
                  "content": {
                    "type": "string"
                  },
                  "path": {
                    "minLength": 1,
                    "type": "string"
                  },
                  "root_path": {
                    "minLength": 1,
                    "type": "string"
                  },
                  "sha256": {
                    "minLength": 1,
                    "type": "string"
                  }
                },
                "required": [
                  "root_path",
                  "path",
                  "sha256",
                  "content"
                ],
                "type": "object"
              }
            },
            "type": "object"
          },
          "current_context": {
            "items": {
              "additionalProperties": false,
              "properties": {
                "data": {
                  "additionalProperties": {},
                  "type": "object"
                },
                "meta": {
                  "additionalProperties": false,
                  "properties": {
                    "artifact_id": {
                      "minLength": 1,
                      "type": "string"
                    },
                    "created_at": {
                      "minLength": 1,
                      "type": "string"
                    },
                    "hash": {
                      "minLength": 1,
                      "type": "string"
                    },
                    "parent_artifact_id": {
                      "anyOf": [
                        {
                          "minLength": 1,
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "producer": {
                      "additionalProperties": false,
                      "properties": {
                        "runner": {
                          "minLength": 1,
                          "type": "string"
                        },
                        "skill": {
                          "minLength": 1,
                          "type": "string"
                        }
                      },
                      "required": [
                        "skill",
                        "runner"
                      ],
                      "type": "object"
                    },
                    "receipt_id": {
                      "anyOf": [
                        {
                          "minLength": 1,
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "redacted": {
                      "type": "boolean"
                    },
                    "run_id": {
                      "minLength": 1,
                      "type": "string"
                    },
                    "size_bytes": {
                      "type": "integer"
                    },
                    "step_id": {
                      "anyOf": [
                        {
                          "minLength": 1,
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "artifact_id",
                    "run_id",
                    "step_id",
                    "producer",
                    "created_at",
                    "hash",
                    "size_bytes",
                    "parent_artifact_id",
                    "receipt_id",
                    "redacted"
                  ],
                  "type": "object"
                },
                "type": {
                  "anyOf": [
                    {
                      "minLength": 1,
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "version": {
                  "anyOf": [
                    {
                      "const": "1",
                      "type": "string"
                    }
                  ]
                }
              },
              "required": [
                "type",
                "version",
                "data",
                "meta"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "execution_location": {
            "additionalProperties": false,
            "properties": {
              "skill_directory": {
                "minLength": 1,
                "type": "string"
              },
              "tool_roots": {
                "items": {
                  "minLength": 1,
                  "type": "string"
                },
                "type": "array"
              }
            },
            "required": [
              "skill_directory"
            ],
            "type": "object"
          },
          "historical_context": {
            "items": {
              "additionalProperties": false,
              "properties": {
                "data": {
                  "additionalProperties": {},
                  "type": "object"
                },
                "meta": {
                  "additionalProperties": false,
                  "properties": {
                    "artifact_id": {
                      "minLength": 1,
                      "type": "string"
                    },
                    "created_at": {
                      "minLength": 1,
                      "type": "string"
                    },
                    "hash": {
                      "minLength": 1,
                      "type": "string"
                    },
                    "parent_artifact_id": {
                      "anyOf": [
                        {
                          "minLength": 1,
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "producer": {
                      "additionalProperties": false,
                      "properties": {
                        "runner": {
                          "minLength": 1,
                          "type": "string"
                        },
                        "skill": {
                          "minLength": 1,
                          "type": "string"
                        }
                      },
                      "required": [
                        "skill",
                        "runner"
                      ],
                      "type": "object"
                    },
                    "receipt_id": {
                      "anyOf": [
                        {
                          "minLength": 1,
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "redacted": {
                      "type": "boolean"
                    },
                    "run_id": {
                      "minLength": 1,
                      "type": "string"
                    },
                    "size_bytes": {
                      "type": "integer"
                    },
                    "step_id": {
                      "anyOf": [
                        {
                          "minLength": 1,
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "artifact_id",
                    "run_id",
                    "step_id",
                    "producer",
                    "created_at",
                    "hash",
                    "size_bytes",
                    "parent_artifact_id",
                    "receipt_id",
                    "redacted"
                  ],
                  "type": "object"
                },
                "type": {
                  "anyOf": [
                    {
                      "minLength": 1,
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "version": {
                  "anyOf": [
                    {
                      "const": "1",
                      "type": "string"
                    }
                  ]
                }
              },
              "required": [
                "type",
                "version",
                "data",
                "meta"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "inputs": {
            "additionalProperties": {},
            "type": "object"
          },
          "instructions": {
            "minLength": 1,
            "type": "string"
          },
          "output": {
            "additionalProperties": {
              "anyOf": [
                {
                  "anyOf": [
                    {
                      "const": "string",
                      "type": "string"
                    },
                    {
                      "const": "number",
                      "type": "string"
                    },
                    {
                      "const": "integer",
                      "type": "string"
                    },
                    {
                      "const": "boolean",
                      "type": "string"
                    },
                    {
                      "const": "array",
                      "type": "string"
                    },
                    {
                      "const": "object",
                      "type": "string"
                    },
                    {
                      "const": "null",
                      "type": "string"
                    }
                  ]
                },
                {
                  "additionalProperties": false,
                  "properties": {
                    "description": {
                      "type": "string"
                    },
                    "enum": {
                      "items": {
                        "type": "string"
                      },
                      "type": "array"
                    },
                    "required": {
                      "type": "boolean"
                    },
                    "type": {
                      "anyOf": [
                        {
                          "const": "string",
                          "type": "string"
                        },
                        {
                          "const": "number",
                          "type": "string"
                        },
                        {
                          "const": "integer",
                          "type": "string"
                        },
                        {
                          "const": "boolean",
                          "type": "string"
                        },
                        {
                          "const": "array",
                          "type": "string"
                        },
                        {
                          "const": "object",
                          "type": "string"
                        },
                        {
                          "const": "null",
                          "type": "string"
                        }
                      ]
                    },
                    "wrap_as": {
                      "minLength": 1,
                      "type": "string"
                    }
                  },
                  "type": "object"
                }
              ]
            },
            "type": "object"
          },
          "provenance": {
            "items": {
              "additionalProperties": false,
              "properties": {
                "artifact_id": {
                  "type": "string"
                },
                "from_step": {
                  "type": "string"
                },
                "input": {
                  "minLength": 1,
                  "type": "string"
                },
                "output": {
                  "minLength": 1,
                  "type": "string"
                },
                "receipt_id": {
                  "type": "string"
                }
              },
              "required": [
                "input",
                "output"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "quality_profile": {
            "additionalProperties": false,
            "properties": {
              "content": {
                "type": "string"
              },
              "sha256": {
                "minLength": 1,
                "type": "string"
              },
              "source": {
                "anyOf": [
                  {
                    "const": "SKILL.md#quality-profile",
                    "type": "string"
                  }
                ]
              }
            },
            "required": [
              "source",
              "sha256",
              "content"
            ],
            "type": "object"
          },
          "run_id": {
            "minLength": 1,
            "type": "string"
          },
          "skill": {
            "minLength": 1,
            "type": "string"
          },
          "step_id": {
            "minLength": 1,
            "type": "string"
          },
          "trust_boundary": {
            "minLength": 1,
            "type": "string"
          },
          "voice_profile": {
            "additionalProperties": false,
            "properties": {
              "content": {
                "type": "string"
              },
              "path": {
                "minLength": 1,
                "type": "string"
              },
              "root_path": {
                "minLength": 1,
                "type": "string"
              },
              "sha256": {
                "minLength": 1,
                "type": "string"
              }
            },
            "required": [
              "root_path",
              "path",
              "sha256",
              "content"
            ],
            "type": "object"
          }
        },
        "required": [
          "run_id",
          "skill",
          "instructions",
          "inputs",
          "allowed_tools",
          "current_context",
          "historical_context",
          "provenance",
          "trust_boundary"
        ],
        "type": "object"
      },
      "id": {
        "minLength": 1,
        "type": "string"
      },
      "source_type": {
        "anyOf": [
          {
            "const": "agent",
            "type": "string"
          },
          {
            "const": "agent-task",
            "type": "string"
          }
        ]
      },
      "task": {
        "minLength": 1,
        "type": "string"
      }
    },
    "required": [
      "id",
      "source_type",
      "envelope"
    ],
    "type": "object"
  } as JsonSchema,
  "agent-context-envelope.schema.json": {
    "$id": "https://runx.ai/spec/agent-context-envelope.schema.json",
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "additionalProperties": false,
    "properties": {
      "allowed_tools": {
        "items": {
          "minLength": 1,
          "type": "string"
        },
        "type": "array"
      },
      "context": {
        "additionalProperties": false,
        "properties": {
          "conventions": {
            "additionalProperties": false,
            "properties": {
              "content": {
                "type": "string"
              },
              "path": {
                "minLength": 1,
                "type": "string"
              },
              "root_path": {
                "minLength": 1,
                "type": "string"
              },
              "sha256": {
                "minLength": 1,
                "type": "string"
              }
            },
            "required": [
              "root_path",
              "path",
              "sha256",
              "content"
            ],
            "type": "object"
          },
          "memory": {
            "additionalProperties": false,
            "properties": {
              "content": {
                "type": "string"
              },
              "path": {
                "minLength": 1,
                "type": "string"
              },
              "root_path": {
                "minLength": 1,
                "type": "string"
              },
              "sha256": {
                "minLength": 1,
                "type": "string"
              }
            },
            "required": [
              "root_path",
              "path",
              "sha256",
              "content"
            ],
            "type": "object"
          }
        },
        "type": "object"
      },
      "current_context": {
        "items": {
          "additionalProperties": false,
          "properties": {
            "data": {
              "additionalProperties": {},
              "type": "object"
            },
            "meta": {
              "additionalProperties": false,
              "properties": {
                "artifact_id": {
                  "minLength": 1,
                  "type": "string"
                },
                "created_at": {
                  "minLength": 1,
                  "type": "string"
                },
                "hash": {
                  "minLength": 1,
                  "type": "string"
                },
                "parent_artifact_id": {
                  "anyOf": [
                    {
                      "minLength": 1,
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "producer": {
                  "additionalProperties": false,
                  "properties": {
                    "runner": {
                      "minLength": 1,
                      "type": "string"
                    },
                    "skill": {
                      "minLength": 1,
                      "type": "string"
                    }
                  },
                  "required": [
                    "skill",
                    "runner"
                  ],
                  "type": "object"
                },
                "receipt_id": {
                  "anyOf": [
                    {
                      "minLength": 1,
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "redacted": {
                  "type": "boolean"
                },
                "run_id": {
                  "minLength": 1,
                  "type": "string"
                },
                "size_bytes": {
                  "type": "integer"
                },
                "step_id": {
                  "anyOf": [
                    {
                      "minLength": 1,
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "artifact_id",
                "run_id",
                "step_id",
                "producer",
                "created_at",
                "hash",
                "size_bytes",
                "parent_artifact_id",
                "receipt_id",
                "redacted"
              ],
              "type": "object"
            },
            "type": {
              "anyOf": [
                {
                  "minLength": 1,
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            },
            "version": {
              "anyOf": [
                {
                  "const": "1",
                  "type": "string"
                }
              ]
            }
          },
          "required": [
            "type",
            "version",
            "data",
            "meta"
          ],
          "type": "object"
        },
        "type": "array"
      },
      "execution_location": {
        "additionalProperties": false,
        "properties": {
          "skill_directory": {
            "minLength": 1,
            "type": "string"
          },
          "tool_roots": {
            "items": {
              "minLength": 1,
              "type": "string"
            },
            "type": "array"
          }
        },
        "required": [
          "skill_directory"
        ],
        "type": "object"
      },
      "historical_context": {
        "items": {
          "additionalProperties": false,
          "properties": {
            "data": {
              "additionalProperties": {},
              "type": "object"
            },
            "meta": {
              "additionalProperties": false,
              "properties": {
                "artifact_id": {
                  "minLength": 1,
                  "type": "string"
                },
                "created_at": {
                  "minLength": 1,
                  "type": "string"
                },
                "hash": {
                  "minLength": 1,
                  "type": "string"
                },
                "parent_artifact_id": {
                  "anyOf": [
                    {
                      "minLength": 1,
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "producer": {
                  "additionalProperties": false,
                  "properties": {
                    "runner": {
                      "minLength": 1,
                      "type": "string"
                    },
                    "skill": {
                      "minLength": 1,
                      "type": "string"
                    }
                  },
                  "required": [
                    "skill",
                    "runner"
                  ],
                  "type": "object"
                },
                "receipt_id": {
                  "anyOf": [
                    {
                      "minLength": 1,
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "redacted": {
                  "type": "boolean"
                },
                "run_id": {
                  "minLength": 1,
                  "type": "string"
                },
                "size_bytes": {
                  "type": "integer"
                },
                "step_id": {
                  "anyOf": [
                    {
                      "minLength": 1,
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "artifact_id",
                "run_id",
                "step_id",
                "producer",
                "created_at",
                "hash",
                "size_bytes",
                "parent_artifact_id",
                "receipt_id",
                "redacted"
              ],
              "type": "object"
            },
            "type": {
              "anyOf": [
                {
                  "minLength": 1,
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            },
            "version": {
              "anyOf": [
                {
                  "const": "1",
                  "type": "string"
                }
              ]
            }
          },
          "required": [
            "type",
            "version",
            "data",
            "meta"
          ],
          "type": "object"
        },
        "type": "array"
      },
      "inputs": {
        "additionalProperties": {},
        "type": "object"
      },
      "instructions": {
        "minLength": 1,
        "type": "string"
      },
      "output": {
        "additionalProperties": {
          "anyOf": [
            {
              "anyOf": [
                {
                  "const": "string",
                  "type": "string"
                },
                {
                  "const": "number",
                  "type": "string"
                },
                {
                  "const": "integer",
                  "type": "string"
                },
                {
                  "const": "boolean",
                  "type": "string"
                },
                {
                  "const": "array",
                  "type": "string"
                },
                {
                  "const": "object",
                  "type": "string"
                },
                {
                  "const": "null",
                  "type": "string"
                }
              ]
            },
            {
              "additionalProperties": false,
              "properties": {
                "description": {
                  "type": "string"
                },
                "enum": {
                  "items": {
                    "type": "string"
                  },
                  "type": "array"
                },
                "required": {
                  "type": "boolean"
                },
                "type": {
                  "anyOf": [
                    {
                      "const": "string",
                      "type": "string"
                    },
                    {
                      "const": "number",
                      "type": "string"
                    },
                    {
                      "const": "integer",
                      "type": "string"
                    },
                    {
                      "const": "boolean",
                      "type": "string"
                    },
                    {
                      "const": "array",
                      "type": "string"
                    },
                    {
                      "const": "object",
                      "type": "string"
                    },
                    {
                      "const": "null",
                      "type": "string"
                    }
                  ]
                },
                "wrap_as": {
                  "minLength": 1,
                  "type": "string"
                }
              },
              "type": "object"
            }
          ]
        },
        "type": "object"
      },
      "provenance": {
        "items": {
          "additionalProperties": false,
          "properties": {
            "artifact_id": {
              "type": "string"
            },
            "from_step": {
              "type": "string"
            },
            "input": {
              "minLength": 1,
              "type": "string"
            },
            "output": {
              "minLength": 1,
              "type": "string"
            },
            "receipt_id": {
              "type": "string"
            }
          },
          "required": [
            "input",
            "output"
          ],
          "type": "object"
        },
        "type": "array"
      },
      "quality_profile": {
        "additionalProperties": false,
        "properties": {
          "content": {
            "type": "string"
          },
          "sha256": {
            "minLength": 1,
            "type": "string"
          },
          "source": {
            "anyOf": [
              {
                "const": "SKILL.md#quality-profile",
                "type": "string"
              }
            ]
          }
        },
        "required": [
          "source",
          "sha256",
          "content"
        ],
        "type": "object"
      },
      "run_id": {
        "minLength": 1,
        "type": "string"
      },
      "skill": {
        "minLength": 1,
        "type": "string"
      },
      "step_id": {
        "minLength": 1,
        "type": "string"
      },
      "trust_boundary": {
        "minLength": 1,
        "type": "string"
      },
      "voice_profile": {
        "additionalProperties": false,
        "properties": {
          "content": {
            "type": "string"
          },
          "path": {
            "minLength": 1,
            "type": "string"
          },
          "root_path": {
            "minLength": 1,
            "type": "string"
          },
          "sha256": {
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "root_path",
          "path",
          "sha256",
          "content"
        ],
        "type": "object"
      }
    },
    "required": [
      "run_id",
      "skill",
      "instructions",
      "inputs",
      "allowed_tools",
      "current_context",
      "historical_context",
      "provenance",
      "trust_boundary"
    ],
    "type": "object"
  } as JsonSchema,
  "approval-gate.schema.json": {
    "$id": "https://runx.ai/spec/approval-gate.schema.json",
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "additionalProperties": false,
    "properties": {
      "id": {
        "minLength": 1,
        "type": "string"
      },
      "reason": {
        "minLength": 1,
        "type": "string"
      },
      "summary": {
        "additionalProperties": {},
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "id",
      "reason"
    ],
    "type": "object"
  } as JsonSchema,
  "artifact.schema.json": {
    "$id": "https://schemas.runx.dev/runx/artifact/v1.json",
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "additionalProperties": false,
    "properties": {
      "artifact_id": {
        "minLength": 1,
        "type": "string"
      },
      "artifact_ref": {
        "$id": "https://schemas.runx.dev/runx/reference/v1.json",
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false,
        "properties": {
          "label": {
            "minLength": 1,
            "type": "string"
          },
          "locator": {
            "minLength": 1,
            "type": "string"
          },
          "observed_at": {
            "minLength": 1,
            "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
            "type": "string"
          },
          "proof_kind": {
            "anyOf": [
              {
                "const": "effect_evidence",
                "type": "string"
              },
              {
                "const": "effect_finality",
                "type": "string"
              },
              {
                "const": "credential_resolution",
                "type": "string"
              }
            ]
          },
          "provider": {
            "minLength": 1,
            "type": "string"
          },
          "schema": {
            "const": "runx.reference.v1",
            "type": "string"
          },
          "type": {
            "anyOf": [
              {
                "const": "github_issue",
                "type": "string"
              },
              {
                "const": "github_pull_request",
                "type": "string"
              },
              {
                "const": "github_repo",
                "type": "string"
              },
              {
                "const": "slack_thread",
                "type": "string"
              },
              {
                "const": "sentry_event",
                "type": "string"
              },
              {
                "const": "provider_thread",
                "type": "string"
              },
              {
                "const": "provider_event",
                "type": "string"
              },
              {
                "const": "provider_comment",
                "type": "string"
              },
              {
                "const": "tracking_item",
                "type": "string"
              },
              {
                "const": "change_request",
                "type": "string"
              },
              {
                "const": "repository",
                "type": "string"
              },
              {
                "const": "support_ticket",
                "type": "string"
              },
              {
                "const": "signal",
                "type": "string"
              },
              {
                "const": "act",
                "type": "string"
              },
              {
                "const": "receipt",
                "type": "string"
              },
              {
                "const": "graph_receipt",
                "type": "string"
              },
              {
                "const": "artifact",
                "type": "string"
              },
              {
                "const": "verification",
                "type": "string"
              },
              {
                "const": "harness",
                "type": "string"
              },
              {
                "const": "host",
                "type": "string"
              },
              {
                "const": "deployment",
                "type": "string"
              },
              {
                "const": "surface",
                "type": "string"
              },
              {
                "const": "target",
                "type": "string"
              },
              {
                "const": "opportunity",
                "type": "string"
              },
              {
                "const": "thesis_assessment",
                "type": "string"
              },
              {
                "const": "selection",
                "type": "string"
              },
              {
                "const": "skill_binding",
                "type": "string"
              },
              {
                "const": "target_transition_entry",
                "type": "string"
              },
              {
                "const": "selection_cycle",
                "type": "string"
              },
              {
                "const": "decision",
                "type": "string"
              },
              {
                "const": "reflection_entry",
                "type": "string"
              },
              {
                "const": "feed_entry",
                "type": "string"
              },
              {
                "const": "principal",
                "type": "string"
              },
              {
                "const": "authority_proof",
                "type": "string"
              },
              {
                "const": "scope_admission",
                "type": "string"
              },
              {
                "const": "grant",
                "type": "string"
              },
              {
                "const": "mandate",
                "type": "string"
              },
              {
                "const": "credential",
                "type": "string"
              },
              {
                "const": "webhook_delivery",
                "type": "string"
              },
              {
                "const": "redaction_policy",
                "type": "string"
              },
              {
                "const": "external_url",
                "type": "string"
              }
            ]
          },
          "uri": {
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "type",
          "uri"
        ],
        "type": "object",
        "x-runx-schema": "runx.reference.v1"
      },
      "created_at": {
        "minLength": 1,
        "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
        "type": "string"
      },
      "data_ref": {
        "$id": "https://schemas.runx.dev/runx/reference/v1.json",
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false,
        "properties": {
          "label": {
            "minLength": 1,
            "type": "string"
          },
          "locator": {
            "minLength": 1,
            "type": "string"
          },
          "observed_at": {
            "minLength": 1,
            "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
            "type": "string"
          },
          "proof_kind": {
            "anyOf": [
              {
                "const": "effect_evidence",
                "type": "string"
              },
              {
                "const": "effect_finality",
                "type": "string"
              },
              {
                "const": "credential_resolution",
                "type": "string"
              }
            ]
          },
          "provider": {
            "minLength": 1,
            "type": "string"
          },
          "schema": {
            "const": "runx.reference.v1",
            "type": "string"
          },
          "type": {
            "anyOf": [
              {
                "const": "github_issue",
                "type": "string"
              },
              {
                "const": "github_pull_request",
                "type": "string"
              },
              {
                "const": "github_repo",
                "type": "string"
              },
              {
                "const": "slack_thread",
                "type": "string"
              },
              {
                "const": "sentry_event",
                "type": "string"
              },
              {
                "const": "provider_thread",
                "type": "string"
              },
              {
                "const": "provider_event",
                "type": "string"
              },
              {
                "const": "provider_comment",
                "type": "string"
              },
              {
                "const": "tracking_item",
                "type": "string"
              },
              {
                "const": "change_request",
                "type": "string"
              },
              {
                "const": "repository",
                "type": "string"
              },
              {
                "const": "support_ticket",
                "type": "string"
              },
              {
                "const": "signal",
                "type": "string"
              },
              {
                "const": "act",
                "type": "string"
              },
              {
                "const": "receipt",
                "type": "string"
              },
              {
                "const": "graph_receipt",
                "type": "string"
              },
              {
                "const": "artifact",
                "type": "string"
              },
              {
                "const": "verification",
                "type": "string"
              },
              {
                "const": "harness",
                "type": "string"
              },
              {
                "const": "host",
                "type": "string"
              },
              {
                "const": "deployment",
                "type": "string"
              },
              {
                "const": "surface",
                "type": "string"
              },
              {
                "const": "target",
                "type": "string"
              },
              {
                "const": "opportunity",
                "type": "string"
              },
              {
                "const": "thesis_assessment",
                "type": "string"
              },
              {
                "const": "selection",
                "type": "string"
              },
              {
                "const": "skill_binding",
                "type": "string"
              },
              {
                "const": "target_transition_entry",
                "type": "string"
              },
              {
                "const": "selection_cycle",
                "type": "string"
              },
              {
                "const": "decision",
                "type": "string"
              },
              {
                "const": "reflection_entry",
                "type": "string"
              },
              {
                "const": "feed_entry",
                "type": "string"
              },
              {
                "const": "principal",
                "type": "string"
              },
              {
                "const": "authority_proof",
                "type": "string"
              },
              {
                "const": "scope_admission",
                "type": "string"
              },
              {
                "const": "grant",
                "type": "string"
              },
              {
                "const": "mandate",
                "type": "string"
              },
              {
                "const": "credential",
                "type": "string"
              },
              {
                "const": "webhook_delivery",
                "type": "string"
              },
              {
                "const": "redaction_policy",
                "type": "string"
              },
              {
                "const": "external_url",
                "type": "string"
              }
            ]
          },
          "uri": {
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "type",
          "uri"
        ],
        "type": "object",
        "x-runx-schema": "runx.reference.v1"
      },
      "extensions": {
        "additionalProperties": {},
        "type": "object"
      },
      "hash": {
        "additionalProperties": false,
        "properties": {
          "algorithm": {
            "anyOf": [
              {
                "const": "sha256",
                "type": "string"
              }
            ]
          },
          "canonicalization": {
            "minLength": 1,
            "type": "string"
          },
          "value": {
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "algorithm",
          "value",
          "canonicalization"
        ],
        "type": "object"
      },
      "media_type": {
        "minLength": 1,
        "type": "string"
      },
      "produced_by": {
        "additionalProperties": false,
        "properties": {
          "act_ref": {
            "additionalProperties": false,
            "properties": {
              "act_id": {
                "minLength": 1,
                "type": "string"
              },
              "receipt_ref": {
                "$id": "https://schemas.runx.dev/runx/reference/v1.json",
                "$schema": "https://json-schema.org/draft/2020-12/schema",
                "additionalProperties": false,
                "properties": {
                  "label": {
                    "minLength": 1,
                    "type": "string"
                  },
                  "locator": {
                    "minLength": 1,
                    "type": "string"
                  },
                  "observed_at": {
                    "minLength": 1,
                    "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
                    "type": "string"
                  },
                  "proof_kind": {
                    "anyOf": [
                      {
                        "const": "effect_evidence",
                        "type": "string"
                      },
                      {
                        "const": "effect_finality",
                        "type": "string"
                      },
                      {
                        "const": "credential_resolution",
                        "type": "string"
                      }
                    ]
                  },
                  "provider": {
                    "minLength": 1,
                    "type": "string"
                  },
                  "schema": {
                    "const": "runx.reference.v1",
                    "type": "string"
                  },
                  "type": {
                    "anyOf": [
                      {
                        "const": "github_issue",
                        "type": "string"
                      },
                      {
                        "const": "github_pull_request",
                        "type": "string"
                      },
                      {
                        "const": "github_repo",
                        "type": "string"
                      },
                      {
                        "const": "slack_thread",
                        "type": "string"
                      },
                      {
                        "const": "sentry_event",
                        "type": "string"
                      },
                      {
                        "const": "provider_thread",
                        "type": "string"
                      },
                      {
                        "const": "provider_event",
                        "type": "string"
                      },
                      {
                        "const": "provider_comment",
                        "type": "string"
                      },
                      {
                        "const": "tracking_item",
                        "type": "string"
                      },
                      {
                        "const": "change_request",
                        "type": "string"
                      },
                      {
                        "const": "repository",
                        "type": "string"
                      },
                      {
                        "const": "support_ticket",
                        "type": "string"
                      },
                      {
                        "const": "signal",
                        "type": "string"
                      },
                      {
                        "const": "act",
                        "type": "string"
                      },
                      {
                        "const": "receipt",
                        "type": "string"
                      },
                      {
                        "const": "graph_receipt",
                        "type": "string"
                      },
                      {
                        "const": "artifact",
                        "type": "string"
                      },
                      {
                        "const": "verification",
                        "type": "string"
                      },
                      {
                        "const": "harness",
                        "type": "string"
                      },
                      {
                        "const": "host",
                        "type": "string"
                      },
                      {
                        "const": "deployment",
                        "type": "string"
                      },
                      {
                        "const": "surface",
                        "type": "string"
                      },
                      {
                        "const": "target",
                        "type": "string"
                      },
                      {
                        "const": "opportunity",
                        "type": "string"
                      },
                      {
                        "const": "thesis_assessment",
                        "type": "string"
                      },
                      {
                        "const": "selection",
                        "type": "string"
                      },
                      {
                        "const": "skill_binding",
                        "type": "string"
                      },
                      {
                        "const": "target_transition_entry",
                        "type": "string"
                      },
                      {
                        "const": "selection_cycle",
                        "type": "string"
                      },
                      {
                        "const": "decision",
                        "type": "string"
                      },
                      {
                        "const": "reflection_entry",
                        "type": "string"
                      },
                      {
                        "const": "feed_entry",
                        "type": "string"
                      },
                      {
                        "const": "principal",
                        "type": "string"
                      },
                      {
                        "const": "authority_proof",
                        "type": "string"
                      },
                      {
                        "const": "scope_admission",
                        "type": "string"
                      },
                      {
                        "const": "grant",
                        "type": "string"
                      },
                      {
                        "const": "mandate",
                        "type": "string"
                      },
                      {
                        "const": "credential",
                        "type": "string"
                      },
                      {
                        "const": "webhook_delivery",
                        "type": "string"
                      },
                      {
                        "const": "redaction_policy",
                        "type": "string"
                      },
                      {
                        "const": "external_url",
                        "type": "string"
                      }
                    ]
                  },
                  "uri": {
                    "minLength": 1,
                    "type": "string"
                  }
                },
                "required": [
                  "type",
                  "uri"
                ],
                "type": "object",
                "x-runx-schema": "runx.reference.v1"
              }
            },
            "required": [
              "receipt_ref",
              "act_id"
            ],
            "type": "object"
          },
          "decision_ref": {
            "$id": "https://schemas.runx.dev/runx/reference/v1.json",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "additionalProperties": false,
            "properties": {
              "label": {
                "minLength": 1,
                "type": "string"
              },
              "locator": {
                "minLength": 1,
                "type": "string"
              },
              "observed_at": {
                "minLength": 1,
                "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
                "type": "string"
              },
              "proof_kind": {
                "anyOf": [
                  {
                    "const": "effect_evidence",
                    "type": "string"
                  },
                  {
                    "const": "effect_finality",
                    "type": "string"
                  },
                  {
                    "const": "credential_resolution",
                    "type": "string"
                  }
                ]
              },
              "provider": {
                "minLength": 1,
                "type": "string"
              },
              "schema": {
                "const": "runx.reference.v1",
                "type": "string"
              },
              "type": {
                "anyOf": [
                  {
                    "const": "github_issue",
                    "type": "string"
                  },
                  {
                    "const": "github_pull_request",
                    "type": "string"
                  },
                  {
                    "const": "github_repo",
                    "type": "string"
                  },
                  {
                    "const": "slack_thread",
                    "type": "string"
                  },
                  {
                    "const": "sentry_event",
                    "type": "string"
                  },
                  {
                    "const": "provider_thread",
                    "type": "string"
                  },
                  {
                    "const": "provider_event",
                    "type": "string"
                  },
                  {
                    "const": "provider_comment",
                    "type": "string"
                  },
                  {
                    "const": "tracking_item",
                    "type": "string"
                  },
                  {
                    "const": "change_request",
                    "type": "string"
                  },
                  {
                    "const": "repository",
                    "type": "string"
                  },
                  {
                    "const": "support_ticket",
                    "type": "string"
                  },
                  {
                    "const": "signal",
                    "type": "string"
                  },
                  {
                    "const": "act",
                    "type": "string"
                  },
                  {
                    "const": "receipt",
                    "type": "string"
                  },
                  {
                    "const": "graph_receipt",
                    "type": "string"
                  },
                  {
                    "const": "artifact",
                    "type": "string"
                  },
                  {
                    "const": "verification",
                    "type": "string"
                  },
                  {
                    "const": "harness",
                    "type": "string"
                  },
                  {
                    "const": "host",
                    "type": "string"
                  },
                  {
                    "const": "deployment",
                    "type": "string"
                  },
                  {
                    "const": "surface",
                    "type": "string"
                  },
                  {
                    "const": "target",
                    "type": "string"
                  },
                  {
                    "const": "opportunity",
                    "type": "string"
                  },
                  {
                    "const": "thesis_assessment",
                    "type": "string"
                  },
                  {
                    "const": "selection",
                    "type": "string"
                  },
                  {
                    "const": "skill_binding",
                    "type": "string"
                  },
                  {
                    "const": "target_transition_entry",
                    "type": "string"
                  },
                  {
                    "const": "selection_cycle",
                    "type": "string"
                  },
                  {
                    "const": "decision",
                    "type": "string"
                  },
                  {
                    "const": "reflection_entry",
                    "type": "string"
                  },
                  {
                    "const": "feed_entry",
                    "type": "string"
                  },
                  {
                    "const": "principal",
                    "type": "string"
                  },
                  {
                    "const": "authority_proof",
                    "type": "string"
                  },
                  {
                    "const": "scope_admission",
                    "type": "string"
                  },
                  {
                    "const": "grant",
                    "type": "string"
                  },
                  {
                    "const": "mandate",
                    "type": "string"
                  },
                  {
                    "const": "credential",
                    "type": "string"
                  },
                  {
                    "const": "webhook_delivery",
                    "type": "string"
                  },
                  {
                    "const": "redaction_policy",
                    "type": "string"
                  },
                  {
                    "const": "external_url",
                    "type": "string"
                  }
                ]
              },
              "uri": {
                "minLength": 1,
                "type": "string"
              }
            },
            "required": [
              "type",
              "uri"
            ],
            "type": "object",
            "x-runx-schema": "runx.reference.v1"
          },
          "harness_ref": {
            "$id": "https://schemas.runx.dev/runx/reference/v1.json",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "additionalProperties": false,
            "properties": {
              "label": {
                "minLength": 1,
                "type": "string"
              },
              "locator": {
                "minLength": 1,
                "type": "string"
              },
              "observed_at": {
                "minLength": 1,
                "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
                "type": "string"
              },
              "proof_kind": {
                "anyOf": [
                  {
                    "const": "effect_evidence",
                    "type": "string"
                  },
                  {
                    "const": "effect_finality",
                    "type": "string"
                  },
                  {
                    "const": "credential_resolution",
                    "type": "string"
                  }
                ]
              },
              "provider": {
                "minLength": 1,
                "type": "string"
              },
              "schema": {
                "const": "runx.reference.v1",
                "type": "string"
              },
              "type": {
                "anyOf": [
                  {
                    "const": "github_issue",
                    "type": "string"
                  },
                  {
                    "const": "github_pull_request",
                    "type": "string"
                  },
                  {
                    "const": "github_repo",
                    "type": "string"
                  },
                  {
                    "const": "slack_thread",
                    "type": "string"
                  },
                  {
                    "const": "sentry_event",
                    "type": "string"
                  },
                  {
                    "const": "provider_thread",
                    "type": "string"
                  },
                  {
                    "const": "provider_event",
                    "type": "string"
                  },
                  {
                    "const": "provider_comment",
                    "type": "string"
                  },
                  {
                    "const": "tracking_item",
                    "type": "string"
                  },
                  {
                    "const": "change_request",
                    "type": "string"
                  },
                  {
                    "const": "repository",
                    "type": "string"
                  },
                  {
                    "const": "support_ticket",
                    "type": "string"
                  },
                  {
                    "const": "signal",
                    "type": "string"
                  },
                  {
                    "const": "act",
                    "type": "string"
                  },
                  {
                    "const": "receipt",
                    "type": "string"
                  },
                  {
                    "const": "graph_receipt",
                    "type": "string"
                  },
                  {
                    "const": "artifact",
                    "type": "string"
                  },
                  {
                    "const": "verification",
                    "type": "string"
                  },
                  {
                    "const": "harness",
                    "type": "string"
                  },
                  {
                    "const": "host",
                    "type": "string"
                  },
                  {
                    "const": "deployment",
                    "type": "string"
                  },
                  {
                    "const": "surface",
                    "type": "string"
                  },
                  {
                    "const": "target",
                    "type": "string"
                  },
                  {
                    "const": "opportunity",
                    "type": "string"
                  },
                  {
                    "const": "thesis_assessment",
                    "type": "string"
                  },
                  {
                    "const": "selection",
                    "type": "string"
                  },
                  {
                    "const": "skill_binding",
                    "type": "string"
                  },
                  {
                    "const": "target_transition_entry",
                    "type": "string"
                  },
                  {
                    "const": "selection_cycle",
                    "type": "string"
                  },
                  {
                    "const": "decision",
                    "type": "string"
                  },
                  {
                    "const": "reflection_entry",
                    "type": "string"
                  },
                  {
                    "const": "feed_entry",
                    "type": "string"
                  },
                  {
                    "const": "principal",
                    "type": "string"
                  },
                  {
                    "const": "authority_proof",
                    "type": "string"
                  },
                  {
                    "const": "scope_admission",
                    "type": "string"
                  },
                  {
                    "const": "grant",
                    "type": "string"
                  },
                  {
                    "const": "mandate",
                    "type": "string"
                  },
                  {
                    "const": "credential",
                    "type": "string"
                  },
                  {
                    "const": "webhook_delivery",
                    "type": "string"
                  },
                  {
                    "const": "redaction_policy",
                    "type": "string"
                  },
                  {
                    "const": "external_url",
                    "type": "string"
                  }
                ]
              },
              "uri": {
                "minLength": 1,
                "type": "string"
              }
            },
            "required": [
              "type",
              "uri"
            ],
            "type": "object",
            "x-runx-schema": "runx.reference.v1"
          },
          "receipt_ref": {
            "$id": "https://schemas.runx.dev/runx/reference/v1.json",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "additionalProperties": false,
            "properties": {
              "label": {
                "minLength": 1,
                "type": "string"
              },
              "locator": {
                "minLength": 1,
                "type": "string"
              },
              "observed_at": {
                "minLength": 1,
                "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
                "type": "string"
              },
              "proof_kind": {
                "anyOf": [
                  {
                    "const": "effect_evidence",
                    "type": "string"
                  },
                  {
                    "const": "effect_finality",
                    "type": "string"
                  },
                  {
                    "const": "credential_resolution",
                    "type": "string"
                  }
                ]
              },
              "provider": {
                "minLength": 1,
                "type": "string"
              },
              "schema": {
                "const": "runx.reference.v1",
                "type": "string"
              },
              "type": {
                "anyOf": [
                  {
                    "const": "github_issue",
                    "type": "string"
                  },
                  {
                    "const": "github_pull_request",
                    "type": "string"
                  },
                  {
                    "const": "github_repo",
                    "type": "string"
                  },
                  {
                    "const": "slack_thread",
                    "type": "string"
                  },
                  {
                    "const": "sentry_event",
                    "type": "string"
                  },
                  {
                    "const": "provider_thread",
                    "type": "string"
                  },
                  {
                    "const": "provider_event",
                    "type": "string"
                  },
                  {
                    "const": "provider_comment",
                    "type": "string"
                  },
                  {
                    "const": "tracking_item",
                    "type": "string"
                  },
                  {
                    "const": "change_request",
                    "type": "string"
                  },
                  {
                    "const": "repository",
                    "type": "string"
                  },
                  {
                    "const": "support_ticket",
                    "type": "string"
                  },
                  {
                    "const": "signal",
                    "type": "string"
                  },
                  {
                    "const": "act",
                    "type": "string"
                  },
                  {
                    "const": "receipt",
                    "type": "string"
                  },
                  {
                    "const": "graph_receipt",
                    "type": "string"
                  },
                  {
                    "const": "artifact",
                    "type": "string"
                  },
                  {
                    "const": "verification",
                    "type": "string"
                  },
                  {
                    "const": "harness",
                    "type": "string"
                  },
                  {
                    "const": "host",
                    "type": "string"
                  },
                  {
                    "const": "deployment",
                    "type": "string"
                  },
                  {
                    "const": "surface",
                    "type": "string"
                  },
                  {
                    "const": "target",
                    "type": "string"
                  },
                  {
                    "const": "opportunity",
                    "type": "string"
                  },
                  {
                    "const": "thesis_assessment",
                    "type": "string"
                  },
                  {
                    "const": "selection",
                    "type": "string"
                  },
                  {
                    "const": "skill_binding",
                    "type": "string"
                  },
                  {
                    "const": "target_transition_entry",
                    "type": "string"
                  },
                  {
                    "const": "selection_cycle",
                    "type": "string"
                  },
                  {
                    "const": "decision",
                    "type": "string"
                  },
                  {
                    "const": "reflection_entry",
                    "type": "string"
                  },
                  {
                    "const": "feed_entry",
                    "type": "string"
                  },
                  {
                    "const": "principal",
                    "type": "string"
                  },
                  {
                    "const": "authority_proof",
                    "type": "string"
                  },
                  {
                    "const": "scope_admission",
                    "type": "string"
                  },
                  {
                    "const": "grant",
                    "type": "string"
                  },
                  {
                    "const": "mandate",
                    "type": "string"
                  },
                  {
                    "const": "credential",
                    "type": "string"
                  },
                  {
                    "const": "webhook_delivery",
                    "type": "string"
                  },
                  {
                    "const": "redaction_policy",
                    "type": "string"
                  },
                  {
                    "const": "external_url",
                    "type": "string"
                  }
                ]
              },
              "uri": {
                "minLength": 1,
                "type": "string"
              }
            },
            "required": [
              "type",
              "uri"
            ],
            "type": "object",
            "x-runx-schema": "runx.reference.v1"
          },
          "signal_ref": {
            "$id": "https://schemas.runx.dev/runx/reference/v1.json",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "additionalProperties": false,
            "properties": {
              "label": {
                "minLength": 1,
                "type": "string"
              },
              "locator": {
                "minLength": 1,
                "type": "string"
              },
              "observed_at": {
                "minLength": 1,
                "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
                "type": "string"
              },
              "proof_kind": {
                "anyOf": [
                  {
                    "const": "effect_evidence",
                    "type": "string"
                  },
                  {
                    "const": "effect_finality",
                    "type": "string"
                  },
                  {
                    "const": "credential_resolution",
                    "type": "string"
                  }
                ]
              },
              "provider": {
                "minLength": 1,
                "type": "string"
              },
              "schema": {
                "const": "runx.reference.v1",
                "type": "string"
              },
              "type": {
                "anyOf": [
                  {
                    "const": "github_issue",
                    "type": "string"
                  },
                  {
                    "const": "github_pull_request",
                    "type": "string"
                  },
                  {
                    "const": "github_repo",
                    "type": "string"
                  },
                  {
                    "const": "slack_thread",
                    "type": "string"
                  },
                  {
                    "const": "sentry_event",
                    "type": "string"
                  },
                  {
                    "const": "provider_thread",
                    "type": "string"
                  },
                  {
                    "const": "provider_event",
                    "type": "string"
                  },
                  {
                    "const": "provider_comment",
                    "type": "string"
                  },
                  {
                    "const": "tracking_item",
                    "type": "string"
                  },
                  {
                    "const": "change_request",
                    "type": "string"
                  },
                  {
                    "const": "repository",
                    "type": "string"
                  },
                  {
                    "const": "support_ticket",
                    "type": "string"
                  },
                  {
                    "const": "signal",
                    "type": "string"
                  },
                  {
                    "const": "act",
                    "type": "string"
                  },
                  {
                    "const": "receipt",
                    "type": "string"
                  },
                  {
                    "const": "graph_receipt",
                    "type": "string"
                  },
                  {
                    "const": "artifact",
                    "type": "string"
                  },
                  {
                    "const": "verification",
                    "type": "string"
                  },
                  {
                    "const": "harness",
                    "type": "string"
                  },
                  {
                    "const": "host",
                    "type": "string"
                  },
                  {
                    "const": "deployment",
                    "type": "string"
                  },
                  {
                    "const": "surface",
                    "type": "string"
                  },
                  {
                    "const": "target",
                    "type": "string"
                  },
                  {
                    "const": "opportunity",
                    "type": "string"
                  },
                  {
                    "const": "thesis_assessment",
                    "type": "string"
                  },
                  {
                    "const": "selection",
                    "type": "string"
                  },
                  {
                    "const": "skill_binding",
                    "type": "string"
                  },
                  {
                    "const": "target_transition_entry",
                    "type": "string"
                  },
                  {
                    "const": "selection_cycle",
                    "type": "string"
                  },
                  {
                    "const": "decision",
                    "type": "string"
                  },
                  {
                    "const": "reflection_entry",
                    "type": "string"
                  },
                  {
                    "const": "feed_entry",
                    "type": "string"
                  },
                  {
                    "const": "principal",
                    "type": "string"
                  },
                  {
                    "const": "authority_proof",
                    "type": "string"
                  },
                  {
                    "const": "scope_admission",
                    "type": "string"
                  },
                  {
                    "const": "grant",
                    "type": "string"
                  },
                  {
                    "const": "mandate",
                    "type": "string"
                  },
                  {
                    "const": "credential",
                    "type": "string"
                  },
                  {
                    "const": "webhook_delivery",
                    "type": "string"
                  },
                  {
                    "const": "redaction_policy",
                    "type": "string"
                  },
                  {
                    "const": "external_url",
                    "type": "string"
                  }
                ]
              },
              "uri": {
                "minLength": 1,
                "type": "string"
              }
            },
            "required": [
              "type",
              "uri"
            ],
            "type": "object",
            "x-runx-schema": "runx.reference.v1"
          }
        },
        "type": "object"
      },
      "redaction_refs": {
        "items": {
          "$id": "https://schemas.runx.dev/runx/reference/v1.json",
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "additionalProperties": false,
          "properties": {
            "label": {
              "minLength": 1,
              "type": "string"
            },
            "locator": {
              "minLength": 1,
              "type": "string"
            },
            "observed_at": {
              "minLength": 1,
              "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
              "type": "string"
            },
            "proof_kind": {
              "anyOf": [
                {
                  "const": "effect_evidence",
                  "type": "string"
                },
                {
                  "const": "effect_finality",
                  "type": "string"
                },
                {
                  "const": "credential_resolution",
                  "type": "string"
                }
              ]
            },
            "provider": {
              "minLength": 1,
              "type": "string"
            },
            "schema": {
              "const": "runx.reference.v1",
              "type": "string"
            },
            "type": {
              "anyOf": [
                {
                  "const": "github_issue",
                  "type": "string"
                },
                {
                  "const": "github_pull_request",
                  "type": "string"
                },
                {
                  "const": "github_repo",
                  "type": "string"
                },
                {
                  "const": "slack_thread",
                  "type": "string"
                },
                {
                  "const": "sentry_event",
                  "type": "string"
                },
                {
                  "const": "provider_thread",
                  "type": "string"
                },
                {
                  "const": "provider_event",
                  "type": "string"
                },
                {
                  "const": "provider_comment",
                  "type": "string"
                },
                {
                  "const": "tracking_item",
                  "type": "string"
                },
                {
                  "const": "change_request",
                  "type": "string"
                },
                {
                  "const": "repository",
                  "type": "string"
                },
                {
                  "const": "support_ticket",
                  "type": "string"
                },
                {
                  "const": "signal",
                  "type": "string"
                },
                {
                  "const": "act",
                  "type": "string"
                },
                {
                  "const": "receipt",
                  "type": "string"
                },
                {
                  "const": "graph_receipt",
                  "type": "string"
                },
                {
                  "const": "artifact",
                  "type": "string"
                },
                {
                  "const": "verification",
                  "type": "string"
                },
                {
                  "const": "harness",
                  "type": "string"
                },
                {
                  "const": "host",
                  "type": "string"
                },
                {
                  "const": "deployment",
                  "type": "string"
                },
                {
                  "const": "surface",
                  "type": "string"
                },
                {
                  "const": "target",
                  "type": "string"
                },
                {
                  "const": "opportunity",
                  "type": "string"
                },
                {
                  "const": "thesis_assessment",
                  "type": "string"
                },
                {
                  "const": "selection",
                  "type": "string"
                },
                {
                  "const": "skill_binding",
                  "type": "string"
                },
                {
                  "const": "target_transition_entry",
                  "type": "string"
                },
                {
                  "const": "selection_cycle",
                  "type": "string"
                },
                {
                  "const": "decision",
                  "type": "string"
                },
                {
                  "const": "reflection_entry",
                  "type": "string"
                },
                {
                  "const": "feed_entry",
                  "type": "string"
                },
                {
                  "const": "principal",
                  "type": "string"
                },
                {
                  "const": "authority_proof",
                  "type": "string"
                },
                {
                  "const": "scope_admission",
                  "type": "string"
                },
                {
                  "const": "grant",
                  "type": "string"
                },
                {
                  "const": "mandate",
                  "type": "string"
                },
                {
                  "const": "credential",
                  "type": "string"
                },
                {
                  "const": "webhook_delivery",
                  "type": "string"
                },
                {
                  "const": "redaction_policy",
                  "type": "string"
                },
                {
                  "const": "external_url",
                  "type": "string"
                }
              ]
            },
            "uri": {
              "minLength": 1,
              "type": "string"
            }
          },
          "required": [
            "type",
            "uri"
          ],
          "type": "object",
          "x-runx-schema": "runx.reference.v1"
        },
        "type": "array"
      },
      "schema": {
        "anyOf": [
          {
            "const": "runx.artifact.v1",
            "type": "string"
          }
        ]
      },
      "size_bytes": {
        "type": "integer"
      },
      "source_refs": {
        "items": {
          "$id": "https://schemas.runx.dev/runx/reference/v1.json",
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "additionalProperties": false,
          "properties": {
            "label": {
              "minLength": 1,
              "type": "string"
            },
            "locator": {
              "minLength": 1,
              "type": "string"
            },
            "observed_at": {
              "minLength": 1,
              "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
              "type": "string"
            },
            "proof_kind": {
              "anyOf": [
                {
                  "const": "effect_evidence",
                  "type": "string"
                },
                {
                  "const": "effect_finality",
                  "type": "string"
                },
                {
                  "const": "credential_resolution",
                  "type": "string"
                }
              ]
            },
            "provider": {
              "minLength": 1,
              "type": "string"
            },
            "schema": {
              "const": "runx.reference.v1",
              "type": "string"
            },
            "type": {
              "anyOf": [
                {
                  "const": "github_issue",
                  "type": "string"
                },
                {
                  "const": "github_pull_request",
                  "type": "string"
                },
                {
                  "const": "github_repo",
                  "type": "string"
                },
                {
                  "const": "slack_thread",
                  "type": "string"
                },
                {
                  "const": "sentry_event",
                  "type": "string"
                },
                {
                  "const": "provider_thread",
                  "type": "string"
                },
                {
                  "const": "provider_event",
                  "type": "string"
                },
                {
                  "const": "provider_comment",
                  "type": "string"
                },
                {
                  "const": "tracking_item",
                  "type": "string"
                },
                {
                  "const": "change_request",
                  "type": "string"
                },
                {
                  "const": "repository",
                  "type": "string"
                },
                {
                  "const": "support_ticket",
                  "type": "string"
                },
                {
                  "const": "signal",
                  "type": "string"
                },
                {
                  "const": "act",
                  "type": "string"
                },
                {
                  "const": "receipt",
                  "type": "string"
                },
                {
                  "const": "graph_receipt",
                  "type": "string"
                },
                {
                  "const": "artifact",
                  "type": "string"
                },
                {
                  "const": "verification",
                  "type": "string"
                },
                {
                  "const": "harness",
                  "type": "string"
                },
                {
                  "const": "host",
                  "type": "string"
                },
                {
                  "const": "deployment",
                  "type": "string"
                },
                {
                  "const": "surface",
                  "type": "string"
                },
                {
                  "const": "target",
                  "type": "string"
                },
                {
                  "const": "opportunity",
                  "type": "string"
                },
                {
                  "const": "thesis_assessment",
                  "type": "string"
                },
                {
                  "const": "selection",
                  "type": "string"
                },
                {
                  "const": "skill_binding",
                  "type": "string"
                },
                {
                  "const": "target_transition_entry",
                  "type": "string"
                },
                {
                  "const": "selection_cycle",
                  "type": "string"
                },
                {
                  "const": "decision",
                  "type": "string"
                },
                {
                  "const": "reflection_entry",
                  "type": "string"
                },
                {
                  "const": "feed_entry",
                  "type": "string"
                },
                {
                  "const": "principal",
                  "type": "string"
                },
                {
                  "const": "authority_proof",
                  "type": "string"
                },
                {
                  "const": "scope_admission",
                  "type": "string"
                },
                {
                  "const": "grant",
                  "type": "string"
                },
                {
                  "const": "mandate",
                  "type": "string"
                },
                {
                  "const": "credential",
                  "type": "string"
                },
                {
                  "const": "webhook_delivery",
                  "type": "string"
                },
                {
                  "const": "redaction_policy",
                  "type": "string"
                },
                {
                  "const": "external_url",
                  "type": "string"
                }
              ]
            },
            "uri": {
              "minLength": 1,
              "type": "string"
            }
          },
          "required": [
            "type",
            "uri"
          ],
          "type": "object",
          "x-runx-schema": "runx.reference.v1"
        },
        "type": "array"
      },
      "summary": {
        "minLength": 1,
        "type": "string"
      }
    },
    "required": [
      "schema",
      "artifact_id",
      "artifact_ref",
      "produced_by",
      "media_type",
      "created_at",
      "size_bytes",
      "hash"
    ],
    "type": "object",
    "x-runx-schema": "runx.artifact.v1"
  } as JsonSchema,
  "authority-proof.schema.json": {
    "$id": "https://runx.ai/spec/authority-proof.schema.json",
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "additionalProperties": false,
    "properties": {
      "approval_gate": {
        "additionalProperties": false,
        "properties": {
          "decision": {
            "anyOf": [
              {
                "const": "approved",
                "type": "string"
              },
              {
                "const": "denied",
                "type": "string"
              }
            ]
          },
          "gate_id": {
            "minLength": 1,
            "type": "string"
          },
          "gate_type": {
            "minLength": 1,
            "type": "string"
          },
          "reason": {
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "gate_id",
          "gate_type",
          "decision"
        ],
        "type": "object"
      },
      "credential_material": {
        "additionalProperties": false,
        "properties": {
          "authority_kind": {
            "anyOf": [
              {
                "const": "read_only",
                "type": "string"
              },
              {
                "const": "constructive",
                "type": "string"
              },
              {
                "const": "destructive",
                "type": "string"
              }
            ]
          },
          "grant_id": {
            "minLength": 1,
            "type": "string"
          },
          "grant_reference": {
            "additionalProperties": false,
            "properties": {
              "authority_kind": {
                "anyOf": [
                  {
                    "const": "read_only",
                    "type": "string"
                  },
                  {
                    "const": "constructive",
                    "type": "string"
                  },
                  {
                    "const": "destructive",
                    "type": "string"
                  }
                ]
              },
              "grant_id": {
                "minLength": 1,
                "type": "string"
              },
              "scope_family": {
                "minLength": 1,
                "type": "string"
              },
              "target_locator": {
                "minLength": 1,
                "type": "string"
              },
              "target_repo": {
                "minLength": 1,
                "type": "string"
              }
            },
            "required": [
              "grant_id",
              "scope_family",
              "authority_kind"
            ],
            "type": "object"
          },
          "material_ref_hash": {
            "minLength": 1,
            "type": "string"
          },
          "provider": {
            "minLength": 1,
            "type": "string"
          },
          "provider_reference": {
            "minLength": 1,
            "type": "string"
          },
          "scope_family": {
            "minLength": 1,
            "type": "string"
          },
          "scopes": {
            "items": {
              "minLength": 1,
              "type": "string"
            },
            "type": "array"
          },
          "status": {
            "anyOf": [
              {
                "const": "not_requested",
                "type": "string"
              },
              {
                "const": "not_resolved",
                "type": "string"
              },
              {
                "const": "resolved",
                "type": "string"
              },
              {
                "const": "denied",
                "type": "string"
              }
            ]
          },
          "target_locator": {
            "minLength": 1,
            "type": "string"
          },
          "target_repo": {
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "status"
        ],
        "type": "object"
      },
      "redaction": {
        "additionalProperties": false,
        "properties": {
          "metadata_secret_keys": {
            "items": {
              "minLength": 1,
              "type": "string"
            },
            "type": "array"
          },
          "secret_material": {
            "anyOf": [
              {
                "const": "omitted",
                "type": "string"
              }
            ]
          },
          "status": {
            "anyOf": [
              {
                "const": "applied",
                "type": "string"
              }
            ]
          },
          "stderr": {
            "anyOf": [
              {
                "const": "hashed",
                "type": "string"
              }
            ]
          },
          "stdout": {
            "anyOf": [
              {
                "const": "hashed",
                "type": "string"
              }
            ]
          }
        },
        "required": [
          "status",
          "secret_material",
          "stdout",
          "stderr",
          "metadata_secret_keys"
        ],
        "type": "object"
      },
      "requested": {
        "additionalProperties": false,
        "properties": {
          "authority_kind": {
            "anyOf": [
              {
                "const": "read_only",
                "type": "string"
              },
              {
                "const": "constructive",
                "type": "string"
              },
              {
                "const": "destructive",
                "type": "string"
              }
            ]
          },
          "connected_auth": {
            "type": "boolean"
          },
          "mutating": {
            "type": "boolean"
          },
          "sandbox_profile": {
            "minLength": 1,
            "type": "string"
          },
          "scope_family": {
            "minLength": 1,
            "type": "string"
          },
          "scopes": {
            "items": {
              "minLength": 1,
              "type": "string"
            },
            "type": "array"
          },
          "target_locator": {
            "minLength": 1,
            "type": "string"
          },
          "target_repo": {
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "connected_auth",
          "scopes",
          "mutating"
        ],
        "type": "object"
      },
      "run_id": {
        "minLength": 1,
        "type": "string"
      },
      "sandbox": {
        "additionalProperties": false,
        "properties": {
          "approval_approved": {
            "type": "boolean"
          },
          "approval_required": {
            "type": "boolean"
          },
          "cwd_policy": {
            "minLength": 1,
            "type": "string"
          },
          "filesystem": {
            "additionalProperties": false,
            "properties": {
              "enforcement": {
                "minLength": 1,
                "type": "string"
              },
              "private_tmp": {
                "type": "boolean"
              },
              "readonly_paths": {
                "type": "boolean"
              },
              "writable_paths_enforced": {
                "type": "boolean"
              }
            },
            "type": "object"
          },
          "network": {
            "additionalProperties": false,
            "properties": {
              "declared": {
                "type": "boolean"
              },
              "enforcement": {
                "minLength": 1,
                "type": "string"
              }
            },
            "type": "object"
          },
          "profile": {
            "minLength": 1,
            "type": "string"
          },
          "require_enforcement": {
            "type": "boolean"
          },
          "runtime": {
            "additionalProperties": false,
            "properties": {
              "enforcer": {
                "minLength": 1,
                "type": "string"
              },
              "reason": {
                "minLength": 1,
                "type": "string"
              }
            },
            "type": "object"
          }
        },
        "required": [
          "profile"
        ],
        "type": "object"
      },
      "schema_version": {
        "anyOf": [
          {
            "const": "runx.authority-proof.v1",
            "type": "string"
          }
        ]
      },
      "scope_admission": {
        "$id": "https://runx.ai/spec/scope-admission.schema.json",
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false,
        "properties": {
          "decision_summary": {
            "type": "string"
          },
          "grant_id": {
            "minLength": 1,
            "type": "string"
          },
          "granted_scopes": {
            "items": {
              "minLength": 1,
              "type": "string"
            },
            "type": "array"
          },
          "reasons": {
            "items": {
              "minLength": 1,
              "type": "string"
            },
            "type": "array"
          },
          "requested_scopes": {
            "items": {
              "minLength": 1,
              "type": "string"
            },
            "type": "array"
          },
          "status": {
            "anyOf": [
              {
                "const": "allow",
                "type": "string"
              },
              {
                "const": "deny",
                "type": "string"
              }
            ]
          }
        },
        "required": [
          "status",
          "requested_scopes",
          "granted_scopes"
        ],
        "type": "object"
      },
      "skill_name": {
        "minLength": 1,
        "type": "string"
      },
      "source_type": {
        "minLength": 1,
        "type": "string"
      }
    },
    "required": [
      "schema_version",
      "skill_name",
      "source_type",
      "requested",
      "scope_admission",
      "credential_material",
      "redaction"
    ],
    "type": "object"
  } as JsonSchema,
  "authority-subset-proof.schema.json": {
    "$id": "https://schemas.runx.dev/runx/authority/subset-proof/v1.json",
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "additionalProperties": false,
    "properties": {
      "checked_at": {
        "minLength": 1,
        "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
        "type": "string"
      },
      "compared_terms": {
        "items": {
          "additionalProperties": false,
          "properties": {
            "child_term_id": {
              "minLength": 1,
              "type": "string"
            },
            "parent_term_id": {
              "minLength": 1,
              "type": "string"
            },
            "relation": {
              "anyOf": [
                {
                  "const": "equal",
                  "type": "string"
                },
                {
                  "const": "subset",
                  "type": "string"
                }
              ]
            }
          },
          "required": [
            "child_term_id",
            "parent_term_id",
            "relation"
          ],
          "type": "object"
        },
        "type": "array"
      },
      "comparison_algorithm": {
        "minLength": 1,
        "type": "string"
      },
      "parent_authority_ref": {
        "$id": "https://schemas.runx.dev/runx/reference/v1.json",
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false,
        "properties": {
          "label": {
            "minLength": 1,
            "type": "string"
          },
          "locator": {
            "minLength": 1,
            "type": "string"
          },
          "observed_at": {
            "minLength": 1,
            "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
            "type": "string"
          },
          "proof_kind": {
            "anyOf": [
              {
                "const": "effect_evidence",
                "type": "string"
              },
              {
                "const": "effect_finality",
                "type": "string"
              },
              {
                "const": "credential_resolution",
                "type": "string"
              }
            ]
          },
          "provider": {
            "minLength": 1,
            "type": "string"
          },
          "schema": {
            "const": "runx.reference.v1",
            "type": "string"
          },
          "type": {
            "anyOf": [
              {
                "const": "github_issue",
                "type": "string"
              },
              {
                "const": "github_pull_request",
                "type": "string"
              },
              {
                "const": "github_repo",
                "type": "string"
              },
              {
                "const": "slack_thread",
                "type": "string"
              },
              {
                "const": "sentry_event",
                "type": "string"
              },
              {
                "const": "provider_thread",
                "type": "string"
              },
              {
                "const": "provider_event",
                "type": "string"
              },
              {
                "const": "provider_comment",
                "type": "string"
              },
              {
                "const": "tracking_item",
                "type": "string"
              },
              {
                "const": "change_request",
                "type": "string"
              },
              {
                "const": "repository",
                "type": "string"
              },
              {
                "const": "support_ticket",
                "type": "string"
              },
              {
                "const": "signal",
                "type": "string"
              },
              {
                "const": "act",
                "type": "string"
              },
              {
                "const": "receipt",
                "type": "string"
              },
              {
                "const": "graph_receipt",
                "type": "string"
              },
              {
                "const": "artifact",
                "type": "string"
              },
              {
                "const": "verification",
                "type": "string"
              },
              {
                "const": "harness",
                "type": "string"
              },
              {
                "const": "host",
                "type": "string"
              },
              {
                "const": "deployment",
                "type": "string"
              },
              {
                "const": "surface",
                "type": "string"
              },
              {
                "const": "target",
                "type": "string"
              },
              {
                "const": "opportunity",
                "type": "string"
              },
              {
                "const": "thesis_assessment",
                "type": "string"
              },
              {
                "const": "selection",
                "type": "string"
              },
              {
                "const": "skill_binding",
                "type": "string"
              },
              {
                "const": "target_transition_entry",
                "type": "string"
              },
              {
                "const": "selection_cycle",
                "type": "string"
              },
              {
                "const": "decision",
                "type": "string"
              },
              {
                "const": "reflection_entry",
                "type": "string"
              },
              {
                "const": "feed_entry",
                "type": "string"
              },
              {
                "const": "principal",
                "type": "string"
              },
              {
                "const": "authority_proof",
                "type": "string"
              },
              {
                "const": "scope_admission",
                "type": "string"
              },
              {
                "const": "grant",
                "type": "string"
              },
              {
                "const": "mandate",
                "type": "string"
              },
              {
                "const": "credential",
                "type": "string"
              },
              {
                "const": "webhook_delivery",
                "type": "string"
              },
              {
                "const": "redaction_policy",
                "type": "string"
              },
              {
                "const": "external_url",
                "type": "string"
              }
            ]
          },
          "uri": {
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "type",
          "uri"
        ],
        "type": "object",
        "x-runx-schema": "runx.reference.v1"
      },
      "proof_ref": {
        "$id": "https://schemas.runx.dev/runx/reference/v1.json",
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false,
        "properties": {
          "label": {
            "minLength": 1,
            "type": "string"
          },
          "locator": {
            "minLength": 1,
            "type": "string"
          },
          "observed_at": {
            "minLength": 1,
            "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
            "type": "string"
          },
          "proof_kind": {
            "anyOf": [
              {
                "const": "effect_evidence",
                "type": "string"
              },
              {
                "const": "effect_finality",
                "type": "string"
              },
              {
                "const": "credential_resolution",
                "type": "string"
              }
            ]
          },
          "provider": {
            "minLength": 1,
            "type": "string"
          },
          "schema": {
            "const": "runx.reference.v1",
            "type": "string"
          },
          "type": {
            "anyOf": [
              {
                "const": "github_issue",
                "type": "string"
              },
              {
                "const": "github_pull_request",
                "type": "string"
              },
              {
                "const": "github_repo",
                "type": "string"
              },
              {
                "const": "slack_thread",
                "type": "string"
              },
              {
                "const": "sentry_event",
                "type": "string"
              },
              {
                "const": "provider_thread",
                "type": "string"
              },
              {
                "const": "provider_event",
                "type": "string"
              },
              {
                "const": "provider_comment",
                "type": "string"
              },
              {
                "const": "tracking_item",
                "type": "string"
              },
              {
                "const": "change_request",
                "type": "string"
              },
              {
                "const": "repository",
                "type": "string"
              },
              {
                "const": "support_ticket",
                "type": "string"
              },
              {
                "const": "signal",
                "type": "string"
              },
              {
                "const": "act",
                "type": "string"
              },
              {
                "const": "receipt",
                "type": "string"
              },
              {
                "const": "graph_receipt",
                "type": "string"
              },
              {
                "const": "artifact",
                "type": "string"
              },
              {
                "const": "verification",
                "type": "string"
              },
              {
                "const": "harness",
                "type": "string"
              },
              {
                "const": "host",
                "type": "string"
              },
              {
                "const": "deployment",
                "type": "string"
              },
              {
                "const": "surface",
                "type": "string"
              },
              {
                "const": "target",
                "type": "string"
              },
              {
                "const": "opportunity",
                "type": "string"
              },
              {
                "const": "thesis_assessment",
                "type": "string"
              },
              {
                "const": "selection",
                "type": "string"
              },
              {
                "const": "skill_binding",
                "type": "string"
              },
              {
                "const": "target_transition_entry",
                "type": "string"
              },
              {
                "const": "selection_cycle",
                "type": "string"
              },
              {
                "const": "decision",
                "type": "string"
              },
              {
                "const": "reflection_entry",
                "type": "string"
              },
              {
                "const": "feed_entry",
                "type": "string"
              },
              {
                "const": "principal",
                "type": "string"
              },
              {
                "const": "authority_proof",
                "type": "string"
              },
              {
                "const": "scope_admission",
                "type": "string"
              },
              {
                "const": "grant",
                "type": "string"
              },
              {
                "const": "mandate",
                "type": "string"
              },
              {
                "const": "credential",
                "type": "string"
              },
              {
                "const": "webhook_delivery",
                "type": "string"
              },
              {
                "const": "redaction_policy",
                "type": "string"
              },
              {
                "const": "external_url",
                "type": "string"
              }
            ]
          },
          "uri": {
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "type",
          "uri"
        ],
        "type": "object",
        "x-runx-schema": "runx.reference.v1"
      },
      "result": {
        "anyOf": [
          {
            "const": "subset",
            "type": "string"
          }
        ]
      },
      "schema": {
        "const": "runx.authority_subset_proof.v1",
        "type": "string"
      }
    },
    "required": [
      "parent_authority_ref",
      "comparison_algorithm",
      "result",
      "compared_terms",
      "checked_at"
    ],
    "type": "object",
    "x-runx-schema": "runx.authority_subset_proof.v1"
  } as JsonSchema,
  "authority.schema.json": {
    "$id": "https://schemas.runx.dev/runx/authority/v1.json",
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "additionalProperties": false,
    "properties": {
      "actor_ref": {
        "$id": "https://schemas.runx.dev/runx/reference/v1.json",
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false,
        "properties": {
          "label": {
            "minLength": 1,
            "type": "string"
          },
          "locator": {
            "minLength": 1,
            "type": "string"
          },
          "observed_at": {
            "minLength": 1,
            "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
            "type": "string"
          },
          "proof_kind": {
            "anyOf": [
              {
                "const": "effect_evidence",
                "type": "string"
              },
              {
                "const": "effect_finality",
                "type": "string"
              },
              {
                "const": "credential_resolution",
                "type": "string"
              }
            ]
          },
          "provider": {
            "minLength": 1,
            "type": "string"
          },
          "schema": {
            "const": "runx.reference.v1",
            "type": "string"
          },
          "type": {
            "anyOf": [
              {
                "const": "github_issue",
                "type": "string"
              },
              {
                "const": "github_pull_request",
                "type": "string"
              },
              {
                "const": "github_repo",
                "type": "string"
              },
              {
                "const": "slack_thread",
                "type": "string"
              },
              {
                "const": "sentry_event",
                "type": "string"
              },
              {
                "const": "provider_thread",
                "type": "string"
              },
              {
                "const": "provider_event",
                "type": "string"
              },
              {
                "const": "provider_comment",
                "type": "string"
              },
              {
                "const": "tracking_item",
                "type": "string"
              },
              {
                "const": "change_request",
                "type": "string"
              },
              {
                "const": "repository",
                "type": "string"
              },
              {
                "const": "support_ticket",
                "type": "string"
              },
              {
                "const": "signal",
                "type": "string"
              },
              {
                "const": "act",
                "type": "string"
              },
              {
                "const": "receipt",
                "type": "string"
              },
              {
                "const": "graph_receipt",
                "type": "string"
              },
              {
                "const": "artifact",
                "type": "string"
              },
              {
                "const": "verification",
                "type": "string"
              },
              {
                "const": "harness",
                "type": "string"
              },
              {
                "const": "host",
                "type": "string"
              },
              {
                "const": "deployment",
                "type": "string"
              },
              {
                "const": "surface",
                "type": "string"
              },
              {
                "const": "target",
                "type": "string"
              },
              {
                "const": "opportunity",
                "type": "string"
              },
              {
                "const": "thesis_assessment",
                "type": "string"
              },
              {
                "const": "selection",
                "type": "string"
              },
              {
                "const": "skill_binding",
                "type": "string"
              },
              {
                "const": "target_transition_entry",
                "type": "string"
              },
              {
                "const": "selection_cycle",
                "type": "string"
              },
              {
                "const": "decision",
                "type": "string"
              },
              {
                "const": "reflection_entry",
                "type": "string"
              },
              {
                "const": "feed_entry",
                "type": "string"
              },
              {
                "const": "principal",
                "type": "string"
              },
              {
                "const": "authority_proof",
                "type": "string"
              },
              {
                "const": "scope_admission",
                "type": "string"
              },
              {
                "const": "grant",
                "type": "string"
              },
              {
                "const": "mandate",
                "type": "string"
              },
              {
                "const": "credential",
                "type": "string"
              },
              {
                "const": "webhook_delivery",
                "type": "string"
              },
              {
                "const": "redaction_policy",
                "type": "string"
              },
              {
                "const": "external_url",
                "type": "string"
              }
            ]
          },
          "uri": {
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "type",
          "uri"
        ],
        "type": "object",
        "x-runx-schema": "runx.reference.v1"
      },
      "attenuation": {
        "additionalProperties": false,
        "properties": {
          "parent_authority_ref": {
            "anyOf": [
              {
                "$id": "https://schemas.runx.dev/runx/reference/v1.json",
                "$schema": "https://json-schema.org/draft/2020-12/schema",
                "additionalProperties": false,
                "properties": {
                  "label": {
                    "minLength": 1,
                    "type": "string"
                  },
                  "locator": {
                    "minLength": 1,
                    "type": "string"
                  },
                  "observed_at": {
                    "minLength": 1,
                    "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
                    "type": "string"
                  },
                  "proof_kind": {
                    "anyOf": [
                      {
                        "const": "effect_evidence",
                        "type": "string"
                      },
                      {
                        "const": "effect_finality",
                        "type": "string"
                      },
                      {
                        "const": "credential_resolution",
                        "type": "string"
                      }
                    ]
                  },
                  "provider": {
                    "minLength": 1,
                    "type": "string"
                  },
                  "schema": {
                    "const": "runx.reference.v1",
                    "type": "string"
                  },
                  "type": {
                    "anyOf": [
                      {
                        "const": "github_issue",
                        "type": "string"
                      },
                      {
                        "const": "github_pull_request",
                        "type": "string"
                      },
                      {
                        "const": "github_repo",
                        "type": "string"
                      },
                      {
                        "const": "slack_thread",
                        "type": "string"
                      },
                      {
                        "const": "sentry_event",
                        "type": "string"
                      },
                      {
                        "const": "provider_thread",
                        "type": "string"
                      },
                      {
                        "const": "provider_event",
                        "type": "string"
                      },
                      {
                        "const": "provider_comment",
                        "type": "string"
                      },
                      {
                        "const": "tracking_item",
                        "type": "string"
                      },
                      {
                        "const": "change_request",
                        "type": "string"
                      },
                      {
                        "const": "repository",
                        "type": "string"
                      },
                      {
                        "const": "support_ticket",
                        "type": "string"
                      },
                      {
                        "const": "signal",
                        "type": "string"
                      },
                      {
                        "const": "act",
                        "type": "string"
                      },
                      {
                        "const": "receipt",
                        "type": "string"
                      },
                      {
                        "const": "graph_receipt",
                        "type": "string"
                      },
                      {
                        "const": "artifact",
                        "type": "string"
                      },
                      {
                        "const": "verification",
                        "type": "string"
                      },
                      {
                        "const": "harness",
                        "type": "string"
                      },
                      {
                        "const": "host",
                        "type": "string"
                      },
                      {
                        "const": "deployment",
                        "type": "string"
                      },
                      {
                        "const": "surface",
                        "type": "string"
                      },
                      {
                        "const": "target",
                        "type": "string"
                      },
                      {
                        "const": "opportunity",
                        "type": "string"
                      },
                      {
                        "const": "thesis_assessment",
                        "type": "string"
                      },
                      {
                        "const": "selection",
                        "type": "string"
                      },
                      {
                        "const": "skill_binding",
                        "type": "string"
                      },
                      {
                        "const": "target_transition_entry",
                        "type": "string"
                      },
                      {
                        "const": "selection_cycle",
                        "type": "string"
                      },
                      {
                        "const": "decision",
                        "type": "string"
                      },
                      {
                        "const": "reflection_entry",
                        "type": "string"
                      },
                      {
                        "const": "feed_entry",
                        "type": "string"
                      },
                      {
                        "const": "principal",
                        "type": "string"
                      },
                      {
                        "const": "authority_proof",
                        "type": "string"
                      },
                      {
                        "const": "scope_admission",
                        "type": "string"
                      },
                      {
                        "const": "grant",
                        "type": "string"
                      },
                      {
                        "const": "mandate",
                        "type": "string"
                      },
                      {
                        "const": "credential",
                        "type": "string"
                      },
                      {
                        "const": "webhook_delivery",
                        "type": "string"
                      },
                      {
                        "const": "redaction_policy",
                        "type": "string"
                      },
                      {
                        "const": "external_url",
                        "type": "string"
                      }
                    ]
                  },
                  "uri": {
                    "minLength": 1,
                    "type": "string"
                  }
                },
                "required": [
                  "type",
                  "uri"
                ],
                "type": "object",
                "x-runx-schema": "runx.reference.v1"
              },
              {
                "type": "null"
              }
            ]
          },
          "subset_proof": {
            "anyOf": [
              {
                "$id": "https://schemas.runx.dev/runx/authority/subset-proof/v1.json",
                "$schema": "https://json-schema.org/draft/2020-12/schema",
                "additionalProperties": false,
                "properties": {
                  "checked_at": {
                    "minLength": 1,
                    "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
                    "type": "string"
                  },
                  "compared_terms": {
                    "items": {
                      "additionalProperties": false,
                      "properties": {
                        "child_term_id": {
                          "minLength": 1,
                          "type": "string"
                        },
                        "parent_term_id": {
                          "minLength": 1,
                          "type": "string"
                        },
                        "relation": {
                          "anyOf": [
                            {
                              "const": "equal",
                              "type": "string"
                            },
                            {
                              "const": "subset",
                              "type": "string"
                            }
                          ]
                        }
                      },
                      "required": [
                        "child_term_id",
                        "parent_term_id",
                        "relation"
                      ],
                      "type": "object"
                    },
                    "type": "array"
                  },
                  "comparison_algorithm": {
                    "minLength": 1,
                    "type": "string"
                  },
                  "parent_authority_ref": {
                    "$id": "https://schemas.runx.dev/runx/reference/v1.json",
                    "$schema": "https://json-schema.org/draft/2020-12/schema",
                    "additionalProperties": false,
                    "properties": {
                      "label": {
                        "minLength": 1,
                        "type": "string"
                      },
                      "locator": {
                        "minLength": 1,
                        "type": "string"
                      },
                      "observed_at": {
                        "minLength": 1,
                        "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
                        "type": "string"
                      },
                      "proof_kind": {
                        "anyOf": [
                          {
                            "const": "effect_evidence",
                            "type": "string"
                          },
                          {
                            "const": "effect_finality",
                            "type": "string"
                          },
                          {
                            "const": "credential_resolution",
                            "type": "string"
                          }
                        ]
                      },
                      "provider": {
                        "minLength": 1,
                        "type": "string"
                      },
                      "schema": {
                        "const": "runx.reference.v1",
                        "type": "string"
                      },
                      "type": {
                        "anyOf": [
                          {
                            "const": "github_issue",
                            "type": "string"
                          },
                          {
                            "const": "github_pull_request",
                            "type": "string"
                          },
                          {
                            "const": "github_repo",
                            "type": "string"
                          },
                          {
                            "const": "slack_thread",
                            "type": "string"
                          },
                          {
                            "const": "sentry_event",
                            "type": "string"
                          },
                          {
                            "const": "provider_thread",
                            "type": "string"
                          },
                          {
                            "const": "provider_event",
                            "type": "string"
                          },
                          {
                            "const": "provider_comment",
                            "type": "string"
                          },
                          {
                            "const": "tracking_item",
                            "type": "string"
                          },
                          {
                            "const": "change_request",
                            "type": "string"
                          },
                          {
                            "const": "repository",
                            "type": "string"
                          },
                          {
                            "const": "support_ticket",
                            "type": "string"
                          },
                          {
                            "const": "signal",
                            "type": "string"
                          },
                          {
                            "const": "act",
                            "type": "string"
                          },
                          {
                            "const": "receipt",
                            "type": "string"
                          },
                          {
                            "const": "graph_receipt",
                            "type": "string"
                          },
                          {
                            "const": "artifact",
                            "type": "string"
                          },
                          {
                            "const": "verification",
                            "type": "string"
                          },
                          {
                            "const": "harness",
                            "type": "string"
                          },
                          {
                            "const": "host",
                            "type": "string"
                          },
                          {
                            "const": "deployment",
                            "type": "string"
                          },
                          {
                            "const": "surface",
                            "type": "string"
                          },
                          {
                            "const": "target",
                            "type": "string"
                          },
                          {
                            "const": "opportunity",
                            "type": "string"
                          },
                          {
                            "const": "thesis_assessment",
                            "type": "string"
                          },
                          {
                            "const": "selection",
                            "type": "string"
                          },
                          {
                            "const": "skill_binding",
                            "type": "string"
                          },
                          {
                            "const": "target_transition_entry",
                            "type": "string"
                          },
                          {
                            "const": "selection_cycle",
                            "type": "string"
                          },
                          {
                            "const": "decision",
                            "type": "string"
                          },
                          {
                            "const": "reflection_entry",
                            "type": "string"
                          },
                          {
                            "const": "feed_entry",
                            "type": "string"
                          },
                          {
                            "const": "principal",
                            "type": "string"
                          },
                          {
                            "const": "authority_proof",
                            "type": "string"
                          },
                          {
                            "const": "scope_admission",
                            "type": "string"
                          },
                          {
                            "const": "grant",
                            "type": "string"
                          },
                          {
                            "const": "mandate",
                            "type": "string"
                          },
                          {
                            "const": "credential",
                            "type": "string"
                          },
                          {
                            "const": "webhook_delivery",
                            "type": "string"
                          },
                          {
                            "const": "redaction_policy",
                            "type": "string"
                          },
                          {
                            "const": "external_url",
                            "type": "string"
                          }
                        ]
                      },
                      "uri": {
                        "minLength": 1,
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "uri"
                    ],
                    "type": "object",
                    "x-runx-schema": "runx.reference.v1"
                  },
                  "proof_ref": {
                    "$id": "https://schemas.runx.dev/runx/reference/v1.json",
                    "$schema": "https://json-schema.org/draft/2020-12/schema",
                    "additionalProperties": false,
                    "properties": {
                      "label": {
                        "minLength": 1,
                        "type": "string"
                      },
                      "locator": {
                        "minLength": 1,
                        "type": "string"
                      },
                      "observed_at": {
                        "minLength": 1,
                        "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
                        "type": "string"
                      },
                      "proof_kind": {
                        "anyOf": [
                          {
                            "const": "effect_evidence",
                            "type": "string"
                          },
                          {
                            "const": "effect_finality",
                            "type": "string"
                          },
                          {
                            "const": "credential_resolution",
                            "type": "string"
                          }
                        ]
                      },
                      "provider": {
                        "minLength": 1,
                        "type": "string"
                      },
                      "schema": {
                        "const": "runx.reference.v1",
                        "type": "string"
                      },
                      "type": {
                        "anyOf": [
                          {
                            "const": "github_issue",
                            "type": "string"
                          },
                          {
                            "const": "github_pull_request",
                            "type": "string"
                          },
                          {
                            "const": "github_repo",
                            "type": "string"
                          },
                          {
                            "const": "slack_thread",
                            "type": "string"
                          },
                          {
                            "const": "sentry_event",
                            "type": "string"
                          },
                          {
                            "const": "provider_thread",
                            "type": "string"
                          },
                          {
                            "const": "provider_event",
                            "type": "string"
                          },
                          {
                            "const": "provider_comment",
                            "type": "string"
                          },
                          {
                            "const": "tracking_item",
                            "type": "string"
                          },
                          {
                            "const": "change_request",
                            "type": "string"
                          },
                          {
                            "const": "repository",
                            "type": "string"
                          },
                          {
                            "const": "support_ticket",
                            "type": "string"
                          },
                          {
                            "const": "signal",
                            "type": "string"
                          },
                          {
                            "const": "act",
                            "type": "string"
                          },
                          {
                            "const": "receipt",
                            "type": "string"
                          },
                          {
                            "const": "graph_receipt",
                            "type": "string"
                          },
                          {
                            "const": "artifact",
                            "type": "string"
                          },
                          {
                            "const": "verification",
                            "type": "string"
                          },
                          {
                            "const": "harness",
                            "type": "string"
                          },
                          {
                            "const": "host",
                            "type": "string"
                          },
                          {
                            "const": "deployment",
                            "type": "string"
                          },
                          {
                            "const": "surface",
                            "type": "string"
                          },
                          {
                            "const": "target",
                            "type": "string"
                          },
                          {
                            "const": "opportunity",
                            "type": "string"
                          },
                          {
                            "const": "thesis_assessment",
                            "type": "string"
                          },
                          {
                            "const": "selection",
                            "type": "string"
                          },
                          {
                            "const": "skill_binding",
                            "type": "string"
                          },
                          {
                            "const": "target_transition_entry",
                            "type": "string"
                          },
                          {
                            "const": "selection_cycle",
                            "type": "string"
                          },
                          {
                            "const": "decision",
                            "type": "string"
                          },
                          {
                            "const": "reflection_entry",
                            "type": "string"
                          },
                          {
                            "const": "feed_entry",
                            "type": "string"
                          },
                          {
                            "const": "principal",
                            "type": "string"
                          },
                          {
                            "const": "authority_proof",
                            "type": "string"
                          },
                          {
                            "const": "scope_admission",
                            "type": "string"
                          },
                          {
                            "const": "grant",
                            "type": "string"
                          },
                          {
                            "const": "mandate",
                            "type": "string"
                          },
                          {
                            "const": "credential",
                            "type": "string"
                          },
                          {
                            "const": "webhook_delivery",
                            "type": "string"
                          },
                          {
                            "const": "redaction_policy",
                            "type": "string"
                          },
                          {
                            "const": "external_url",
                            "type": "string"
                          }
                        ]
                      },
                      "uri": {
                        "minLength": 1,
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "uri"
                    ],
                    "type": "object",
                    "x-runx-schema": "runx.reference.v1"
                  },
                  "result": {
                    "anyOf": [
                      {
                        "const": "subset",
                        "type": "string"
                      }
                    ]
                  },
                  "schema": {
                    "const": "runx.authority_subset_proof.v1",
                    "type": "string"
                  }
                },
                "required": [
                  "parent_authority_ref",
                  "comparison_algorithm",
                  "result",
                  "compared_terms",
                  "checked_at"
                ],
                "type": "object",
                "x-runx-schema": "runx.authority_subset_proof.v1"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "parent_authority_ref",
          "subset_proof"
        ],
        "type": "object"
      },
      "authority_proof_refs": {
        "items": {
          "$id": "https://schemas.runx.dev/runx/reference/v1.json",
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "additionalProperties": false,
          "properties": {
            "label": {
              "minLength": 1,
              "type": "string"
            },
            "locator": {
              "minLength": 1,
              "type": "string"
            },
            "observed_at": {
              "minLength": 1,
              "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
              "type": "string"
            },
            "proof_kind": {
              "anyOf": [
                {
                  "const": "effect_evidence",
                  "type": "string"
                },
                {
                  "const": "effect_finality",
                  "type": "string"
                },
                {
                  "const": "credential_resolution",
                  "type": "string"
                }
              ]
            },
            "provider": {
              "minLength": 1,
              "type": "string"
            },
            "schema": {
              "const": "runx.reference.v1",
              "type": "string"
            },
            "type": {
              "anyOf": [
                {
                  "const": "github_issue",
                  "type": "string"
                },
                {
                  "const": "github_pull_request",
                  "type": "string"
                },
                {
                  "const": "github_repo",
                  "type": "string"
                },
                {
                  "const": "slack_thread",
                  "type": "string"
                },
                {
                  "const": "sentry_event",
                  "type": "string"
                },
                {
                  "const": "provider_thread",
                  "type": "string"
                },
                {
                  "const": "provider_event",
                  "type": "string"
                },
                {
                  "const": "provider_comment",
                  "type": "string"
                },
                {
                  "const": "tracking_item",
                  "type": "string"
                },
                {
                  "const": "change_request",
                  "type": "string"
                },
                {
                  "const": "repository",
                  "type": "string"
                },
                {
                  "const": "support_ticket",
                  "type": "string"
                },
                {
                  "const": "signal",
                  "type": "string"
                },
                {
                  "const": "act",
                  "type": "string"
                },
                {
                  "const": "receipt",
                  "type": "string"
                },
                {
                  "const": "graph_receipt",
                  "type": "string"
                },
                {
                  "const": "artifact",
                  "type": "string"
                },
                {
                  "const": "verification",
                  "type": "string"
                },
                {
                  "const": "harness",
                  "type": "string"
                },
                {
                  "const": "host",
                  "type": "string"
                },
                {
                  "const": "deployment",
                  "type": "string"
                },
                {
                  "const": "surface",
                  "type": "string"
                },
                {
                  "const": "target",
                  "type": "string"
                },
                {
                  "const": "opportunity",
                  "type": "string"
                },
                {
                  "const": "thesis_assessment",
                  "type": "string"
                },
                {
                  "const": "selection",
                  "type": "string"
                },
                {
                  "const": "skill_binding",
                  "type": "string"
                },
                {
                  "const": "target_transition_entry",
                  "type": "string"
                },
                {
                  "const": "selection_cycle",
                  "type": "string"
                },
                {
                  "const": "decision",
                  "type": "string"
                },
                {
                  "const": "reflection_entry",
                  "type": "string"
                },
                {
                  "const": "feed_entry",
                  "type": "string"
                },
                {
                  "const": "principal",
                  "type": "string"
                },
                {
                  "const": "authority_proof",
                  "type": "string"
                },
                {
                  "const": "scope_admission",
                  "type": "string"
                },
                {
                  "const": "grant",
                  "type": "string"
                },
                {
                  "const": "mandate",
                  "type": "string"
                },
                {
                  "const": "credential",
                  "type": "string"
                },
                {
                  "const": "webhook_delivery",
                  "type": "string"
                },
                {
                  "const": "redaction_policy",
                  "type": "string"
                },
                {
                  "const": "external_url",
                  "type": "string"
                }
              ]
            },
            "uri": {
              "minLength": 1,
              "type": "string"
            }
          },
          "required": [
            "type",
            "uri"
          ],
          "type": "object",
          "x-runx-schema": "runx.reference.v1"
        },
        "type": "array"
      },
      "grant_refs": {
        "items": {
          "$id": "https://schemas.runx.dev/runx/reference/v1.json",
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "additionalProperties": false,
          "properties": {
            "label": {
              "minLength": 1,
              "type": "string"
            },
            "locator": {
              "minLength": 1,
              "type": "string"
            },
            "observed_at": {
              "minLength": 1,
              "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
              "type": "string"
            },
            "proof_kind": {
              "anyOf": [
                {
                  "const": "effect_evidence",
                  "type": "string"
                },
                {
                  "const": "effect_finality",
                  "type": "string"
                },
                {
                  "const": "credential_resolution",
                  "type": "string"
                }
              ]
            },
            "provider": {
              "minLength": 1,
              "type": "string"
            },
            "schema": {
              "const": "runx.reference.v1",
              "type": "string"
            },
            "type": {
              "anyOf": [
                {
                  "const": "github_issue",
                  "type": "string"
                },
                {
                  "const": "github_pull_request",
                  "type": "string"
                },
                {
                  "const": "github_repo",
                  "type": "string"
                },
                {
                  "const": "slack_thread",
                  "type": "string"
                },
                {
                  "const": "sentry_event",
                  "type": "string"
                },
                {
                  "const": "provider_thread",
                  "type": "string"
                },
                {
                  "const": "provider_event",
                  "type": "string"
                },
                {
                  "const": "provider_comment",
                  "type": "string"
                },
                {
                  "const": "tracking_item",
                  "type": "string"
                },
                {
                  "const": "change_request",
                  "type": "string"
                },
                {
                  "const": "repository",
                  "type": "string"
                },
                {
                  "const": "support_ticket",
                  "type": "string"
                },
                {
                  "const": "signal",
                  "type": "string"
                },
                {
                  "const": "act",
                  "type": "string"
                },
                {
                  "const": "receipt",
                  "type": "string"
                },
                {
                  "const": "graph_receipt",
                  "type": "string"
                },
                {
                  "const": "artifact",
                  "type": "string"
                },
                {
                  "const": "verification",
                  "type": "string"
                },
                {
                  "const": "harness",
                  "type": "string"
                },
                {
                  "const": "host",
                  "type": "string"
                },
                {
                  "const": "deployment",
                  "type": "string"
                },
                {
                  "const": "surface",
                  "type": "string"
                },
                {
                  "const": "target",
                  "type": "string"
                },
                {
                  "const": "opportunity",
                  "type": "string"
                },
                {
                  "const": "thesis_assessment",
                  "type": "string"
                },
                {
                  "const": "selection",
                  "type": "string"
                },
                {
                  "const": "skill_binding",
                  "type": "string"
                },
                {
                  "const": "target_transition_entry",
                  "type": "string"
                },
                {
                  "const": "selection_cycle",
                  "type": "string"
                },
                {
                  "const": "decision",
                  "type": "string"
                },
                {
                  "const": "reflection_entry",
                  "type": "string"
                },
                {
                  "const": "feed_entry",
                  "type": "string"
                },
                {
                  "const": "principal",
                  "type": "string"
                },
                {
                  "const": "authority_proof",
                  "type": "string"
                },
                {
                  "const": "scope_admission",
                  "type": "string"
                },
                {
                  "const": "grant",
                  "type": "string"
                },
                {
                  "const": "mandate",
                  "type": "string"
                },
                {
                  "const": "credential",
                  "type": "string"
                },
                {
                  "const": "webhook_delivery",
                  "type": "string"
                },
                {
                  "const": "redaction_policy",
                  "type": "string"
                },
                {
                  "const": "external_url",
                  "type": "string"
                }
              ]
            },
            "uri": {
              "minLength": 1,
              "type": "string"
            }
          },
          "required": [
            "type",
            "uri"
          ],
          "type": "object",
          "x-runx-schema": "runx.reference.v1"
        },
        "type": "array"
      },
      "mandate_ref": {
        "$id": "https://schemas.runx.dev/runx/reference/v1.json",
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false,
        "properties": {
          "label": {
            "minLength": 1,
            "type": "string"
          },
          "locator": {
            "minLength": 1,
            "type": "string"
          },
          "observed_at": {
            "minLength": 1,
            "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
            "type": "string"
          },
          "proof_kind": {
            "anyOf": [
              {
                "const": "effect_evidence",
                "type": "string"
              },
              {
                "const": "effect_finality",
                "type": "string"
              },
              {
                "const": "credential_resolution",
                "type": "string"
              }
            ]
          },
          "provider": {
            "minLength": 1,
            "type": "string"
          },
          "schema": {
            "const": "runx.reference.v1",
            "type": "string"
          },
          "type": {
            "anyOf": [
              {
                "const": "github_issue",
                "type": "string"
              },
              {
                "const": "github_pull_request",
                "type": "string"
              },
              {
                "const": "github_repo",
                "type": "string"
              },
              {
                "const": "slack_thread",
                "type": "string"
              },
              {
                "const": "sentry_event",
                "type": "string"
              },
              {
                "const": "provider_thread",
                "type": "string"
              },
              {
                "const": "provider_event",
                "type": "string"
              },
              {
                "const": "provider_comment",
                "type": "string"
              },
              {
                "const": "tracking_item",
                "type": "string"
              },
              {
                "const": "change_request",
                "type": "string"
              },
              {
                "const": "repository",
                "type": "string"
              },
              {
                "const": "support_ticket",
                "type": "string"
              },
              {
                "const": "signal",
                "type": "string"
              },
              {
                "const": "act",
                "type": "string"
              },
              {
                "const": "receipt",
                "type": "string"
              },
              {
                "const": "graph_receipt",
                "type": "string"
              },
              {
                "const": "artifact",
                "type": "string"
              },
              {
                "const": "verification",
                "type": "string"
              },
              {
                "const": "harness",
                "type": "string"
              },
              {
                "const": "host",
                "type": "string"
              },
              {
                "const": "deployment",
                "type": "string"
              },
              {
                "const": "surface",
                "type": "string"
              },
              {
                "const": "target",
                "type": "string"
              },
              {
                "const": "opportunity",
                "type": "string"
              },
              {
                "const": "thesis_assessment",
                "type": "string"
              },
              {
                "const": "selection",
                "type": "string"
              },
              {
                "const": "skill_binding",
                "type": "string"
              },
              {
                "const": "target_transition_entry",
                "type": "string"
              },
              {
                "const": "selection_cycle",
                "type": "string"
              },
              {
                "const": "decision",
                "type": "string"
              },
              {
                "const": "reflection_entry",
                "type": "string"
              },
              {
                "const": "feed_entry",
                "type": "string"
              },
              {
                "const": "principal",
                "type": "string"
              },
              {
                "const": "authority_proof",
                "type": "string"
              },
              {
                "const": "scope_admission",
                "type": "string"
              },
              {
                "const": "grant",
                "type": "string"
              },
              {
                "const": "mandate",
                "type": "string"
              },
              {
                "const": "credential",
                "type": "string"
              },
              {
                "const": "webhook_delivery",
                "type": "string"
              },
              {
                "const": "redaction_policy",
                "type": "string"
              },
              {
                "const": "external_url",
                "type": "string"
              }
            ]
          },
          "uri": {
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "type",
          "uri"
        ],
        "type": "object",
        "x-runx-schema": "runx.reference.v1"
      },
      "policy_refs": {
        "items": {
          "$id": "https://schemas.runx.dev/runx/reference/v1.json",
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "additionalProperties": false,
          "properties": {
            "label": {
              "minLength": 1,
              "type": "string"
            },
            "locator": {
              "minLength": 1,
              "type": "string"
            },
            "observed_at": {
              "minLength": 1,
              "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
              "type": "string"
            },
            "proof_kind": {
              "anyOf": [
                {
                  "const": "effect_evidence",
                  "type": "string"
                },
                {
                  "const": "effect_finality",
                  "type": "string"
                },
                {
                  "const": "credential_resolution",
                  "type": "string"
                }
              ]
            },
            "provider": {
              "minLength": 1,
              "type": "string"
            },
            "schema": {
              "const": "runx.reference.v1",
              "type": "string"
            },
            "type": {
              "anyOf": [
                {
                  "const": "github_issue",
                  "type": "string"
                },
                {
                  "const": "github_pull_request",
                  "type": "string"
                },
                {
                  "const": "github_repo",
                  "type": "string"
                },
                {
                  "const": "slack_thread",
                  "type": "string"
                },
                {
                  "const": "sentry_event",
                  "type": "string"
                },
                {
                  "const": "provider_thread",
                  "type": "string"
                },
                {
                  "const": "provider_event",
                  "type": "string"
                },
                {
                  "const": "provider_comment",
                  "type": "string"
                },
                {
                  "const": "tracking_item",
                  "type": "string"
                },
                {
                  "const": "change_request",
                  "type": "string"
                },
                {
                  "const": "repository",
                  "type": "string"
                },
                {
                  "const": "support_ticket",
                  "type": "string"
                },
                {
                  "const": "signal",
                  "type": "string"
                },
                {
                  "const": "act",
                  "type": "string"
                },
                {
                  "const": "receipt",
                  "type": "string"
                },
                {
                  "const": "graph_receipt",
                  "type": "string"
                },
                {
                  "const": "artifact",
                  "type": "string"
                },
                {
                  "const": "verification",
                  "type": "string"
                },
                {
                  "const": "harness",
                  "type": "string"
                },
                {
                  "const": "host",
                  "type": "string"
                },
                {
                  "const": "deployment",
                  "type": "string"
                },
                {
                  "const": "surface",
                  "type": "string"
                },
                {
                  "const": "target",
                  "type": "string"
                },
                {
                  "const": "opportunity",
                  "type": "string"
                },
                {
                  "const": "thesis_assessment",
                  "type": "string"
                },
                {
                  "const": "selection",
                  "type": "string"
                },
                {
                  "const": "skill_binding",
                  "type": "string"
                },
                {
                  "const": "target_transition_entry",
                  "type": "string"
                },
                {
                  "const": "selection_cycle",
                  "type": "string"
                },
                {
                  "const": "decision",
                  "type": "string"
                },
                {
                  "const": "reflection_entry",
                  "type": "string"
                },
                {
                  "const": "feed_entry",
                  "type": "string"
                },
                {
                  "const": "principal",
                  "type": "string"
                },
                {
                  "const": "authority_proof",
                  "type": "string"
                },
                {
                  "const": "scope_admission",
                  "type": "string"
                },
                {
                  "const": "grant",
                  "type": "string"
                },
                {
                  "const": "mandate",
                  "type": "string"
                },
                {
                  "const": "credential",
                  "type": "string"
                },
                {
                  "const": "webhook_delivery",
                  "type": "string"
                },
                {
                  "const": "redaction_policy",
                  "type": "string"
                },
                {
                  "const": "external_url",
                  "type": "string"
                }
              ]
            },
            "uri": {
              "minLength": 1,
              "type": "string"
            }
          },
          "required": [
            "type",
            "uri"
          ],
          "type": "object",
          "x-runx-schema": "runx.reference.v1"
        },
        "type": "array"
      },
      "schema": {
        "anyOf": [
          {
            "const": "runx.authority.v1",
            "type": "string"
          }
        ]
      },
      "scope_refs": {
        "items": {
          "$id": "https://schemas.runx.dev/runx/reference/v1.json",
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "additionalProperties": false,
          "properties": {
            "label": {
              "minLength": 1,
              "type": "string"
            },
            "locator": {
              "minLength": 1,
              "type": "string"
            },
            "observed_at": {
              "minLength": 1,
              "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
              "type": "string"
            },
            "proof_kind": {
              "anyOf": [
                {
                  "const": "effect_evidence",
                  "type": "string"
                },
                {
                  "const": "effect_finality",
                  "type": "string"
                },
                {
                  "const": "credential_resolution",
                  "type": "string"
                }
              ]
            },
            "provider": {
              "minLength": 1,
              "type": "string"
            },
            "schema": {
              "const": "runx.reference.v1",
              "type": "string"
            },
            "type": {
              "anyOf": [
                {
                  "const": "github_issue",
                  "type": "string"
                },
                {
                  "const": "github_pull_request",
                  "type": "string"
                },
                {
                  "const": "github_repo",
                  "type": "string"
                },
                {
                  "const": "slack_thread",
                  "type": "string"
                },
                {
                  "const": "sentry_event",
                  "type": "string"
                },
                {
                  "const": "provider_thread",
                  "type": "string"
                },
                {
                  "const": "provider_event",
                  "type": "string"
                },
                {
                  "const": "provider_comment",
                  "type": "string"
                },
                {
                  "const": "tracking_item",
                  "type": "string"
                },
                {
                  "const": "change_request",
                  "type": "string"
                },
                {
                  "const": "repository",
                  "type": "string"
                },
                {
                  "const": "support_ticket",
                  "type": "string"
                },
                {
                  "const": "signal",
                  "type": "string"
                },
                {
                  "const": "act",
                  "type": "string"
                },
                {
                  "const": "receipt",
                  "type": "string"
                },
                {
                  "const": "graph_receipt",
                  "type": "string"
                },
                {
                  "const": "artifact",
                  "type": "string"
                },
                {
                  "const": "verification",
                  "type": "string"
                },
                {
                  "const": "harness",
                  "type": "string"
                },
                {
                  "const": "host",
                  "type": "string"
                },
                {
                  "const": "deployment",
                  "type": "string"
                },
                {
                  "const": "surface",
                  "type": "string"
                },
                {
                  "const": "target",
                  "type": "string"
                },
                {
                  "const": "opportunity",
                  "type": "string"
                },
                {
                  "const": "thesis_assessment",
                  "type": "string"
                },
                {
                  "const": "selection",
                  "type": "string"
                },
                {
                  "const": "skill_binding",
                  "type": "string"
                },
                {
                  "const": "target_transition_entry",
                  "type": "string"
                },
                {
                  "const": "selection_cycle",
                  "type": "string"
                },
                {
                  "const": "decision",
                  "type": "string"
                },
                {
                  "const": "reflection_entry",
                  "type": "string"
                },
                {
                  "const": "feed_entry",
                  "type": "string"
                },
                {
                  "const": "principal",
                  "type": "string"
                },
                {
                  "const": "authority_proof",
                  "type": "string"
                },
                {
                  "const": "scope_admission",
                  "type": "string"
                },
                {
                  "const": "grant",
                  "type": "string"
                },
                {
                  "const": "mandate",
                  "type": "string"
                },
                {
                  "const": "credential",
                  "type": "string"
                },
                {
                  "const": "webhook_delivery",
                  "type": "string"
                },
                {
                  "const": "redaction_policy",
                  "type": "string"
                },
                {
                  "const": "external_url",
                  "type": "string"
                }
              ]
            },
            "uri": {
              "minLength": 1,
              "type": "string"
            }
          },
          "required": [
            "type",
            "uri"
          ],
          "type": "object",
          "x-runx-schema": "runx.reference.v1"
        },
        "type": "array"
      },
      "terms": {
        "items": {
          "additionalProperties": false,
          "properties": {
            "approvals": {
              "items": {
                "additionalProperties": false,
                "properties": {
                  "approval_ref": {
                    "$id": "https://schemas.runx.dev/runx/reference/v1.json",
                    "$schema": "https://json-schema.org/draft/2020-12/schema",
                    "additionalProperties": false,
                    "properties": {
                      "label": {
                        "minLength": 1,
                        "type": "string"
                      },
                      "locator": {
                        "minLength": 1,
                        "type": "string"
                      },
                      "observed_at": {
                        "minLength": 1,
                        "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
                        "type": "string"
                      },
                      "proof_kind": {
                        "anyOf": [
                          {
                            "const": "effect_evidence",
                            "type": "string"
                          },
                          {
                            "const": "effect_finality",
                            "type": "string"
                          },
                          {
                            "const": "credential_resolution",
                            "type": "string"
                          }
                        ]
                      },
                      "provider": {
                        "minLength": 1,
                        "type": "string"
                      },
                      "schema": {
                        "const": "runx.reference.v1",
                        "type": "string"
                      },
                      "type": {
                        "anyOf": [
                          {
                            "const": "github_issue",
                            "type": "string"
                          },
                          {
                            "const": "github_pull_request",
                            "type": "string"
                          },
                          {
                            "const": "github_repo",
                            "type": "string"
                          },
                          {
                            "const": "slack_thread",
                            "type": "string"
                          },
                          {
                            "const": "sentry_event",
                            "type": "string"
                          },
                          {
                            "const": "provider_thread",
                            "type": "string"
                          },
                          {
                            "const": "provider_event",
                            "type": "string"
                          },
                          {
                            "const": "provider_comment",
                            "type": "string"
                          },
                          {
                            "const": "tracking_item",
                            "type": "string"
                          },
                          {
                            "const": "change_request",
                            "type": "string"
                          },
                          {
                            "const": "repository",
                            "type": "string"
                          },
                          {
                            "const": "support_ticket",
                            "type": "string"
                          },
                          {
                            "const": "signal",
                            "type": "string"
                          },
                          {
                            "const": "act",
                            "type": "string"
                          },
                          {
                            "const": "receipt",
                            "type": "string"
                          },
                          {
                            "const": "graph_receipt",
                            "type": "string"
                          },
                          {
                            "const": "artifact",
                            "type": "string"
                          },
                          {
                            "const": "verification",
                            "type": "string"
                          },
                          {
                            "const": "harness",
                            "type": "string"
                          },
                          {
                            "const": "host",
                            "type": "string"
                          },
                          {
                            "const": "deployment",
                            "type": "string"
                          },
                          {
                            "const": "surface",
                            "type": "string"
                          },
                          {
                            "const": "target",
                            "type": "string"
                          },
                          {
                            "const": "opportunity",
                            "type": "string"
                          },
                          {
                            "const": "thesis_assessment",
                            "type": "string"
                          },
                          {
                            "const": "selection",
                            "type": "string"
                          },
                          {
                            "const": "skill_binding",
                            "type": "string"
                          },
                          {
                            "const": "target_transition_entry",
                            "type": "string"
                          },
                          {
                            "const": "selection_cycle",
                            "type": "string"
                          },
                          {
                            "const": "decision",
                            "type": "string"
                          },
                          {
                            "const": "reflection_entry",
                            "type": "string"
                          },
                          {
                            "const": "feed_entry",
                            "type": "string"
                          },
                          {
                            "const": "principal",
                            "type": "string"
                          },
                          {
                            "const": "authority_proof",
                            "type": "string"
                          },
                          {
                            "const": "scope_admission",
                            "type": "string"
                          },
                          {
                            "const": "grant",
                            "type": "string"
                          },
                          {
                            "const": "mandate",
                            "type": "string"
                          },
                          {
                            "const": "credential",
                            "type": "string"
                          },
                          {
                            "const": "webhook_delivery",
                            "type": "string"
                          },
                          {
                            "const": "redaction_policy",
                            "type": "string"
                          },
                          {
                            "const": "external_url",
                            "type": "string"
                          }
                        ]
                      },
                      "uri": {
                        "minLength": 1,
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "uri"
                    ],
                    "type": "object",
                    "x-runx-schema": "runx.reference.v1"
                  },
                  "approved_at": {
                    "minLength": 1,
                    "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
                    "type": "string"
                  },
                  "approved_by_ref": {
                    "$id": "https://schemas.runx.dev/runx/reference/v1.json",
                    "$schema": "https://json-schema.org/draft/2020-12/schema",
                    "additionalProperties": false,
                    "properties": {
                      "label": {
                        "minLength": 1,
                        "type": "string"
                      },
                      "locator": {
                        "minLength": 1,
                        "type": "string"
                      },
                      "observed_at": {
                        "minLength": 1,
                        "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
                        "type": "string"
                      },
                      "proof_kind": {
                        "anyOf": [
                          {
                            "const": "effect_evidence",
                            "type": "string"
                          },
                          {
                            "const": "effect_finality",
                            "type": "string"
                          },
                          {
                            "const": "credential_resolution",
                            "type": "string"
                          }
                        ]
                      },
                      "provider": {
                        "minLength": 1,
                        "type": "string"
                      },
                      "schema": {
                        "const": "runx.reference.v1",
                        "type": "string"
                      },
                      "type": {
                        "anyOf": [
                          {
                            "const": "github_issue",
                            "type": "string"
                          },
                          {
                            "const": "github_pull_request",
                            "type": "string"
                          },
                          {
                            "const": "github_repo",
                            "type": "string"
                          },
                          {
                            "const": "slack_thread",
                            "type": "string"
                          },
                          {
                            "const": "sentry_event",
                            "type": "string"
                          },
                          {
                            "const": "provider_thread",
                            "type": "string"
                          },
                          {
                            "const": "provider_event",
                            "type": "string"
                          },
                          {
                            "const": "provider_comment",
                            "type": "string"
                          },
                          {
                            "const": "tracking_item",
                            "type": "string"
                          },
                          {
                            "const": "change_request",
                            "type": "string"
                          },
                          {
                            "const": "repository",
                            "type": "string"
                          },
                          {
                            "const": "support_ticket",
                            "type": "string"
                          },
                          {
                            "const": "signal",
                            "type": "string"
                          },
                          {
                            "const": "act",
                            "type": "string"
                          },
                          {
                            "const": "receipt",
                            "type": "string"
                          },
                          {
                            "const": "graph_receipt",
                            "type": "string"
                          },
                          {
                            "const": "artifact",
                            "type": "string"
                          },
                          {
                            "const": "verification",
                            "type": "string"
                          },
                          {
                            "const": "harness",
                            "type": "string"
                          },
                          {
                            "const": "host",
                            "type": "string"
                          },
                          {
                            "const": "deployment",
                            "type": "string"
                          },
                          {
                            "const": "surface",
                            "type": "string"
                          },
                          {
                            "const": "target",
                            "type": "string"
                          },
                          {
                            "const": "opportunity",
                            "type": "string"
                          },
                          {
                            "const": "thesis_assessment",
                            "type": "string"
                          },
                          {
                            "const": "selection",
                            "type": "string"
                          },
                          {
                            "const": "skill_binding",
                            "type": "string"
                          },
                          {
                            "const": "target_transition_entry",
                            "type": "string"
                          },
                          {
                            "const": "selection_cycle",
                            "type": "string"
                          },
                          {
                            "const": "decision",
                            "type": "string"
                          },
                          {
                            "const": "reflection_entry",
                            "type": "string"
                          },
                          {
                            "const": "feed_entry",
                            "type": "string"
                          },
                          {
                            "const": "principal",
                            "type": "string"
                          },
                          {
                            "const": "authority_proof",
                            "type": "string"
                          },
                          {
                            "const": "scope_admission",
                            "type": "string"
                          },
                          {
                            "const": "grant",
                            "type": "string"
                          },
                          {
                            "const": "mandate",
                            "type": "string"
                          },
                          {
                            "const": "credential",
                            "type": "string"
                          },
                          {
                            "const": "webhook_delivery",
                            "type": "string"
                          },
                          {
                            "const": "redaction_policy",
                            "type": "string"
                          },
                          {
                            "const": "external_url",
                            "type": "string"
                          }
                        ]
                      },
                      "uri": {
                        "minLength": 1,
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "uri"
                    ],
                    "type": "object",
                    "x-runx-schema": "runx.reference.v1"
                  },
                  "criterion_ids": {
                    "items": {
                      "minLength": 1,
                      "type": "string"
                    },
                    "type": "array"
                  }
                },
                "required": [
                  "approval_ref"
                ],
                "type": "object"
              },
              "type": "array"
            },
            "bounds": {
              "additionalProperties": false,
              "properties": {
                "branch_patterns": {
                  "items": {
                    "minLength": 1,
                    "type": "string"
                  },
                  "type": "array"
                },
                "deployment_environments": {
                  "items": {
                    "minLength": 1,
                    "type": "string"
                  },
                  "type": "array"
                },
                "effect_limits": {
                  "items": {
                    "additionalProperties": false,
                    "properties": {
                      "approval_threshold_units": {
                        "type": "integer"
                      },
                      "authorization_form": {
                        "anyOf": [
                          {
                            "const": "single_use_capability",
                            "type": "string"
                          },
                          {
                            "const": "external_signer",
                            "type": "string"
                          }
                        ]
                      },
                      "channels": {
                        "items": {
                          "minLength": 1,
                          "type": "string"
                        },
                        "type": "array"
                      },
                      "commitment_required": {
                        "type": "boolean"
                      },
                      "family": {
                        "minLength": 1,
                        "type": "string"
                      },
                      "idempotency_required": {
                        "type": "boolean"
                      },
                      "max_per_call_units": {
                        "type": "integer"
                      },
                      "max_per_period_units": {
                        "type": "integer"
                      },
                      "max_per_run_units": {
                        "type": "integer"
                      },
                      "operation": {
                        "minLength": 1,
                        "type": "string"
                      },
                      "peer": {
                        "minLength": 1,
                        "type": "string"
                      },
                      "period": {
                        "minLength": 1,
                        "type": "string"
                      },
                      "preflight_required": {
                        "type": "boolean"
                      },
                      "preflight_ttl_ms": {
                        "type": "integer"
                      },
                      "realm": {
                        "minLength": 1,
                        "type": "string"
                      },
                      "receipt_before_success": {
                        "type": "boolean"
                      },
                      "recovery_required": {
                        "type": "boolean"
                      },
                      "single_use_capability": {
                        "type": "boolean"
                      },
                      "unit": {
                        "minLength": 1,
                        "type": "string"
                      }
                    },
                    "required": [
                      "family",
                      "unit",
                      "channels"
                    ],
                    "type": "object"
                  },
                  "type": "array"
                },
                "effects": {
                  "items": {
                    "additionalProperties": false,
                    "properties": {
                      "family": {
                        "minLength": 1,
                        "type": "string"
                      },
                      "guard_kinds": {
                        "items": {
                          "anyOf": [
                            {
                              "const": "receipt_before_success",
                              "type": "string"
                            },
                            {
                              "const": "non_replay",
                              "type": "string"
                            }
                          ]
                        },
                        "type": "array"
                      },
                      "proof_kinds": {
                        "items": {
                          "anyOf": [
                            {
                              "const": "effect_evidence",
                              "type": "string"
                            },
                            {
                              "const": "effect_finality",
                              "type": "string"
                            },
                            {
                              "const": "credential_resolution",
                              "type": "string"
                            }
                          ]
                        },
                        "type": "array"
                      }
                    },
                    "required": [
                      "family"
                    ],
                    "type": "object"
                  },
                  "type": "array"
                },
                "filesystem_roots": {
                  "items": {
                    "minLength": 1,
                    "type": "string"
                  },
                  "type": "array"
                },
                "max_child_depth": {
                  "type": "integer"
                },
                "max_cost_units": {
                  "type": "number"
                },
                "max_fanout": {
                  "type": "integer"
                },
                "max_runtime_ms": {
                  "type": "integer"
                },
                "network_destinations": {
                  "items": {
                    "minLength": 1,
                    "type": "string"
                  },
                  "type": "array"
                },
                "repo_path_globs": {
                  "items": {
                    "minLength": 1,
                    "type": "string"
                  },
                  "type": "array"
                },
                "token_audiences": {
                  "items": {
                    "minLength": 1,
                    "type": "string"
                  },
                  "type": "array"
                }
              },
              "type": "object"
            },
            "capabilities": {
              "items": {
                "anyOf": [
                  {
                    "const": "filesystem_read",
                    "type": "string"
                  },
                  {
                    "const": "filesystem_write",
                    "type": "string"
                  },
                  {
                    "const": "network_egress",
                    "type": "string"
                  },
                  {
                    "const": "secret_read",
                    "type": "string"
                  },
                  {
                    "const": "process_spawn",
                    "type": "string"
                  },
                  {
                    "const": "provider_mutation",
                    "type": "string"
                  },
                  {
                    "const": "public_publication",
                    "type": "string"
                  },
                  {
                    "const": "child_harness_spawn",
                    "type": "string"
                  },
                  {
                    "const": "effect_single_use_capability",
                    "type": "string"
                  }
                ]
              },
              "type": "array"
            },
            "conditions": {
              "items": {
                "additionalProperties": false,
                "properties": {
                  "condition_id": {
                    "minLength": 1,
                    "type": "string"
                  },
                  "parameters": {
                    "additionalProperties": {},
                    "type": "object"
                  },
                  "predicate": {
                    "anyOf": [
                      {
                        "const": "signal_verified",
                        "type": "string"
                      },
                      {
                        "const": "decision_selected",
                        "type": "string"
                      },
                      {
                        "const": "host_posture_valid",
                        "type": "string"
                      },
                      {
                        "const": "approval_present",
                        "type": "string"
                      },
                      {
                        "const": "within_time_window",
                        "type": "string"
                      },
                      {
                        "const": "within_budget",
                        "type": "string"
                      },
                      {
                        "const": "sandbox_enforced",
                        "type": "string"
                      },
                      {
                        "const": "effect_proof_present",
                        "type": "string"
                      },
                      {
                        "const": "effect_recovery_available",
                        "type": "string"
                      }
                    ]
                  },
                  "refs": {
                    "items": {
                      "$id": "https://schemas.runx.dev/runx/reference/v1.json",
                      "$schema": "https://json-schema.org/draft/2020-12/schema",
                      "additionalProperties": false,
                      "properties": {
                        "label": {
                          "minLength": 1,
                          "type": "string"
                        },
                        "locator": {
                          "minLength": 1,
                          "type": "string"
                        },
                        "observed_at": {
                          "minLength": 1,
                          "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
                          "type": "string"
                        },
                        "proof_kind": {
                          "anyOf": [
                            {
                              "const": "effect_evidence",
                              "type": "string"
                            },
                            {
                              "const": "effect_finality",
                              "type": "string"
                            },
                            {
                              "const": "credential_resolution",
                              "type": "string"
                            }
                          ]
                        },
                        "provider": {
                          "minLength": 1,
                          "type": "string"
                        },
                        "schema": {
                          "const": "runx.reference.v1",
                          "type": "string"
                        },
                        "type": {
                          "anyOf": [
                            {
                              "const": "github_issue",
                              "type": "string"
                            },
                            {
                              "const": "github_pull_request",
                              "type": "string"
                            },
                            {
                              "const": "github_repo",
                              "type": "string"
                            },
                            {
                              "const": "slack_thread",
                              "type": "string"
                            },
                            {
                              "const": "sentry_event",
                              "type": "string"
                            },
                            {
                              "const": "provider_thread",
                              "type": "string"
                            },
                            {
                              "const": "provider_event",
                              "type": "string"
                            },
                            {
                              "const": "provider_comment",
                              "type": "string"
                            },
                            {
                              "const": "tracking_item",
                              "type": "string"
                            },
                            {
                              "const": "change_request",
                              "type": "string"
                            },
                            {
                              "const": "repository",
                              "type": "string"
                            },
                            {
                              "const": "support_ticket",
                              "type": "string"
                            },
                            {
                              "const": "signal",
                              "type": "string"
                            },
                            {
                              "const": "act",
                              "type": "string"
                            },
                            {
                              "const": "receipt",
                              "type": "string"
                            },
                            {
                              "const": "graph_receipt",
                              "type": "string"
                            },
                            {
                              "const": "artifact",
                              "type": "string"
                            },
                            {
                              "const": "verification",
                              "type": "string"
                            },
                            {
                              "const": "harness",
                              "type": "string"
                            },
                            {
                              "const": "host",
                              "type": "string"
                            },
                            {
                              "const": "deployment",
                              "type": "string"
                            },
                            {
                              "const": "surface",
                              "type": "string"
                            },
                            {
                              "const": "target",
                              "type": "string"
                            },
                            {
                              "const": "opportunity",
                              "type": "string"
                            },
                            {
                              "const": "thesis_assessment",
                              "type": "string"
                            },
                            {
                              "const": "selection",
                              "type": "string"
                            },
                            {
                              "const": "skill_binding",
                              "type": "string"
                            },
                            {
                              "const": "target_transition_entry",
                              "type": "string"
                            },
                            {
                              "const": "selection_cycle",
                              "type": "string"
                            },
                            {
                              "const": "decision",
                              "type": "string"
                            },
                            {
                              "const": "reflection_entry",
                              "type": "string"
                            },
                            {
                              "const": "feed_entry",
                              "type": "string"
                            },
                            {
                              "const": "principal",
                              "type": "string"
                            },
                            {
                              "const": "authority_proof",
                              "type": "string"
                            },
                            {
                              "const": "scope_admission",
                              "type": "string"
                            },
                            {
                              "const": "grant",
                              "type": "string"
                            },
                            {
                              "const": "mandate",
                              "type": "string"
                            },
                            {
                              "const": "credential",
                              "type": "string"
                            },
                            {
                              "const": "webhook_delivery",
                              "type": "string"
                            },
                            {
                              "const": "redaction_policy",
                              "type": "string"
                            },
                            {
                              "const": "external_url",
                              "type": "string"
                            }
                          ]
                        },
                        "uri": {
                          "minLength": 1,
                          "type": "string"
                        }
                      },
                      "required": [
                        "type",
                        "uri"
                      ],
                      "type": "object",
                      "x-runx-schema": "runx.reference.v1"
                    },
                    "type": "array"
                  }
                },
                "required": [
                  "condition_id",
                  "predicate"
                ],
                "type": "object"
              },
              "type": "array"
            },
            "credential_ref": {
              "$id": "https://schemas.runx.dev/runx/reference/v1.json",
              "$schema": "https://json-schema.org/draft/2020-12/schema",
              "additionalProperties": false,
              "properties": {
                "label": {
                  "minLength": 1,
                  "type": "string"
                },
                "locator": {
                  "minLength": 1,
                  "type": "string"
                },
                "observed_at": {
                  "minLength": 1,
                  "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
                  "type": "string"
                },
                "proof_kind": {
                  "anyOf": [
                    {
                      "const": "effect_evidence",
                      "type": "string"
                    },
                    {
                      "const": "effect_finality",
                      "type": "string"
                    },
                    {
                      "const": "credential_resolution",
                      "type": "string"
                    }
                  ]
                },
                "provider": {
                  "minLength": 1,
                  "type": "string"
                },
                "schema": {
                  "const": "runx.reference.v1",
                  "type": "string"
                },
                "type": {
                  "anyOf": [
                    {
                      "const": "github_issue",
                      "type": "string"
                    },
                    {
                      "const": "github_pull_request",
                      "type": "string"
                    },
                    {
                      "const": "github_repo",
                      "type": "string"
                    },
                    {
                      "const": "slack_thread",
                      "type": "string"
                    },
                    {
                      "const": "sentry_event",
                      "type": "string"
                    },
                    {
                      "const": "provider_thread",
                      "type": "string"
                    },
                    {
                      "const": "provider_event",
                      "type": "string"
                    },
                    {
                      "const": "provider_comment",
                      "type": "string"
                    },
                    {
                      "const": "tracking_item",
                      "type": "string"
                    },
                    {
                      "const": "change_request",
                      "type": "string"
                    },
                    {
                      "const": "repository",
                      "type": "string"
                    },
                    {
                      "const": "support_ticket",
                      "type": "string"
                    },
                    {
                      "const": "signal",
                      "type": "string"
                    },
                    {
                      "const": "act",
                      "type": "string"
                    },
                    {
                      "const": "receipt",
                      "type": "string"
                    },
                    {
                      "const": "graph_receipt",
                      "type": "string"
                    },
                    {
                      "const": "artifact",
                      "type": "string"
                    },
                    {
                      "const": "verification",
                      "type": "string"
                    },
                    {
                      "const": "harness",
                      "type": "string"
                    },
                    {
                      "const": "host",
                      "type": "string"
                    },
                    {
                      "const": "deployment",
                      "type": "string"
                    },
                    {
                      "const": "surface",
                      "type": "string"
                    },
                    {
                      "const": "target",
                      "type": "string"
                    },
                    {
                      "const": "opportunity",
                      "type": "string"
                    },
                    {
                      "const": "thesis_assessment",
                      "type": "string"
                    },
                    {
                      "const": "selection",
                      "type": "string"
                    },
                    {
                      "const": "skill_binding",
                      "type": "string"
                    },
                    {
                      "const": "target_transition_entry",
                      "type": "string"
                    },
                    {
                      "const": "selection_cycle",
                      "type": "string"
                    },
                    {
                      "const": "decision",
                      "type": "string"
                    },
                    {
                      "const": "reflection_entry",
                      "type": "string"
                    },
                    {
                      "const": "feed_entry",
                      "type": "string"
                    },
                    {
                      "const": "principal",
                      "type": "string"
                    },
                    {
                      "const": "authority_proof",
                      "type": "string"
                    },
                    {
                      "const": "scope_admission",
                      "type": "string"
                    },
                    {
                      "const": "grant",
                      "type": "string"
                    },
                    {
                      "const": "mandate",
                      "type": "string"
                    },
                    {
                      "const": "credential",
                      "type": "string"
                    },
                    {
                      "const": "webhook_delivery",
                      "type": "string"
                    },
                    {
                      "const": "redaction_policy",
                      "type": "string"
                    },
                    {
                      "const": "external_url",
                      "type": "string"
                    }
                  ]
                },
                "uri": {
                  "minLength": 1,
                  "type": "string"
                }
              },
              "required": [
                "type",
                "uri"
              ],
              "type": "object",
              "x-runx-schema": "runx.reference.v1"
            },
            "expires_at": {
              "minLength": 1,
              "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
              "type": "string"
            },
            "issued_by_ref": {
              "$id": "https://schemas.runx.dev/runx/reference/v1.json",
              "$schema": "https://json-schema.org/draft/2020-12/schema",
              "additionalProperties": false,
              "properties": {
                "label": {
                  "minLength": 1,
                  "type": "string"
                },
                "locator": {
                  "minLength": 1,
                  "type": "string"
                },
                "observed_at": {
                  "minLength": 1,
                  "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
                  "type": "string"
                },
                "proof_kind": {
                  "anyOf": [
                    {
                      "const": "effect_evidence",
                      "type": "string"
                    },
                    {
                      "const": "effect_finality",
                      "type": "string"
                    },
                    {
                      "const": "credential_resolution",
                      "type": "string"
                    }
                  ]
                },
                "provider": {
                  "minLength": 1,
                  "type": "string"
                },
                "schema": {
                  "const": "runx.reference.v1",
                  "type": "string"
                },
                "type": {
                  "anyOf": [
                    {
                      "const": "github_issue",
                      "type": "string"
                    },
                    {
                      "const": "github_pull_request",
                      "type": "string"
                    },
                    {
                      "const": "github_repo",
                      "type": "string"
                    },
                    {
                      "const": "slack_thread",
                      "type": "string"
                    },
                    {
                      "const": "sentry_event",
                      "type": "string"
                    },
                    {
                      "const": "provider_thread",
                      "type": "string"
                    },
                    {
                      "const": "provider_event",
                      "type": "string"
                    },
                    {
                      "const": "provider_comment",
                      "type": "string"
                    },
                    {
                      "const": "tracking_item",
                      "type": "string"
                    },
                    {
                      "const": "change_request",
                      "type": "string"
                    },
                    {
                      "const": "repository",
                      "type": "string"
                    },
                    {
                      "const": "support_ticket",
                      "type": "string"
                    },
                    {
                      "const": "signal",
                      "type": "string"
                    },
                    {
                      "const": "act",
                      "type": "string"
                    },
                    {
                      "const": "receipt",
                      "type": "string"
                    },
                    {
                      "const": "graph_receipt",
                      "type": "string"
                    },
                    {
                      "const": "artifact",
                      "type": "string"
                    },
                    {
                      "const": "verification",
                      "type": "string"
                    },
                    {
                      "const": "harness",
                      "type": "string"
                    },
                    {
                      "const": "host",
                      "type": "string"
                    },
                    {
                      "const": "deployment",
                      "type": "string"
                    },
                    {
                      "const": "surface",
                      "type": "string"
                    },
                    {
                      "const": "target",
                      "type": "string"
                    },
                    {
                      "const": "opportunity",
                      "type": "string"
                    },
                    {
                      "const": "thesis_assessment",
                      "type": "string"
                    },
                    {
                      "const": "selection",
                      "type": "string"
                    },
                    {
                      "const": "skill_binding",
                      "type": "string"
                    },
                    {
                      "const": "target_transition_entry",
                      "type": "string"
                    },
                    {
                      "const": "selection_cycle",
                      "type": "string"
                    },
                    {
                      "const": "decision",
                      "type": "string"
                    },
                    {
                      "const": "reflection_entry",
                      "type": "string"
                    },
                    {
                      "const": "feed_entry",
                      "type": "string"
                    },
                    {
                      "const": "principal",
                      "type": "string"
                    },
                    {
                      "const": "authority_proof",
                      "type": "string"
                    },
                    {
                      "const": "scope_admission",
                      "type": "string"
                    },
                    {
                      "const": "grant",
                      "type": "string"
                    },
                    {
                      "const": "mandate",
                      "type": "string"
                    },
                    {
                      "const": "credential",
                      "type": "string"
                    },
                    {
                      "const": "webhook_delivery",
                      "type": "string"
                    },
                    {
                      "const": "redaction_policy",
                      "type": "string"
                    },
                    {
                      "const": "external_url",
                      "type": "string"
                    }
                  ]
                },
                "uri": {
                  "minLength": 1,
                  "type": "string"
                }
              },
              "required": [
                "type",
                "uri"
              ],
              "type": "object",
              "x-runx-schema": "runx.reference.v1"
            },
            "principal_ref": {
              "$id": "https://schemas.runx.dev/runx/reference/v1.json",
              "$schema": "https://json-schema.org/draft/2020-12/schema",
              "additionalProperties": false,
              "properties": {
                "label": {
                  "minLength": 1,
                  "type": "string"
                },
                "locator": {
                  "minLength": 1,
                  "type": "string"
                },
                "observed_at": {
                  "minLength": 1,
                  "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
                  "type": "string"
                },
                "proof_kind": {
                  "anyOf": [
                    {
                      "const": "effect_evidence",
                      "type": "string"
                    },
                    {
                      "const": "effect_finality",
                      "type": "string"
                    },
                    {
                      "const": "credential_resolution",
                      "type": "string"
                    }
                  ]
                },
                "provider": {
                  "minLength": 1,
                  "type": "string"
                },
                "schema": {
                  "const": "runx.reference.v1",
                  "type": "string"
                },
                "type": {
                  "anyOf": [
                    {
                      "const": "github_issue",
                      "type": "string"
                    },
                    {
                      "const": "github_pull_request",
                      "type": "string"
                    },
                    {
                      "const": "github_repo",
                      "type": "string"
                    },
                    {
                      "const": "slack_thread",
                      "type": "string"
                    },
                    {
                      "const": "sentry_event",
                      "type": "string"
                    },
                    {
                      "const": "provider_thread",
                      "type": "string"
                    },
                    {
                      "const": "provider_event",
                      "type": "string"
                    },
                    {
                      "const": "provider_comment",
                      "type": "string"
                    },
                    {
                      "const": "tracking_item",
                      "type": "string"
                    },
                    {
                      "const": "change_request",
                      "type": "string"
                    },
                    {
                      "const": "repository",
                      "type": "string"
                    },
                    {
                      "const": "support_ticket",
                      "type": "string"
                    },
                    {
                      "const": "signal",
                      "type": "string"
                    },
                    {
                      "const": "act",
                      "type": "string"
                    },
                    {
                      "const": "receipt",
                      "type": "string"
                    },
                    {
                      "const": "graph_receipt",
                      "type": "string"
                    },
                    {
                      "const": "artifact",
                      "type": "string"
                    },
                    {
                      "const": "verification",
                      "type": "string"
                    },
                    {
                      "const": "harness",
                      "type": "string"
                    },
                    {
                      "const": "host",
                      "type": "string"
                    },
                    {
                      "const": "deployment",
                      "type": "string"
                    },
                    {
                      "const": "surface",
                      "type": "string"
                    },
                    {
                      "const": "target",
                      "type": "string"
                    },
                    {
                      "const": "opportunity",
                      "type": "string"
                    },
                    {
                      "const": "thesis_assessment",
                      "type": "string"
                    },
                    {
                      "const": "selection",
                      "type": "string"
                    },
                    {
                      "const": "skill_binding",
                      "type": "string"
                    },
                    {
                      "const": "target_transition_entry",
                      "type": "string"
                    },
                    {
                      "const": "selection_cycle",
                      "type": "string"
                    },
                    {
                      "const": "decision",
                      "type": "string"
                    },
                    {
                      "const": "reflection_entry",
                      "type": "string"
                    },
                    {
                      "const": "feed_entry",
                      "type": "string"
                    },
                    {
                      "const": "principal",
                      "type": "string"
                    },
                    {
                      "const": "authority_proof",
                      "type": "string"
                    },
                    {
                      "const": "scope_admission",
                      "type": "string"
                    },
                    {
                      "const": "grant",
                      "type": "string"
                    },
                    {
                      "const": "mandate",
                      "type": "string"
                    },
                    {
                      "const": "credential",
                      "type": "string"
                    },
                    {
                      "const": "webhook_delivery",
                      "type": "string"
                    },
                    {
                      "const": "redaction_policy",
                      "type": "string"
                    },
                    {
                      "const": "external_url",
                      "type": "string"
                    }
                  ]
                },
                "uri": {
                  "minLength": 1,
                  "type": "string"
                }
              },
              "required": [
                "type",
                "uri"
              ],
              "type": "object",
              "x-runx-schema": "runx.reference.v1"
            },
            "resource_family": {
              "anyOf": [
                {
                  "const": "github_repo",
                  "type": "string"
                },
                {
                  "const": "workspace",
                  "type": "string"
                },
                {
                  "const": "filesystem",
                  "type": "string"
                },
                {
                  "const": "network",
                  "type": "string"
                },
                {
                  "const": "deployment",
                  "type": "string"
                },
                {
                  "const": "credential",
                  "type": "string"
                },
                {
                  "const": "effect",
                  "type": "string"
                },
                {
                  "const": "artifact",
                  "type": "string"
                },
                {
                  "const": "harness",
                  "type": "string"
                },
                {
                  "const": "publication",
                  "type": "string"
                }
              ]
            },
            "resource_ref": {
              "$id": "https://schemas.runx.dev/runx/reference/v1.json",
              "$schema": "https://json-schema.org/draft/2020-12/schema",
              "additionalProperties": false,
              "properties": {
                "label": {
                  "minLength": 1,
                  "type": "string"
                },
                "locator": {
                  "minLength": 1,
                  "type": "string"
                },
                "observed_at": {
                  "minLength": 1,
                  "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
                  "type": "string"
                },
                "proof_kind": {
                  "anyOf": [
                    {
                      "const": "effect_evidence",
                      "type": "string"
                    },
                    {
                      "const": "effect_finality",
                      "type": "string"
                    },
                    {
                      "const": "credential_resolution",
                      "type": "string"
                    }
                  ]
                },
                "provider": {
                  "minLength": 1,
                  "type": "string"
                },
                "schema": {
                  "const": "runx.reference.v1",
                  "type": "string"
                },
                "type": {
                  "anyOf": [
                    {
                      "const": "github_issue",
                      "type": "string"
                    },
                    {
                      "const": "github_pull_request",
                      "type": "string"
                    },
                    {
                      "const": "github_repo",
                      "type": "string"
                    },
                    {
                      "const": "slack_thread",
                      "type": "string"
                    },
                    {
                      "const": "sentry_event",
                      "type": "string"
                    },
                    {
                      "const": "provider_thread",
                      "type": "string"
                    },
                    {
                      "const": "provider_event",
                      "type": "string"
                    },
                    {
                      "const": "provider_comment",
                      "type": "string"
                    },
                    {
                      "const": "tracking_item",
                      "type": "string"
                    },
                    {
                      "const": "change_request",
                      "type": "string"
                    },
                    {
                      "const": "repository",
                      "type": "string"
                    },
                    {
                      "const": "support_ticket",
                      "type": "string"
                    },
                    {
                      "const": "signal",
                      "type": "string"
                    },
                    {
                      "const": "act",
                      "type": "string"
                    },
                    {
                      "const": "receipt",
                      "type": "string"
                    },
                    {
                      "const": "graph_receipt",
                      "type": "string"
                    },
                    {
                      "const": "artifact",
                      "type": "string"
                    },
                    {
                      "const": "verification",
                      "type": "string"
                    },
                    {
                      "const": "harness",
                      "type": "string"
                    },
                    {
                      "const": "host",
                      "type": "string"
                    },
                    {
                      "const": "deployment",
                      "type": "string"
                    },
                    {
                      "const": "surface",
                      "type": "string"
                    },
                    {
                      "const": "target",
                      "type": "string"
                    },
                    {
                      "const": "opportunity",
                      "type": "string"
                    },
                    {
                      "const": "thesis_assessment",
                      "type": "string"
                    },
                    {
                      "const": "selection",
                      "type": "string"
                    },
                    {
                      "const": "skill_binding",
                      "type": "string"
                    },
                    {
                      "const": "target_transition_entry",
                      "type": "string"
                    },
                    {
                      "const": "selection_cycle",
                      "type": "string"
                    },
                    {
                      "const": "decision",
                      "type": "string"
                    },
                    {
                      "const": "reflection_entry",
                      "type": "string"
                    },
                    {
                      "const": "feed_entry",
                      "type": "string"
                    },
                    {
                      "const": "principal",
                      "type": "string"
                    },
                    {
                      "const": "authority_proof",
                      "type": "string"
                    },
                    {
                      "const": "scope_admission",
                      "type": "string"
                    },
                    {
                      "const": "grant",
                      "type": "string"
                    },
                    {
                      "const": "mandate",
                      "type": "string"
                    },
                    {
                      "const": "credential",
                      "type": "string"
                    },
                    {
                      "const": "webhook_delivery",
                      "type": "string"
                    },
                    {
                      "const": "redaction_policy",
                      "type": "string"
                    },
                    {
                      "const": "external_url",
                      "type": "string"
                    }
                  ]
                },
                "uri": {
                  "minLength": 1,
                  "type": "string"
                }
              },
              "required": [
                "type",
                "uri"
              ],
              "type": "object",
              "x-runx-schema": "runx.reference.v1"
            },
            "term_id": {
              "minLength": 1,
              "type": "string"
            },
            "verbs": {
              "items": {
                "anyOf": [
                  {
                    "const": "read",
                    "type": "string"
                  },
                  {
                    "const": "write",
                    "type": "string"
                  },
                  {
                    "const": "comment",
                    "type": "string"
                  },
                  {
                    "const": "review",
                    "type": "string"
                  },
                  {
                    "const": "approve",
                    "type": "string"
                  },
                  {
                    "const": "merge",
                    "type": "string"
                  },
                  {
                    "const": "create",
                    "type": "string"
                  },
                  {
                    "const": "update",
                    "type": "string"
                  },
                  {
                    "const": "delete",
                    "type": "string"
                  },
                  {
                    "const": "execute",
                    "type": "string"
                  },
                  {
                    "const": "verify",
                    "type": "string"
                  },
                  {
                    "const": "estimate",
                    "type": "string"
                  },
                  {
                    "const": "prepare",
                    "type": "string"
                  },
                  {
                    "const": "commit",
                    "type": "string"
                  },
                  {
                    "const": "reverse",
                    "type": "string"
                  },
                  {
                    "const": "publish",
                    "type": "string"
                  },
                  {
                    "const": "spawn_child",
                    "type": "string"
                  },
                  {
                    "const": "revoke",
                    "type": "string"
                  }
                ]
              },
              "type": "array"
            }
          },
          "required": [
            "term_id",
            "principal_ref",
            "resource_ref",
            "resource_family",
            "verbs",
            "bounds",
            "issued_by_ref"
          ],
          "type": "object"
        },
        "type": "array"
      }
    },
    "required": [
      "actor_ref",
      "attenuation"
    ],
    "type": "object",
    "x-runx-schema": "runx.authority.v1"
  } as JsonSchema,
  "credential-delivery-observation.schema.json": {
    "$id": "https://schemas.runx.dev/runx/credential-delivery/observation/v1.json",
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "additionalProperties": false,
    "properties": {
      "credential_refs": {
        "items": {
          "$id": "https://schemas.runx.dev/runx/reference/v1.json",
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "additionalProperties": false,
          "properties": {
            "label": {
              "minLength": 1,
              "type": "string"
            },
            "locator": {
              "minLength": 1,
              "type": "string"
            },
            "observed_at": {
              "minLength": 1,
              "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
              "type": "string"
            },
            "proof_kind": {
              "anyOf": [
                {
                  "const": "effect_evidence",
                  "type": "string"
                },
                {
                  "const": "effect_finality",
                  "type": "string"
                },
                {
                  "const": "credential_resolution",
                  "type": "string"
                }
              ]
            },
            "provider": {
              "minLength": 1,
              "type": "string"
            },
            "schema": {
              "const": "runx.reference.v1",
              "type": "string"
            },
            "type": {
              "anyOf": [
                {
                  "const": "github_issue",
                  "type": "string"
                },
                {
                  "const": "github_pull_request",
                  "type": "string"
                },
                {
                  "const": "github_repo",
                  "type": "string"
                },
                {
                  "const": "slack_thread",
                  "type": "string"
                },
                {
                  "const": "sentry_event",
                  "type": "string"
                },
                {
                  "const": "provider_thread",
                  "type": "string"
                },
                {
                  "const": "provider_event",
                  "type": "string"
                },
                {
                  "const": "provider_comment",
                  "type": "string"
                },
                {
                  "const": "tracking_item",
                  "type": "string"
                },
                {
                  "const": "change_request",
                  "type": "string"
                },
                {
                  "const": "repository",
                  "type": "string"
                },
                {
                  "const": "support_ticket",
                  "type": "string"
                },
                {
                  "const": "signal",
                  "type": "string"
                },
                {
                  "const": "act",
                  "type": "string"
                },
                {
                  "const": "receipt",
                  "type": "string"
                },
                {
                  "const": "graph_receipt",
                  "type": "string"
                },
                {
                  "const": "artifact",
                  "type": "string"
                },
                {
                  "const": "verification",
                  "type": "string"
                },
                {
                  "const": "harness",
                  "type": "string"
                },
                {
                  "const": "host",
                  "type": "string"
                },
                {
                  "const": "deployment",
                  "type": "string"
                },
                {
                  "const": "surface",
                  "type": "string"
                },
                {
                  "const": "target",
                  "type": "string"
                },
                {
                  "const": "opportunity",
                  "type": "string"
                },
                {
                  "const": "thesis_assessment",
                  "type": "string"
                },
                {
                  "const": "selection",
                  "type": "string"
                },
                {
                  "const": "skill_binding",
                  "type": "string"
                },
                {
                  "const": "target_transition_entry",
                  "type": "string"
                },
                {
                  "const": "selection_cycle",
                  "type": "string"
                },
                {
                  "const": "decision",
                  "type": "string"
                },
                {
                  "const": "reflection_entry",
                  "type": "string"
                },
                {
                  "const": "feed_entry",
                  "type": "string"
                },
                {
                  "const": "principal",
                  "type": "string"
                },
                {
                  "const": "authority_proof",
                  "type": "string"
                },
                {
                  "const": "scope_admission",
                  "type": "string"
                },
                {
                  "const": "grant",
                  "type": "string"
                },
                {
                  "const": "mandate",
                  "type": "string"
                },
                {
                  "const": "credential",
                  "type": "string"
                },
                {
                  "const": "webhook_delivery",
                  "type": "string"
                },
                {
                  "const": "redaction_policy",
                  "type": "string"
                },
                {
                  "const": "external_url",
                  "type": "string"
                }
              ]
            },
            "uri": {
              "minLength": 1,
              "type": "string"
            }
          },
          "required": [
            "type",
            "uri"
          ],
          "type": "object",
          "x-runx-schema": "runx.reference.v1"
        },
        "type": "array"
      },
      "delivered_roles": {
        "items": {
          "anyOf": [
            {
              "const": "personal_token",
              "type": "string"
            },
            {
              "const": "api_key",
              "type": "string"
            },
            {
              "const": "client_secret",
              "type": "string"
            },
            {
              "const": "session_token",
              "type": "string"
            }
          ]
        },
        "type": "array"
      },
      "delivery_mode": {
        "anyOf": [
          {
            "const": "process_env",
            "type": "string"
          }
        ]
      },
      "harness_ref": {
        "$id": "https://schemas.runx.dev/runx/reference/v1.json",
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false,
        "properties": {
          "label": {
            "minLength": 1,
            "type": "string"
          },
          "locator": {
            "minLength": 1,
            "type": "string"
          },
          "observed_at": {
            "minLength": 1,
            "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
            "type": "string"
          },
          "proof_kind": {
            "anyOf": [
              {
                "const": "effect_evidence",
                "type": "string"
              },
              {
                "const": "effect_finality",
                "type": "string"
              },
              {
                "const": "credential_resolution",
                "type": "string"
              }
            ]
          },
          "provider": {
            "minLength": 1,
            "type": "string"
          },
          "schema": {
            "const": "runx.reference.v1",
            "type": "string"
          },
          "type": {
            "anyOf": [
              {
                "const": "github_issue",
                "type": "string"
              },
              {
                "const": "github_pull_request",
                "type": "string"
              },
              {
                "const": "github_repo",
                "type": "string"
              },
              {
                "const": "slack_thread",
                "type": "string"
              },
              {
                "const": "sentry_event",
                "type": "string"
              },
              {
                "const": "provider_thread",
                "type": "string"
              },
              {
                "const": "provider_event",
                "type": "string"
              },
              {
                "const": "provider_comment",
                "type": "string"
              },
              {
                "const": "tracking_item",
                "type": "string"
              },
              {
                "const": "change_request",
                "type": "string"
              },
              {
                "const": "repository",
                "type": "string"
              },
              {
                "const": "support_ticket",
                "type": "string"
              },
              {
                "const": "signal",
                "type": "string"
              },
              {
                "const": "act",
                "type": "string"
              },
              {
                "const": "receipt",
                "type": "string"
              },
              {
                "const": "graph_receipt",
                "type": "string"
              },
              {
                "const": "artifact",
                "type": "string"
              },
              {
                "const": "verification",
                "type": "string"
              },
              {
                "const": "harness",
                "type": "string"
              },
              {
                "const": "host",
                "type": "string"
              },
              {
                "const": "deployment",
                "type": "string"
              },
              {
                "const": "surface",
                "type": "string"
              },
              {
                "const": "target",
                "type": "string"
              },
              {
                "const": "opportunity",
                "type": "string"
              },
              {
                "const": "thesis_assessment",
                "type": "string"
              },
              {
                "const": "selection",
                "type": "string"
              },
              {
                "const": "skill_binding",
                "type": "string"
              },
              {
                "const": "target_transition_entry",
                "type": "string"
              },
              {
                "const": "selection_cycle",
                "type": "string"
              },
              {
                "const": "decision",
                "type": "string"
              },
              {
                "const": "reflection_entry",
                "type": "string"
              },
              {
                "const": "feed_entry",
                "type": "string"
              },
              {
                "const": "principal",
                "type": "string"
              },
              {
                "const": "authority_proof",
                "type": "string"
              },
              {
                "const": "scope_admission",
                "type": "string"
              },
              {
                "const": "grant",
                "type": "string"
              },
              {
                "const": "mandate",
                "type": "string"
              },
              {
                "const": "credential",
                "type": "string"
              },
              {
                "const": "webhook_delivery",
                "type": "string"
              },
              {
                "const": "redaction_policy",
                "type": "string"
              },
              {
                "const": "external_url",
                "type": "string"
              }
            ]
          },
          "uri": {
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "type",
          "uri"
        ],
        "type": "object",
        "x-runx-schema": "runx.reference.v1"
      },
      "host_ref": {
        "$id": "https://schemas.runx.dev/runx/reference/v1.json",
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false,
        "properties": {
          "label": {
            "minLength": 1,
            "type": "string"
          },
          "locator": {
            "minLength": 1,
            "type": "string"
          },
          "observed_at": {
            "minLength": 1,
            "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
            "type": "string"
          },
          "proof_kind": {
            "anyOf": [
              {
                "const": "effect_evidence",
                "type": "string"
              },
              {
                "const": "effect_finality",
                "type": "string"
              },
              {
                "const": "credential_resolution",
                "type": "string"
              }
            ]
          },
          "provider": {
            "minLength": 1,
            "type": "string"
          },
          "schema": {
            "const": "runx.reference.v1",
            "type": "string"
          },
          "type": {
            "anyOf": [
              {
                "const": "github_issue",
                "type": "string"
              },
              {
                "const": "github_pull_request",
                "type": "string"
              },
              {
                "const": "github_repo",
                "type": "string"
              },
              {
                "const": "slack_thread",
                "type": "string"
              },
              {
                "const": "sentry_event",
                "type": "string"
              },
              {
                "const": "provider_thread",
                "type": "string"
              },
              {
                "const": "provider_event",
                "type": "string"
              },
              {
                "const": "provider_comment",
                "type": "string"
              },
              {
                "const": "tracking_item",
                "type": "string"
              },
              {
                "const": "change_request",
                "type": "string"
              },
              {
                "const": "repository",
                "type": "string"
              },
              {
                "const": "support_ticket",
                "type": "string"
              },
              {
                "const": "signal",
                "type": "string"
              },
              {
                "const": "act",
                "type": "string"
              },
              {
                "const": "receipt",
                "type": "string"
              },
              {
                "const": "graph_receipt",
                "type": "string"
              },
              {
                "const": "artifact",
                "type": "string"
              },
              {
                "const": "verification",
                "type": "string"
              },
              {
                "const": "harness",
                "type": "string"
              },
              {
                "const": "host",
                "type": "string"
              },
              {
                "const": "deployment",
                "type": "string"
              },
              {
                "const": "surface",
                "type": "string"
              },
              {
                "const": "target",
                "type": "string"
              },
              {
                "const": "opportunity",
                "type": "string"
              },
              {
                "const": "thesis_assessment",
                "type": "string"
              },
              {
                "const": "selection",
                "type": "string"
              },
              {
                "const": "skill_binding",
                "type": "string"
              },
              {
                "const": "target_transition_entry",
                "type": "string"
              },
              {
                "const": "selection_cycle",
                "type": "string"
              },
              {
                "const": "decision",
                "type": "string"
              },
              {
                "const": "reflection_entry",
                "type": "string"
              },
              {
                "const": "feed_entry",
                "type": "string"
              },
              {
                "const": "principal",
                "type": "string"
              },
              {
                "const": "authority_proof",
                "type": "string"
              },
              {
                "const": "scope_admission",
                "type": "string"
              },
              {
                "const": "grant",
                "type": "string"
              },
              {
                "const": "mandate",
                "type": "string"
              },
              {
                "const": "credential",
                "type": "string"
              },
              {
                "const": "webhook_delivery",
                "type": "string"
              },
              {
                "const": "redaction_policy",
                "type": "string"
              },
              {
                "const": "external_url",
                "type": "string"
              }
            ]
          },
          "uri": {
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "type",
          "uri"
        ],
        "type": "object",
        "x-runx-schema": "runx.reference.v1"
      },
      "material_ref_hash": {
        "minLength": 1,
        "type": "string"
      },
      "observation_id": {
        "minLength": 1,
        "type": "string"
      },
      "observed_at": {
        "minLength": 1,
        "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
        "type": "string"
      },
      "profile_id": {
        "minLength": 1,
        "type": "string"
      },
      "provider": {
        "minLength": 1,
        "type": "string"
      },
      "purpose": {
        "anyOf": [
          {
            "const": "provider_api",
            "type": "string"
          },
          {
            "const": "registry",
            "type": "string"
          },
          {
            "const": "artifact_store",
            "type": "string"
          },
          {
            "const": "webhook_verification",
            "type": "string"
          }
        ]
      },
      "redaction_refs": {
        "items": {
          "$id": "https://schemas.runx.dev/runx/reference/v1.json",
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "additionalProperties": false,
          "properties": {
            "label": {
              "minLength": 1,
              "type": "string"
            },
            "locator": {
              "minLength": 1,
              "type": "string"
            },
            "observed_at": {
              "minLength": 1,
              "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
              "type": "string"
            },
            "proof_kind": {
              "anyOf": [
                {
                  "const": "effect_evidence",
                  "type": "string"
                },
                {
                  "const": "effect_finality",
                  "type": "string"
                },
                {
                  "const": "credential_resolution",
                  "type": "string"
                }
              ]
            },
            "provider": {
              "minLength": 1,
              "type": "string"
            },
            "schema": {
              "const": "runx.reference.v1",
              "type": "string"
            },
            "type": {
              "anyOf": [
                {
                  "const": "github_issue",
                  "type": "string"
                },
                {
                  "const": "github_pull_request",
                  "type": "string"
                },
                {
                  "const": "github_repo",
                  "type": "string"
                },
                {
                  "const": "slack_thread",
                  "type": "string"
                },
                {
                  "const": "sentry_event",
                  "type": "string"
                },
                {
                  "const": "provider_thread",
                  "type": "string"
                },
                {
                  "const": "provider_event",
                  "type": "string"
                },
                {
                  "const": "provider_comment",
                  "type": "string"
                },
                {
                  "const": "tracking_item",
                  "type": "string"
                },
                {
                  "const": "change_request",
                  "type": "string"
                },
                {
                  "const": "repository",
                  "type": "string"
                },
                {
                  "const": "support_ticket",
                  "type": "string"
                },
                {
                  "const": "signal",
                  "type": "string"
                },
                {
                  "const": "act",
                  "type": "string"
                },
                {
                  "const": "receipt",
                  "type": "string"
                },
                {
                  "const": "graph_receipt",
                  "type": "string"
                },
                {
                  "const": "artifact",
                  "type": "string"
                },
                {
                  "const": "verification",
                  "type": "string"
                },
                {
                  "const": "harness",
                  "type": "string"
                },
                {
                  "const": "host",
                  "type": "string"
                },
                {
                  "const": "deployment",
                  "type": "string"
                },
                {
                  "const": "surface",
                  "type": "string"
                },
                {
                  "const": "target",
                  "type": "string"
                },
                {
                  "const": "opportunity",
                  "type": "string"
                },
                {
                  "const": "thesis_assessment",
                  "type": "string"
                },
                {
                  "const": "selection",
                  "type": "string"
                },
                {
                  "const": "skill_binding",
                  "type": "string"
                },
                {
                  "const": "target_transition_entry",
                  "type": "string"
                },
                {
                  "const": "selection_cycle",
                  "type": "string"
                },
                {
                  "const": "decision",
                  "type": "string"
                },
                {
                  "const": "reflection_entry",
                  "type": "string"
                },
                {
                  "const": "feed_entry",
                  "type": "string"
                },
                {
                  "const": "principal",
                  "type": "string"
                },
                {
                  "const": "authority_proof",
                  "type": "string"
                },
                {
                  "const": "scope_admission",
                  "type": "string"
                },
                {
                  "const": "grant",
                  "type": "string"
                },
                {
                  "const": "mandate",
                  "type": "string"
                },
                {
                  "const": "credential",
                  "type": "string"
                },
                {
                  "const": "webhook_delivery",
                  "type": "string"
                },
                {
                  "const": "redaction_policy",
                  "type": "string"
                },
                {
                  "const": "external_url",
                  "type": "string"
                }
              ]
            },
            "uri": {
              "minLength": 1,
              "type": "string"
            }
          },
          "required": [
            "type",
            "uri"
          ],
          "type": "object",
          "x-runx-schema": "runx.reference.v1"
        },
        "type": "array"
      },
      "request_id": {
        "minLength": 1,
        "type": "string"
      },
      "response_id": {
        "minLength": 1,
        "type": "string"
      },
      "schema": {
        "anyOf": [
          {
            "const": "runx.credential_delivery.observation.v1",
            "type": "string"
          }
        ]
      },
      "status": {
        "anyOf": [
          {
            "const": "delivered",
            "type": "string"
          },
          {
            "const": "denied",
            "type": "string"
          },
          {
            "const": "not_delivered",
            "type": "string"
          }
        ]
      }
    },
    "required": [
      "schema",
      "observation_id",
      "request_id",
      "status",
      "harness_ref",
      "profile_id",
      "provider",
      "purpose",
      "credential_refs",
      "delivered_roles",
      "observed_at"
    ],
    "type": "object",
    "x-runx-schema": "runx.credential_delivery.observation.v1"
  } as JsonSchema,
  "credential-delivery-profile.schema.json": {
    "$id": "https://schemas.runx.dev/runx/credential-delivery/profile/v1.json",
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "additionalProperties": false,
    "properties": {
      "auth_mode": {
        "minLength": 1,
        "type": "string"
      },
      "delivery_mode": {
        "anyOf": [
          {
            "const": "process_env",
            "type": "string"
          }
        ]
      },
      "env_bindings": {
        "items": {
          "additionalProperties": false,
          "properties": {
            "env_var": {
              "type": "string"
            },
            "required": {
              "type": "boolean"
            },
            "role": {
              "anyOf": [
                {
                  "const": "personal_token",
                  "type": "string"
                },
                {
                  "const": "api_key",
                  "type": "string"
                },
                {
                  "const": "client_secret",
                  "type": "string"
                },
                {
                  "const": "session_token",
                  "type": "string"
                }
              ]
            }
          },
          "required": [
            "role",
            "env_var",
            "required"
          ],
          "type": "object"
        },
        "type": "array"
      },
      "material_roles": {
        "items": {
          "anyOf": [
            {
              "const": "personal_token",
              "type": "string"
            },
            {
              "const": "api_key",
              "type": "string"
            },
            {
              "const": "client_secret",
              "type": "string"
            },
            {
              "const": "session_token",
              "type": "string"
            }
          ]
        },
        "type": "array"
      },
      "profile_id": {
        "minLength": 1,
        "type": "string"
      },
      "provider": {
        "minLength": 1,
        "type": "string"
      },
      "purpose": {
        "anyOf": [
          {
            "const": "provider_api",
            "type": "string"
          },
          {
            "const": "registry",
            "type": "string"
          },
          {
            "const": "artifact_store",
            "type": "string"
          },
          {
            "const": "webhook_verification",
            "type": "string"
          }
        ]
      },
      "redaction_policy_ref": {
        "$id": "https://schemas.runx.dev/runx/reference/v1.json",
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false,
        "properties": {
          "label": {
            "minLength": 1,
            "type": "string"
          },
          "locator": {
            "minLength": 1,
            "type": "string"
          },
          "observed_at": {
            "minLength": 1,
            "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
            "type": "string"
          },
          "proof_kind": {
            "anyOf": [
              {
                "const": "effect_evidence",
                "type": "string"
              },
              {
                "const": "effect_finality",
                "type": "string"
              },
              {
                "const": "credential_resolution",
                "type": "string"
              }
            ]
          },
          "provider": {
            "minLength": 1,
            "type": "string"
          },
          "schema": {
            "const": "runx.reference.v1",
            "type": "string"
          },
          "type": {
            "anyOf": [
              {
                "const": "github_issue",
                "type": "string"
              },
              {
                "const": "github_pull_request",
                "type": "string"
              },
              {
                "const": "github_repo",
                "type": "string"
              },
              {
                "const": "slack_thread",
                "type": "string"
              },
              {
                "const": "sentry_event",
                "type": "string"
              },
              {
                "const": "provider_thread",
                "type": "string"
              },
              {
                "const": "provider_event",
                "type": "string"
              },
              {
                "const": "provider_comment",
                "type": "string"
              },
              {
                "const": "tracking_item",
                "type": "string"
              },
              {
                "const": "change_request",
                "type": "string"
              },
              {
                "const": "repository",
                "type": "string"
              },
              {
                "const": "support_ticket",
                "type": "string"
              },
              {
                "const": "signal",
                "type": "string"
              },
              {
                "const": "act",
                "type": "string"
              },
              {
                "const": "receipt",
                "type": "string"
              },
              {
                "const": "graph_receipt",
                "type": "string"
              },
              {
                "const": "artifact",
                "type": "string"
              },
              {
                "const": "verification",
                "type": "string"
              },
              {
                "const": "harness",
                "type": "string"
              },
              {
                "const": "host",
                "type": "string"
              },
              {
                "const": "deployment",
                "type": "string"
              },
              {
                "const": "surface",
                "type": "string"
              },
              {
                "const": "target",
                "type": "string"
              },
              {
                "const": "opportunity",
                "type": "string"
              },
              {
                "const": "thesis_assessment",
                "type": "string"
              },
              {
                "const": "selection",
                "type": "string"
              },
              {
                "const": "skill_binding",
                "type": "string"
              },
              {
                "const": "target_transition_entry",
                "type": "string"
              },
              {
                "const": "selection_cycle",
                "type": "string"
              },
              {
                "const": "decision",
                "type": "string"
              },
              {
                "const": "reflection_entry",
                "type": "string"
              },
              {
                "const": "feed_entry",
                "type": "string"
              },
              {
                "const": "principal",
                "type": "string"
              },
              {
                "const": "authority_proof",
                "type": "string"
              },
              {
                "const": "scope_admission",
                "type": "string"
              },
              {
                "const": "grant",
                "type": "string"
              },
              {
                "const": "mandate",
                "type": "string"
              },
              {
                "const": "credential",
                "type": "string"
              },
              {
                "const": "webhook_delivery",
                "type": "string"
              },
              {
                "const": "redaction_policy",
                "type": "string"
              },
              {
                "const": "external_url",
                "type": "string"
              }
            ]
          },
          "uri": {
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "type",
          "uri"
        ],
        "type": "object",
        "x-runx-schema": "runx.reference.v1"
      },
      "schema": {
        "anyOf": [
          {
            "const": "runx.credential_delivery.profile.v1",
            "type": "string"
          }
        ]
      }
    },
    "required": [
      "schema",
      "profile_id",
      "provider",
      "auth_mode",
      "purpose",
      "delivery_mode",
      "material_roles",
      "env_bindings",
      "redaction_policy_ref"
    ],
    "type": "object",
    "x-runx-schema": "runx.credential_delivery.profile.v1"
  } as JsonSchema,
  "credential-delivery-request.schema.json": {
    "$id": "https://schemas.runx.dev/runx/credential-delivery/request/v1.json",
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "additionalProperties": false,
    "properties": {
      "credential_ref": {
        "$id": "https://schemas.runx.dev/runx/reference/v1.json",
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false,
        "properties": {
          "label": {
            "minLength": 1,
            "type": "string"
          },
          "locator": {
            "minLength": 1,
            "type": "string"
          },
          "observed_at": {
            "minLength": 1,
            "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
            "type": "string"
          },
          "proof_kind": {
            "anyOf": [
              {
                "const": "effect_evidence",
                "type": "string"
              },
              {
                "const": "effect_finality",
                "type": "string"
              },
              {
                "const": "credential_resolution",
                "type": "string"
              }
            ]
          },
          "provider": {
            "minLength": 1,
            "type": "string"
          },
          "schema": {
            "const": "runx.reference.v1",
            "type": "string"
          },
          "type": {
            "anyOf": [
              {
                "const": "github_issue",
                "type": "string"
              },
              {
                "const": "github_pull_request",
                "type": "string"
              },
              {
                "const": "github_repo",
                "type": "string"
              },
              {
                "const": "slack_thread",
                "type": "string"
              },
              {
                "const": "sentry_event",
                "type": "string"
              },
              {
                "const": "provider_thread",
                "type": "string"
              },
              {
                "const": "provider_event",
                "type": "string"
              },
              {
                "const": "provider_comment",
                "type": "string"
              },
              {
                "const": "tracking_item",
                "type": "string"
              },
              {
                "const": "change_request",
                "type": "string"
              },
              {
                "const": "repository",
                "type": "string"
              },
              {
                "const": "support_ticket",
                "type": "string"
              },
              {
                "const": "signal",
                "type": "string"
              },
              {
                "const": "act",
                "type": "string"
              },
              {
                "const": "receipt",
                "type": "string"
              },
              {
                "const": "graph_receipt",
                "type": "string"
              },
              {
                "const": "artifact",
                "type": "string"
              },
              {
                "const": "verification",
                "type": "string"
              },
              {
                "const": "harness",
                "type": "string"
              },
              {
                "const": "host",
                "type": "string"
              },
              {
                "const": "deployment",
                "type": "string"
              },
              {
                "const": "surface",
                "type": "string"
              },
              {
                "const": "target",
                "type": "string"
              },
              {
                "const": "opportunity",
                "type": "string"
              },
              {
                "const": "thesis_assessment",
                "type": "string"
              },
              {
                "const": "selection",
                "type": "string"
              },
              {
                "const": "skill_binding",
                "type": "string"
              },
              {
                "const": "target_transition_entry",
                "type": "string"
              },
              {
                "const": "selection_cycle",
                "type": "string"
              },
              {
                "const": "decision",
                "type": "string"
              },
              {
                "const": "reflection_entry",
                "type": "string"
              },
              {
                "const": "feed_entry",
                "type": "string"
              },
              {
                "const": "principal",
                "type": "string"
              },
              {
                "const": "authority_proof",
                "type": "string"
              },
              {
                "const": "scope_admission",
                "type": "string"
              },
              {
                "const": "grant",
                "type": "string"
              },
              {
                "const": "mandate",
                "type": "string"
              },
              {
                "const": "credential",
                "type": "string"
              },
              {
                "const": "webhook_delivery",
                "type": "string"
              },
              {
                "const": "redaction_policy",
                "type": "string"
              },
              {
                "const": "external_url",
                "type": "string"
              }
            ]
          },
          "uri": {
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "type",
          "uri"
        ],
        "type": "object",
        "x-runx-schema": "runx.reference.v1"
      },
      "grant_ref": {
        "$id": "https://schemas.runx.dev/runx/reference/v1.json",
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false,
        "properties": {
          "label": {
            "minLength": 1,
            "type": "string"
          },
          "locator": {
            "minLength": 1,
            "type": "string"
          },
          "observed_at": {
            "minLength": 1,
            "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
            "type": "string"
          },
          "proof_kind": {
            "anyOf": [
              {
                "const": "effect_evidence",
                "type": "string"
              },
              {
                "const": "effect_finality",
                "type": "string"
              },
              {
                "const": "credential_resolution",
                "type": "string"
              }
            ]
          },
          "provider": {
            "minLength": 1,
            "type": "string"
          },
          "schema": {
            "const": "runx.reference.v1",
            "type": "string"
          },
          "type": {
            "anyOf": [
              {
                "const": "github_issue",
                "type": "string"
              },
              {
                "const": "github_pull_request",
                "type": "string"
              },
              {
                "const": "github_repo",
                "type": "string"
              },
              {
                "const": "slack_thread",
                "type": "string"
              },
              {
                "const": "sentry_event",
                "type": "string"
              },
              {
                "const": "provider_thread",
                "type": "string"
              },
              {
                "const": "provider_event",
                "type": "string"
              },
              {
                "const": "provider_comment",
                "type": "string"
              },
              {
                "const": "tracking_item",
                "type": "string"
              },
              {
                "const": "change_request",
                "type": "string"
              },
              {
                "const": "repository",
                "type": "string"
              },
              {
                "const": "support_ticket",
                "type": "string"
              },
              {
                "const": "signal",
                "type": "string"
              },
              {
                "const": "act",
                "type": "string"
              },
              {
                "const": "receipt",
                "type": "string"
              },
              {
                "const": "graph_receipt",
                "type": "string"
              },
              {
                "const": "artifact",
                "type": "string"
              },
              {
                "const": "verification",
                "type": "string"
              },
              {
                "const": "harness",
                "type": "string"
              },
              {
                "const": "host",
                "type": "string"
              },
              {
                "const": "deployment",
                "type": "string"
              },
              {
                "const": "surface",
                "type": "string"
              },
              {
                "const": "target",
                "type": "string"
              },
              {
                "const": "opportunity",
                "type": "string"
              },
              {
                "const": "thesis_assessment",
                "type": "string"
              },
              {
                "const": "selection",
                "type": "string"
              },
              {
                "const": "skill_binding",
                "type": "string"
              },
              {
                "const": "target_transition_entry",
                "type": "string"
              },
              {
                "const": "selection_cycle",
                "type": "string"
              },
              {
                "const": "decision",
                "type": "string"
              },
              {
                "const": "reflection_entry",
                "type": "string"
              },
              {
                "const": "feed_entry",
                "type": "string"
              },
              {
                "const": "principal",
                "type": "string"
              },
              {
                "const": "authority_proof",
                "type": "string"
              },
              {
                "const": "scope_admission",
                "type": "string"
              },
              {
                "const": "grant",
                "type": "string"
              },
              {
                "const": "mandate",
                "type": "string"
              },
              {
                "const": "credential",
                "type": "string"
              },
              {
                "const": "webhook_delivery",
                "type": "string"
              },
              {
                "const": "redaction_policy",
                "type": "string"
              },
              {
                "const": "external_url",
                "type": "string"
              }
            ]
          },
          "uri": {
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "type",
          "uri"
        ],
        "type": "object",
        "x-runx-schema": "runx.reference.v1"
      },
      "harness_ref": {
        "$id": "https://schemas.runx.dev/runx/reference/v1.json",
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false,
        "properties": {
          "label": {
            "minLength": 1,
            "type": "string"
          },
          "locator": {
            "minLength": 1,
            "type": "string"
          },
          "observed_at": {
            "minLength": 1,
            "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
            "type": "string"
          },
          "proof_kind": {
            "anyOf": [
              {
                "const": "effect_evidence",
                "type": "string"
              },
              {
                "const": "effect_finality",
                "type": "string"
              },
              {
                "const": "credential_resolution",
                "type": "string"
              }
            ]
          },
          "provider": {
            "minLength": 1,
            "type": "string"
          },
          "schema": {
            "const": "runx.reference.v1",
            "type": "string"
          },
          "type": {
            "anyOf": [
              {
                "const": "github_issue",
                "type": "string"
              },
              {
                "const": "github_pull_request",
                "type": "string"
              },
              {
                "const": "github_repo",
                "type": "string"
              },
              {
                "const": "slack_thread",
                "type": "string"
              },
              {
                "const": "sentry_event",
                "type": "string"
              },
              {
                "const": "provider_thread",
                "type": "string"
              },
              {
                "const": "provider_event",
                "type": "string"
              },
              {
                "const": "provider_comment",
                "type": "string"
              },
              {
                "const": "tracking_item",
                "type": "string"
              },
              {
                "const": "change_request",
                "type": "string"
              },
              {
                "const": "repository",
                "type": "string"
              },
              {
                "const": "support_ticket",
                "type": "string"
              },
              {
                "const": "signal",
                "type": "string"
              },
              {
                "const": "act",
                "type": "string"
              },
              {
                "const": "receipt",
                "type": "string"
              },
              {
                "const": "graph_receipt",
                "type": "string"
              },
              {
                "const": "artifact",
                "type": "string"
              },
              {
                "const": "verification",
                "type": "string"
              },
              {
                "const": "harness",
                "type": "string"
              },
              {
                "const": "host",
                "type": "string"
              },
              {
                "const": "deployment",
                "type": "string"
              },
              {
                "const": "surface",
                "type": "string"
              },
              {
                "const": "target",
                "type": "string"
              },
              {
                "const": "opportunity",
                "type": "string"
              },
              {
                "const": "thesis_assessment",
                "type": "string"
              },
              {
                "const": "selection",
                "type": "string"
              },
              {
                "const": "skill_binding",
                "type": "string"
              },
              {
                "const": "target_transition_entry",
                "type": "string"
              },
              {
                "const": "selection_cycle",
                "type": "string"
              },
              {
                "const": "decision",
                "type": "string"
              },
              {
                "const": "reflection_entry",
                "type": "string"
              },
              {
                "const": "feed_entry",
                "type": "string"
              },
              {
                "const": "principal",
                "type": "string"
              },
              {
                "const": "authority_proof",
                "type": "string"
              },
              {
                "const": "scope_admission",
                "type": "string"
              },
              {
                "const": "grant",
                "type": "string"
              },
              {
                "const": "mandate",
                "type": "string"
              },
              {
                "const": "credential",
                "type": "string"
              },
              {
                "const": "webhook_delivery",
                "type": "string"
              },
              {
                "const": "redaction_policy",
                "type": "string"
              },
              {
                "const": "external_url",
                "type": "string"
              }
            ]
          },
          "uri": {
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "type",
          "uri"
        ],
        "type": "object",
        "x-runx-schema": "runx.reference.v1"
      },
      "host_ref": {
        "$id": "https://schemas.runx.dev/runx/reference/v1.json",
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false,
        "properties": {
          "label": {
            "minLength": 1,
            "type": "string"
          },
          "locator": {
            "minLength": 1,
            "type": "string"
          },
          "observed_at": {
            "minLength": 1,
            "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
            "type": "string"
          },
          "proof_kind": {
            "anyOf": [
              {
                "const": "effect_evidence",
                "type": "string"
              },
              {
                "const": "effect_finality",
                "type": "string"
              },
              {
                "const": "credential_resolution",
                "type": "string"
              }
            ]
          },
          "provider": {
            "minLength": 1,
            "type": "string"
          },
          "schema": {
            "const": "runx.reference.v1",
            "type": "string"
          },
          "type": {
            "anyOf": [
              {
                "const": "github_issue",
                "type": "string"
              },
              {
                "const": "github_pull_request",
                "type": "string"
              },
              {
                "const": "github_repo",
                "type": "string"
              },
              {
                "const": "slack_thread",
                "type": "string"
              },
              {
                "const": "sentry_event",
                "type": "string"
              },
              {
                "const": "provider_thread",
                "type": "string"
              },
              {
                "const": "provider_event",
                "type": "string"
              },
              {
                "const": "provider_comment",
                "type": "string"
              },
              {
                "const": "tracking_item",
                "type": "string"
              },
              {
                "const": "change_request",
                "type": "string"
              },
              {
                "const": "repository",
                "type": "string"
              },
              {
                "const": "support_ticket",
                "type": "string"
              },
              {
                "const": "signal",
                "type": "string"
              },
              {
                "const": "act",
                "type": "string"
              },
              {
                "const": "receipt",
                "type": "string"
              },
              {
                "const": "graph_receipt",
                "type": "string"
              },
              {
                "const": "artifact",
                "type": "string"
              },
              {
                "const": "verification",
                "type": "string"
              },
              {
                "const": "harness",
                "type": "string"
              },
              {
                "const": "host",
                "type": "string"
              },
              {
                "const": "deployment",
                "type": "string"
              },
              {
                "const": "surface",
                "type": "string"
              },
              {
                "const": "target",
                "type": "string"
              },
              {
                "const": "opportunity",
                "type": "string"
              },
              {
                "const": "thesis_assessment",
                "type": "string"
              },
              {
                "const": "selection",
                "type": "string"
              },
              {
                "const": "skill_binding",
                "type": "string"
              },
              {
                "const": "target_transition_entry",
                "type": "string"
              },
              {
                "const": "selection_cycle",
                "type": "string"
              },
              {
                "const": "decision",
                "type": "string"
              },
              {
                "const": "reflection_entry",
                "type": "string"
              },
              {
                "const": "feed_entry",
                "type": "string"
              },
              {
                "const": "principal",
                "type": "string"
              },
              {
                "const": "authority_proof",
                "type": "string"
              },
              {
                "const": "scope_admission",
                "type": "string"
              },
              {
                "const": "grant",
                "type": "string"
              },
              {
                "const": "mandate",
                "type": "string"
              },
              {
                "const": "credential",
                "type": "string"
              },
              {
                "const": "webhook_delivery",
                "type": "string"
              },
              {
                "const": "redaction_policy",
                "type": "string"
              },
              {
                "const": "external_url",
                "type": "string"
              }
            ]
          },
          "uri": {
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "type",
          "uri"
        ],
        "type": "object",
        "x-runx-schema": "runx.reference.v1"
      },
      "profile_id": {
        "minLength": 1,
        "type": "string"
      },
      "provider": {
        "minLength": 1,
        "type": "string"
      },
      "purpose": {
        "anyOf": [
          {
            "const": "provider_api",
            "type": "string"
          },
          {
            "const": "registry",
            "type": "string"
          },
          {
            "const": "artifact_store",
            "type": "string"
          },
          {
            "const": "webhook_verification",
            "type": "string"
          }
        ]
      },
      "request_id": {
        "minLength": 1,
        "type": "string"
      },
      "requested_at": {
        "minLength": 1,
        "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
        "type": "string"
      },
      "requested_roles": {
        "items": {
          "anyOf": [
            {
              "const": "personal_token",
              "type": "string"
            },
            {
              "const": "api_key",
              "type": "string"
            },
            {
              "const": "client_secret",
              "type": "string"
            },
            {
              "const": "session_token",
              "type": "string"
            }
          ]
        },
        "type": "array"
      },
      "schema": {
        "anyOf": [
          {
            "const": "runx.credential_delivery.request.v1",
            "type": "string"
          }
        ]
      }
    },
    "required": [
      "schema",
      "request_id",
      "harness_ref",
      "host_ref",
      "grant_ref",
      "credential_ref",
      "profile_id",
      "provider",
      "purpose",
      "requested_roles",
      "requested_at"
    ],
    "type": "object",
    "x-runx-schema": "runx.credential_delivery.request.v1"
  } as JsonSchema,
  "credential-delivery-response.schema.json": {
    "$id": "https://schemas.runx.dev/runx/credential-delivery/response/v1.json",
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "additionalProperties": false,
    "properties": {
      "credential_refs": {
        "items": {
          "$id": "https://schemas.runx.dev/runx/reference/v1.json",
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "additionalProperties": false,
          "properties": {
            "label": {
              "minLength": 1,
              "type": "string"
            },
            "locator": {
              "minLength": 1,
              "type": "string"
            },
            "observed_at": {
              "minLength": 1,
              "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
              "type": "string"
            },
            "proof_kind": {
              "anyOf": [
                {
                  "const": "effect_evidence",
                  "type": "string"
                },
                {
                  "const": "effect_finality",
                  "type": "string"
                },
                {
                  "const": "credential_resolution",
                  "type": "string"
                }
              ]
            },
            "provider": {
              "minLength": 1,
              "type": "string"
            },
            "schema": {
              "const": "runx.reference.v1",
              "type": "string"
            },
            "type": {
              "anyOf": [
                {
                  "const": "github_issue",
                  "type": "string"
                },
                {
                  "const": "github_pull_request",
                  "type": "string"
                },
                {
                  "const": "github_repo",
                  "type": "string"
                },
                {
                  "const": "slack_thread",
                  "type": "string"
                },
                {
                  "const": "sentry_event",
                  "type": "string"
                },
                {
                  "const": "provider_thread",
                  "type": "string"
                },
                {
                  "const": "provider_event",
                  "type": "string"
                },
                {
                  "const": "provider_comment",
                  "type": "string"
                },
                {
                  "const": "tracking_item",
                  "type": "string"
                },
                {
                  "const": "change_request",
                  "type": "string"
                },
                {
                  "const": "repository",
                  "type": "string"
                },
                {
                  "const": "support_ticket",
                  "type": "string"
                },
                {
                  "const": "signal",
                  "type": "string"
                },
                {
                  "const": "act",
                  "type": "string"
                },
                {
                  "const": "receipt",
                  "type": "string"
                },
                {
                  "const": "graph_receipt",
                  "type": "string"
                },
                {
                  "const": "artifact",
                  "type": "string"
                },
                {
                  "const": "verification",
                  "type": "string"
                },
                {
                  "const": "harness",
                  "type": "string"
                },
                {
                  "const": "host",
                  "type": "string"
                },
                {
                  "const": "deployment",
                  "type": "string"
                },
                {
                  "const": "surface",
                  "type": "string"
                },
                {
                  "const": "target",
                  "type": "string"
                },
                {
                  "const": "opportunity",
                  "type": "string"
                },
                {
                  "const": "thesis_assessment",
                  "type": "string"
                },
                {
                  "const": "selection",
                  "type": "string"
                },
                {
                  "const": "skill_binding",
                  "type": "string"
                },
                {
                  "const": "target_transition_entry",
                  "type": "string"
                },
                {
                  "const": "selection_cycle",
                  "type": "string"
                },
                {
                  "const": "decision",
                  "type": "string"
                },
                {
                  "const": "reflection_entry",
                  "type": "string"
                },
                {
                  "const": "feed_entry",
                  "type": "string"
                },
                {
                  "const": "principal",
                  "type": "string"
                },
                {
                  "const": "authority_proof",
                  "type": "string"
                },
                {
                  "const": "scope_admission",
                  "type": "string"
                },
                {
                  "const": "grant",
                  "type": "string"
                },
                {
                  "const": "mandate",
                  "type": "string"
                },
                {
                  "const": "credential",
                  "type": "string"
                },
                {
                  "const": "webhook_delivery",
                  "type": "string"
                },
                {
                  "const": "redaction_policy",
                  "type": "string"
                },
                {
                  "const": "external_url",
                  "type": "string"
                }
              ]
            },
            "uri": {
              "minLength": 1,
              "type": "string"
            }
          },
          "required": [
            "type",
            "uri"
          ],
          "type": "object",
          "x-runx-schema": "runx.reference.v1"
        },
        "type": "array"
      },
      "delivery_mode": {
        "anyOf": [
          {
            "const": "process_env",
            "type": "string"
          }
        ]
      },
      "denied_reasons": {
        "items": {
          "minLength": 1,
          "type": "string"
        },
        "type": "array"
      },
      "expires_at": {
        "minLength": 1,
        "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
        "type": "string"
      },
      "handles": {
        "items": {
          "additionalProperties": false,
          "properties": {
            "delivery_handle_ref": {
              "$id": "https://schemas.runx.dev/runx/reference/v1.json",
              "$schema": "https://json-schema.org/draft/2020-12/schema",
              "additionalProperties": false,
              "properties": {
                "label": {
                  "minLength": 1,
                  "type": "string"
                },
                "locator": {
                  "minLength": 1,
                  "type": "string"
                },
                "observed_at": {
                  "minLength": 1,
                  "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
                  "type": "string"
                },
                "proof_kind": {
                  "anyOf": [
                    {
                      "const": "effect_evidence",
                      "type": "string"
                    },
                    {
                      "const": "effect_finality",
                      "type": "string"
                    },
                    {
                      "const": "credential_resolution",
                      "type": "string"
                    }
                  ]
                },
                "provider": {
                  "minLength": 1,
                  "type": "string"
                },
                "schema": {
                  "const": "runx.reference.v1",
                  "type": "string"
                },
                "type": {
                  "anyOf": [
                    {
                      "const": "github_issue",
                      "type": "string"
                    },
                    {
                      "const": "github_pull_request",
                      "type": "string"
                    },
                    {
                      "const": "github_repo",
                      "type": "string"
                    },
                    {
                      "const": "slack_thread",
                      "type": "string"
                    },
                    {
                      "const": "sentry_event",
                      "type": "string"
                    },
                    {
                      "const": "provider_thread",
                      "type": "string"
                    },
                    {
                      "const": "provider_event",
                      "type": "string"
                    },
                    {
                      "const": "provider_comment",
                      "type": "string"
                    },
                    {
                      "const": "tracking_item",
                      "type": "string"
                    },
                    {
                      "const": "change_request",
                      "type": "string"
                    },
                    {
                      "const": "repository",
                      "type": "string"
                    },
                    {
                      "const": "support_ticket",
                      "type": "string"
                    },
                    {
                      "const": "signal",
                      "type": "string"
                    },
                    {
                      "const": "act",
                      "type": "string"
                    },
                    {
                      "const": "receipt",
                      "type": "string"
                    },
                    {
                      "const": "graph_receipt",
                      "type": "string"
                    },
                    {
                      "const": "artifact",
                      "type": "string"
                    },
                    {
                      "const": "verification",
                      "type": "string"
                    },
                    {
                      "const": "harness",
                      "type": "string"
                    },
                    {
                      "const": "host",
                      "type": "string"
                    },
                    {
                      "const": "deployment",
                      "type": "string"
                    },
                    {
                      "const": "surface",
                      "type": "string"
                    },
                    {
                      "const": "target",
                      "type": "string"
                    },
                    {
                      "const": "opportunity",
                      "type": "string"
                    },
                    {
                      "const": "thesis_assessment",
                      "type": "string"
                    },
                    {
                      "const": "selection",
                      "type": "string"
                    },
                    {
                      "const": "skill_binding",
                      "type": "string"
                    },
                    {
                      "const": "target_transition_entry",
                      "type": "string"
                    },
                    {
                      "const": "selection_cycle",
                      "type": "string"
                    },
                    {
                      "const": "decision",
                      "type": "string"
                    },
                    {
                      "const": "reflection_entry",
                      "type": "string"
                    },
                    {
                      "const": "feed_entry",
                      "type": "string"
                    },
                    {
                      "const": "principal",
                      "type": "string"
                    },
                    {
                      "const": "authority_proof",
                      "type": "string"
                    },
                    {
                      "const": "scope_admission",
                      "type": "string"
                    },
                    {
                      "const": "grant",
                      "type": "string"
                    },
                    {
                      "const": "mandate",
                      "type": "string"
                    },
                    {
                      "const": "credential",
                      "type": "string"
                    },
                    {
                      "const": "webhook_delivery",
                      "type": "string"
                    },
                    {
                      "const": "redaction_policy",
                      "type": "string"
                    },
                    {
                      "const": "external_url",
                      "type": "string"
                    }
                  ]
                },
                "uri": {
                  "minLength": 1,
                  "type": "string"
                }
              },
              "required": [
                "type",
                "uri"
              ],
              "type": "object",
              "x-runx-schema": "runx.reference.v1"
            },
            "env_var": {
              "type": "string"
            },
            "role": {
              "anyOf": [
                {
                  "const": "personal_token",
                  "type": "string"
                },
                {
                  "const": "api_key",
                  "type": "string"
                },
                {
                  "const": "client_secret",
                  "type": "string"
                },
                {
                  "const": "session_token",
                  "type": "string"
                }
              ]
            }
          },
          "required": [
            "role",
            "delivery_handle_ref"
          ],
          "type": "object"
        },
        "type": "array"
      },
      "issued_at": {
        "minLength": 1,
        "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
        "type": "string"
      },
      "material_ref_hash": {
        "minLength": 1,
        "type": "string"
      },
      "request_id": {
        "minLength": 1,
        "type": "string"
      },
      "response_id": {
        "minLength": 1,
        "type": "string"
      },
      "schema": {
        "anyOf": [
          {
            "const": "runx.credential_delivery.response.v1",
            "type": "string"
          }
        ]
      },
      "status": {
        "anyOf": [
          {
            "const": "delivered",
            "type": "string"
          },
          {
            "const": "denied",
            "type": "string"
          },
          {
            "const": "not_found",
            "type": "string"
          },
          {
            "const": "profile_mismatch",
            "type": "string"
          }
        ]
      }
    },
    "required": [
      "schema",
      "response_id",
      "request_id",
      "status",
      "credential_refs",
      "issued_at"
    ],
    "type": "object",
    "x-runx-schema": "runx.credential_delivery.response.v1"
  } as JsonSchema,
  "credential-envelope.schema.json": {
    "$id": "https://runx.ai/spec/credential-envelope.schema.json",
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "additionalProperties": false,
    "properties": {
      "auth_mode": {
        "minLength": 1,
        "type": "string"
      },
      "grant_id": {
        "minLength": 1,
        "type": "string"
      },
      "grant_reference": {
        "additionalProperties": false,
        "properties": {
          "authority_kind": {
            "anyOf": [
              {
                "const": "read_only",
                "type": "string"
              },
              {
                "const": "constructive",
                "type": "string"
              },
              {
                "const": "destructive",
                "type": "string"
              }
            ]
          },
          "grant_id": {
            "minLength": 1,
            "type": "string"
          },
          "scope_family": {
            "minLength": 1,
            "type": "string"
          },
          "target_locator": {
            "minLength": 1,
            "type": "string"
          },
          "target_repo": {
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "grant_id",
          "scope_family",
          "authority_kind"
        ],
        "type": "object"
      },
      "kind": {
        "anyOf": [
          {
            "const": "runx.credential-envelope.v1",
            "type": "string"
          }
        ]
      },
      "material_kind": {
        "minLength": 1,
        "type": "string"
      },
      "material_ref": {
        "minLength": 1,
        "type": "string"
      },
      "provider": {
        "minLength": 1,
        "type": "string"
      },
      "provider_reference": {
        "minLength": 1,
        "type": "string"
      },
      "scopes": {
        "items": {
          "minLength": 1,
          "type": "string"
        },
        "type": "array"
      }
    },
    "required": [
      "kind",
      "grant_id",
      "provider",
      "auth_mode",
      "material_kind",
      "provider_reference",
      "scopes",
      "material_ref"
    ],
    "type": "object"
  } as JsonSchema,
  "decision.schema.json": {
    "$id": "https://schemas.runx.dev/runx/decision/v1.json",
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "additionalProperties": false,
    "properties": {
      "artifact_refs": {
        "items": {
          "$id": "https://schemas.runx.dev/runx/reference/v1.json",
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "additionalProperties": false,
          "properties": {
            "label": {
              "minLength": 1,
              "type": "string"
            },
            "locator": {
              "minLength": 1,
              "type": "string"
            },
            "observed_at": {
              "minLength": 1,
              "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
              "type": "string"
            },
            "proof_kind": {
              "anyOf": [
                {
                  "const": "effect_evidence",
                  "type": "string"
                },
                {
                  "const": "effect_finality",
                  "type": "string"
                },
                {
                  "const": "credential_resolution",
                  "type": "string"
                }
              ]
            },
            "provider": {
              "minLength": 1,
              "type": "string"
            },
            "schema": {
              "const": "runx.reference.v1",
              "type": "string"
            },
            "type": {
              "anyOf": [
                {
                  "const": "github_issue",
                  "type": "string"
                },
                {
                  "const": "github_pull_request",
                  "type": "string"
                },
                {
                  "const": "github_repo",
                  "type": "string"
                },
                {
                  "const": "slack_thread",
                  "type": "string"
                },
                {
                  "const": "sentry_event",
                  "type": "string"
                },
                {
                  "const": "provider_thread",
                  "type": "string"
                },
                {
                  "const": "provider_event",
                  "type": "string"
                },
                {
                  "const": "provider_comment",
                  "type": "string"
                },
                {
                  "const": "tracking_item",
                  "type": "string"
                },
                {
                  "const": "change_request",
                  "type": "string"
                },
                {
                  "const": "repository",
                  "type": "string"
                },
                {
                  "const": "support_ticket",
                  "type": "string"
                },
                {
                  "const": "signal",
                  "type": "string"
                },
                {
                  "const": "act",
                  "type": "string"
                },
                {
                  "const": "receipt",
                  "type": "string"
                },
                {
                  "const": "graph_receipt",
                  "type": "string"
                },
                {
                  "const": "artifact",
                  "type": "string"
                },
                {
                  "const": "verification",
                  "type": "string"
                },
                {
                  "const": "harness",
                  "type": "string"
                },
                {
                  "const": "host",
                  "type": "string"
                },
                {
                  "const": "deployment",
                  "type": "string"
                },
                {
                  "const": "surface",
                  "type": "string"
                },
                {
                  "const": "target",
                  "type": "string"
                },
                {
                  "const": "opportunity",
                  "type": "string"
                },
                {
                  "const": "thesis_assessment",
                  "type": "string"
                },
                {
                  "const": "selection",
                  "type": "string"
                },
                {
                  "const": "skill_binding",
                  "type": "string"
                },
                {
                  "const": "target_transition_entry",
                  "type": "string"
                },
                {
                  "const": "selection_cycle",
                  "type": "string"
                },
                {
                  "const": "decision",
                  "type": "string"
                },
                {
                  "const": "reflection_entry",
                  "type": "string"
                },
                {
                  "const": "feed_entry",
                  "type": "string"
                },
                {
                  "const": "principal",
                  "type": "string"
                },
                {
                  "const": "authority_proof",
                  "type": "string"
                },
                {
                  "const": "scope_admission",
                  "type": "string"
                },
                {
                  "const": "grant",
                  "type": "string"
                },
                {
                  "const": "mandate",
                  "type": "string"
                },
                {
                  "const": "credential",
                  "type": "string"
                },
                {
                  "const": "webhook_delivery",
                  "type": "string"
                },
                {
                  "const": "redaction_policy",
                  "type": "string"
                },
                {
                  "const": "external_url",
                  "type": "string"
                }
              ]
            },
            "uri": {
              "minLength": 1,
              "type": "string"
            }
          },
          "required": [
            "type",
            "uri"
          ],
          "type": "object",
          "x-runx-schema": "runx.reference.v1"
        },
        "type": "array"
      },
      "choice": {
        "anyOf": [
          {
            "const": "open",
            "type": "string"
          },
          {
            "const": "continue",
            "type": "string"
          },
          {
            "const": "spawn_child",
            "type": "string"
          },
          {
            "const": "escalate",
            "type": "string"
          },
          {
            "const": "defer",
            "type": "string"
          },
          {
            "const": "close",
            "type": "string"
          },
          {
            "const": "decline",
            "type": "string"
          },
          {
            "const": "monitor",
            "type": "string"
          }
        ]
      },
      "closure": {
        "anyOf": [
          {
            "additionalProperties": false,
            "properties": {
              "closed_at": {
                "minLength": 1,
                "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
                "type": "string"
              },
              "disposition": {
                "anyOf": [
                  {
                    "const": "closed",
                    "type": "string"
                  },
                  {
                    "const": "deferred",
                    "type": "string"
                  },
                  {
                    "const": "superseded",
                    "type": "string"
                  },
                  {
                    "const": "declined",
                    "type": "string"
                  },
                  {
                    "const": "blocked",
                    "type": "string"
                  },
                  {
                    "const": "failed",
                    "type": "string"
                  },
                  {
                    "const": "killed",
                    "type": "string"
                  },
                  {
                    "const": "timed_out",
                    "type": "string"
                  }
                ]
              },
              "reason_code": {
                "minLength": 1,
                "type": "string"
              },
              "summary": {
                "minLength": 1,
                "type": "string"
              }
            },
            "required": [
              "disposition",
              "reason_code",
              "summary",
              "closed_at"
            ],
            "type": "object"
          },
          {
            "type": "null"
          }
        ]
      },
      "decision_id": {
        "minLength": 1,
        "type": "string"
      },
      "inputs": {
        "additionalProperties": false,
        "properties": {
          "opportunity_refs": {
            "items": {
              "$id": "https://schemas.runx.dev/runx/reference/v1.json",
              "$schema": "https://json-schema.org/draft/2020-12/schema",
              "additionalProperties": false,
              "properties": {
                "label": {
                  "minLength": 1,
                  "type": "string"
                },
                "locator": {
                  "minLength": 1,
                  "type": "string"
                },
                "observed_at": {
                  "minLength": 1,
                  "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
                  "type": "string"
                },
                "proof_kind": {
                  "anyOf": [
                    {
                      "const": "effect_evidence",
                      "type": "string"
                    },
                    {
                      "const": "effect_finality",
                      "type": "string"
                    },
                    {
                      "const": "credential_resolution",
                      "type": "string"
                    }
                  ]
                },
                "provider": {
                  "minLength": 1,
                  "type": "string"
                },
                "schema": {
                  "const": "runx.reference.v1",
                  "type": "string"
                },
                "type": {
                  "anyOf": [
                    {
                      "const": "github_issue",
                      "type": "string"
                    },
                    {
                      "const": "github_pull_request",
                      "type": "string"
                    },
                    {
                      "const": "github_repo",
                      "type": "string"
                    },
                    {
                      "const": "slack_thread",
                      "type": "string"
                    },
                    {
                      "const": "sentry_event",
                      "type": "string"
                    },
                    {
                      "const": "provider_thread",
                      "type": "string"
                    },
                    {
                      "const": "provider_event",
                      "type": "string"
                    },
                    {
                      "const": "provider_comment",
                      "type": "string"
                    },
                    {
                      "const": "tracking_item",
                      "type": "string"
                    },
                    {
                      "const": "change_request",
                      "type": "string"
                    },
                    {
                      "const": "repository",
                      "type": "string"
                    },
                    {
                      "const": "support_ticket",
                      "type": "string"
                    },
                    {
                      "const": "signal",
                      "type": "string"
                    },
                    {
                      "const": "act",
                      "type": "string"
                    },
                    {
                      "const": "receipt",
                      "type": "string"
                    },
                    {
                      "const": "graph_receipt",
                      "type": "string"
                    },
                    {
                      "const": "artifact",
                      "type": "string"
                    },
                    {
                      "const": "verification",
                      "type": "string"
                    },
                    {
                      "const": "harness",
                      "type": "string"
                    },
                    {
                      "const": "host",
                      "type": "string"
                    },
                    {
                      "const": "deployment",
                      "type": "string"
                    },
                    {
                      "const": "surface",
                      "type": "string"
                    },
                    {
                      "const": "target",
                      "type": "string"
                    },
                    {
                      "const": "opportunity",
                      "type": "string"
                    },
                    {
                      "const": "thesis_assessment",
                      "type": "string"
                    },
                    {
                      "const": "selection",
                      "type": "string"
                    },
                    {
                      "const": "skill_binding",
                      "type": "string"
                    },
                    {
                      "const": "target_transition_entry",
                      "type": "string"
                    },
                    {
                      "const": "selection_cycle",
                      "type": "string"
                    },
                    {
                      "const": "decision",
                      "type": "string"
                    },
                    {
                      "const": "reflection_entry",
                      "type": "string"
                    },
                    {
                      "const": "feed_entry",
                      "type": "string"
                    },
                    {
                      "const": "principal",
                      "type": "string"
                    },
                    {
                      "const": "authority_proof",
                      "type": "string"
                    },
                    {
                      "const": "scope_admission",
                      "type": "string"
                    },
                    {
                      "const": "grant",
                      "type": "string"
                    },
                    {
                      "const": "mandate",
                      "type": "string"
                    },
                    {
                      "const": "credential",
                      "type": "string"
                    },
                    {
                      "const": "webhook_delivery",
                      "type": "string"
                    },
                    {
                      "const": "redaction_policy",
                      "type": "string"
                    },
                    {
                      "const": "external_url",
                      "type": "string"
                    }
                  ]
                },
                "uri": {
                  "minLength": 1,
                  "type": "string"
                }
              },
              "required": [
                "type",
                "uri"
              ],
              "type": "object",
              "x-runx-schema": "runx.reference.v1"
            },
            "type": "array"
          },
          "selection_ref": {
            "anyOf": [
              {
                "$id": "https://schemas.runx.dev/runx/reference/v1.json",
                "$schema": "https://json-schema.org/draft/2020-12/schema",
                "additionalProperties": false,
                "properties": {
                  "label": {
                    "minLength": 1,
                    "type": "string"
                  },
                  "locator": {
                    "minLength": 1,
                    "type": "string"
                  },
                  "observed_at": {
                    "minLength": 1,
                    "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
                    "type": "string"
                  },
                  "proof_kind": {
                    "anyOf": [
                      {
                        "const": "effect_evidence",
                        "type": "string"
                      },
                      {
                        "const": "effect_finality",
                        "type": "string"
                      },
                      {
                        "const": "credential_resolution",
                        "type": "string"
                      }
                    ]
                  },
                  "provider": {
                    "minLength": 1,
                    "type": "string"
                  },
                  "schema": {
                    "const": "runx.reference.v1",
                    "type": "string"
                  },
                  "type": {
                    "anyOf": [
                      {
                        "const": "github_issue",
                        "type": "string"
                      },
                      {
                        "const": "github_pull_request",
                        "type": "string"
                      },
                      {
                        "const": "github_repo",
                        "type": "string"
                      },
                      {
                        "const": "slack_thread",
                        "type": "string"
                      },
                      {
                        "const": "sentry_event",
                        "type": "string"
                      },
                      {
                        "const": "provider_thread",
                        "type": "string"
                      },
                      {
                        "const": "provider_event",
                        "type": "string"
                      },
                      {
                        "const": "provider_comment",
                        "type": "string"
                      },
                      {
                        "const": "tracking_item",
                        "type": "string"
                      },
                      {
                        "const": "change_request",
                        "type": "string"
                      },
                      {
                        "const": "repository",
                        "type": "string"
                      },
                      {
                        "const": "support_ticket",
                        "type": "string"
                      },
                      {
                        "const": "signal",
                        "type": "string"
                      },
                      {
                        "const": "act",
                        "type": "string"
                      },
                      {
                        "const": "receipt",
                        "type": "string"
                      },
                      {
                        "const": "graph_receipt",
                        "type": "string"
                      },
                      {
                        "const": "artifact",
                        "type": "string"
                      },
                      {
                        "const": "verification",
                        "type": "string"
                      },
                      {
                        "const": "harness",
                        "type": "string"
                      },
                      {
                        "const": "host",
                        "type": "string"
                      },
                      {
                        "const": "deployment",
                        "type": "string"
                      },
                      {
                        "const": "surface",
                        "type": "string"
                      },
                      {
                        "const": "target",
                        "type": "string"
                      },
                      {
                        "const": "opportunity",
                        "type": "string"
                      },
                      {
                        "const": "thesis_assessment",
                        "type": "string"
                      },
                      {
                        "const": "selection",
                        "type": "string"
                      },
                      {
                        "const": "skill_binding",
                        "type": "string"
                      },
                      {
                        "const": "target_transition_entry",
                        "type": "string"
                      },
                      {
                        "const": "selection_cycle",
                        "type": "string"
                      },
                      {
                        "const": "decision",
                        "type": "string"
                      },
                      {
                        "const": "reflection_entry",
                        "type": "string"
                      },
                      {
                        "const": "feed_entry",
                        "type": "string"
                      },
                      {
                        "const": "principal",
                        "type": "string"
                      },
                      {
                        "const": "authority_proof",
                        "type": "string"
                      },
                      {
                        "const": "scope_admission",
                        "type": "string"
                      },
                      {
                        "const": "grant",
                        "type": "string"
                      },
                      {
                        "const": "mandate",
                        "type": "string"
                      },
                      {
                        "const": "credential",
                        "type": "string"
                      },
                      {
                        "const": "webhook_delivery",
                        "type": "string"
                      },
                      {
                        "const": "redaction_policy",
                        "type": "string"
                      },
                      {
                        "const": "external_url",
                        "type": "string"
                      }
                    ]
                  },
                  "uri": {
                    "minLength": 1,
                    "type": "string"
                  }
                },
                "required": [
                  "type",
                  "uri"
                ],
                "type": "object",
                "x-runx-schema": "runx.reference.v1"
              },
              {
                "type": "null"
              }
            ]
          },
          "signal_refs": {
            "items": {
              "$id": "https://schemas.runx.dev/runx/reference/v1.json",
              "$schema": "https://json-schema.org/draft/2020-12/schema",
              "additionalProperties": false,
              "properties": {
                "label": {
                  "minLength": 1,
                  "type": "string"
                },
                "locator": {
                  "minLength": 1,
                  "type": "string"
                },
                "observed_at": {
                  "minLength": 1,
                  "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
                  "type": "string"
                },
                "proof_kind": {
                  "anyOf": [
                    {
                      "const": "effect_evidence",
                      "type": "string"
                    },
                    {
                      "const": "effect_finality",
                      "type": "string"
                    },
                    {
                      "const": "credential_resolution",
                      "type": "string"
                    }
                  ]
                },
                "provider": {
                  "minLength": 1,
                  "type": "string"
                },
                "schema": {
                  "const": "runx.reference.v1",
                  "type": "string"
                },
                "type": {
                  "anyOf": [
                    {
                      "const": "github_issue",
                      "type": "string"
                    },
                    {
                      "const": "github_pull_request",
                      "type": "string"
                    },
                    {
                      "const": "github_repo",
                      "type": "string"
                    },
                    {
                      "const": "slack_thread",
                      "type": "string"
                    },
                    {
                      "const": "sentry_event",
                      "type": "string"
                    },
                    {
                      "const": "provider_thread",
                      "type": "string"
                    },
                    {
                      "const": "provider_event",
                      "type": "string"
                    },
                    {
                      "const": "provider_comment",
                      "type": "string"
                    },
                    {
                      "const": "tracking_item",
                      "type": "string"
                    },
                    {
                      "const": "change_request",
                      "type": "string"
                    },
                    {
                      "const": "repository",
                      "type": "string"
                    },
                    {
                      "const": "support_ticket",
                      "type": "string"
                    },
                    {
                      "const": "signal",
                      "type": "string"
                    },
                    {
                      "const": "act",
                      "type": "string"
                    },
                    {
                      "const": "receipt",
                      "type": "string"
                    },
                    {
                      "const": "graph_receipt",
                      "type": "string"
                    },
                    {
                      "const": "artifact",
                      "type": "string"
                    },
                    {
                      "const": "verification",
                      "type": "string"
                    },
                    {
                      "const": "harness",
                      "type": "string"
                    },
                    {
                      "const": "host",
                      "type": "string"
                    },
                    {
                      "const": "deployment",
                      "type": "string"
                    },
                    {
                      "const": "surface",
                      "type": "string"
                    },
                    {
                      "const": "target",
                      "type": "string"
                    },
                    {
                      "const": "opportunity",
                      "type": "string"
                    },
                    {
                      "const": "thesis_assessment",
                      "type": "string"
                    },
                    {
                      "const": "selection",
                      "type": "string"
                    },
                    {
                      "const": "skill_binding",
                      "type": "string"
                    },
                    {
                      "const": "target_transition_entry",
                      "type": "string"
                    },
                    {
                      "const": "selection_cycle",
                      "type": "string"
                    },
                    {
                      "const": "decision",
                      "type": "string"
                    },
                    {
                      "const": "reflection_entry",
                      "type": "string"
                    },
                    {
                      "const": "feed_entry",
                      "type": "string"
                    },
                    {
                      "const": "principal",
                      "type": "string"
                    },
                    {
                      "const": "authority_proof",
                      "type": "string"
                    },
                    {
                      "const": "scope_admission",
                      "type": "string"
                    },
                    {
                      "const": "grant",
                      "type": "string"
                    },
                    {
                      "const": "mandate",
                      "type": "string"
                    },
                    {
                      "const": "credential",
                      "type": "string"
                    },
                    {
                      "const": "webhook_delivery",
                      "type": "string"
                    },
                    {
                      "const": "redaction_policy",
                      "type": "string"
                    },
                    {
                      "const": "external_url",
                      "type": "string"
                    }
                  ]
                },
                "uri": {
                  "minLength": 1,
                  "type": "string"
                }
              },
              "required": [
                "type",
                "uri"
              ],
              "type": "object",
              "x-runx-schema": "runx.reference.v1"
            },
            "type": "array"
          },
          "target_ref": {
            "anyOf": [
              {
                "$id": "https://schemas.runx.dev/runx/reference/v1.json",
                "$schema": "https://json-schema.org/draft/2020-12/schema",
                "additionalProperties": false,
                "properties": {
                  "label": {
                    "minLength": 1,
                    "type": "string"
                  },
                  "locator": {
                    "minLength": 1,
                    "type": "string"
                  },
                  "observed_at": {
                    "minLength": 1,
                    "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
                    "type": "string"
                  },
                  "proof_kind": {
                    "anyOf": [
                      {
                        "const": "effect_evidence",
                        "type": "string"
                      },
                      {
                        "const": "effect_finality",
                        "type": "string"
                      },
                      {
                        "const": "credential_resolution",
                        "type": "string"
                      }
                    ]
                  },
                  "provider": {
                    "minLength": 1,
                    "type": "string"
                  },
                  "schema": {
                    "const": "runx.reference.v1",
                    "type": "string"
                  },
                  "type": {
                    "anyOf": [
                      {
                        "const": "github_issue",
                        "type": "string"
                      },
                      {
                        "const": "github_pull_request",
                        "type": "string"
                      },
                      {
                        "const": "github_repo",
                        "type": "string"
                      },
                      {
                        "const": "slack_thread",
                        "type": "string"
                      },
                      {
                        "const": "sentry_event",
                        "type": "string"
                      },
                      {
                        "const": "provider_thread",
                        "type": "string"
                      },
                      {
                        "const": "provider_event",
                        "type": "string"
                      },
                      {
                        "const": "provider_comment",
                        "type": "string"
                      },
                      {
                        "const": "tracking_item",
                        "type": "string"
                      },
                      {
                        "const": "change_request",
                        "type": "string"
                      },
                      {
                        "const": "repository",
                        "type": "string"
                      },
                      {
                        "const": "support_ticket",
                        "type": "string"
                      },
                      {
                        "const": "signal",
                        "type": "string"
                      },
                      {
                        "const": "act",
                        "type": "string"
                      },
                      {
                        "const": "receipt",
                        "type": "string"
                      },
                      {
                        "const": "graph_receipt",
                        "type": "string"
                      },
                      {
                        "const": "artifact",
                        "type": "string"
                      },
                      {
                        "const": "verification",
                        "type": "string"
                      },
                      {
                        "const": "harness",
                        "type": "string"
                      },
                      {
                        "const": "host",
                        "type": "string"
                      },
                      {
                        "const": "deployment",
                        "type": "string"
                      },
                      {
                        "const": "surface",
                        "type": "string"
                      },
                      {
                        "const": "target",
                        "type": "string"
                      },
                      {
                        "const": "opportunity",
                        "type": "string"
                      },
                      {
                        "const": "thesis_assessment",
                        "type": "string"
                      },
                      {
                        "const": "selection",
                        "type": "string"
                      },
                      {
                        "const": "skill_binding",
                        "type": "string"
                      },
                      {
                        "const": "target_transition_entry",
                        "type": "string"
                      },
                      {
                        "const": "selection_cycle",
                        "type": "string"
                      },
                      {
                        "const": "decision",
                        "type": "string"
                      },
                      {
                        "const": "reflection_entry",
                        "type": "string"
                      },
                      {
                        "const": "feed_entry",
                        "type": "string"
                      },
                      {
                        "const": "principal",
                        "type": "string"
                      },
                      {
                        "const": "authority_proof",
                        "type": "string"
                      },
                      {
                        "const": "scope_admission",
                        "type": "string"
                      },
                      {
                        "const": "grant",
                        "type": "string"
                      },
                      {
                        "const": "mandate",
                        "type": "string"
                      },
                      {
                        "const": "credential",
                        "type": "string"
                      },
                      {
                        "const": "webhook_delivery",
                        "type": "string"
                      },
                      {
                        "const": "redaction_policy",
                        "type": "string"
                      },
                      {
                        "const": "external_url",
                        "type": "string"
                      }
                    ]
                  },
                  "uri": {
                    "minLength": 1,
                    "type": "string"
                  }
                },
                "required": [
                  "type",
                  "uri"
                ],
                "type": "object",
                "x-runx-schema": "runx.reference.v1"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "target_ref",
          "selection_ref"
        ],
        "type": "object"
      },
      "justification": {
        "additionalProperties": false,
        "properties": {
          "evidence_refs": {
            "items": {
              "$id": "https://schemas.runx.dev/runx/reference/v1.json",
              "$schema": "https://json-schema.org/draft/2020-12/schema",
              "additionalProperties": false,
              "properties": {
                "label": {
                  "minLength": 1,
                  "type": "string"
                },
                "locator": {
                  "minLength": 1,
                  "type": "string"
                },
                "observed_at": {
                  "minLength": 1,
                  "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
                  "type": "string"
                },
                "proof_kind": {
                  "anyOf": [
                    {
                      "const": "effect_evidence",
                      "type": "string"
                    },
                    {
                      "const": "effect_finality",
                      "type": "string"
                    },
                    {
                      "const": "credential_resolution",
                      "type": "string"
                    }
                  ]
                },
                "provider": {
                  "minLength": 1,
                  "type": "string"
                },
                "schema": {
                  "const": "runx.reference.v1",
                  "type": "string"
                },
                "type": {
                  "anyOf": [
                    {
                      "const": "github_issue",
                      "type": "string"
                    },
                    {
                      "const": "github_pull_request",
                      "type": "string"
                    },
                    {
                      "const": "github_repo",
                      "type": "string"
                    },
                    {
                      "const": "slack_thread",
                      "type": "string"
                    },
                    {
                      "const": "sentry_event",
                      "type": "string"
                    },
                    {
                      "const": "provider_thread",
                      "type": "string"
                    },
                    {
                      "const": "provider_event",
                      "type": "string"
                    },
                    {
                      "const": "provider_comment",
                      "type": "string"
                    },
                    {
                      "const": "tracking_item",
                      "type": "string"
                    },
                    {
                      "const": "change_request",
                      "type": "string"
                    },
                    {
                      "const": "repository",
                      "type": "string"
                    },
                    {
                      "const": "support_ticket",
                      "type": "string"
                    },
                    {
                      "const": "signal",
                      "type": "string"
                    },
                    {
                      "const": "act",
                      "type": "string"
                    },
                    {
                      "const": "receipt",
                      "type": "string"
                    },
                    {
                      "const": "graph_receipt",
                      "type": "string"
                    },
                    {
                      "const": "artifact",
                      "type": "string"
                    },
                    {
                      "const": "verification",
                      "type": "string"
                    },
                    {
                      "const": "harness",
                      "type": "string"
                    },
                    {
                      "const": "host",
                      "type": "string"
                    },
                    {
                      "const": "deployment",
                      "type": "string"
                    },
                    {
                      "const": "surface",
                      "type": "string"
                    },
                    {
                      "const": "target",
                      "type": "string"
                    },
                    {
                      "const": "opportunity",
                      "type": "string"
                    },
                    {
                      "const": "thesis_assessment",
                      "type": "string"
                    },
                    {
                      "const": "selection",
                      "type": "string"
                    },
                    {
                      "const": "skill_binding",
                      "type": "string"
                    },
                    {
                      "const": "target_transition_entry",
                      "type": "string"
                    },
                    {
                      "const": "selection_cycle",
                      "type": "string"
                    },
                    {
                      "const": "decision",
                      "type": "string"
                    },
                    {
                      "const": "reflection_entry",
                      "type": "string"
                    },
                    {
                      "const": "feed_entry",
                      "type": "string"
                    },
                    {
                      "const": "principal",
                      "type": "string"
                    },
                    {
                      "const": "authority_proof",
                      "type": "string"
                    },
                    {
                      "const": "scope_admission",
                      "type": "string"
                    },
                    {
                      "const": "grant",
                      "type": "string"
                    },
                    {
                      "const": "mandate",
                      "type": "string"
                    },
                    {
                      "const": "credential",
                      "type": "string"
                    },
                    {
                      "const": "webhook_delivery",
                      "type": "string"
                    },
                    {
                      "const": "redaction_policy",
                      "type": "string"
                    },
                    {
                      "const": "external_url",
                      "type": "string"
                    }
                  ]
                },
                "uri": {
                  "minLength": 1,
                  "type": "string"
                }
              },
              "required": [
                "type",
                "uri"
              ],
              "type": "object",
              "x-runx-schema": "runx.reference.v1"
            },
            "type": "array"
          },
          "summary": {
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "summary"
        ],
        "type": "object"
      },
      "proposed_intent": {
        "additionalProperties": false,
        "properties": {
          "constraints": {
            "items": {
              "minLength": 1,
              "type": "string"
            },
            "type": "array"
          },
          "derived_from": {
            "items": {
              "$id": "https://schemas.runx.dev/runx/reference/v1.json",
              "$schema": "https://json-schema.org/draft/2020-12/schema",
              "additionalProperties": false,
              "properties": {
                "label": {
                  "minLength": 1,
                  "type": "string"
                },
                "locator": {
                  "minLength": 1,
                  "type": "string"
                },
                "observed_at": {
                  "minLength": 1,
                  "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
                  "type": "string"
                },
                "proof_kind": {
                  "anyOf": [
                    {
                      "const": "effect_evidence",
                      "type": "string"
                    },
                    {
                      "const": "effect_finality",
                      "type": "string"
                    },
                    {
                      "const": "credential_resolution",
                      "type": "string"
                    }
                  ]
                },
                "provider": {
                  "minLength": 1,
                  "type": "string"
                },
                "schema": {
                  "const": "runx.reference.v1",
                  "type": "string"
                },
                "type": {
                  "anyOf": [
                    {
                      "const": "github_issue",
                      "type": "string"
                    },
                    {
                      "const": "github_pull_request",
                      "type": "string"
                    },
                    {
                      "const": "github_repo",
                      "type": "string"
                    },
                    {
                      "const": "slack_thread",
                      "type": "string"
                    },
                    {
                      "const": "sentry_event",
                      "type": "string"
                    },
                    {
                      "const": "provider_thread",
                      "type": "string"
                    },
                    {
                      "const": "provider_event",
                      "type": "string"
                    },
                    {
                      "const": "provider_comment",
                      "type": "string"
                    },
                    {
                      "const": "tracking_item",
                      "type": "string"
                    },
                    {
                      "const": "change_request",
                      "type": "string"
                    },
                    {
                      "const": "repository",
                      "type": "string"
                    },
                    {
                      "const": "support_ticket",
                      "type": "string"
                    },
                    {
                      "const": "signal",
                      "type": "string"
                    },
                    {
                      "const": "act",
                      "type": "string"
                    },
                    {
                      "const": "receipt",
                      "type": "string"
                    },
                    {
                      "const": "graph_receipt",
                      "type": "string"
                    },
                    {
                      "const": "artifact",
                      "type": "string"
                    },
                    {
                      "const": "verification",
                      "type": "string"
                    },
                    {
                      "const": "harness",
                      "type": "string"
                    },
                    {
                      "const": "host",
                      "type": "string"
                    },
                    {
                      "const": "deployment",
                      "type": "string"
                    },
                    {
                      "const": "surface",
                      "type": "string"
                    },
                    {
                      "const": "target",
                      "type": "string"
                    },
                    {
                      "const": "opportunity",
                      "type": "string"
                    },
                    {
                      "const": "thesis_assessment",
                      "type": "string"
                    },
                    {
                      "const": "selection",
                      "type": "string"
                    },
                    {
                      "const": "skill_binding",
                      "type": "string"
                    },
                    {
                      "const": "target_transition_entry",
                      "type": "string"
                    },
                    {
                      "const": "selection_cycle",
                      "type": "string"
                    },
                    {
                      "const": "decision",
                      "type": "string"
                    },
                    {
                      "const": "reflection_entry",
                      "type": "string"
                    },
                    {
                      "const": "feed_entry",
                      "type": "string"
                    },
                    {
                      "const": "principal",
                      "type": "string"
                    },
                    {
                      "const": "authority_proof",
                      "type": "string"
                    },
                    {
                      "const": "scope_admission",
                      "type": "string"
                    },
                    {
                      "const": "grant",
                      "type": "string"
                    },
                    {
                      "const": "mandate",
                      "type": "string"
                    },
                    {
                      "const": "credential",
                      "type": "string"
                    },
                    {
                      "const": "webhook_delivery",
                      "type": "string"
                    },
                    {
                      "const": "redaction_policy",
                      "type": "string"
                    },
                    {
                      "const": "external_url",
                      "type": "string"
                    }
                  ]
                },
                "uri": {
                  "minLength": 1,
                  "type": "string"
                }
              },
              "required": [
                "type",
                "uri"
              ],
              "type": "object",
              "x-runx-schema": "runx.reference.v1"
            },
            "type": "array"
          },
          "legitimacy": {
            "minLength": 1,
            "type": "string"
          },
          "purpose": {
            "minLength": 1,
            "type": "string"
          },
          "success_criteria": {
            "items": {
              "additionalProperties": false,
              "properties": {
                "criterion_id": {
                  "minLength": 1,
                  "type": "string"
                },
                "required": {
                  "type": "boolean"
                },
                "statement": {
                  "minLength": 1,
                  "type": "string"
                }
              },
              "required": [
                "criterion_id",
                "statement",
                "required"
              ],
              "type": "object"
            },
            "type": "array"
          }
        },
        "required": [
          "purpose",
          "legitimacy"
        ],
        "type": "object"
      },
      "schema": {
        "const": "runx.decision.v1",
        "type": "string"
      },
      "selected_act_id": {
        "anyOf": [
          {
            "minLength": 1,
            "type": "string"
          },
          {
            "type": "null"
          }
        ]
      },
      "selected_harness_ref": {
        "anyOf": [
          {
            "$id": "https://schemas.runx.dev/runx/reference/v1.json",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "additionalProperties": false,
            "properties": {
              "label": {
                "minLength": 1,
                "type": "string"
              },
              "locator": {
                "minLength": 1,
                "type": "string"
              },
              "observed_at": {
                "minLength": 1,
                "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
                "type": "string"
              },
              "proof_kind": {
                "anyOf": [
                  {
                    "const": "effect_evidence",
                    "type": "string"
                  },
                  {
                    "const": "effect_finality",
                    "type": "string"
                  },
                  {
                    "const": "credential_resolution",
                    "type": "string"
                  }
                ]
              },
              "provider": {
                "minLength": 1,
                "type": "string"
              },
              "schema": {
                "const": "runx.reference.v1",
                "type": "string"
              },
              "type": {
                "anyOf": [
                  {
                    "const": "github_issue",
                    "type": "string"
                  },
                  {
                    "const": "github_pull_request",
                    "type": "string"
                  },
                  {
                    "const": "github_repo",
                    "type": "string"
                  },
                  {
                    "const": "slack_thread",
                    "type": "string"
                  },
                  {
                    "const": "sentry_event",
                    "type": "string"
                  },
                  {
                    "const": "provider_thread",
                    "type": "string"
                  },
                  {
                    "const": "provider_event",
                    "type": "string"
                  },
                  {
                    "const": "provider_comment",
                    "type": "string"
                  },
                  {
                    "const": "tracking_item",
                    "type": "string"
                  },
                  {
                    "const": "change_request",
                    "type": "string"
                  },
                  {
                    "const": "repository",
                    "type": "string"
                  },
                  {
                    "const": "support_ticket",
                    "type": "string"
                  },
                  {
                    "const": "signal",
                    "type": "string"
                  },
                  {
                    "const": "act",
                    "type": "string"
                  },
                  {
                    "const": "receipt",
                    "type": "string"
                  },
                  {
                    "const": "graph_receipt",
                    "type": "string"
                  },
                  {
                    "const": "artifact",
                    "type": "string"
                  },
                  {
                    "const": "verification",
                    "type": "string"
                  },
                  {
                    "const": "harness",
                    "type": "string"
                  },
                  {
                    "const": "host",
                    "type": "string"
                  },
                  {
                    "const": "deployment",
                    "type": "string"
                  },
                  {
                    "const": "surface",
                    "type": "string"
                  },
                  {
                    "const": "target",
                    "type": "string"
                  },
                  {
                    "const": "opportunity",
                    "type": "string"
                  },
                  {
                    "const": "thesis_assessment",
                    "type": "string"
                  },
                  {
                    "const": "selection",
                    "type": "string"
                  },
                  {
                    "const": "skill_binding",
                    "type": "string"
                  },
                  {
                    "const": "target_transition_entry",
                    "type": "string"
                  },
                  {
                    "const": "selection_cycle",
                    "type": "string"
                  },
                  {
                    "const": "decision",
                    "type": "string"
                  },
                  {
                    "const": "reflection_entry",
                    "type": "string"
                  },
                  {
                    "const": "feed_entry",
                    "type": "string"
                  },
                  {
                    "const": "principal",
                    "type": "string"
                  },
                  {
                    "const": "authority_proof",
                    "type": "string"
                  },
                  {
                    "const": "scope_admission",
                    "type": "string"
                  },
                  {
                    "const": "grant",
                    "type": "string"
                  },
                  {
                    "const": "mandate",
                    "type": "string"
                  },
                  {
                    "const": "credential",
                    "type": "string"
                  },
                  {
                    "const": "webhook_delivery",
                    "type": "string"
                  },
                  {
                    "const": "redaction_policy",
                    "type": "string"
                  },
                  {
                    "const": "external_url",
                    "type": "string"
                  }
                ]
              },
              "uri": {
                "minLength": 1,
                "type": "string"
              }
            },
            "required": [
              "type",
              "uri"
            ],
            "type": "object",
            "x-runx-schema": "runx.reference.v1"
          },
          {
            "type": "null"
          }
        ]
      }
    },
    "required": [
      "decision_id",
      "choice",
      "inputs",
      "proposed_intent",
      "selected_act_id",
      "selected_harness_ref",
      "justification",
      "closure"
    ],
    "type": "object",
    "x-runx-schema": "runx.decision.v1"
  } as JsonSchema,
  "dev.schema.json": {
    "$id": "https://schemas.runx.dev/runx/dev/v1.json",
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "additionalProperties": false,
    "properties": {
      "doctor": {
        "$id": "https://schemas.runx.dev/runx/doctor/v1.json",
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false,
        "properties": {
          "diagnostics": {
            "items": {
              "additionalProperties": false,
              "properties": {
                "evidence": {
                  "additionalProperties": {},
                  "type": "object"
                },
                "id": {
                  "type": "string"
                },
                "instance_id": {
                  "type": "string"
                },
                "location": {
                  "additionalProperties": false,
                  "properties": {
                    "json_pointer": {
                      "type": "string"
                    },
                    "path": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "path"
                  ],
                  "type": "object"
                },
                "message": {
                  "type": "string"
                },
                "repairs": {
                  "items": {
                    "additionalProperties": false,
                    "properties": {
                      "command": {
                        "type": "string"
                      },
                      "confidence": {
                        "anyOf": [
                          {
                            "const": "low",
                            "type": "string"
                          },
                          {
                            "const": "medium",
                            "type": "string"
                          },
                          {
                            "const": "high",
                            "type": "string"
                          }
                        ]
                      },
                      "contents": {
                        "type": "string"
                      },
                      "id": {
                        "type": "string"
                      },
                      "json_pointer": {
                        "type": "string"
                      },
                      "kind": {
                        "anyOf": [
                          {
                            "const": "create_file",
                            "type": "string"
                          },
                          {
                            "const": "replace_file",
                            "type": "string"
                          },
                          {
                            "const": "edit_yaml",
                            "type": "string"
                          },
                          {
                            "const": "edit_json",
                            "type": "string"
                          },
                          {
                            "const": "add_fixture",
                            "type": "string"
                          },
                          {
                            "const": "run_command",
                            "type": "string"
                          },
                          {
                            "const": "manual",
                            "type": "string"
                          }
                        ]
                      },
                      "patch": {
                        "type": "string"
                      },
                      "path": {
                        "type": "string"
                      },
                      "requires_human_review": {
                        "type": "boolean"
                      },
                      "risk": {
                        "anyOf": [
                          {
                            "const": "low",
                            "type": "string"
                          },
                          {
                            "const": "medium",
                            "type": "string"
                          },
                          {
                            "const": "high",
                            "type": "string"
                          },
                          {
                            "const": "sensitive",
                            "type": "string"
                          }
                        ]
                      }
                    },
                    "required": [
                      "id",
                      "kind",
                      "confidence",
                      "risk",
                      "requires_human_review"
                    ],
                    "type": "object"
                  },
                  "type": "array"
                },
                "severity": {
                  "anyOf": [
                    {
                      "const": "error",
                      "type": "string"
                    },
                    {
                      "const": "warning",
                      "type": "string"
                    },
                    {
                      "const": "info",
                      "type": "string"
                    }
                  ]
                },
                "target": {
                  "additionalProperties": {},
                  "type": "object"
                },
                "title": {
                  "type": "string"
                }
              },
              "required": [
                "id",
                "instance_id",
                "severity",
                "title",
                "message",
                "target",
                "location",
                "repairs"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "schema": {
            "anyOf": [
              {
                "const": "runx.doctor.v1",
                "type": "string"
              }
            ]
          },
          "status": {
            "anyOf": [
              {
                "const": "success",
                "type": "string"
              },
              {
                "const": "failure",
                "type": "string"
              }
            ]
          },
          "summary": {
            "additionalProperties": false,
            "properties": {
              "errors": {
                "type": "integer"
              },
              "infos": {
                "type": "integer"
              },
              "warnings": {
                "type": "integer"
              }
            },
            "required": [
              "errors",
              "warnings",
              "infos"
            ],
            "type": "object"
          }
        },
        "required": [
          "schema",
          "status",
          "summary",
          "diagnostics"
        ],
        "type": "object",
        "x-runx-schema": "runx.doctor.v1"
      },
      "fixtures": {
        "items": {
          "additionalProperties": false,
          "properties": {
            "assertions": {
              "items": {
                "additionalProperties": false,
                "properties": {
                  "actual": {},
                  "expected": {},
                  "kind": {
                    "anyOf": [
                      {
                        "const": "subset_miss",
                        "type": "string"
                      },
                      {
                        "const": "exact_mismatch",
                        "type": "string"
                      },
                      {
                        "const": "packet_invalid",
                        "type": "string"
                      },
                      {
                        "const": "status_mismatch",
                        "type": "string"
                      },
                      {
                        "const": "type_mismatch",
                        "type": "string"
                      }
                    ]
                  },
                  "message": {
                    "type": "string"
                  },
                  "path": {
                    "type": "string"
                  }
                },
                "required": [
                  "path",
                  "kind",
                  "message"
                ],
                "type": "object"
              },
              "type": "array"
            },
            "duration_ms": {
              "type": "integer"
            },
            "lane": {
              "type": "string"
            },
            "name": {
              "type": "string"
            },
            "output": {},
            "replay_path": {
              "type": "string"
            },
            "skip_reason": {
              "type": "string"
            },
            "status": {
              "anyOf": [
                {
                  "const": "success",
                  "type": "string"
                },
                {
                  "const": "failure",
                  "type": "string"
                },
                {
                  "const": "skipped",
                  "type": "string"
                }
              ]
            },
            "target": {
              "additionalProperties": {},
              "type": "object"
            }
          },
          "required": [
            "name",
            "lane",
            "target",
            "status",
            "duration_ms",
            "assertions"
          ],
          "type": "object"
        },
        "type": "array"
      },
      "receipt_id": {
        "type": "string"
      },
      "schema": {
        "anyOf": [
          {
            "const": "runx.dev.v1",
            "type": "string"
          }
        ]
      },
      "status": {
        "anyOf": [
          {
            "const": "success",
            "type": "string"
          },
          {
            "const": "failure",
            "type": "string"
          },
          {
            "const": "skipped",
            "type": "string"
          },
          {
            "const": "needs_approval",
            "type": "string"
          }
        ]
      }
    },
    "required": [
      "schema",
      "status",
      "doctor",
      "fixtures"
    ],
    "type": "object",
    "x-runx-schema": "runx.dev.v1"
  } as JsonSchema,
  "doctor.schema.json": {
    "$id": "https://schemas.runx.dev/runx/doctor/v1.json",
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "additionalProperties": false,
    "properties": {
      "diagnostics": {
        "items": {
          "additionalProperties": false,
          "properties": {
            "evidence": {
              "additionalProperties": {},
              "type": "object"
            },
            "id": {
              "type": "string"
            },
            "instance_id": {
              "type": "string"
            },
            "location": {
              "additionalProperties": false,
              "properties": {
                "json_pointer": {
                  "type": "string"
                },
                "path": {
                  "type": "string"
                }
              },
              "required": [
                "path"
              ],
              "type": "object"
            },
            "message": {
              "type": "string"
            },
            "repairs": {
              "items": {
                "additionalProperties": false,
                "properties": {
                  "command": {
                    "type": "string"
                  },
                  "confidence": {
                    "anyOf": [
                      {
                        "const": "low",
                        "type": "string"
                      },
                      {
                        "const": "medium",
                        "type": "string"
                      },
                      {
                        "const": "high",
                        "type": "string"
                      }
                    ]
                  },
                  "contents": {
                    "type": "string"
                  },
                  "id": {
                    "type": "string"
                  },
                  "json_pointer": {
                    "type": "string"
                  },
                  "kind": {
                    "anyOf": [
                      {
                        "const": "create_file",
                        "type": "string"
                      },
                      {
                        "const": "replace_file",
                        "type": "string"
                      },
                      {
                        "const": "edit_yaml",
                        "type": "string"
                      },
                      {
                        "const": "edit_json",
                        "type": "string"
                      },
                      {
                        "const": "add_fixture",
                        "type": "string"
                      },
                      {
                        "const": "run_command",
                        "type": "string"
                      },
                      {
                        "const": "manual",
                        "type": "string"
                      }
                    ]
                  },
                  "patch": {
                    "type": "string"
                  },
                  "path": {
                    "type": "string"
                  },
                  "requires_human_review": {
                    "type": "boolean"
                  },
                  "risk": {
                    "anyOf": [
                      {
                        "const": "low",
                        "type": "string"
                      },
                      {
                        "const": "medium",
                        "type": "string"
                      },
                      {
                        "const": "high",
                        "type": "string"
                      },
                      {
                        "const": "sensitive",
                        "type": "string"
                      }
                    ]
                  }
                },
                "required": [
                  "id",
                  "kind",
                  "confidence",
                  "risk",
                  "requires_human_review"
                ],
                "type": "object"
              },
              "type": "array"
            },
            "severity": {
              "anyOf": [
                {
                  "const": "error",
                  "type": "string"
                },
                {
                  "const": "warning",
                  "type": "string"
                },
                {
                  "const": "info",
                  "type": "string"
                }
              ]
            },
            "target": {
              "additionalProperties": {},
              "type": "object"
            },
            "title": {
              "type": "string"
            }
          },
          "required": [
            "id",
            "instance_id",
            "severity",
            "title",
            "message",
            "target",
            "location",
            "repairs"
          ],
          "type": "object"
        },
        "type": "array"
      },
      "schema": {
        "anyOf": [
          {
            "const": "runx.doctor.v1",
            "type": "string"
          }
        ]
      },
      "status": {
        "anyOf": [
          {
            "const": "success",
            "type": "string"
          },
          {
            "const": "failure",
            "type": "string"
          }
        ]
      },
      "summary": {
        "additionalProperties": false,
        "properties": {
          "errors": {
            "type": "integer"
          },
          "infos": {
            "type": "integer"
          },
          "warnings": {
            "type": "integer"
          }
        },
        "required": [
          "errors",
          "warnings",
          "infos"
        ],
        "type": "object"
      }
    },
    "required": [
      "schema",
      "status",
      "summary",
      "diagnostics"
    ],
    "type": "object",
    "x-runx-schema": "runx.doctor.v1"
  } as JsonSchema,
  "effect-finality-receipt.schema.json": {
    "$id": "https://schemas.runx.dev/runx/effect-finality-receipt/v1.json",
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "additionalProperties": false,
    "properties": {
      "confirmation_depth": {
        "type": "integer"
      },
      "created_at": {
        "minLength": 1,
        "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
        "type": "string"
      },
      "criterion_id": {
        "minLength": 1,
        "type": "string"
      },
      "evidence_refs": {
        "items": {
          "$id": "https://schemas.runx.dev/runx/reference/v1.json",
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "additionalProperties": false,
          "properties": {
            "label": {
              "minLength": 1,
              "type": "string"
            },
            "locator": {
              "minLength": 1,
              "type": "string"
            },
            "observed_at": {
              "minLength": 1,
              "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
              "type": "string"
            },
            "proof_kind": {
              "anyOf": [
                {
                  "const": "effect_evidence",
                  "type": "string"
                },
                {
                  "const": "effect_finality",
                  "type": "string"
                },
                {
                  "const": "credential_resolution",
                  "type": "string"
                }
              ]
            },
            "provider": {
              "minLength": 1,
              "type": "string"
            },
            "schema": {
              "const": "runx.reference.v1",
              "type": "string"
            },
            "type": {
              "anyOf": [
                {
                  "const": "github_issue",
                  "type": "string"
                },
                {
                  "const": "github_pull_request",
                  "type": "string"
                },
                {
                  "const": "github_repo",
                  "type": "string"
                },
                {
                  "const": "slack_thread",
                  "type": "string"
                },
                {
                  "const": "sentry_event",
                  "type": "string"
                },
                {
                  "const": "provider_thread",
                  "type": "string"
                },
                {
                  "const": "provider_event",
                  "type": "string"
                },
                {
                  "const": "provider_comment",
                  "type": "string"
                },
                {
                  "const": "tracking_item",
                  "type": "string"
                },
                {
                  "const": "change_request",
                  "type": "string"
                },
                {
                  "const": "repository",
                  "type": "string"
                },
                {
                  "const": "support_ticket",
                  "type": "string"
                },
                {
                  "const": "signal",
                  "type": "string"
                },
                {
                  "const": "act",
                  "type": "string"
                },
                {
                  "const": "receipt",
                  "type": "string"
                },
                {
                  "const": "graph_receipt",
                  "type": "string"
                },
                {
                  "const": "artifact",
                  "type": "string"
                },
                {
                  "const": "verification",
                  "type": "string"
                },
                {
                  "const": "harness",
                  "type": "string"
                },
                {
                  "const": "host",
                  "type": "string"
                },
                {
                  "const": "deployment",
                  "type": "string"
                },
                {
                  "const": "surface",
                  "type": "string"
                },
                {
                  "const": "target",
                  "type": "string"
                },
                {
                  "const": "opportunity",
                  "type": "string"
                },
                {
                  "const": "thesis_assessment",
                  "type": "string"
                },
                {
                  "const": "selection",
                  "type": "string"
                },
                {
                  "const": "skill_binding",
                  "type": "string"
                },
                {
                  "const": "target_transition_entry",
                  "type": "string"
                },
                {
                  "const": "selection_cycle",
                  "type": "string"
                },
                {
                  "const": "decision",
                  "type": "string"
                },
                {
                  "const": "reflection_entry",
                  "type": "string"
                },
                {
                  "const": "feed_entry",
                  "type": "string"
                },
                {
                  "const": "principal",
                  "type": "string"
                },
                {
                  "const": "authority_proof",
                  "type": "string"
                },
                {
                  "const": "scope_admission",
                  "type": "string"
                },
                {
                  "const": "grant",
                  "type": "string"
                },
                {
                  "const": "mandate",
                  "type": "string"
                },
                {
                  "const": "credential",
                  "type": "string"
                },
                {
                  "const": "webhook_delivery",
                  "type": "string"
                },
                {
                  "const": "redaction_policy",
                  "type": "string"
                },
                {
                  "const": "external_url",
                  "type": "string"
                }
              ]
            },
            "uri": {
              "minLength": 1,
              "type": "string"
            }
          },
          "required": [
            "type",
            "uri"
          ],
          "type": "object",
          "x-runx-schema": "runx.reference.v1"
        },
        "type": "array"
      },
      "family": {
        "minLength": 1,
        "type": "string"
      },
      "id": {
        "minLength": 1,
        "type": "string"
      },
      "norm_refs": {
        "items": {
          "minLength": 1,
          "type": "string"
        },
        "type": "array"
      },
      "original_receipt_ref": {
        "$id": "https://schemas.runx.dev/runx/reference/v1.json",
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false,
        "properties": {
          "label": {
            "minLength": 1,
            "type": "string"
          },
          "locator": {
            "minLength": 1,
            "type": "string"
          },
          "observed_at": {
            "minLength": 1,
            "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
            "type": "string"
          },
          "proof_kind": {
            "anyOf": [
              {
                "const": "effect_evidence",
                "type": "string"
              },
              {
                "const": "effect_finality",
                "type": "string"
              },
              {
                "const": "credential_resolution",
                "type": "string"
              }
            ]
          },
          "provider": {
            "minLength": 1,
            "type": "string"
          },
          "schema": {
            "const": "runx.reference.v1",
            "type": "string"
          },
          "type": {
            "anyOf": [
              {
                "const": "github_issue",
                "type": "string"
              },
              {
                "const": "github_pull_request",
                "type": "string"
              },
              {
                "const": "github_repo",
                "type": "string"
              },
              {
                "const": "slack_thread",
                "type": "string"
              },
              {
                "const": "sentry_event",
                "type": "string"
              },
              {
                "const": "provider_thread",
                "type": "string"
              },
              {
                "const": "provider_event",
                "type": "string"
              },
              {
                "const": "provider_comment",
                "type": "string"
              },
              {
                "const": "tracking_item",
                "type": "string"
              },
              {
                "const": "change_request",
                "type": "string"
              },
              {
                "const": "repository",
                "type": "string"
              },
              {
                "const": "support_ticket",
                "type": "string"
              },
              {
                "const": "signal",
                "type": "string"
              },
              {
                "const": "act",
                "type": "string"
              },
              {
                "const": "receipt",
                "type": "string"
              },
              {
                "const": "graph_receipt",
                "type": "string"
              },
              {
                "const": "artifact",
                "type": "string"
              },
              {
                "const": "verification",
                "type": "string"
              },
              {
                "const": "harness",
                "type": "string"
              },
              {
                "const": "host",
                "type": "string"
              },
              {
                "const": "deployment",
                "type": "string"
              },
              {
                "const": "surface",
                "type": "string"
              },
              {
                "const": "target",
                "type": "string"
              },
              {
                "const": "opportunity",
                "type": "string"
              },
              {
                "const": "thesis_assessment",
                "type": "string"
              },
              {
                "const": "selection",
                "type": "string"
              },
              {
                "const": "skill_binding",
                "type": "string"
              },
              {
                "const": "target_transition_entry",
                "type": "string"
              },
              {
                "const": "selection_cycle",
                "type": "string"
              },
              {
                "const": "decision",
                "type": "string"
              },
              {
                "const": "reflection_entry",
                "type": "string"
              },
              {
                "const": "feed_entry",
                "type": "string"
              },
              {
                "const": "principal",
                "type": "string"
              },
              {
                "const": "authority_proof",
                "type": "string"
              },
              {
                "const": "scope_admission",
                "type": "string"
              },
              {
                "const": "grant",
                "type": "string"
              },
              {
                "const": "mandate",
                "type": "string"
              },
              {
                "const": "credential",
                "type": "string"
              },
              {
                "const": "webhook_delivery",
                "type": "string"
              },
              {
                "const": "redaction_policy",
                "type": "string"
              },
              {
                "const": "external_url",
                "type": "string"
              }
            ]
          },
          "uri": {
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "type",
          "uri"
        ],
        "type": "object",
        "x-runx-schema": "runx.reference.v1"
      },
      "payload": {
        "additionalProperties": {},
        "type": "object"
      },
      "phase": {
        "anyOf": [
          {
            "const": "provisional",
            "type": "string"
          },
          {
            "const": "in_flight",
            "type": "string"
          },
          {
            "const": "sealed",
            "type": "string"
          },
          {
            "const": "failed",
            "type": "string"
          },
          {
            "const": "reversed",
            "type": "string"
          }
        ]
      },
      "proof_ref": {
        "$id": "https://schemas.runx.dev/runx/reference/v1.json",
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false,
        "properties": {
          "label": {
            "minLength": 1,
            "type": "string"
          },
          "locator": {
            "minLength": 1,
            "type": "string"
          },
          "observed_at": {
            "minLength": 1,
            "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
            "type": "string"
          },
          "proof_kind": {
            "anyOf": [
              {
                "const": "effect_evidence",
                "type": "string"
              },
              {
                "const": "effect_finality",
                "type": "string"
              },
              {
                "const": "credential_resolution",
                "type": "string"
              }
            ]
          },
          "provider": {
            "minLength": 1,
            "type": "string"
          },
          "schema": {
            "const": "runx.reference.v1",
            "type": "string"
          },
          "type": {
            "anyOf": [
              {
                "const": "github_issue",
                "type": "string"
              },
              {
                "const": "github_pull_request",
                "type": "string"
              },
              {
                "const": "github_repo",
                "type": "string"
              },
              {
                "const": "slack_thread",
                "type": "string"
              },
              {
                "const": "sentry_event",
                "type": "string"
              },
              {
                "const": "provider_thread",
                "type": "string"
              },
              {
                "const": "provider_event",
                "type": "string"
              },
              {
                "const": "provider_comment",
                "type": "string"
              },
              {
                "const": "tracking_item",
                "type": "string"
              },
              {
                "const": "change_request",
                "type": "string"
              },
              {
                "const": "repository",
                "type": "string"
              },
              {
                "const": "support_ticket",
                "type": "string"
              },
              {
                "const": "signal",
                "type": "string"
              },
              {
                "const": "act",
                "type": "string"
              },
              {
                "const": "receipt",
                "type": "string"
              },
              {
                "const": "graph_receipt",
                "type": "string"
              },
              {
                "const": "artifact",
                "type": "string"
              },
              {
                "const": "verification",
                "type": "string"
              },
              {
                "const": "harness",
                "type": "string"
              },
              {
                "const": "host",
                "type": "string"
              },
              {
                "const": "deployment",
                "type": "string"
              },
              {
                "const": "surface",
                "type": "string"
              },
              {
                "const": "target",
                "type": "string"
              },
              {
                "const": "opportunity",
                "type": "string"
              },
              {
                "const": "thesis_assessment",
                "type": "string"
              },
              {
                "const": "selection",
                "type": "string"
              },
              {
                "const": "skill_binding",
                "type": "string"
              },
              {
                "const": "target_transition_entry",
                "type": "string"
              },
              {
                "const": "selection_cycle",
                "type": "string"
              },
              {
                "const": "decision",
                "type": "string"
              },
              {
                "const": "reflection_entry",
                "type": "string"
              },
              {
                "const": "feed_entry",
                "type": "string"
              },
              {
                "const": "principal",
                "type": "string"
              },
              {
                "const": "authority_proof",
                "type": "string"
              },
              {
                "const": "scope_admission",
                "type": "string"
              },
              {
                "const": "grant",
                "type": "string"
              },
              {
                "const": "mandate",
                "type": "string"
              },
              {
                "const": "credential",
                "type": "string"
              },
              {
                "const": "webhook_delivery",
                "type": "string"
              },
              {
                "const": "redaction_policy",
                "type": "string"
              },
              {
                "const": "external_url",
                "type": "string"
              }
            ]
          },
          "uri": {
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "type",
          "uri"
        ],
        "type": "object",
        "x-runx-schema": "runx.reference.v1"
      },
      "schema": {
        "anyOf": [
          {
            "const": "runx.effect_finality_receipt.v1",
            "type": "string"
          }
        ]
      }
    },
    "required": [
      "schema",
      "id",
      "created_at",
      "family",
      "phase",
      "original_receipt_ref",
      "criterion_id"
    ],
    "type": "object",
    "x-runx-schema": "runx.effect_finality_receipt.v1"
  } as JsonSchema,
  "external-adapter-cancellation.schema.json": {
    "$id": "https://schemas.runx.dev/runx/external-adapter/cancellation/v1.json",
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "additionalProperties": false,
    "properties": {
      "adapter_id": {
        "minLength": 1,
        "type": "string"
      },
      "frame_id": {
        "minLength": 1,
        "type": "string"
      },
      "invocation_id": {
        "minLength": 1,
        "type": "string"
      },
      "protocol_version": {
        "anyOf": [
          {
            "const": "runx.external_adapter.v1",
            "type": "string"
          }
        ]
      },
      "reason": {
        "minLength": 1,
        "type": "string"
      },
      "requested_at": {
        "minLength": 1,
        "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
        "type": "string"
      },
      "schema": {
        "anyOf": [
          {
            "const": "runx.external_adapter.cancellation.v1",
            "type": "string"
          }
        ]
      }
    },
    "required": [
      "schema",
      "protocol_version",
      "frame_id",
      "invocation_id",
      "adapter_id",
      "reason",
      "requested_at"
    ],
    "type": "object",
    "x-runx-schema": "runx.external_adapter.cancellation.v1"
  } as JsonSchema,
  "external-adapter-credential-request.schema.json": {
    "$id": "https://schemas.runx.dev/runx/external-adapter/credential-request/v1.json",
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "additionalProperties": false,
    "properties": {
      "adapter_id": {
        "minLength": 1,
        "type": "string"
      },
      "credential_refs": {
        "items": {
          "additionalProperties": false,
          "properties": {
            "credential_ref": {
              "$id": "https://schemas.runx.dev/runx/reference/v1.json",
              "$schema": "https://json-schema.org/draft/2020-12/schema",
              "additionalProperties": false,
              "properties": {
                "label": {
                  "minLength": 1,
                  "type": "string"
                },
                "locator": {
                  "minLength": 1,
                  "type": "string"
                },
                "observed_at": {
                  "minLength": 1,
                  "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
                  "type": "string"
                },
                "proof_kind": {
                  "anyOf": [
                    {
                      "const": "effect_evidence",
                      "type": "string"
                    },
                    {
                      "const": "effect_finality",
                      "type": "string"
                    },
                    {
                      "const": "credential_resolution",
                      "type": "string"
                    }
                  ]
                },
                "provider": {
                  "minLength": 1,
                  "type": "string"
                },
                "schema": {
                  "const": "runx.reference.v1",
                  "type": "string"
                },
                "type": {
                  "anyOf": [
                    {
                      "const": "github_issue",
                      "type": "string"
                    },
                    {
                      "const": "github_pull_request",
                      "type": "string"
                    },
                    {
                      "const": "github_repo",
                      "type": "string"
                    },
                    {
                      "const": "slack_thread",
                      "type": "string"
                    },
                    {
                      "const": "sentry_event",
                      "type": "string"
                    },
                    {
                      "const": "provider_thread",
                      "type": "string"
                    },
                    {
                      "const": "provider_event",
                      "type": "string"
                    },
                    {
                      "const": "provider_comment",
                      "type": "string"
                    },
                    {
                      "const": "tracking_item",
                      "type": "string"
                    },
                    {
                      "const": "change_request",
                      "type": "string"
                    },
                    {
                      "const": "repository",
                      "type": "string"
                    },
                    {
                      "const": "support_ticket",
                      "type": "string"
                    },
                    {
                      "const": "signal",
                      "type": "string"
                    },
                    {
                      "const": "act",
                      "type": "string"
                    },
                    {
                      "const": "receipt",
                      "type": "string"
                    },
                    {
                      "const": "graph_receipt",
                      "type": "string"
                    },
                    {
                      "const": "artifact",
                      "type": "string"
                    },
                    {
                      "const": "verification",
                      "type": "string"
                    },
                    {
                      "const": "harness",
                      "type": "string"
                    },
                    {
                      "const": "host",
                      "type": "string"
                    },
                    {
                      "const": "deployment",
                      "type": "string"
                    },
                    {
                      "const": "surface",
                      "type": "string"
                    },
                    {
                      "const": "target",
                      "type": "string"
                    },
                    {
                      "const": "opportunity",
                      "type": "string"
                    },
                    {
                      "const": "thesis_assessment",
                      "type": "string"
                    },
                    {
                      "const": "selection",
                      "type": "string"
                    },
                    {
                      "const": "skill_binding",
                      "type": "string"
                    },
                    {
                      "const": "target_transition_entry",
                      "type": "string"
                    },
                    {
                      "const": "selection_cycle",
                      "type": "string"
                    },
                    {
                      "const": "decision",
                      "type": "string"
                    },
                    {
                      "const": "reflection_entry",
                      "type": "string"
                    },
                    {
                      "const": "feed_entry",
                      "type": "string"
                    },
                    {
                      "const": "principal",
                      "type": "string"
                    },
                    {
                      "const": "authority_proof",
                      "type": "string"
                    },
                    {
                      "const": "scope_admission",
                      "type": "string"
                    },
                    {
                      "const": "grant",
                      "type": "string"
                    },
                    {
                      "const": "mandate",
                      "type": "string"
                    },
                    {
                      "const": "credential",
                      "type": "string"
                    },
                    {
                      "const": "webhook_delivery",
                      "type": "string"
                    },
                    {
                      "const": "redaction_policy",
                      "type": "string"
                    },
                    {
                      "const": "external_url",
                      "type": "string"
                    }
                  ]
                },
                "uri": {
                  "minLength": 1,
                  "type": "string"
                }
              },
              "required": [
                "type",
                "uri"
              ],
              "type": "object",
              "x-runx-schema": "runx.reference.v1"
            },
            "provider": {
              "minLength": 1,
              "type": "string"
            },
            "purpose": {
              "anyOf": [
                {
                  "const": "provider_api",
                  "type": "string"
                },
                {
                  "const": "registry",
                  "type": "string"
                },
                {
                  "const": "artifact_store",
                  "type": "string"
                },
                {
                  "const": "webhook_verification",
                  "type": "string"
                }
              ]
            }
          },
          "required": [
            "credential_ref",
            "provider",
            "purpose"
          ],
          "type": "object"
        },
        "type": "array"
      },
      "invocation_id": {
        "minLength": 1,
        "type": "string"
      },
      "protocol_version": {
        "anyOf": [
          {
            "const": "runx.external_adapter.v1",
            "type": "string"
          }
        ]
      },
      "request_id": {
        "minLength": 1,
        "type": "string"
      },
      "requested_at": {
        "minLength": 1,
        "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
        "type": "string"
      },
      "schema": {
        "anyOf": [
          {
            "const": "runx.external_adapter.credential_request.v1",
            "type": "string"
          }
        ]
      }
    },
    "required": [
      "schema",
      "protocol_version",
      "request_id",
      "adapter_id",
      "invocation_id",
      "credential_refs",
      "requested_at"
    ],
    "type": "object",
    "x-runx-schema": "runx.external_adapter.credential_request.v1"
  } as JsonSchema,
  "external-adapter-host-resolution.schema.json": {
    "$id": "https://schemas.runx.dev/runx/external-adapter/host-resolution/v1.json",
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "additionalProperties": false,
    "properties": {
      "adapter_id": {
        "minLength": 1,
        "type": "string"
      },
      "frame_id": {
        "minLength": 1,
        "type": "string"
      },
      "invocation_id": {
        "minLength": 1,
        "type": "string"
      },
      "protocol_version": {
        "anyOf": [
          {
            "const": "runx.external_adapter.v1",
            "type": "string"
          }
        ]
      },
      "request": {
        "$id": "https://runx.ai/spec/resolution-request.schema.json",
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "anyOf": [
          {
            "additionalProperties": false,
            "properties": {
              "id": {
                "minLength": 1,
                "type": "string"
              },
              "kind": {
                "const": "input",
                "type": "string"
              },
              "questions": {
                "items": {
                  "$id": "https://runx.ai/spec/question.schema.json",
                  "$schema": "https://json-schema.org/draft/2020-12/schema",
                  "additionalProperties": false,
                  "properties": {
                    "description": {
                      "type": "string"
                    },
                    "id": {
                      "minLength": 1,
                      "type": "string"
                    },
                    "prompt": {
                      "minLength": 1,
                      "type": "string"
                    },
                    "required": {
                      "type": "boolean"
                    },
                    "type": {
                      "minLength": 1,
                      "type": "string"
                    }
                  },
                  "required": [
                    "id",
                    "prompt",
                    "required",
                    "type"
                  ],
                  "type": "object"
                },
                "type": "array"
              }
            },
            "required": [
              "kind",
              "id",
              "questions"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "properties": {
              "gate": {
                "$id": "https://runx.ai/spec/approval-gate.schema.json",
                "$schema": "https://json-schema.org/draft/2020-12/schema",
                "additionalProperties": false,
                "properties": {
                  "id": {
                    "minLength": 1,
                    "type": "string"
                  },
                  "reason": {
                    "minLength": 1,
                    "type": "string"
                  },
                  "summary": {
                    "additionalProperties": {},
                    "type": "object"
                  },
                  "type": {
                    "type": "string"
                  }
                },
                "required": [
                  "id",
                  "reason"
                ],
                "type": "object"
              },
              "id": {
                "minLength": 1,
                "type": "string"
              },
              "kind": {
                "const": "approval",
                "type": "string"
              }
            },
            "required": [
              "kind",
              "id",
              "gate"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "properties": {
              "id": {
                "minLength": 1,
                "type": "string"
              },
              "invocation": {
                "$id": "https://runx.ai/spec/agent-act-invocation.schema.json",
                "$schema": "https://json-schema.org/draft/2020-12/schema",
                "additionalProperties": false,
                "properties": {
                  "agent": {
                    "minLength": 1,
                    "type": "string"
                  },
                  "envelope": {
                    "$id": "https://runx.ai/spec/agent-context-envelope.schema.json",
                    "$schema": "https://json-schema.org/draft/2020-12/schema",
                    "additionalProperties": false,
                    "properties": {
                      "allowed_tools": {
                        "items": {
                          "minLength": 1,
                          "type": "string"
                        },
                        "type": "array"
                      },
                      "context": {
                        "additionalProperties": false,
                        "properties": {
                          "conventions": {
                            "additionalProperties": false,
                            "properties": {
                              "content": {
                                "type": "string"
                              },
                              "path": {
                                "minLength": 1,
                                "type": "string"
                              },
                              "root_path": {
                                "minLength": 1,
                                "type": "string"
                              },
                              "sha256": {
                                "minLength": 1,
                                "type": "string"
                              }
                            },
                            "required": [
                              "root_path",
                              "path",
                              "sha256",
                              "content"
                            ],
                            "type": "object"
                          },
                          "memory": {
                            "additionalProperties": false,
                            "properties": {
                              "content": {
                                "type": "string"
                              },
                              "path": {
                                "minLength": 1,
                                "type": "string"
                              },
                              "root_path": {
                                "minLength": 1,
                                "type": "string"
                              },
                              "sha256": {
                                "minLength": 1,
                                "type": "string"
                              }
                            },
                            "required": [
                              "root_path",
                              "path",
                              "sha256",
                              "content"
                            ],
                            "type": "object"
                          }
                        },
                        "type": "object"
                      },
                      "current_context": {
                        "items": {
                          "additionalProperties": false,
                          "properties": {
                            "data": {
                              "additionalProperties": {},
                              "type": "object"
                            },
                            "meta": {
                              "additionalProperties": false,
                              "properties": {
                                "artifact_id": {
                                  "minLength": 1,
                                  "type": "string"
                                },
                                "created_at": {
                                  "minLength": 1,
                                  "type": "string"
                                },
                                "hash": {
                                  "minLength": 1,
                                  "type": "string"
                                },
                                "parent_artifact_id": {
                                  "anyOf": [
                                    {
                                      "minLength": 1,
                                      "type": "string"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "producer": {
                                  "additionalProperties": false,
                                  "properties": {
                                    "runner": {
                                      "minLength": 1,
                                      "type": "string"
                                    },
                                    "skill": {
                                      "minLength": 1,
                                      "type": "string"
                                    }
                                  },
                                  "required": [
                                    "skill",
                                    "runner"
                                  ],
                                  "type": "object"
                                },
                                "receipt_id": {
                                  "anyOf": [
                                    {
                                      "minLength": 1,
                                      "type": "string"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "redacted": {
                                  "type": "boolean"
                                },
                                "run_id": {
                                  "minLength": 1,
                                  "type": "string"
                                },
                                "size_bytes": {
                                  "type": "integer"
                                },
                                "step_id": {
                                  "anyOf": [
                                    {
                                      "minLength": 1,
                                      "type": "string"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                }
                              },
                              "required": [
                                "artifact_id",
                                "run_id",
                                "step_id",
                                "producer",
                                "created_at",
                                "hash",
                                "size_bytes",
                                "parent_artifact_id",
                                "receipt_id",
                                "redacted"
                              ],
                              "type": "object"
                            },
                            "type": {
                              "anyOf": [
                                {
                                  "minLength": 1,
                                  "type": "string"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "version": {
                              "anyOf": [
                                {
                                  "const": "1",
                                  "type": "string"
                                }
                              ]
                            }
                          },
                          "required": [
                            "type",
                            "version",
                            "data",
                            "meta"
                          ],
                          "type": "object"
                        },
                        "type": "array"
                      },
                      "execution_location": {
                        "additionalProperties": false,
                        "properties": {
                          "skill_directory": {
                            "minLength": 1,
                            "type": "string"
                          },
                          "tool_roots": {
                            "items": {
                              "minLength": 1,
                              "type": "string"
                            },
                            "type": "array"
                          }
                        },
                        "required": [
                          "skill_directory"
                        ],
                        "type": "object"
                      },
                      "historical_context": {
                        "items": {
                          "additionalProperties": false,
                          "properties": {
                            "data": {
                              "additionalProperties": {},
                              "type": "object"
                            },
                            "meta": {
                              "additionalProperties": false,
                              "properties": {
                                "artifact_id": {
                                  "minLength": 1,
                                  "type": "string"
                                },
                                "created_at": {
                                  "minLength": 1,
                                  "type": "string"
                                },
                                "hash": {
                                  "minLength": 1,
                                  "type": "string"
                                },
                                "parent_artifact_id": {
                                  "anyOf": [
                                    {
                                      "minLength": 1,
                                      "type": "string"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "producer": {
                                  "additionalProperties": false,
                                  "properties": {
                                    "runner": {
                                      "minLength": 1,
                                      "type": "string"
                                    },
                                    "skill": {
                                      "minLength": 1,
                                      "type": "string"
                                    }
                                  },
                                  "required": [
                                    "skill",
                                    "runner"
                                  ],
                                  "type": "object"
                                },
                                "receipt_id": {
                                  "anyOf": [
                                    {
                                      "minLength": 1,
                                      "type": "string"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "redacted": {
                                  "type": "boolean"
                                },
                                "run_id": {
                                  "minLength": 1,
                                  "type": "string"
                                },
                                "size_bytes": {
                                  "type": "integer"
                                },
                                "step_id": {
                                  "anyOf": [
                                    {
                                      "minLength": 1,
                                      "type": "string"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                }
                              },
                              "required": [
                                "artifact_id",
                                "run_id",
                                "step_id",
                                "producer",
                                "created_at",
                                "hash",
                                "size_bytes",
                                "parent_artifact_id",
                                "receipt_id",
                                "redacted"
                              ],
                              "type": "object"
                            },
                            "type": {
                              "anyOf": [
                                {
                                  "minLength": 1,
                                  "type": "string"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "version": {
                              "anyOf": [
                                {
                                  "const": "1",
                                  "type": "string"
                                }
                              ]
                            }
                          },
                          "required": [
                            "type",
                            "version",
                            "data",
                            "meta"
                          ],
                          "type": "object"
                        },
                        "type": "array"
                      },
                      "inputs": {
                        "additionalProperties": {},
                        "type": "object"
                      },
                      "instructions": {
                        "minLength": 1,
                        "type": "string"
                      },
                      "output": {
                        "additionalProperties": {
                          "anyOf": [
                            {
                              "anyOf": [
                                {
                                  "const": "string",
                                  "type": "string"
                                },
                                {
                                  "const": "number",
                                  "type": "string"
                                },
                                {
                                  "const": "integer",
                                  "type": "string"
                                },
                                {
                                  "const": "boolean",
                                  "type": "string"
                                },
                                {
                                  "const": "array",
                                  "type": "string"
                                },
                                {
                                  "const": "object",
                                  "type": "string"
                                },
                                {
                                  "const": "null",
                                  "type": "string"
                                }
                              ]
                            },
                            {
                              "additionalProperties": false,
                              "properties": {
                                "description": {
                                  "type": "string"
                                },
                                "enum": {
                                  "items": {
                                    "type": "string"
                                  },
                                  "type": "array"
                                },
                                "required": {
                                  "type": "boolean"
                                },
                                "type": {
                                  "anyOf": [
                                    {
                                      "const": "string",
                                      "type": "string"
                                    },
                                    {
                                      "const": "number",
                                      "type": "string"
                                    },
                                    {
                                      "const": "integer",
                                      "type": "string"
                                    },
                                    {
                                      "const": "boolean",
                                      "type": "string"
                                    },
                                    {
                                      "const": "array",
                                      "type": "string"
                                    },
                                    {
                                      "const": "object",
                                      "type": "string"
                                    },
                                    {
                                      "const": "null",
                                      "type": "string"
                                    }
                                  ]
                                },
                                "wrap_as": {
                                  "minLength": 1,
                                  "type": "string"
                                }
                              },
                              "type": "object"
                            }
                          ]
                        },
                        "type": "object"
                      },
                      "provenance": {
                        "items": {
                          "additionalProperties": false,
                          "properties": {
                            "artifact_id": {
                              "type": "string"
                            },
                            "from_step": {
                              "type": "string"
                            },
                            "input": {
                              "minLength": 1,
                              "type": "string"
                            },
                            "output": {
                              "minLength": 1,
                              "type": "string"
                            },
                            "receipt_id": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "input",
                            "output"
                          ],
                          "type": "object"
                        },
                        "type": "array"
                      },
                      "quality_profile": {
                        "additionalProperties": false,
                        "properties": {
                          "content": {
                            "type": "string"
                          },
                          "sha256": {
                            "minLength": 1,
                            "type": "string"
                          },
                          "source": {
                            "anyOf": [
                              {
                                "const": "SKILL.md#quality-profile",
                                "type": "string"
                              }
                            ]
                          }
                        },
                        "required": [
                          "source",
                          "sha256",
                          "content"
                        ],
                        "type": "object"
                      },
                      "run_id": {
                        "minLength": 1,
                        "type": "string"
                      },
                      "skill": {
                        "minLength": 1,
                        "type": "string"
                      },
                      "step_id": {
                        "minLength": 1,
                        "type": "string"
                      },
                      "trust_boundary": {
                        "minLength": 1,
                        "type": "string"
                      },
                      "voice_profile": {
                        "additionalProperties": false,
                        "properties": {
                          "content": {
                            "type": "string"
                          },
                          "path": {
                            "minLength": 1,
                            "type": "string"
                          },
                          "root_path": {
                            "minLength": 1,
                            "type": "string"
                          },
                          "sha256": {
                            "minLength": 1,
                            "type": "string"
                          }
                        },
                        "required": [
                          "root_path",
                          "path",
                          "sha256",
                          "content"
                        ],
                        "type": "object"
                      }
                    },
                    "required": [
                      "run_id",
                      "skill",
                      "instructions",
                      "inputs",
                      "allowed_tools",
                      "current_context",
                      "historical_context",
                      "provenance",
                      "trust_boundary"
                    ],
                    "type": "object"
                  },
                  "id": {
                    "minLength": 1,
                    "type": "string"
                  },
                  "source_type": {
                    "anyOf": [
                      {
                        "const": "agent",
                        "type": "string"
                      },
                      {
                        "const": "agent-task",
                        "type": "string"
                      }
                    ]
                  },
                  "task": {
                    "minLength": 1,
                    "type": "string"
                  }
                },
                "required": [
                  "id",
                  "source_type",
                  "envelope"
                ],
                "type": "object"
              },
              "kind": {
                "const": "agent_act",
                "type": "string"
              }
            },
            "required": [
              "kind",
              "id",
              "invocation"
            ],
            "type": "object"
          }
        ]
      },
      "requested_at": {
        "minLength": 1,
        "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
        "type": "string"
      },
      "schema": {
        "anyOf": [
          {
            "const": "runx.external_adapter.host_resolution.v1",
            "type": "string"
          }
        ]
      }
    },
    "required": [
      "schema",
      "protocol_version",
      "frame_id",
      "invocation_id",
      "adapter_id",
      "request",
      "requested_at"
    ],
    "type": "object",
    "x-runx-schema": "runx.external_adapter.host_resolution.v1"
  } as JsonSchema,
  "external-adapter-invocation.schema.json": {
    "$id": "https://schemas.runx.dev/runx/external-adapter/invocation/v1.json",
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "additionalProperties": false,
    "properties": {
      "adapter_id": {
        "minLength": 1,
        "type": "string"
      },
      "credential_refs": {
        "items": {
          "additionalProperties": false,
          "properties": {
            "credential_ref": {
              "$id": "https://schemas.runx.dev/runx/reference/v1.json",
              "$schema": "https://json-schema.org/draft/2020-12/schema",
              "additionalProperties": false,
              "properties": {
                "label": {
                  "minLength": 1,
                  "type": "string"
                },
                "locator": {
                  "minLength": 1,
                  "type": "string"
                },
                "observed_at": {
                  "minLength": 1,
                  "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
                  "type": "string"
                },
                "proof_kind": {
                  "anyOf": [
                    {
                      "const": "effect_evidence",
                      "type": "string"
                    },
                    {
                      "const": "effect_finality",
                      "type": "string"
                    },
                    {
                      "const": "credential_resolution",
                      "type": "string"
                    }
                  ]
                },
                "provider": {
                  "minLength": 1,
                  "type": "string"
                },
                "schema": {
                  "const": "runx.reference.v1",
                  "type": "string"
                },
                "type": {
                  "anyOf": [
                    {
                      "const": "github_issue",
                      "type": "string"
                    },
                    {
                      "const": "github_pull_request",
                      "type": "string"
                    },
                    {
                      "const": "github_repo",
                      "type": "string"
                    },
                    {
                      "const": "slack_thread",
                      "type": "string"
                    },
                    {
                      "const": "sentry_event",
                      "type": "string"
                    },
                    {
                      "const": "provider_thread",
                      "type": "string"
                    },
                    {
                      "const": "provider_event",
                      "type": "string"
                    },
                    {
                      "const": "provider_comment",
                      "type": "string"
                    },
                    {
                      "const": "tracking_item",
                      "type": "string"
                    },
                    {
                      "const": "change_request",
                      "type": "string"
                    },
                    {
                      "const": "repository",
                      "type": "string"
                    },
                    {
                      "const": "support_ticket",
                      "type": "string"
                    },
                    {
                      "const": "signal",
                      "type": "string"
                    },
                    {
                      "const": "act",
                      "type": "string"
                    },
                    {
                      "const": "receipt",
                      "type": "string"
                    },
                    {
                      "const": "graph_receipt",
                      "type": "string"
                    },
                    {
                      "const": "artifact",
                      "type": "string"
                    },
                    {
                      "const": "verification",
                      "type": "string"
                    },
                    {
                      "const": "harness",
                      "type": "string"
                    },
                    {
                      "const": "host",
                      "type": "string"
                    },
                    {
                      "const": "deployment",
                      "type": "string"
                    },
                    {
                      "const": "surface",
                      "type": "string"
                    },
                    {
                      "const": "target",
                      "type": "string"
                    },
                    {
                      "const": "opportunity",
                      "type": "string"
                    },
                    {
                      "const": "thesis_assessment",
                      "type": "string"
                    },
                    {
                      "const": "selection",
                      "type": "string"
                    },
                    {
                      "const": "skill_binding",
                      "type": "string"
                    },
                    {
                      "const": "target_transition_entry",
                      "type": "string"
                    },
                    {
                      "const": "selection_cycle",
                      "type": "string"
                    },
                    {
                      "const": "decision",
                      "type": "string"
                    },
                    {
                      "const": "reflection_entry",
                      "type": "string"
                    },
                    {
                      "const": "feed_entry",
                      "type": "string"
                    },
                    {
                      "const": "principal",
                      "type": "string"
                    },
                    {
                      "const": "authority_proof",
                      "type": "string"
                    },
                    {
                      "const": "scope_admission",
                      "type": "string"
                    },
                    {
                      "const": "grant",
                      "type": "string"
                    },
                    {
                      "const": "mandate",
                      "type": "string"
                    },
                    {
                      "const": "credential",
                      "type": "string"
                    },
                    {
                      "const": "webhook_delivery",
                      "type": "string"
                    },
                    {
                      "const": "redaction_policy",
                      "type": "string"
                    },
                    {
                      "const": "external_url",
                      "type": "string"
                    }
                  ]
                },
                "uri": {
                  "minLength": 1,
                  "type": "string"
                }
              },
              "required": [
                "type",
                "uri"
              ],
              "type": "object",
              "x-runx-schema": "runx.reference.v1"
            },
            "provider": {
              "minLength": 1,
              "type": "string"
            },
            "purpose": {
              "anyOf": [
                {
                  "const": "provider_api",
                  "type": "string"
                },
                {
                  "const": "registry",
                  "type": "string"
                },
                {
                  "const": "artifact_store",
                  "type": "string"
                },
                {
                  "const": "webhook_verification",
                  "type": "string"
                }
              ]
            }
          },
          "required": [
            "credential_ref",
            "provider",
            "purpose"
          ],
          "type": "object"
        },
        "type": "array"
      },
      "cwd": {
        "minLength": 1,
        "type": "string"
      },
      "env": {
        "additionalProperties": {},
        "type": "object"
      },
      "harness_ref": {
        "$id": "https://schemas.runx.dev/runx/reference/v1.json",
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false,
        "properties": {
          "label": {
            "minLength": 1,
            "type": "string"
          },
          "locator": {
            "minLength": 1,
            "type": "string"
          },
          "observed_at": {
            "minLength": 1,
            "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
            "type": "string"
          },
          "proof_kind": {
            "anyOf": [
              {
                "const": "effect_evidence",
                "type": "string"
              },
              {
                "const": "effect_finality",
                "type": "string"
              },
              {
                "const": "credential_resolution",
                "type": "string"
              }
            ]
          },
          "provider": {
            "minLength": 1,
            "type": "string"
          },
          "schema": {
            "const": "runx.reference.v1",
            "type": "string"
          },
          "type": {
            "anyOf": [
              {
                "const": "github_issue",
                "type": "string"
              },
              {
                "const": "github_pull_request",
                "type": "string"
              },
              {
                "const": "github_repo",
                "type": "string"
              },
              {
                "const": "slack_thread",
                "type": "string"
              },
              {
                "const": "sentry_event",
                "type": "string"
              },
              {
                "const": "provider_thread",
                "type": "string"
              },
              {
                "const": "provider_event",
                "type": "string"
              },
              {
                "const": "provider_comment",
                "type": "string"
              },
              {
                "const": "tracking_item",
                "type": "string"
              },
              {
                "const": "change_request",
                "type": "string"
              },
              {
                "const": "repository",
                "type": "string"
              },
              {
                "const": "support_ticket",
                "type": "string"
              },
              {
                "const": "signal",
                "type": "string"
              },
              {
                "const": "act",
                "type": "string"
              },
              {
                "const": "receipt",
                "type": "string"
              },
              {
                "const": "graph_receipt",
                "type": "string"
              },
              {
                "const": "artifact",
                "type": "string"
              },
              {
                "const": "verification",
                "type": "string"
              },
              {
                "const": "harness",
                "type": "string"
              },
              {
                "const": "host",
                "type": "string"
              },
              {
                "const": "deployment",
                "type": "string"
              },
              {
                "const": "surface",
                "type": "string"
              },
              {
                "const": "target",
                "type": "string"
              },
              {
                "const": "opportunity",
                "type": "string"
              },
              {
                "const": "thesis_assessment",
                "type": "string"
              },
              {
                "const": "selection",
                "type": "string"
              },
              {
                "const": "skill_binding",
                "type": "string"
              },
              {
                "const": "target_transition_entry",
                "type": "string"
              },
              {
                "const": "selection_cycle",
                "type": "string"
              },
              {
                "const": "decision",
                "type": "string"
              },
              {
                "const": "reflection_entry",
                "type": "string"
              },
              {
                "const": "feed_entry",
                "type": "string"
              },
              {
                "const": "principal",
                "type": "string"
              },
              {
                "const": "authority_proof",
                "type": "string"
              },
              {
                "const": "scope_admission",
                "type": "string"
              },
              {
                "const": "grant",
                "type": "string"
              },
              {
                "const": "mandate",
                "type": "string"
              },
              {
                "const": "credential",
                "type": "string"
              },
              {
                "const": "webhook_delivery",
                "type": "string"
              },
              {
                "const": "redaction_policy",
                "type": "string"
              },
              {
                "const": "external_url",
                "type": "string"
              }
            ]
          },
          "uri": {
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "type",
          "uri"
        ],
        "type": "object",
        "x-runx-schema": "runx.reference.v1"
      },
      "host_ref": {
        "$id": "https://schemas.runx.dev/runx/reference/v1.json",
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false,
        "properties": {
          "label": {
            "minLength": 1,
            "type": "string"
          },
          "locator": {
            "minLength": 1,
            "type": "string"
          },
          "observed_at": {
            "minLength": 1,
            "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
            "type": "string"
          },
          "proof_kind": {
            "anyOf": [
              {
                "const": "effect_evidence",
                "type": "string"
              },
              {
                "const": "effect_finality",
                "type": "string"
              },
              {
                "const": "credential_resolution",
                "type": "string"
              }
            ]
          },
          "provider": {
            "minLength": 1,
            "type": "string"
          },
          "schema": {
            "const": "runx.reference.v1",
            "type": "string"
          },
          "type": {
            "anyOf": [
              {
                "const": "github_issue",
                "type": "string"
              },
              {
                "const": "github_pull_request",
                "type": "string"
              },
              {
                "const": "github_repo",
                "type": "string"
              },
              {
                "const": "slack_thread",
                "type": "string"
              },
              {
                "const": "sentry_event",
                "type": "string"
              },
              {
                "const": "provider_thread",
                "type": "string"
              },
              {
                "const": "provider_event",
                "type": "string"
              },
              {
                "const": "provider_comment",
                "type": "string"
              },
              {
                "const": "tracking_item",
                "type": "string"
              },
              {
                "const": "change_request",
                "type": "string"
              },
              {
                "const": "repository",
                "type": "string"
              },
              {
                "const": "support_ticket",
                "type": "string"
              },
              {
                "const": "signal",
                "type": "string"
              },
              {
                "const": "act",
                "type": "string"
              },
              {
                "const": "receipt",
                "type": "string"
              },
              {
                "const": "graph_receipt",
                "type": "string"
              },
              {
                "const": "artifact",
                "type": "string"
              },
              {
                "const": "verification",
                "type": "string"
              },
              {
                "const": "harness",
                "type": "string"
              },
              {
                "const": "host",
                "type": "string"
              },
              {
                "const": "deployment",
                "type": "string"
              },
              {
                "const": "surface",
                "type": "string"
              },
              {
                "const": "target",
                "type": "string"
              },
              {
                "const": "opportunity",
                "type": "string"
              },
              {
                "const": "thesis_assessment",
                "type": "string"
              },
              {
                "const": "selection",
                "type": "string"
              },
              {
                "const": "skill_binding",
                "type": "string"
              },
              {
                "const": "target_transition_entry",
                "type": "string"
              },
              {
                "const": "selection_cycle",
                "type": "string"
              },
              {
                "const": "decision",
                "type": "string"
              },
              {
                "const": "reflection_entry",
                "type": "string"
              },
              {
                "const": "feed_entry",
                "type": "string"
              },
              {
                "const": "principal",
                "type": "string"
              },
              {
                "const": "authority_proof",
                "type": "string"
              },
              {
                "const": "scope_admission",
                "type": "string"
              },
              {
                "const": "grant",
                "type": "string"
              },
              {
                "const": "mandate",
                "type": "string"
              },
              {
                "const": "credential",
                "type": "string"
              },
              {
                "const": "webhook_delivery",
                "type": "string"
              },
              {
                "const": "redaction_policy",
                "type": "string"
              },
              {
                "const": "external_url",
                "type": "string"
              }
            ]
          },
          "uri": {
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "type",
          "uri"
        ],
        "type": "object",
        "x-runx-schema": "runx.reference.v1"
      },
      "inputs": {
        "additionalProperties": {},
        "type": "object"
      },
      "invocation_id": {
        "minLength": 1,
        "type": "string"
      },
      "metadata": {
        "additionalProperties": {},
        "type": "object"
      },
      "protocol_version": {
        "anyOf": [
          {
            "const": "runx.external_adapter.v1",
            "type": "string"
          }
        ]
      },
      "receipt_dir": {
        "minLength": 1,
        "type": "string"
      },
      "resolved_inputs": {
        "additionalProperties": {},
        "type": "object"
      },
      "run_id": {
        "minLength": 1,
        "type": "string"
      },
      "schema": {
        "anyOf": [
          {
            "const": "runx.external_adapter.invocation.v1",
            "type": "string"
          }
        ]
      },
      "skill_ref": {
        "minLength": 1,
        "type": "string"
      },
      "source_type": {
        "minLength": 1,
        "type": "string"
      },
      "step_id": {
        "minLength": 1,
        "type": "string"
      }
    },
    "required": [
      "schema",
      "protocol_version",
      "invocation_id",
      "adapter_id",
      "run_id",
      "step_id",
      "source_type",
      "skill_ref",
      "harness_ref",
      "host_ref",
      "inputs"
    ],
    "type": "object",
    "x-runx-schema": "runx.external_adapter.invocation.v1"
  } as JsonSchema,
  "external-adapter-manifest.schema.json": {
    "$id": "https://schemas.runx.dev/runx/external-adapter/manifest/v1.json",
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "additionalProperties": false,
    "properties": {
      "adapter_id": {
        "minLength": 1,
        "type": "string"
      },
      "credential_needs": {
        "items": {
          "additionalProperties": false,
          "properties": {
            "provider": {
              "minLength": 1,
              "type": "string"
            },
            "purpose": {
              "anyOf": [
                {
                  "const": "provider_api",
                  "type": "string"
                },
                {
                  "const": "registry",
                  "type": "string"
                },
                {
                  "const": "artifact_store",
                  "type": "string"
                },
                {
                  "const": "webhook_verification",
                  "type": "string"
                }
              ]
            },
            "required": {
              "type": "boolean"
            },
            "scope_refs": {
              "items": {
                "$id": "https://schemas.runx.dev/runx/reference/v1.json",
                "$schema": "https://json-schema.org/draft/2020-12/schema",
                "additionalProperties": false,
                "properties": {
                  "label": {
                    "minLength": 1,
                    "type": "string"
                  },
                  "locator": {
                    "minLength": 1,
                    "type": "string"
                  },
                  "observed_at": {
                    "minLength": 1,
                    "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
                    "type": "string"
                  },
                  "proof_kind": {
                    "anyOf": [
                      {
                        "const": "effect_evidence",
                        "type": "string"
                      },
                      {
                        "const": "effect_finality",
                        "type": "string"
                      },
                      {
                        "const": "credential_resolution",
                        "type": "string"
                      }
                    ]
                  },
                  "provider": {
                    "minLength": 1,
                    "type": "string"
                  },
                  "schema": {
                    "const": "runx.reference.v1",
                    "type": "string"
                  },
                  "type": {
                    "anyOf": [
                      {
                        "const": "github_issue",
                        "type": "string"
                      },
                      {
                        "const": "github_pull_request",
                        "type": "string"
                      },
                      {
                        "const": "github_repo",
                        "type": "string"
                      },
                      {
                        "const": "slack_thread",
                        "type": "string"
                      },
                      {
                        "const": "sentry_event",
                        "type": "string"
                      },
                      {
                        "const": "provider_thread",
                        "type": "string"
                      },
                      {
                        "const": "provider_event",
                        "type": "string"
                      },
                      {
                        "const": "provider_comment",
                        "type": "string"
                      },
                      {
                        "const": "tracking_item",
                        "type": "string"
                      },
                      {
                        "const": "change_request",
                        "type": "string"
                      },
                      {
                        "const": "repository",
                        "type": "string"
                      },
                      {
                        "const": "support_ticket",
                        "type": "string"
                      },
                      {
                        "const": "signal",
                        "type": "string"
                      },
                      {
                        "const": "act",
                        "type": "string"
                      },
                      {
                        "const": "receipt",
                        "type": "string"
                      },
                      {
                        "const": "graph_receipt",
                        "type": "string"
                      },
                      {
                        "const": "artifact",
                        "type": "string"
                      },
                      {
                        "const": "verification",
                        "type": "string"
                      },
                      {
                        "const": "harness",
                        "type": "string"
                      },
                      {
                        "const": "host",
                        "type": "string"
                      },
                      {
                        "const": "deployment",
                        "type": "string"
                      },
                      {
                        "const": "surface",
                        "type": "string"
                      },
                      {
                        "const": "target",
                        "type": "string"
                      },
                      {
                        "const": "opportunity",
                        "type": "string"
                      },
                      {
                        "const": "thesis_assessment",
                        "type": "string"
                      },
                      {
                        "const": "selection",
                        "type": "string"
                      },
                      {
                        "const": "skill_binding",
                        "type": "string"
                      },
                      {
                        "const": "target_transition_entry",
                        "type": "string"
                      },
                      {
                        "const": "selection_cycle",
                        "type": "string"
                      },
                      {
                        "const": "decision",
                        "type": "string"
                      },
                      {
                        "const": "reflection_entry",
                        "type": "string"
                      },
                      {
                        "const": "feed_entry",
                        "type": "string"
                      },
                      {
                        "const": "principal",
                        "type": "string"
                      },
                      {
                        "const": "authority_proof",
                        "type": "string"
                      },
                      {
                        "const": "scope_admission",
                        "type": "string"
                      },
                      {
                        "const": "grant",
                        "type": "string"
                      },
                      {
                        "const": "mandate",
                        "type": "string"
                      },
                      {
                        "const": "credential",
                        "type": "string"
                      },
                      {
                        "const": "webhook_delivery",
                        "type": "string"
                      },
                      {
                        "const": "redaction_policy",
                        "type": "string"
                      },
                      {
                        "const": "external_url",
                        "type": "string"
                      }
                    ]
                  },
                  "uri": {
                    "minLength": 1,
                    "type": "string"
                  }
                },
                "required": [
                  "type",
                  "uri"
                ],
                "type": "object",
                "x-runx-schema": "runx.reference.v1"
              },
              "type": "array"
            }
          },
          "required": [
            "purpose",
            "provider",
            "required"
          ],
          "type": "object"
        },
        "type": "array"
      },
      "metadata": {
        "additionalProperties": {},
        "type": "object"
      },
      "name": {
        "minLength": 1,
        "type": "string"
      },
      "protocol_version": {
        "anyOf": [
          {
            "const": "runx.external_adapter.v1",
            "type": "string"
          }
        ]
      },
      "sandbox_intent": {
        "additionalProperties": false,
        "properties": {
          "cwd_policy": {
            "minLength": 1,
            "type": "string"
          },
          "network": {
            "type": "boolean"
          },
          "profile": {
            "minLength": 1,
            "type": "string"
          },
          "writable_paths": {
            "items": {
              "minLength": 1,
              "type": "string"
            },
            "type": "array"
          }
        },
        "required": [
          "profile",
          "network",
          "cwd_policy"
        ],
        "type": "object"
      },
      "schema": {
        "anyOf": [
          {
            "const": "runx.external_adapter.manifest.v1",
            "type": "string"
          }
        ]
      },
      "supported_source_types": {
        "items": {
          "minLength": 1,
          "type": "string"
        },
        "type": "array"
      },
      "timeouts": {
        "additionalProperties": false,
        "properties": {
          "invocation_ms": {
            "type": "integer"
          },
          "startup_ms": {
            "type": "integer"
          }
        },
        "required": [
          "startup_ms",
          "invocation_ms"
        ],
        "type": "object"
      },
      "transport": {
        "additionalProperties": false,
        "properties": {
          "args": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "command": {
            "minLength": 1,
            "type": "string"
          },
          "endpoint": {
            "minLength": 1,
            "type": "string"
          },
          "kind": {
            "anyOf": [
              {
                "const": "process",
                "type": "string"
              },
              {
                "const": "http",
                "type": "string"
              }
            ]
          }
        },
        "required": [
          "kind"
        ],
        "type": "object"
      },
      "version": {
        "minLength": 1,
        "type": "string"
      }
    },
    "required": [
      "schema",
      "protocol_version",
      "adapter_id",
      "name",
      "version",
      "supported_source_types",
      "transport",
      "timeouts",
      "sandbox_intent"
    ],
    "type": "object",
    "x-runx-schema": "runx.external_adapter.manifest.v1"
  } as JsonSchema,
  "external-adapter-response.schema.json": {
    "$id": "https://schemas.runx.dev/runx/external-adapter/response/v1.json",
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "additionalProperties": false,
    "properties": {
      "adapter_id": {
        "type": "string"
      },
      "artifacts": {
        "items": {
          "additionalProperties": false,
          "properties": {
            "artifact_ref": {
              "$id": "https://schemas.runx.dev/runx/reference/v1.json",
              "$schema": "https://json-schema.org/draft/2020-12/schema",
              "additionalProperties": false,
              "properties": {
                "label": {
                  "minLength": 1,
                  "type": "string"
                },
                "locator": {
                  "minLength": 1,
                  "type": "string"
                },
                "observed_at": {
                  "minLength": 1,
                  "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
                  "type": "string"
                },
                "proof_kind": {
                  "anyOf": [
                    {
                      "const": "effect_evidence",
                      "type": "string"
                    },
                    {
                      "const": "effect_finality",
                      "type": "string"
                    },
                    {
                      "const": "credential_resolution",
                      "type": "string"
                    }
                  ]
                },
                "provider": {
                  "minLength": 1,
                  "type": "string"
                },
                "schema": {
                  "const": "runx.reference.v1",
                  "type": "string"
                },
                "type": {
                  "anyOf": [
                    {
                      "const": "github_issue",
                      "type": "string"
                    },
                    {
                      "const": "github_pull_request",
                      "type": "string"
                    },
                    {
                      "const": "github_repo",
                      "type": "string"
                    },
                    {
                      "const": "slack_thread",
                      "type": "string"
                    },
                    {
                      "const": "sentry_event",
                      "type": "string"
                    },
                    {
                      "const": "provider_thread",
                      "type": "string"
                    },
                    {
                      "const": "provider_event",
                      "type": "string"
                    },
                    {
                      "const": "provider_comment",
                      "type": "string"
                    },
                    {
                      "const": "tracking_item",
                      "type": "string"
                    },
                    {
                      "const": "change_request",
                      "type": "string"
                    },
                    {
                      "const": "repository",
                      "type": "string"
                    },
                    {
                      "const": "support_ticket",
                      "type": "string"
                    },
                    {
                      "const": "signal",
                      "type": "string"
                    },
                    {
                      "const": "act",
                      "type": "string"
                    },
                    {
                      "const": "receipt",
                      "type": "string"
                    },
                    {
                      "const": "graph_receipt",
                      "type": "string"
                    },
                    {
                      "const": "artifact",
                      "type": "string"
                    },
                    {
                      "const": "verification",
                      "type": "string"
                    },
                    {
                      "const": "harness",
                      "type": "string"
                    },
                    {
                      "const": "host",
                      "type": "string"
                    },
                    {
                      "const": "deployment",
                      "type": "string"
                    },
                    {
                      "const": "surface",
                      "type": "string"
                    },
                    {
                      "const": "target",
                      "type": "string"
                    },
                    {
                      "const": "opportunity",
                      "type": "string"
                    },
                    {
                      "const": "thesis_assessment",
                      "type": "string"
                    },
                    {
                      "const": "selection",
                      "type": "string"
                    },
                    {
                      "const": "skill_binding",
                      "type": "string"
                    },
                    {
                      "const": "target_transition_entry",
                      "type": "string"
                    },
                    {
                      "const": "selection_cycle",
                      "type": "string"
                    },
                    {
                      "const": "decision",
                      "type": "string"
                    },
                    {
                      "const": "reflection_entry",
                      "type": "string"
                    },
                    {
                      "const": "feed_entry",
                      "type": "string"
                    },
                    {
                      "const": "principal",
                      "type": "string"
                    },
                    {
                      "const": "authority_proof",
                      "type": "string"
                    },
                    {
                      "const": "scope_admission",
                      "type": "string"
                    },
                    {
                      "const": "grant",
                      "type": "string"
                    },
                    {
                      "const": "mandate",
                      "type": "string"
                    },
                    {
                      "const": "credential",
                      "type": "string"
                    },
                    {
                      "const": "webhook_delivery",
                      "type": "string"
                    },
                    {
                      "const": "redaction_policy",
                      "type": "string"
                    },
                    {
                      "const": "external_url",
                      "type": "string"
                    }
                  ]
                },
                "uri": {
                  "minLength": 1,
                  "type": "string"
                }
              },
              "required": [
                "type",
                "uri"
              ],
              "type": "object",
              "x-runx-schema": "runx.reference.v1"
            },
            "summary": {
              "type": "string"
            }
          },
          "required": [
            "artifact_ref"
          ],
          "type": "object"
        },
        "type": "array"
      },
      "errors": {
        "items": {
          "additionalProperties": false,
          "properties": {
            "code": {
              "type": "string"
            },
            "message": {
              "type": "string"
            },
            "retryable": {
              "type": "boolean"
            }
          },
          "required": [
            "code",
            "message",
            "retryable"
          ],
          "type": "object"
        },
        "type": "array"
      },
      "exit_code": {
        "type": "integer"
      },
      "invocation_id": {
        "type": "string"
      },
      "metadata": {
        "additionalProperties": {},
        "type": "object"
      },
      "observed_at": {
        "type": "string"
      },
      "output": {
        "additionalProperties": {},
        "type": "object"
      },
      "protocol_version": {
        "type": "string"
      },
      "schema": {
        "type": "string"
      },
      "status": {
        "anyOf": [
          {
            "const": "completed",
            "type": "string"
          },
          {
            "const": "failed",
            "type": "string"
          },
          {
            "const": "host_resolution_requested",
            "type": "string"
          },
          {
            "const": "cancelled",
            "type": "string"
          }
        ]
      },
      "stderr": {
        "type": "string"
      },
      "stdout": {
        "type": "string"
      },
      "telemetry": {
        "items": {
          "additionalProperties": false,
          "properties": {
            "name": {
              "type": "string"
            },
            "unit": {
              "type": "string"
            },
            "value": {
              "anyOf": [
                {
                  "type": "number"
                },
                {
                  "type": "string"
                },
                {
                  "type": "boolean"
                }
              ]
            }
          },
          "required": [
            "name",
            "value"
          ],
          "type": "object"
        },
        "type": "array"
      }
    },
    "required": [
      "schema",
      "protocol_version",
      "invocation_id",
      "adapter_id",
      "status",
      "observed_at"
    ],
    "type": "object",
    "x-runx-schema": "runx.external_adapter.response.v1"
  } as JsonSchema,
  "fixture.schema.json": {
    "$id": "https://schemas.runx.dev/runx/fixture/v1.json",
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "additionalProperties": false,
    "properties": {
      "agent": {
        "additionalProperties": {},
        "type": "object"
      },
      "env": {
        "additionalProperties": {},
        "type": "object"
      },
      "execution": {
        "additionalProperties": {},
        "type": "object"
      },
      "expect": {
        "additionalProperties": {},
        "type": "object"
      },
      "inputs": {
        "additionalProperties": {},
        "type": "object"
      },
      "lane": {
        "anyOf": [
          {
            "const": "deterministic",
            "type": "string"
          },
          {
            "const": "agent",
            "type": "string"
          },
          {
            "const": "repo-integration",
            "type": "string"
          }
        ]
      },
      "name": {
        "type": "string"
      },
      "permissions": {
        "additionalProperties": {},
        "type": "object"
      },
      "repo": {
        "additionalProperties": {},
        "type": "object"
      },
      "target": {
        "additionalProperties": {},
        "type": "object"
      }
    },
    "required": [
      "name",
      "lane",
      "target",
      "expect"
    ],
    "type": "object",
    "x-runx-schema": "runx.fixture.v1"
  } as JsonSchema,
  "handoff-signal.schema.json": {
    "$id": "https://schemas.runx.dev/runx/handoff-signal/v1.json",
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "additionalProperties": false,
    "properties": {
      "actor": {
        "additionalProperties": false,
        "properties": {
          "actor_id": {
            "minLength": 1,
            "type": "string"
          },
          "display_name": {
            "type": "string"
          },
          "provider_identity": {
            "minLength": 1,
            "type": "string"
          },
          "role": {
            "minLength": 1,
            "type": "string"
          }
        },
        "type": "object"
      },
      "boundary_kind": {
        "minLength": 1,
        "type": "string"
      },
      "contact_locator": {
        "minLength": 1,
        "type": "string"
      },
      "disposition": {
        "anyOf": [
          {
            "const": "acknowledged",
            "type": "string"
          },
          {
            "const": "interested",
            "type": "string"
          },
          {
            "const": "requested_changes",
            "type": "string"
          },
          {
            "const": "accepted",
            "type": "string"
          },
          {
            "const": "approved_to_send",
            "type": "string"
          },
          {
            "const": "merged",
            "type": "string"
          },
          {
            "const": "declined",
            "type": "string"
          },
          {
            "const": "requested_no_contact",
            "type": "string"
          },
          {
            "const": "rerouted",
            "type": "string"
          }
        ]
      },
      "handoff_id": {
        "minLength": 1,
        "type": "string"
      },
      "labels": {
        "items": {
          "minLength": 1,
          "type": "string"
        },
        "type": "array"
      },
      "metadata": {
        "additionalProperties": {},
        "type": "object"
      },
      "notes": {
        "type": "string"
      },
      "outbox_entry_id": {
        "minLength": 1,
        "type": "string"
      },
      "recorded_at": {
        "minLength": 1,
        "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
        "type": "string"
      },
      "schema": {
        "anyOf": [
          {
            "const": "runx.handoff_signal.v1",
            "type": "string"
          }
        ]
      },
      "signal_id": {
        "minLength": 1,
        "type": "string"
      },
      "source": {
        "anyOf": [
          {
            "const": "pull_request_comment",
            "type": "string"
          },
          {
            "const": "pull_request_review",
            "type": "string"
          },
          {
            "const": "pull_request_state",
            "type": "string"
          },
          {
            "const": "issue_comment",
            "type": "string"
          },
          {
            "const": "discussion_reply",
            "type": "string"
          },
          {
            "const": "email_reply",
            "type": "string"
          },
          {
            "const": "direct_message_reply",
            "type": "string"
          },
          {
            "const": "manual_note",
            "type": "string"
          },
          {
            "const": "system_event",
            "type": "string"
          }
        ]
      },
      "source_ref": {
        "additionalProperties": false,
        "properties": {
          "label": {
            "type": "string"
          },
          "recorded_at": {
            "minLength": 1,
            "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
            "type": "string"
          },
          "type": {
            "minLength": 1,
            "type": "string"
          },
          "uri": {
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "type",
          "uri"
        ],
        "type": "object"
      },
      "target_locator": {
        "minLength": 1,
        "type": "string"
      },
      "target_repo": {
        "minLength": 1,
        "type": "string"
      },
      "thread_locator": {
        "minLength": 1,
        "type": "string"
      }
    },
    "required": [
      "schema",
      "signal_id",
      "handoff_id",
      "source",
      "disposition",
      "recorded_at"
    ],
    "type": "object",
    "x-runx-schema": "runx.handoff_signal.v1"
  } as JsonSchema,
  "handoff-state.schema.json": {
    "$id": "https://schemas.runx.dev/runx/handoff-state/v1.json",
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "additionalProperties": false,
    "properties": {
      "boundary_kind": {
        "minLength": 1,
        "type": "string"
      },
      "contact_locator": {
        "minLength": 1,
        "type": "string"
      },
      "handoff_id": {
        "minLength": 1,
        "type": "string"
      },
      "last_signal_at": {
        "minLength": 1,
        "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
        "type": "string"
      },
      "last_signal_disposition": {
        "anyOf": [
          {
            "const": "acknowledged",
            "type": "string"
          },
          {
            "const": "interested",
            "type": "string"
          },
          {
            "const": "requested_changes",
            "type": "string"
          },
          {
            "const": "accepted",
            "type": "string"
          },
          {
            "const": "approved_to_send",
            "type": "string"
          },
          {
            "const": "merged",
            "type": "string"
          },
          {
            "const": "declined",
            "type": "string"
          },
          {
            "const": "requested_no_contact",
            "type": "string"
          },
          {
            "const": "rerouted",
            "type": "string"
          }
        ]
      },
      "last_signal_id": {
        "minLength": 1,
        "type": "string"
      },
      "schema": {
        "anyOf": [
          {
            "const": "runx.handoff_state.v1",
            "type": "string"
          }
        ]
      },
      "signal_count": {
        "type": "integer"
      },
      "status": {
        "anyOf": [
          {
            "const": "awaiting_response",
            "type": "string"
          },
          {
            "const": "engaged",
            "type": "string"
          },
          {
            "const": "needs_revision",
            "type": "string"
          },
          {
            "const": "accepted",
            "type": "string"
          },
          {
            "const": "approved_to_send",
            "type": "string"
          },
          {
            "const": "completed",
            "type": "string"
          },
          {
            "const": "declined",
            "type": "string"
          },
          {
            "const": "rerouted",
            "type": "string"
          },
          {
            "const": "suppressed",
            "type": "string"
          }
        ]
      },
      "summary": {
        "type": "string"
      },
      "suppression_reason": {
        "anyOf": [
          {
            "const": "requested_no_contact",
            "type": "string"
          },
          {
            "const": "remove_request",
            "type": "string"
          },
          {
            "const": "operator_block",
            "type": "string"
          },
          {
            "const": "legal_request",
            "type": "string"
          }
        ]
      },
      "suppression_record_id": {
        "minLength": 1,
        "type": "string"
      },
      "target_locator": {
        "minLength": 1,
        "type": "string"
      },
      "target_repo": {
        "minLength": 1,
        "type": "string"
      }
    },
    "required": [
      "schema",
      "handoff_id",
      "status",
      "signal_count"
    ],
    "type": "object",
    "x-runx-schema": "runx.handoff_state.v1"
  } as JsonSchema,
  "ledger-entry.schema.json": {
    "$id": "https://schemas.runx.dev/runx/ledger-entry/v1.json",
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "additionalProperties": false,
    "properties": {
      "chain": {
        "additionalProperties": false,
        "properties": {
          "algorithm": {
            "anyOf": [
              {
                "const": "sha256",
                "type": "string"
              }
            ]
          },
          "canonicalization": {
            "anyOf": [
              {
                "const": "runx.stable-json.v1",
                "type": "string"
              }
            ]
          },
          "entry_hash": {
            "pattern": "^[a-f0-9]{64}$",
            "type": "string"
          },
          "index": {
            "type": "integer"
          },
          "previous_hash": {
            "anyOf": [
              {
                "pattern": "^[a-f0-9]{64}$",
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "version": {
            "anyOf": [
              {
                "const": "runx.ledger.chain.v1",
                "type": "string"
              }
            ]
          }
        },
        "required": [
          "version",
          "algorithm",
          "canonicalization",
          "index",
          "previous_hash",
          "entry_hash"
        ],
        "type": "object"
      },
      "entry": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "additionalProperties": {},
            "type": "object"
          },
          "meta": {
            "additionalProperties": false,
            "properties": {
              "artifact_id": {
                "minLength": 1,
                "type": "string"
              },
              "created_at": {
                "minLength": 1,
                "type": "string"
              },
              "hash": {
                "minLength": 1,
                "type": "string"
              },
              "parent_artifact_id": {
                "anyOf": [
                  {
                    "minLength": 1,
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "producer": {
                "additionalProperties": false,
                "properties": {
                  "runner": {
                    "minLength": 1,
                    "type": "string"
                  },
                  "skill": {
                    "minLength": 1,
                    "type": "string"
                  }
                },
                "required": [
                  "skill",
                  "runner"
                ],
                "type": "object"
              },
              "receipt_id": {
                "anyOf": [
                  {
                    "minLength": 1,
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "redacted": {
                "type": "boolean"
              },
              "run_id": {
                "minLength": 1,
                "type": "string"
              },
              "size_bytes": {
                "type": "integer"
              },
              "step_id": {
                "anyOf": [
                  {
                    "minLength": 1,
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "artifact_id",
              "run_id",
              "step_id",
              "producer",
              "created_at",
              "hash",
              "size_bytes",
              "parent_artifact_id",
              "receipt_id",
              "redacted"
            ],
            "type": "object"
          },
          "type": {
            "anyOf": [
              {
                "minLength": 1,
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "version": {
            "anyOf": [
              {
                "const": "1",
                "type": "string"
              }
            ]
          }
        },
        "required": [
          "type",
          "version",
          "data",
          "meta"
        ],
        "type": "object"
      },
      "schema_version": {
        "anyOf": [
          {
            "const": "runx.ledger.entry.v1",
            "type": "string"
          }
        ]
      }
    },
    "required": [
      "schema_version",
      "chain",
      "entry"
    ],
    "type": "object",
    "x-runx-schema": "runx.ledger.entry.v1"
  } as JsonSchema,
  "list.schema.json": {
    "$id": "https://schemas.runx.dev/runx/list/v1.json",
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "additionalProperties": false,
    "properties": {
      "items": {
        "items": {
          "additionalProperties": false,
          "properties": {
            "diagnostics": {
              "items": {
                "type": "string"
              },
              "type": "array"
            },
            "emits": {
              "items": {
                "additionalProperties": false,
                "properties": {
                  "name": {
                    "type": "string"
                  },
                  "packet": {
                    "type": "string"
                  }
                },
                "required": [
                  "name"
                ],
                "type": "object"
              },
              "type": "array"
            },
            "fixtures": {
              "type": "integer"
            },
            "harness_cases": {
              "type": "integer"
            },
            "kind": {
              "anyOf": [
                {
                  "const": "tool",
                  "type": "string"
                },
                {
                  "const": "skill",
                  "type": "string"
                },
                {
                  "const": "graph",
                  "type": "string"
                },
                {
                  "const": "packet",
                  "type": "string"
                },
                {
                  "const": "overlay",
                  "type": "string"
                }
              ]
            },
            "name": {
              "type": "string"
            },
            "path": {
              "type": "string"
            },
            "scopes": {
              "items": {
                "type": "string"
              },
              "type": "array"
            },
            "source": {
              "anyOf": [
                {
                  "const": "local",
                  "type": "string"
                },
                {
                  "const": "workspace",
                  "type": "string"
                },
                {
                  "const": "dependencies",
                  "type": "string"
                },
                {
                  "const": "built-in",
                  "type": "string"
                }
              ]
            },
            "status": {
              "anyOf": [
                {
                  "const": "ok",
                  "type": "string"
                },
                {
                  "const": "invalid",
                  "type": "string"
                }
              ]
            },
            "steps": {
              "type": "integer"
            },
            "wraps": {
              "type": "string"
            }
          },
          "required": [
            "kind",
            "name",
            "source",
            "path",
            "status"
          ],
          "type": "object"
        },
        "type": "array"
      },
      "requested_kind": {
        "anyOf": [
          {
            "const": "all",
            "type": "string"
          },
          {
            "const": "tools",
            "type": "string"
          },
          {
            "const": "skills",
            "type": "string"
          },
          {
            "const": "graphs",
            "type": "string"
          },
          {
            "const": "packets",
            "type": "string"
          },
          {
            "const": "overlays",
            "type": "string"
          }
        ]
      },
      "root": {
        "type": "string"
      },
      "schema": {
        "anyOf": [
          {
            "const": "runx.list.v1",
            "type": "string"
          }
        ]
      }
    },
    "required": [
      "schema",
      "root",
      "requested_kind",
      "items"
    ],
    "type": "object",
    "x-runx-schema": "runx.list.v1"
  } as JsonSchema,
  "operational-policy.schema.json": {
    "$id": "https://schemas.runx.dev/runx/operational-policy/v1.json",
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "additionalProperties": false,
    "properties": {
      "created_at": {
        "minLength": 1,
        "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
        "type": "string"
      },
      "dedupe": {
        "additionalProperties": false,
        "properties": {
          "key_fields": {
            "items": {
              "minLength": 1,
              "type": "string"
            },
            "minItems": 1,
            "type": "array"
          },
          "on_duplicate": {
            "anyOf": [
              {
                "const": "reuse",
                "type": "string"
              },
              {
                "const": "comment",
                "type": "string"
              },
              {
                "const": "block",
                "type": "string"
              }
            ]
          },
          "strategy": {
            "anyOf": [
              {
                "const": "source_fingerprint",
                "type": "string"
              },
              {
                "const": "provider_search",
                "type": "string"
              },
              {
                "const": "branch",
                "type": "string"
              }
            ]
          }
        },
        "required": [
          "strategy",
          "key_fields",
          "on_duplicate"
        ],
        "type": "object"
      },
      "outcomes": {
        "additionalProperties": false,
        "properties": {
          "close_source_issue": {
            "anyOf": [
              {
                "const": "never",
                "type": "string"
              },
              {
                "const": "when_verified",
                "type": "string"
              },
              {
                "const": "when_terminal",
                "type": "string"
              }
            ]
          },
          "observe_provider": {
            "type": "boolean"
          },
          "publish_final_source_thread_update": {
            "type": "boolean"
          },
          "verification_required": {
            "type": "boolean"
          }
        },
        "required": [
          "observe_provider",
          "verification_required",
          "close_source_issue",
          "publish_final_source_thread_update"
        ],
        "type": "object"
      },
      "owner_routes": {
        "items": {
          "additionalProperties": false,
          "properties": {
            "labels": {
              "items": {
                "minLength": 1,
                "type": "string"
              },
              "type": "array"
            },
            "owners": {
              "items": {
                "minLength": 1,
                "type": "string"
              },
              "minItems": 1,
              "type": "array"
            },
            "project": {
              "minLength": 1,
              "type": "string"
            },
            "route_id": {
              "minLength": 1,
              "pattern": "^[A-Za-z0-9_.:-]+$",
              "type": "string"
            },
            "target_repos": {
              "items": {
                "minLength": 3,
                "pattern": "^[A-Za-z0-9_.-]+/[A-Za-z0-9_.-]+$",
                "type": "string"
              },
              "minItems": 1,
              "type": "array"
            }
          },
          "required": [
            "route_id",
            "owners",
            "target_repos"
          ],
          "type": "object"
        },
        "minItems": 1,
        "type": "array"
      },
      "permissions": {
        "additionalProperties": false,
        "properties": {
          "auto_merge": {
            "const": false,
            "type": "boolean"
          },
          "mutate_target_repo": {
            "type": "boolean"
          },
          "require_human_merge_gate": {
            "const": true,
            "type": "boolean"
          }
        },
        "required": [
          "auto_merge",
          "mutate_target_repo",
          "require_human_merge_gate"
        ],
        "type": "object"
      },
      "policy_id": {
        "minLength": 1,
        "pattern": "^[A-Za-z0-9_.:-]+$",
        "type": "string"
      },
      "runners": {
        "items": {
          "additionalProperties": false,
          "properties": {
            "allowed_actions": {
              "items": {
                "anyOf": [
                  {
                    "const": "reply-only",
                    "type": "string"
                  },
                  {
                    "const": "issue-intake",
                    "type": "string"
                  },
                  {
                    "const": "work-plan",
                    "type": "string"
                  },
                  {
                    "const": "issue-to-pr",
                    "type": "string"
                  },
                  {
                    "const": "manual-review",
                    "type": "string"
                  },
                  {
                    "const": "pr-review",
                    "type": "string"
                  },
                  {
                    "const": "pr-fix-up",
                    "type": "string"
                  },
                  {
                    "const": "merge-assist",
                    "type": "string"
                  }
                ]
              },
              "minItems": 1,
              "type": "array"
            },
            "kind": {
              "minLength": 1,
              "type": "string"
            },
            "runner_id": {
              "minLength": 1,
              "pattern": "^[A-Za-z0-9_.:-]+$",
              "type": "string"
            },
            "scafld_required": {
              "type": "boolean"
            },
            "state": {
              "anyOf": [
                {
                  "const": "available",
                  "type": "string"
                },
                {
                  "const": "disabled",
                  "type": "string"
                },
                {
                  "const": "maintenance",
                  "type": "string"
                }
              ]
            },
            "target_repos": {
              "items": {
                "minLength": 3,
                "pattern": "^[A-Za-z0-9_.-]+/[A-Za-z0-9_.-]+$",
                "type": "string"
              },
              "minItems": 1,
              "type": "array"
            }
          },
          "required": [
            "runner_id",
            "kind",
            "state",
            "allowed_actions",
            "target_repos",
            "scafld_required"
          ],
          "type": "object"
        },
        "minItems": 1,
        "type": "array"
      },
      "schema": {
        "anyOf": [
          {
            "const": "runx.operational_policy.v1",
            "type": "string"
          }
        ]
      },
      "schema_version": {
        "anyOf": [
          {
            "const": "runx.operational_policy.v1",
            "type": "string"
          }
        ]
      },
      "sources": {
        "items": {
          "additionalProperties": false,
          "properties": {
            "adapter_policy": {
              "additionalProperties": {},
              "propertyNames": {
                "minLength": 1,
                "type": "string"
              },
              "type": "object"
            },
            "allowed_actions": {
              "items": {
                "anyOf": [
                  {
                    "const": "reply-only",
                    "type": "string"
                  },
                  {
                    "const": "issue-intake",
                    "type": "string"
                  },
                  {
                    "const": "work-plan",
                    "type": "string"
                  },
                  {
                    "const": "issue-to-pr",
                    "type": "string"
                  },
                  {
                    "const": "manual-review",
                    "type": "string"
                  },
                  {
                    "const": "pr-review",
                    "type": "string"
                  },
                  {
                    "const": "pr-fix-up",
                    "type": "string"
                  },
                  {
                    "const": "merge-assist",
                    "type": "string"
                  }
                ]
              },
              "minItems": 1,
              "type": "array"
            },
            "allowed_locators": {
              "items": {
                "minLength": 1,
                "type": "string"
              },
              "minItems": 1,
              "type": "array"
            },
            "minimum_confidence": {
              "maximum": 1,
              "minimum": 0,
              "type": "number"
            },
            "provider": {
              "minLength": 1,
              "type": "string"
            },
            "source_id": {
              "minLength": 1,
              "pattern": "^[A-Za-z0-9_.:-]+$",
              "type": "string"
            },
            "source_thread": {
              "additionalProperties": false,
              "properties": {
                "missing_behavior": {
                  "anyOf": [
                    {
                      "const": "fail_closed",
                      "type": "string"
                    }
                  ]
                },
                "publish_mode": {
                  "anyOf": [
                    {
                      "const": "reply",
                      "type": "string"
                    },
                    {
                      "const": "comment",
                      "type": "string"
                    },
                    {
                      "const": "none",
                      "type": "string"
                    }
                  ]
                },
                "required": {
                  "type": "boolean"
                }
              },
              "required": [
                "required",
                "publish_mode",
                "missing_behavior"
              ],
              "type": "object"
            }
          },
          "required": [
            "source_id",
            "provider",
            "allowed_locators",
            "allowed_actions",
            "source_thread"
          ],
          "type": "object"
        },
        "minItems": 1,
        "type": "array"
      },
      "targets": {
        "items": {
          "additionalProperties": false,
          "properties": {
            "allowed_actions": {
              "items": {
                "anyOf": [
                  {
                    "const": "reply-only",
                    "type": "string"
                  },
                  {
                    "const": "issue-intake",
                    "type": "string"
                  },
                  {
                    "const": "work-plan",
                    "type": "string"
                  },
                  {
                    "const": "issue-to-pr",
                    "type": "string"
                  },
                  {
                    "const": "manual-review",
                    "type": "string"
                  },
                  {
                    "const": "pr-review",
                    "type": "string"
                  },
                  {
                    "const": "pr-fix-up",
                    "type": "string"
                  },
                  {
                    "const": "merge-assist",
                    "type": "string"
                  }
                ]
              },
              "minItems": 1,
              "type": "array"
            },
            "base_branch": {
              "minLength": 1,
              "type": "string"
            },
            "default_owner_route": {
              "minLength": 1,
              "pattern": "^[A-Za-z0-9_.:-]+$",
              "type": "string"
            },
            "repo": {
              "minLength": 3,
              "pattern": "^[A-Za-z0-9_.-]+/[A-Za-z0-9_.-]+$",
              "type": "string"
            },
            "runner_ids": {
              "items": {
                "minLength": 1,
                "pattern": "^[A-Za-z0-9_.:-]+$",
                "type": "string"
              },
              "minItems": 1,
              "type": "array"
            },
            "scafld_required": {
              "type": "boolean"
            }
          },
          "required": [
            "repo",
            "runner_ids",
            "allowed_actions",
            "default_owner_route",
            "scafld_required"
          ],
          "type": "object"
        },
        "minItems": 1,
        "type": "array"
      }
    },
    "required": [
      "schema",
      "schema_version",
      "policy_id",
      "sources",
      "runners",
      "owner_routes",
      "targets",
      "dedupe",
      "outcomes",
      "permissions"
    ],
    "type": "object",
    "x-runx-schema": "runx.operational_policy.v1"
  } as JsonSchema,
  "operational-proposal.schema.json": {
    "$id": "https://schemas.runx.dev/runx/operational-proposal/v1.json",
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "additionalProperties": false,
    "properties": {
      "allowed_next_actions": {
        "items": {
          "minLength": 1,
          "type": "string"
        },
        "type": "array"
      },
      "artifact_refs": {
        "items": {
          "$id": "https://schemas.runx.dev/runx/reference/v1.json",
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "additionalProperties": false,
          "properties": {
            "label": {
              "minLength": 1,
              "type": "string"
            },
            "locator": {
              "minLength": 1,
              "type": "string"
            },
            "observed_at": {
              "minLength": 1,
              "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
              "type": "string"
            },
            "proof_kind": {
              "anyOf": [
                {
                  "const": "effect_evidence",
                  "type": "string"
                },
                {
                  "const": "effect_finality",
                  "type": "string"
                },
                {
                  "const": "credential_resolution",
                  "type": "string"
                }
              ]
            },
            "provider": {
              "minLength": 1,
              "type": "string"
            },
            "schema": {
              "const": "runx.reference.v1",
              "type": "string"
            },
            "type": {
              "anyOf": [
                {
                  "const": "github_issue",
                  "type": "string"
                },
                {
                  "const": "github_pull_request",
                  "type": "string"
                },
                {
                  "const": "github_repo",
                  "type": "string"
                },
                {
                  "const": "slack_thread",
                  "type": "string"
                },
                {
                  "const": "sentry_event",
                  "type": "string"
                },
                {
                  "const": "provider_thread",
                  "type": "string"
                },
                {
                  "const": "provider_event",
                  "type": "string"
                },
                {
                  "const": "provider_comment",
                  "type": "string"
                },
                {
                  "const": "tracking_item",
                  "type": "string"
                },
                {
                  "const": "change_request",
                  "type": "string"
                },
                {
                  "const": "repository",
                  "type": "string"
                },
                {
                  "const": "support_ticket",
                  "type": "string"
                },
                {
                  "const": "signal",
                  "type": "string"
                },
                {
                  "const": "act",
                  "type": "string"
                },
                {
                  "const": "receipt",
                  "type": "string"
                },
                {
                  "const": "graph_receipt",
                  "type": "string"
                },
                {
                  "const": "artifact",
                  "type": "string"
                },
                {
                  "const": "verification",
                  "type": "string"
                },
                {
                  "const": "harness",
                  "type": "string"
                },
                {
                  "const": "host",
                  "type": "string"
                },
                {
                  "const": "deployment",
                  "type": "string"
                },
                {
                  "const": "surface",
                  "type": "string"
                },
                {
                  "const": "target",
                  "type": "string"
                },
                {
                  "const": "opportunity",
                  "type": "string"
                },
                {
                  "const": "thesis_assessment",
                  "type": "string"
                },
                {
                  "const": "selection",
                  "type": "string"
                },
                {
                  "const": "skill_binding",
                  "type": "string"
                },
                {
                  "const": "target_transition_entry",
                  "type": "string"
                },
                {
                  "const": "selection_cycle",
                  "type": "string"
                },
                {
                  "const": "decision",
                  "type": "string"
                },
                {
                  "const": "reflection_entry",
                  "type": "string"
                },
                {
                  "const": "feed_entry",
                  "type": "string"
                },
                {
                  "const": "principal",
                  "type": "string"
                },
                {
                  "const": "authority_proof",
                  "type": "string"
                },
                {
                  "const": "scope_admission",
                  "type": "string"
                },
                {
                  "const": "grant",
                  "type": "string"
                },
                {
                  "const": "mandate",
                  "type": "string"
                },
                {
                  "const": "credential",
                  "type": "string"
                },
                {
                  "const": "webhook_delivery",
                  "type": "string"
                },
                {
                  "const": "redaction_policy",
                  "type": "string"
                },
                {
                  "const": "external_url",
                  "type": "string"
                }
              ]
            },
            "uri": {
              "minLength": 1,
              "type": "string"
            }
          },
          "required": [
            "type",
            "uri"
          ],
          "type": "object",
          "x-runx-schema": "runx.reference.v1"
        },
        "type": "array"
      },
      "authority": {
        "additionalProperties": false,
        "properties": {
          "final_decision_authority_granted": {
            "const": false,
            "type": "boolean"
          },
          "mutation_authority_granted": {
            "const": false,
            "type": "boolean"
          },
          "notes": {
            "items": {
              "minLength": 1,
              "type": "string"
            },
            "type": "array"
          },
          "proposal_only": {
            "const": true,
            "type": "boolean"
          },
          "publication_authority_granted": {
            "const": false,
            "type": "boolean"
          }
        },
        "required": [
          "proposal_only",
          "mutation_authority_granted",
          "publication_authority_granted",
          "final_decision_authority_granted"
        ],
        "type": "object"
      },
      "caveats": {
        "items": {
          "minLength": 1,
          "type": "string"
        },
        "type": "array"
      },
      "confidence": {
        "maximum": 1,
        "minimum": 0,
        "type": "number"
      },
      "decision_summary": {
        "minLength": 1,
        "type": "string"
      },
      "evidence_refs": {
        "items": {
          "$id": "https://schemas.runx.dev/runx/reference/v1.json",
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "additionalProperties": false,
          "properties": {
            "label": {
              "minLength": 1,
              "type": "string"
            },
            "locator": {
              "minLength": 1,
              "type": "string"
            },
            "observed_at": {
              "minLength": 1,
              "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
              "type": "string"
            },
            "proof_kind": {
              "anyOf": [
                {
                  "const": "effect_evidence",
                  "type": "string"
                },
                {
                  "const": "effect_finality",
                  "type": "string"
                },
                {
                  "const": "credential_resolution",
                  "type": "string"
                }
              ]
            },
            "provider": {
              "minLength": 1,
              "type": "string"
            },
            "schema": {
              "const": "runx.reference.v1",
              "type": "string"
            },
            "type": {
              "anyOf": [
                {
                  "const": "github_issue",
                  "type": "string"
                },
                {
                  "const": "github_pull_request",
                  "type": "string"
                },
                {
                  "const": "github_repo",
                  "type": "string"
                },
                {
                  "const": "slack_thread",
                  "type": "string"
                },
                {
                  "const": "sentry_event",
                  "type": "string"
                },
                {
                  "const": "provider_thread",
                  "type": "string"
                },
                {
                  "const": "provider_event",
                  "type": "string"
                },
                {
                  "const": "provider_comment",
                  "type": "string"
                },
                {
                  "const": "tracking_item",
                  "type": "string"
                },
                {
                  "const": "change_request",
                  "type": "string"
                },
                {
                  "const": "repository",
                  "type": "string"
                },
                {
                  "const": "support_ticket",
                  "type": "string"
                },
                {
                  "const": "signal",
                  "type": "string"
                },
                {
                  "const": "act",
                  "type": "string"
                },
                {
                  "const": "receipt",
                  "type": "string"
                },
                {
                  "const": "graph_receipt",
                  "type": "string"
                },
                {
                  "const": "artifact",
                  "type": "string"
                },
                {
                  "const": "verification",
                  "type": "string"
                },
                {
                  "const": "harness",
                  "type": "string"
                },
                {
                  "const": "host",
                  "type": "string"
                },
                {
                  "const": "deployment",
                  "type": "string"
                },
                {
                  "const": "surface",
                  "type": "string"
                },
                {
                  "const": "target",
                  "type": "string"
                },
                {
                  "const": "opportunity",
                  "type": "string"
                },
                {
                  "const": "thesis_assessment",
                  "type": "string"
                },
                {
                  "const": "selection",
                  "type": "string"
                },
                {
                  "const": "skill_binding",
                  "type": "string"
                },
                {
                  "const": "target_transition_entry",
                  "type": "string"
                },
                {
                  "const": "selection_cycle",
                  "type": "string"
                },
                {
                  "const": "decision",
                  "type": "string"
                },
                {
                  "const": "reflection_entry",
                  "type": "string"
                },
                {
                  "const": "feed_entry",
                  "type": "string"
                },
                {
                  "const": "principal",
                  "type": "string"
                },
                {
                  "const": "authority_proof",
                  "type": "string"
                },
                {
                  "const": "scope_admission",
                  "type": "string"
                },
                {
                  "const": "grant",
                  "type": "string"
                },
                {
                  "const": "mandate",
                  "type": "string"
                },
                {
                  "const": "credential",
                  "type": "string"
                },
                {
                  "const": "webhook_delivery",
                  "type": "string"
                },
                {
                  "const": "redaction_policy",
                  "type": "string"
                },
                {
                  "const": "external_url",
                  "type": "string"
                }
              ]
            },
            "uri": {
              "minLength": 1,
              "type": "string"
            }
          },
          "required": [
            "type",
            "uri"
          ],
          "type": "object",
          "x-runx-schema": "runx.reference.v1"
        },
        "type": "array"
      },
      "extensions": {
        "additionalProperties": {},
        "type": "object"
      },
      "final_outcome": {
        "additionalProperties": false,
        "properties": {
          "observed": {
            "type": "boolean"
          },
          "observed_at": {
            "minLength": 1,
            "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
            "type": "string"
          },
          "refs": {
            "items": {
              "$id": "https://schemas.runx.dev/runx/reference/v1.json",
              "$schema": "https://json-schema.org/draft/2020-12/schema",
              "additionalProperties": false,
              "properties": {
                "label": {
                  "minLength": 1,
                  "type": "string"
                },
                "locator": {
                  "minLength": 1,
                  "type": "string"
                },
                "observed_at": {
                  "minLength": 1,
                  "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
                  "type": "string"
                },
                "proof_kind": {
                  "anyOf": [
                    {
                      "const": "effect_evidence",
                      "type": "string"
                    },
                    {
                      "const": "effect_finality",
                      "type": "string"
                    },
                    {
                      "const": "credential_resolution",
                      "type": "string"
                    }
                  ]
                },
                "provider": {
                  "minLength": 1,
                  "type": "string"
                },
                "schema": {
                  "const": "runx.reference.v1",
                  "type": "string"
                },
                "type": {
                  "anyOf": [
                    {
                      "const": "github_issue",
                      "type": "string"
                    },
                    {
                      "const": "github_pull_request",
                      "type": "string"
                    },
                    {
                      "const": "github_repo",
                      "type": "string"
                    },
                    {
                      "const": "slack_thread",
                      "type": "string"
                    },
                    {
                      "const": "sentry_event",
                      "type": "string"
                    },
                    {
                      "const": "provider_thread",
                      "type": "string"
                    },
                    {
                      "const": "provider_event",
                      "type": "string"
                    },
                    {
                      "const": "provider_comment",
                      "type": "string"
                    },
                    {
                      "const": "tracking_item",
                      "type": "string"
                    },
                    {
                      "const": "change_request",
                      "type": "string"
                    },
                    {
                      "const": "repository",
                      "type": "string"
                    },
                    {
                      "const": "support_ticket",
                      "type": "string"
                    },
                    {
                      "const": "signal",
                      "type": "string"
                    },
                    {
                      "const": "act",
                      "type": "string"
                    },
                    {
                      "const": "receipt",
                      "type": "string"
                    },
                    {
                      "const": "graph_receipt",
                      "type": "string"
                    },
                    {
                      "const": "artifact",
                      "type": "string"
                    },
                    {
                      "const": "verification",
                      "type": "string"
                    },
                    {
                      "const": "harness",
                      "type": "string"
                    },
                    {
                      "const": "host",
                      "type": "string"
                    },
                    {
                      "const": "deployment",
                      "type": "string"
                    },
                    {
                      "const": "surface",
                      "type": "string"
                    },
                    {
                      "const": "target",
                      "type": "string"
                    },
                    {
                      "const": "opportunity",
                      "type": "string"
                    },
                    {
                      "const": "thesis_assessment",
                      "type": "string"
                    },
                    {
                      "const": "selection",
                      "type": "string"
                    },
                    {
                      "const": "skill_binding",
                      "type": "string"
                    },
                    {
                      "const": "target_transition_entry",
                      "type": "string"
                    },
                    {
                      "const": "selection_cycle",
                      "type": "string"
                    },
                    {
                      "const": "decision",
                      "type": "string"
                    },
                    {
                      "const": "reflection_entry",
                      "type": "string"
                    },
                    {
                      "const": "feed_entry",
                      "type": "string"
                    },
                    {
                      "const": "principal",
                      "type": "string"
                    },
                    {
                      "const": "authority_proof",
                      "type": "string"
                    },
                    {
                      "const": "scope_admission",
                      "type": "string"
                    },
                    {
                      "const": "grant",
                      "type": "string"
                    },
                    {
                      "const": "mandate",
                      "type": "string"
                    },
                    {
                      "const": "credential",
                      "type": "string"
                    },
                    {
                      "const": "webhook_delivery",
                      "type": "string"
                    },
                    {
                      "const": "redaction_policy",
                      "type": "string"
                    },
                    {
                      "const": "external_url",
                      "type": "string"
                    }
                  ]
                },
                "uri": {
                  "minLength": 1,
                  "type": "string"
                }
              },
              "required": [
                "type",
                "uri"
              ],
              "type": "object",
              "x-runx-schema": "runx.reference.v1"
            },
            "type": "array"
          },
          "status": {
            "minLength": 1,
            "type": "string"
          },
          "summary": {
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "observed",
          "status",
          "summary"
        ],
        "type": "object"
      },
      "human_gates": {
        "items": {
          "additionalProperties": false,
          "properties": {
            "decision": {
              "minLength": 1,
              "type": "string"
            },
            "gate_id": {
              "minLength": 1,
              "type": "string"
            },
            "gate_kind": {
              "minLength": 1,
              "type": "string"
            },
            "reason": {
              "minLength": 1,
              "type": "string"
            },
            "required": {
              "type": "boolean"
            }
          },
          "required": [
            "gate_id",
            "gate_kind",
            "required",
            "decision",
            "reason"
          ],
          "type": "object"
        },
        "type": "array"
      },
      "hydrated_context_ref": {
        "$id": "https://schemas.runx.dev/runx/reference/v1.json",
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false,
        "properties": {
          "label": {
            "minLength": 1,
            "type": "string"
          },
          "locator": {
            "minLength": 1,
            "type": "string"
          },
          "observed_at": {
            "minLength": 1,
            "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
            "type": "string"
          },
          "proof_kind": {
            "anyOf": [
              {
                "const": "effect_evidence",
                "type": "string"
              },
              {
                "const": "effect_finality",
                "type": "string"
              },
              {
                "const": "credential_resolution",
                "type": "string"
              }
            ]
          },
          "provider": {
            "minLength": 1,
            "type": "string"
          },
          "schema": {
            "const": "runx.reference.v1",
            "type": "string"
          },
          "type": {
            "anyOf": [
              {
                "const": "github_issue",
                "type": "string"
              },
              {
                "const": "github_pull_request",
                "type": "string"
              },
              {
                "const": "github_repo",
                "type": "string"
              },
              {
                "const": "slack_thread",
                "type": "string"
              },
              {
                "const": "sentry_event",
                "type": "string"
              },
              {
                "const": "provider_thread",
                "type": "string"
              },
              {
                "const": "provider_event",
                "type": "string"
              },
              {
                "const": "provider_comment",
                "type": "string"
              },
              {
                "const": "tracking_item",
                "type": "string"
              },
              {
                "const": "change_request",
                "type": "string"
              },
              {
                "const": "repository",
                "type": "string"
              },
              {
                "const": "support_ticket",
                "type": "string"
              },
              {
                "const": "signal",
                "type": "string"
              },
              {
                "const": "act",
                "type": "string"
              },
              {
                "const": "receipt",
                "type": "string"
              },
              {
                "const": "graph_receipt",
                "type": "string"
              },
              {
                "const": "artifact",
                "type": "string"
              },
              {
                "const": "verification",
                "type": "string"
              },
              {
                "const": "harness",
                "type": "string"
              },
              {
                "const": "host",
                "type": "string"
              },
              {
                "const": "deployment",
                "type": "string"
              },
              {
                "const": "surface",
                "type": "string"
              },
              {
                "const": "target",
                "type": "string"
              },
              {
                "const": "opportunity",
                "type": "string"
              },
              {
                "const": "thesis_assessment",
                "type": "string"
              },
              {
                "const": "selection",
                "type": "string"
              },
              {
                "const": "skill_binding",
                "type": "string"
              },
              {
                "const": "target_transition_entry",
                "type": "string"
              },
              {
                "const": "selection_cycle",
                "type": "string"
              },
              {
                "const": "decision",
                "type": "string"
              },
              {
                "const": "reflection_entry",
                "type": "string"
              },
              {
                "const": "feed_entry",
                "type": "string"
              },
              {
                "const": "principal",
                "type": "string"
              },
              {
                "const": "authority_proof",
                "type": "string"
              },
              {
                "const": "scope_admission",
                "type": "string"
              },
              {
                "const": "grant",
                "type": "string"
              },
              {
                "const": "mandate",
                "type": "string"
              },
              {
                "const": "credential",
                "type": "string"
              },
              {
                "const": "webhook_delivery",
                "type": "string"
              },
              {
                "const": "redaction_policy",
                "type": "string"
              },
              {
                "const": "external_url",
                "type": "string"
              }
            ]
          },
          "uri": {
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "type",
          "uri"
        ],
        "type": "object",
        "x-runx-schema": "runx.reference.v1"
      },
      "idempotency": {
        "additionalProperties": false,
        "properties": {
          "fingerprint": {
            "minLength": 1,
            "type": "string"
          },
          "key": {
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "key",
          "fingerprint"
        ],
        "type": "object"
      },
      "missing_context": {
        "items": {
          "minLength": 1,
          "type": "string"
        },
        "type": "array"
      },
      "owner_route_id": {
        "minLength": 1,
        "pattern": "^[A-Za-z0-9_.:-]+$",
        "type": "string"
      },
      "proposal_id": {
        "minLength": 1,
        "pattern": "^[A-Za-z0-9_.:-]+$",
        "type": "string"
      },
      "proposal_kind": {
        "minLength": 1,
        "type": "string"
      },
      "public_summary": {
        "minLength": 1,
        "type": "string"
      },
      "publication_refs": {
        "items": {
          "$id": "https://schemas.runx.dev/runx/reference-link/v1.json",
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "additionalProperties": false,
          "properties": {
            "ref": {
              "$id": "https://schemas.runx.dev/runx/reference/v1.json",
              "$schema": "https://json-schema.org/draft/2020-12/schema",
              "additionalProperties": false,
              "properties": {
                "label": {
                  "minLength": 1,
                  "type": "string"
                },
                "locator": {
                  "minLength": 1,
                  "type": "string"
                },
                "observed_at": {
                  "minLength": 1,
                  "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
                  "type": "string"
                },
                "proof_kind": {
                  "anyOf": [
                    {
                      "const": "effect_evidence",
                      "type": "string"
                    },
                    {
                      "const": "effect_finality",
                      "type": "string"
                    },
                    {
                      "const": "credential_resolution",
                      "type": "string"
                    }
                  ]
                },
                "provider": {
                  "minLength": 1,
                  "type": "string"
                },
                "schema": {
                  "const": "runx.reference.v1",
                  "type": "string"
                },
                "type": {
                  "anyOf": [
                    {
                      "const": "github_issue",
                      "type": "string"
                    },
                    {
                      "const": "github_pull_request",
                      "type": "string"
                    },
                    {
                      "const": "github_repo",
                      "type": "string"
                    },
                    {
                      "const": "slack_thread",
                      "type": "string"
                    },
                    {
                      "const": "sentry_event",
                      "type": "string"
                    },
                    {
                      "const": "provider_thread",
                      "type": "string"
                    },
                    {
                      "const": "provider_event",
                      "type": "string"
                    },
                    {
                      "const": "provider_comment",
                      "type": "string"
                    },
                    {
                      "const": "tracking_item",
                      "type": "string"
                    },
                    {
                      "const": "change_request",
                      "type": "string"
                    },
                    {
                      "const": "repository",
                      "type": "string"
                    },
                    {
                      "const": "support_ticket",
                      "type": "string"
                    },
                    {
                      "const": "signal",
                      "type": "string"
                    },
                    {
                      "const": "act",
                      "type": "string"
                    },
                    {
                      "const": "receipt",
                      "type": "string"
                    },
                    {
                      "const": "graph_receipt",
                      "type": "string"
                    },
                    {
                      "const": "artifact",
                      "type": "string"
                    },
                    {
                      "const": "verification",
                      "type": "string"
                    },
                    {
                      "const": "harness",
                      "type": "string"
                    },
                    {
                      "const": "host",
                      "type": "string"
                    },
                    {
                      "const": "deployment",
                      "type": "string"
                    },
                    {
                      "const": "surface",
                      "type": "string"
                    },
                    {
                      "const": "target",
                      "type": "string"
                    },
                    {
                      "const": "opportunity",
                      "type": "string"
                    },
                    {
                      "const": "thesis_assessment",
                      "type": "string"
                    },
                    {
                      "const": "selection",
                      "type": "string"
                    },
                    {
                      "const": "skill_binding",
                      "type": "string"
                    },
                    {
                      "const": "target_transition_entry",
                      "type": "string"
                    },
                    {
                      "const": "selection_cycle",
                      "type": "string"
                    },
                    {
                      "const": "decision",
                      "type": "string"
                    },
                    {
                      "const": "reflection_entry",
                      "type": "string"
                    },
                    {
                      "const": "feed_entry",
                      "type": "string"
                    },
                    {
                      "const": "principal",
                      "type": "string"
                    },
                    {
                      "const": "authority_proof",
                      "type": "string"
                    },
                    {
                      "const": "scope_admission",
                      "type": "string"
                    },
                    {
                      "const": "grant",
                      "type": "string"
                    },
                    {
                      "const": "mandate",
                      "type": "string"
                    },
                    {
                      "const": "credential",
                      "type": "string"
                    },
                    {
                      "const": "webhook_delivery",
                      "type": "string"
                    },
                    {
                      "const": "redaction_policy",
                      "type": "string"
                    },
                    {
                      "const": "external_url",
                      "type": "string"
                    }
                  ]
                },
                "uri": {
                  "minLength": 1,
                  "type": "string"
                }
              },
              "required": [
                "type",
                "uri"
              ],
              "type": "object",
              "x-runx-schema": "runx.reference.v1"
            },
            "role": {
              "minLength": 1,
              "type": "string"
            },
            "schema": {
              "const": "runx.reference_link.v1",
              "type": "string"
            }
          },
          "required": [
            "role",
            "ref"
          ],
          "type": "object",
          "x-runx-schema": "runx.reference_link.v1"
        },
        "type": "array"
      },
      "rationale": {
        "minLength": 1,
        "type": "string"
      },
      "receipt_refs": {
        "items": {
          "$id": "https://schemas.runx.dev/runx/reference/v1.json",
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "additionalProperties": false,
          "properties": {
            "label": {
              "minLength": 1,
              "type": "string"
            },
            "locator": {
              "minLength": 1,
              "type": "string"
            },
            "observed_at": {
              "minLength": 1,
              "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
              "type": "string"
            },
            "proof_kind": {
              "anyOf": [
                {
                  "const": "effect_evidence",
                  "type": "string"
                },
                {
                  "const": "effect_finality",
                  "type": "string"
                },
                {
                  "const": "credential_resolution",
                  "type": "string"
                }
              ]
            },
            "provider": {
              "minLength": 1,
              "type": "string"
            },
            "schema": {
              "const": "runx.reference.v1",
              "type": "string"
            },
            "type": {
              "anyOf": [
                {
                  "const": "github_issue",
                  "type": "string"
                },
                {
                  "const": "github_pull_request",
                  "type": "string"
                },
                {
                  "const": "github_repo",
                  "type": "string"
                },
                {
                  "const": "slack_thread",
                  "type": "string"
                },
                {
                  "const": "sentry_event",
                  "type": "string"
                },
                {
                  "const": "provider_thread",
                  "type": "string"
                },
                {
                  "const": "provider_event",
                  "type": "string"
                },
                {
                  "const": "provider_comment",
                  "type": "string"
                },
                {
                  "const": "tracking_item",
                  "type": "string"
                },
                {
                  "const": "change_request",
                  "type": "string"
                },
                {
                  "const": "repository",
                  "type": "string"
                },
                {
                  "const": "support_ticket",
                  "type": "string"
                },
                {
                  "const": "signal",
                  "type": "string"
                },
                {
                  "const": "act",
                  "type": "string"
                },
                {
                  "const": "receipt",
                  "type": "string"
                },
                {
                  "const": "graph_receipt",
                  "type": "string"
                },
                {
                  "const": "artifact",
                  "type": "string"
                },
                {
                  "const": "verification",
                  "type": "string"
                },
                {
                  "const": "harness",
                  "type": "string"
                },
                {
                  "const": "host",
                  "type": "string"
                },
                {
                  "const": "deployment",
                  "type": "string"
                },
                {
                  "const": "surface",
                  "type": "string"
                },
                {
                  "const": "target",
                  "type": "string"
                },
                {
                  "const": "opportunity",
                  "type": "string"
                },
                {
                  "const": "thesis_assessment",
                  "type": "string"
                },
                {
                  "const": "selection",
                  "type": "string"
                },
                {
                  "const": "skill_binding",
                  "type": "string"
                },
                {
                  "const": "target_transition_entry",
                  "type": "string"
                },
                {
                  "const": "selection_cycle",
                  "type": "string"
                },
                {
                  "const": "decision",
                  "type": "string"
                },
                {
                  "const": "reflection_entry",
                  "type": "string"
                },
                {
                  "const": "feed_entry",
                  "type": "string"
                },
                {
                  "const": "principal",
                  "type": "string"
                },
                {
                  "const": "authority_proof",
                  "type": "string"
                },
                {
                  "const": "scope_admission",
                  "type": "string"
                },
                {
                  "const": "grant",
                  "type": "string"
                },
                {
                  "const": "mandate",
                  "type": "string"
                },
                {
                  "const": "credential",
                  "type": "string"
                },
                {
                  "const": "webhook_delivery",
                  "type": "string"
                },
                {
                  "const": "redaction_policy",
                  "type": "string"
                },
                {
                  "const": "external_url",
                  "type": "string"
                }
              ]
            },
            "uri": {
              "minLength": 1,
              "type": "string"
            }
          },
          "required": [
            "type",
            "uri"
          ],
          "type": "object",
          "x-runx-schema": "runx.reference.v1"
        },
        "type": "array"
      },
      "recommended_actions": {
        "items": {
          "additionalProperties": false,
          "properties": {
            "action_intent": {
              "minLength": 1,
              "type": "string"
            },
            "mutating": {
              "type": "boolean"
            },
            "summary": {
              "minLength": 1,
              "type": "string"
            },
            "target_refs": {
              "items": {
                "$id": "https://schemas.runx.dev/runx/reference/v1.json",
                "$schema": "https://json-schema.org/draft/2020-12/schema",
                "additionalProperties": false,
                "properties": {
                  "label": {
                    "minLength": 1,
                    "type": "string"
                  },
                  "locator": {
                    "minLength": 1,
                    "type": "string"
                  },
                  "observed_at": {
                    "minLength": 1,
                    "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
                    "type": "string"
                  },
                  "proof_kind": {
                    "anyOf": [
                      {
                        "const": "effect_evidence",
                        "type": "string"
                      },
                      {
                        "const": "effect_finality",
                        "type": "string"
                      },
                      {
                        "const": "credential_resolution",
                        "type": "string"
                      }
                    ]
                  },
                  "provider": {
                    "minLength": 1,
                    "type": "string"
                  },
                  "schema": {
                    "const": "runx.reference.v1",
                    "type": "string"
                  },
                  "type": {
                    "anyOf": [
                      {
                        "const": "github_issue",
                        "type": "string"
                      },
                      {
                        "const": "github_pull_request",
                        "type": "string"
                      },
                      {
                        "const": "github_repo",
                        "type": "string"
                      },
                      {
                        "const": "slack_thread",
                        "type": "string"
                      },
                      {
                        "const": "sentry_event",
                        "type": "string"
                      },
                      {
                        "const": "provider_thread",
                        "type": "string"
                      },
                      {
                        "const": "provider_event",
                        "type": "string"
                      },
                      {
                        "const": "provider_comment",
                        "type": "string"
                      },
                      {
                        "const": "tracking_item",
                        "type": "string"
                      },
                      {
                        "const": "change_request",
                        "type": "string"
                      },
                      {
                        "const": "repository",
                        "type": "string"
                      },
                      {
                        "const": "support_ticket",
                        "type": "string"
                      },
                      {
                        "const": "signal",
                        "type": "string"
                      },
                      {
                        "const": "act",
                        "type": "string"
                      },
                      {
                        "const": "receipt",
                        "type": "string"
                      },
                      {
                        "const": "graph_receipt",
                        "type": "string"
                      },
                      {
                        "const": "artifact",
                        "type": "string"
                      },
                      {
                        "const": "verification",
                        "type": "string"
                      },
                      {
                        "const": "harness",
                        "type": "string"
                      },
                      {
                        "const": "host",
                        "type": "string"
                      },
                      {
                        "const": "deployment",
                        "type": "string"
                      },
                      {
                        "const": "surface",
                        "type": "string"
                      },
                      {
                        "const": "target",
                        "type": "string"
                      },
                      {
                        "const": "opportunity",
                        "type": "string"
                      },
                      {
                        "const": "thesis_assessment",
                        "type": "string"
                      },
                      {
                        "const": "selection",
                        "type": "string"
                      },
                      {
                        "const": "skill_binding",
                        "type": "string"
                      },
                      {
                        "const": "target_transition_entry",
                        "type": "string"
                      },
                      {
                        "const": "selection_cycle",
                        "type": "string"
                      },
                      {
                        "const": "decision",
                        "type": "string"
                      },
                      {
                        "const": "reflection_entry",
                        "type": "string"
                      },
                      {
                        "const": "feed_entry",
                        "type": "string"
                      },
                      {
                        "const": "principal",
                        "type": "string"
                      },
                      {
                        "const": "authority_proof",
                        "type": "string"
                      },
                      {
                        "const": "scope_admission",
                        "type": "string"
                      },
                      {
                        "const": "grant",
                        "type": "string"
                      },
                      {
                        "const": "mandate",
                        "type": "string"
                      },
                      {
                        "const": "credential",
                        "type": "string"
                      },
                      {
                        "const": "webhook_delivery",
                        "type": "string"
                      },
                      {
                        "const": "redaction_policy",
                        "type": "string"
                      },
                      {
                        "const": "external_url",
                        "type": "string"
                      }
                    ]
                  },
                  "uri": {
                    "minLength": 1,
                    "type": "string"
                  }
                },
                "required": [
                  "type",
                  "uri"
                ],
                "type": "object",
                "x-runx-schema": "runx.reference.v1"
              },
              "type": "array"
            }
          },
          "required": [
            "action_intent",
            "summary",
            "mutating"
          ],
          "type": "object"
        },
        "type": "array"
      },
      "redaction_status": {
        "anyOf": [
          {
            "const": "redacted",
            "type": "string"
          },
          {
            "const": "summary_only",
            "type": "string"
          },
          {
            "const": "blocked",
            "type": "string"
          }
        ]
      },
      "result_refs": {
        "items": {
          "$id": "https://schemas.runx.dev/runx/reference-link/v1.json",
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "additionalProperties": false,
          "properties": {
            "ref": {
              "$id": "https://schemas.runx.dev/runx/reference/v1.json",
              "$schema": "https://json-schema.org/draft/2020-12/schema",
              "additionalProperties": false,
              "properties": {
                "label": {
                  "minLength": 1,
                  "type": "string"
                },
                "locator": {
                  "minLength": 1,
                  "type": "string"
                },
                "observed_at": {
                  "minLength": 1,
                  "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
                  "type": "string"
                },
                "proof_kind": {
                  "anyOf": [
                    {
                      "const": "effect_evidence",
                      "type": "string"
                    },
                    {
                      "const": "effect_finality",
                      "type": "string"
                    },
                    {
                      "const": "credential_resolution",
                      "type": "string"
                    }
                  ]
                },
                "provider": {
                  "minLength": 1,
                  "type": "string"
                },
                "schema": {
                  "const": "runx.reference.v1",
                  "type": "string"
                },
                "type": {
                  "anyOf": [
                    {
                      "const": "github_issue",
                      "type": "string"
                    },
                    {
                      "const": "github_pull_request",
                      "type": "string"
                    },
                    {
                      "const": "github_repo",
                      "type": "string"
                    },
                    {
                      "const": "slack_thread",
                      "type": "string"
                    },
                    {
                      "const": "sentry_event",
                      "type": "string"
                    },
                    {
                      "const": "provider_thread",
                      "type": "string"
                    },
                    {
                      "const": "provider_event",
                      "type": "string"
                    },
                    {
                      "const": "provider_comment",
                      "type": "string"
                    },
                    {
                      "const": "tracking_item",
                      "type": "string"
                    },
                    {
                      "const": "change_request",
                      "type": "string"
                    },
                    {
                      "const": "repository",
                      "type": "string"
                    },
                    {
                      "const": "support_ticket",
                      "type": "string"
                    },
                    {
                      "const": "signal",
                      "type": "string"
                    },
                    {
                      "const": "act",
                      "type": "string"
                    },
                    {
                      "const": "receipt",
                      "type": "string"
                    },
                    {
                      "const": "graph_receipt",
                      "type": "string"
                    },
                    {
                      "const": "artifact",
                      "type": "string"
                    },
                    {
                      "const": "verification",
                      "type": "string"
                    },
                    {
                      "const": "harness",
                      "type": "string"
                    },
                    {
                      "const": "host",
                      "type": "string"
                    },
                    {
                      "const": "deployment",
                      "type": "string"
                    },
                    {
                      "const": "surface",
                      "type": "string"
                    },
                    {
                      "const": "target",
                      "type": "string"
                    },
                    {
                      "const": "opportunity",
                      "type": "string"
                    },
                    {
                      "const": "thesis_assessment",
                      "type": "string"
                    },
                    {
                      "const": "selection",
                      "type": "string"
                    },
                    {
                      "const": "skill_binding",
                      "type": "string"
                    },
                    {
                      "const": "target_transition_entry",
                      "type": "string"
                    },
                    {
                      "const": "selection_cycle",
                      "type": "string"
                    },
                    {
                      "const": "decision",
                      "type": "string"
                    },
                    {
                      "const": "reflection_entry",
                      "type": "string"
                    },
                    {
                      "const": "feed_entry",
                      "type": "string"
                    },
                    {
                      "const": "principal",
                      "type": "string"
                    },
                    {
                      "const": "authority_proof",
                      "type": "string"
                    },
                    {
                      "const": "scope_admission",
                      "type": "string"
                    },
                    {
                      "const": "grant",
                      "type": "string"
                    },
                    {
                      "const": "mandate",
                      "type": "string"
                    },
                    {
                      "const": "credential",
                      "type": "string"
                    },
                    {
                      "const": "webhook_delivery",
                      "type": "string"
                    },
                    {
                      "const": "redaction_policy",
                      "type": "string"
                    },
                    {
                      "const": "external_url",
                      "type": "string"
                    }
                  ]
                },
                "uri": {
                  "minLength": 1,
                  "type": "string"
                }
              },
              "required": [
                "type",
                "uri"
              ],
              "type": "object",
              "x-runx-schema": "runx.reference.v1"
            },
            "role": {
              "minLength": 1,
              "type": "string"
            },
            "schema": {
              "const": "runx.reference_link.v1",
              "type": "string"
            }
          },
          "required": [
            "role",
            "ref"
          ],
          "type": "object",
          "x-runx-schema": "runx.reference_link.v1"
        },
        "type": "array"
      },
      "risks": {
        "items": {
          "minLength": 1,
          "type": "string"
        },
        "type": "array"
      },
      "schema": {
        "anyOf": [
          {
            "const": "runx.operational_proposal.v1",
            "type": "string"
          }
        ]
      },
      "source_event_id": {
        "minLength": 1,
        "pattern": "^[A-Za-z0-9_.:-]+$",
        "type": "string"
      },
      "source_ref": {
        "$id": "https://schemas.runx.dev/runx/reference/v1.json",
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false,
        "properties": {
          "label": {
            "minLength": 1,
            "type": "string"
          },
          "locator": {
            "minLength": 1,
            "type": "string"
          },
          "observed_at": {
            "minLength": 1,
            "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
            "type": "string"
          },
          "proof_kind": {
            "anyOf": [
              {
                "const": "effect_evidence",
                "type": "string"
              },
              {
                "const": "effect_finality",
                "type": "string"
              },
              {
                "const": "credential_resolution",
                "type": "string"
              }
            ]
          },
          "provider": {
            "minLength": 1,
            "type": "string"
          },
          "schema": {
            "const": "runx.reference.v1",
            "type": "string"
          },
          "type": {
            "anyOf": [
              {
                "const": "github_issue",
                "type": "string"
              },
              {
                "const": "github_pull_request",
                "type": "string"
              },
              {
                "const": "github_repo",
                "type": "string"
              },
              {
                "const": "slack_thread",
                "type": "string"
              },
              {
                "const": "sentry_event",
                "type": "string"
              },
              {
                "const": "provider_thread",
                "type": "string"
              },
              {
                "const": "provider_event",
                "type": "string"
              },
              {
                "const": "provider_comment",
                "type": "string"
              },
              {
                "const": "tracking_item",
                "type": "string"
              },
              {
                "const": "change_request",
                "type": "string"
              },
              {
                "const": "repository",
                "type": "string"
              },
              {
                "const": "support_ticket",
                "type": "string"
              },
              {
                "const": "signal",
                "type": "string"
              },
              {
                "const": "act",
                "type": "string"
              },
              {
                "const": "receipt",
                "type": "string"
              },
              {
                "const": "graph_receipt",
                "type": "string"
              },
              {
                "const": "artifact",
                "type": "string"
              },
              {
                "const": "verification",
                "type": "string"
              },
              {
                "const": "harness",
                "type": "string"
              },
              {
                "const": "host",
                "type": "string"
              },
              {
                "const": "deployment",
                "type": "string"
              },
              {
                "const": "surface",
                "type": "string"
              },
              {
                "const": "target",
                "type": "string"
              },
              {
                "const": "opportunity",
                "type": "string"
              },
              {
                "const": "thesis_assessment",
                "type": "string"
              },
              {
                "const": "selection",
                "type": "string"
              },
              {
                "const": "skill_binding",
                "type": "string"
              },
              {
                "const": "target_transition_entry",
                "type": "string"
              },
              {
                "const": "selection_cycle",
                "type": "string"
              },
              {
                "const": "decision",
                "type": "string"
              },
              {
                "const": "reflection_entry",
                "type": "string"
              },
              {
                "const": "feed_entry",
                "type": "string"
              },
              {
                "const": "principal",
                "type": "string"
              },
              {
                "const": "authority_proof",
                "type": "string"
              },
              {
                "const": "scope_admission",
                "type": "string"
              },
              {
                "const": "grant",
                "type": "string"
              },
              {
                "const": "mandate",
                "type": "string"
              },
              {
                "const": "credential",
                "type": "string"
              },
              {
                "const": "webhook_delivery",
                "type": "string"
              },
              {
                "const": "redaction_policy",
                "type": "string"
              },
              {
                "const": "external_url",
                "type": "string"
              }
            ]
          },
          "uri": {
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "type",
          "uri"
        ],
        "type": "object",
        "x-runx-schema": "runx.reference.v1"
      },
      "source_thread_ref": {
        "$id": "https://schemas.runx.dev/runx/reference/v1.json",
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false,
        "properties": {
          "label": {
            "minLength": 1,
            "type": "string"
          },
          "locator": {
            "minLength": 1,
            "type": "string"
          },
          "observed_at": {
            "minLength": 1,
            "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
            "type": "string"
          },
          "proof_kind": {
            "anyOf": [
              {
                "const": "effect_evidence",
                "type": "string"
              },
              {
                "const": "effect_finality",
                "type": "string"
              },
              {
                "const": "credential_resolution",
                "type": "string"
              }
            ]
          },
          "provider": {
            "minLength": 1,
            "type": "string"
          },
          "schema": {
            "const": "runx.reference.v1",
            "type": "string"
          },
          "type": {
            "anyOf": [
              {
                "const": "github_issue",
                "type": "string"
              },
              {
                "const": "github_pull_request",
                "type": "string"
              },
              {
                "const": "github_repo",
                "type": "string"
              },
              {
                "const": "slack_thread",
                "type": "string"
              },
              {
                "const": "sentry_event",
                "type": "string"
              },
              {
                "const": "provider_thread",
                "type": "string"
              },
              {
                "const": "provider_event",
                "type": "string"
              },
              {
                "const": "provider_comment",
                "type": "string"
              },
              {
                "const": "tracking_item",
                "type": "string"
              },
              {
                "const": "change_request",
                "type": "string"
              },
              {
                "const": "repository",
                "type": "string"
              },
              {
                "const": "support_ticket",
                "type": "string"
              },
              {
                "const": "signal",
                "type": "string"
              },
              {
                "const": "act",
                "type": "string"
              },
              {
                "const": "receipt",
                "type": "string"
              },
              {
                "const": "graph_receipt",
                "type": "string"
              },
              {
                "const": "artifact",
                "type": "string"
              },
              {
                "const": "verification",
                "type": "string"
              },
              {
                "const": "harness",
                "type": "string"
              },
              {
                "const": "host",
                "type": "string"
              },
              {
                "const": "deployment",
                "type": "string"
              },
              {
                "const": "surface",
                "type": "string"
              },
              {
                "const": "target",
                "type": "string"
              },
              {
                "const": "opportunity",
                "type": "string"
              },
              {
                "const": "thesis_assessment",
                "type": "string"
              },
              {
                "const": "selection",
                "type": "string"
              },
              {
                "const": "skill_binding",
                "type": "string"
              },
              {
                "const": "target_transition_entry",
                "type": "string"
              },
              {
                "const": "selection_cycle",
                "type": "string"
              },
              {
                "const": "decision",
                "type": "string"
              },
              {
                "const": "reflection_entry",
                "type": "string"
              },
              {
                "const": "feed_entry",
                "type": "string"
              },
              {
                "const": "principal",
                "type": "string"
              },
              {
                "const": "authority_proof",
                "type": "string"
              },
              {
                "const": "scope_admission",
                "type": "string"
              },
              {
                "const": "grant",
                "type": "string"
              },
              {
                "const": "mandate",
                "type": "string"
              },
              {
                "const": "credential",
                "type": "string"
              },
              {
                "const": "webhook_delivery",
                "type": "string"
              },
              {
                "const": "redaction_policy",
                "type": "string"
              },
              {
                "const": "external_url",
                "type": "string"
              }
            ]
          },
          "uri": {
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "type",
          "uri"
        ],
        "type": "object",
        "x-runx-schema": "runx.reference.v1"
      },
      "story_refs": {
        "items": {
          "$id": "https://schemas.runx.dev/runx/reference/v1.json",
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "additionalProperties": false,
          "properties": {
            "label": {
              "minLength": 1,
              "type": "string"
            },
            "locator": {
              "minLength": 1,
              "type": "string"
            },
            "observed_at": {
              "minLength": 1,
              "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
              "type": "string"
            },
            "proof_kind": {
              "anyOf": [
                {
                  "const": "effect_evidence",
                  "type": "string"
                },
                {
                  "const": "effect_finality",
                  "type": "string"
                },
                {
                  "const": "credential_resolution",
                  "type": "string"
                }
              ]
            },
            "provider": {
              "minLength": 1,
              "type": "string"
            },
            "schema": {
              "const": "runx.reference.v1",
              "type": "string"
            },
            "type": {
              "anyOf": [
                {
                  "const": "github_issue",
                  "type": "string"
                },
                {
                  "const": "github_pull_request",
                  "type": "string"
                },
                {
                  "const": "github_repo",
                  "type": "string"
                },
                {
                  "const": "slack_thread",
                  "type": "string"
                },
                {
                  "const": "sentry_event",
                  "type": "string"
                },
                {
                  "const": "provider_thread",
                  "type": "string"
                },
                {
                  "const": "provider_event",
                  "type": "string"
                },
                {
                  "const": "provider_comment",
                  "type": "string"
                },
                {
                  "const": "tracking_item",
                  "type": "string"
                },
                {
                  "const": "change_request",
                  "type": "string"
                },
                {
                  "const": "repository",
                  "type": "string"
                },
                {
                  "const": "support_ticket",
                  "type": "string"
                },
                {
                  "const": "signal",
                  "type": "string"
                },
                {
                  "const": "act",
                  "type": "string"
                },
                {
                  "const": "receipt",
                  "type": "string"
                },
                {
                  "const": "graph_receipt",
                  "type": "string"
                },
                {
                  "const": "artifact",
                  "type": "string"
                },
                {
                  "const": "verification",
                  "type": "string"
                },
                {
                  "const": "harness",
                  "type": "string"
                },
                {
                  "const": "host",
                  "type": "string"
                },
                {
                  "const": "deployment",
                  "type": "string"
                },
                {
                  "const": "surface",
                  "type": "string"
                },
                {
                  "const": "target",
                  "type": "string"
                },
                {
                  "const": "opportunity",
                  "type": "string"
                },
                {
                  "const": "thesis_assessment",
                  "type": "string"
                },
                {
                  "const": "selection",
                  "type": "string"
                },
                {
                  "const": "skill_binding",
                  "type": "string"
                },
                {
                  "const": "target_transition_entry",
                  "type": "string"
                },
                {
                  "const": "selection_cycle",
                  "type": "string"
                },
                {
                  "const": "decision",
                  "type": "string"
                },
                {
                  "const": "reflection_entry",
                  "type": "string"
                },
                {
                  "const": "feed_entry",
                  "type": "string"
                },
                {
                  "const": "principal",
                  "type": "string"
                },
                {
                  "const": "authority_proof",
                  "type": "string"
                },
                {
                  "const": "scope_admission",
                  "type": "string"
                },
                {
                  "const": "grant",
                  "type": "string"
                },
                {
                  "const": "mandate",
                  "type": "string"
                },
                {
                  "const": "credential",
                  "type": "string"
                },
                {
                  "const": "webhook_delivery",
                  "type": "string"
                },
                {
                  "const": "redaction_policy",
                  "type": "string"
                },
                {
                  "const": "external_url",
                  "type": "string"
                }
              ]
            },
            "uri": {
              "minLength": 1,
              "type": "string"
            }
          },
          "required": [
            "type",
            "uri"
          ],
          "type": "object",
          "x-runx-schema": "runx.reference.v1"
        },
        "type": "array"
      }
    },
    "required": [
      "schema",
      "proposal_id",
      "proposal_kind",
      "source_event_id",
      "idempotency",
      "source_ref",
      "hydrated_context_ref",
      "redaction_status",
      "decision_summary",
      "rationale",
      "owner_route_id",
      "confidence",
      "authority",
      "public_summary"
    ],
    "type": "object",
    "x-runx-schema": "runx.operational_proposal.v1"
  } as JsonSchema,
  "output.schema.json": {
    "$id": "https://runx.ai/spec/output.schema.json",
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "patternProperties": {
      "^(.*)$": {
        "anyOf": [
          {
            "anyOf": [
              {
                "const": "string",
                "type": "string"
              },
              {
                "const": "number",
                "type": "string"
              },
              {
                "const": "integer",
                "type": "string"
              },
              {
                "const": "boolean",
                "type": "string"
              },
              {
                "const": "array",
                "type": "string"
              },
              {
                "const": "object",
                "type": "string"
              },
              {
                "const": "null",
                "type": "string"
              }
            ]
          },
          {
            "additionalProperties": false,
            "properties": {
              "description": {
                "type": "string"
              },
              "enum": {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              "required": {
                "type": "boolean"
              },
              "type": {
                "anyOf": [
                  {
                    "const": "string",
                    "type": "string"
                  },
                  {
                    "const": "number",
                    "type": "string"
                  },
                  {
                    "const": "integer",
                    "type": "string"
                  },
                  {
                    "const": "boolean",
                    "type": "string"
                  },
                  {
                    "const": "array",
                    "type": "string"
                  },
                  {
                    "const": "object",
                    "type": "string"
                  },
                  {
                    "const": "null",
                    "type": "string"
                  }
                ]
              },
              "wrap_as": {
                "minLength": 1,
                "type": "string"
              }
            },
            "type": "object"
          }
        ]
      }
    },
    "type": "object"
  } as JsonSchema,
  "packet-index.schema.json": {
    "$id": "https://schemas.runx.dev/runx/packet/index/v1.json",
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "additionalProperties": false,
    "properties": {
      "packets": {
        "items": {
          "additionalProperties": false,
          "properties": {
            "id": {
              "type": "string"
            },
            "package": {
              "type": "string"
            },
            "path": {
              "type": "string"
            },
            "sha256": {
              "type": "string"
            },
            "version": {
              "type": "string"
            }
          },
          "required": [
            "id",
            "package",
            "version",
            "path",
            "sha256"
          ],
          "type": "object"
        },
        "type": "array"
      },
      "schema": {
        "anyOf": [
          {
            "const": "runx.packet.index.v1",
            "type": "string"
          }
        ]
      }
    },
    "required": [
      "schema",
      "packets"
    ],
    "type": "object",
    "x-runx-schema": "runx.packet.index.v1"
  } as JsonSchema,
  "question.schema.json": {
    "$id": "https://runx.ai/spec/question.schema.json",
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "additionalProperties": false,
    "properties": {
      "description": {
        "type": "string"
      },
      "id": {
        "minLength": 1,
        "type": "string"
      },
      "prompt": {
        "minLength": 1,
        "type": "string"
      },
      "required": {
        "type": "boolean"
      },
      "type": {
        "minLength": 1,
        "type": "string"
      }
    },
    "required": [
      "id",
      "prompt",
      "required",
      "type"
    ],
    "type": "object"
  } as JsonSchema,
  "receipt.schema.json": {
    "$id": "https://schemas.runx.dev/runx/receipt/v1.json",
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "additionalProperties": false,
    "properties": {
      "acts": {
        "items": {
          "additionalProperties": false,
          "properties": {
            "artifact_refs": {
              "items": {
                "$id": "https://schemas.runx.dev/runx/reference/v1.json",
                "$schema": "https://json-schema.org/draft/2020-12/schema",
                "additionalProperties": false,
                "properties": {
                  "label": {
                    "minLength": 1,
                    "type": "string"
                  },
                  "locator": {
                    "minLength": 1,
                    "type": "string"
                  },
                  "observed_at": {
                    "minLength": 1,
                    "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
                    "type": "string"
                  },
                  "proof_kind": {
                    "anyOf": [
                      {
                        "const": "effect_evidence",
                        "type": "string"
                      },
                      {
                        "const": "effect_finality",
                        "type": "string"
                      },
                      {
                        "const": "credential_resolution",
                        "type": "string"
                      }
                    ]
                  },
                  "provider": {
                    "minLength": 1,
                    "type": "string"
                  },
                  "schema": {
                    "const": "runx.reference.v1",
                    "type": "string"
                  },
                  "type": {
                    "anyOf": [
                      {
                        "const": "github_issue",
                        "type": "string"
                      },
                      {
                        "const": "github_pull_request",
                        "type": "string"
                      },
                      {
                        "const": "github_repo",
                        "type": "string"
                      },
                      {
                        "const": "slack_thread",
                        "type": "string"
                      },
                      {
                        "const": "sentry_event",
                        "type": "string"
                      },
                      {
                        "const": "provider_thread",
                        "type": "string"
                      },
                      {
                        "const": "provider_event",
                        "type": "string"
                      },
                      {
                        "const": "provider_comment",
                        "type": "string"
                      },
                      {
                        "const": "tracking_item",
                        "type": "string"
                      },
                      {
                        "const": "change_request",
                        "type": "string"
                      },
                      {
                        "const": "repository",
                        "type": "string"
                      },
                      {
                        "const": "support_ticket",
                        "type": "string"
                      },
                      {
                        "const": "signal",
                        "type": "string"
                      },
                      {
                        "const": "act",
                        "type": "string"
                      },
                      {
                        "const": "receipt",
                        "type": "string"
                      },
                      {
                        "const": "graph_receipt",
                        "type": "string"
                      },
                      {
                        "const": "artifact",
                        "type": "string"
                      },
                      {
                        "const": "verification",
                        "type": "string"
                      },
                      {
                        "const": "harness",
                        "type": "string"
                      },
                      {
                        "const": "host",
                        "type": "string"
                      },
                      {
                        "const": "deployment",
                        "type": "string"
                      },
                      {
                        "const": "surface",
                        "type": "string"
                      },
                      {
                        "const": "target",
                        "type": "string"
                      },
                      {
                        "const": "opportunity",
                        "type": "string"
                      },
                      {
                        "const": "thesis_assessment",
                        "type": "string"
                      },
                      {
                        "const": "selection",
                        "type": "string"
                      },
                      {
                        "const": "skill_binding",
                        "type": "string"
                      },
                      {
                        "const": "target_transition_entry",
                        "type": "string"
                      },
                      {
                        "const": "selection_cycle",
                        "type": "string"
                      },
                      {
                        "const": "decision",
                        "type": "string"
                      },
                      {
                        "const": "reflection_entry",
                        "type": "string"
                      },
                      {
                        "const": "feed_entry",
                        "type": "string"
                      },
                      {
                        "const": "principal",
                        "type": "string"
                      },
                      {
                        "const": "authority_proof",
                        "type": "string"
                      },
                      {
                        "const": "scope_admission",
                        "type": "string"
                      },
                      {
                        "const": "grant",
                        "type": "string"
                      },
                      {
                        "const": "mandate",
                        "type": "string"
                      },
                      {
                        "const": "credential",
                        "type": "string"
                      },
                      {
                        "const": "webhook_delivery",
                        "type": "string"
                      },
                      {
                        "const": "redaction_policy",
                        "type": "string"
                      },
                      {
                        "const": "external_url",
                        "type": "string"
                      }
                    ]
                  },
                  "uri": {
                    "minLength": 1,
                    "type": "string"
                  }
                },
                "required": [
                  "type",
                  "uri"
                ],
                "type": "object",
                "x-runx-schema": "runx.reference.v1"
              },
              "type": "array"
            },
            "by": {
              "additionalProperties": false,
              "properties": {
                "model": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "prompt_version": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "provider": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "provider",
                "model",
                "prompt_version"
              ],
              "type": "object"
            },
            "closure": {
              "additionalProperties": false,
              "properties": {
                "closed_at": {
                  "minLength": 1,
                  "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
                  "type": "string"
                },
                "disposition": {
                  "anyOf": [
                    {
                      "const": "closed",
                      "type": "string"
                    },
                    {
                      "const": "deferred",
                      "type": "string"
                    },
                    {
                      "const": "superseded",
                      "type": "string"
                    },
                    {
                      "const": "declined",
                      "type": "string"
                    },
                    {
                      "const": "blocked",
                      "type": "string"
                    },
                    {
                      "const": "failed",
                      "type": "string"
                    },
                    {
                      "const": "killed",
                      "type": "string"
                    },
                    {
                      "const": "timed_out",
                      "type": "string"
                    }
                  ]
                },
                "reason_code": {
                  "minLength": 1,
                  "type": "string"
                },
                "summary": {
                  "minLength": 1,
                  "type": "string"
                }
              },
              "required": [
                "disposition",
                "reason_code",
                "summary",
                "closed_at"
              ],
              "type": "object"
            },
            "context_ref": {
              "$id": "https://schemas.runx.dev/runx/reference/v1.json",
              "$schema": "https://json-schema.org/draft/2020-12/schema",
              "additionalProperties": false,
              "properties": {
                "label": {
                  "minLength": 1,
                  "type": "string"
                },
                "locator": {
                  "minLength": 1,
                  "type": "string"
                },
                "observed_at": {
                  "minLength": 1,
                  "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
                  "type": "string"
                },
                "proof_kind": {
                  "anyOf": [
                    {
                      "const": "effect_evidence",
                      "type": "string"
                    },
                    {
                      "const": "effect_finality",
                      "type": "string"
                    },
                    {
                      "const": "credential_resolution",
                      "type": "string"
                    }
                  ]
                },
                "provider": {
                  "minLength": 1,
                  "type": "string"
                },
                "schema": {
                  "const": "runx.reference.v1",
                  "type": "string"
                },
                "type": {
                  "anyOf": [
                    {
                      "const": "github_issue",
                      "type": "string"
                    },
                    {
                      "const": "github_pull_request",
                      "type": "string"
                    },
                    {
                      "const": "github_repo",
                      "type": "string"
                    },
                    {
                      "const": "slack_thread",
                      "type": "string"
                    },
                    {
                      "const": "sentry_event",
                      "type": "string"
                    },
                    {
                      "const": "provider_thread",
                      "type": "string"
                    },
                    {
                      "const": "provider_event",
                      "type": "string"
                    },
                    {
                      "const": "provider_comment",
                      "type": "string"
                    },
                    {
                      "const": "tracking_item",
                      "type": "string"
                    },
                    {
                      "const": "change_request",
                      "type": "string"
                    },
                    {
                      "const": "repository",
                      "type": "string"
                    },
                    {
                      "const": "support_ticket",
                      "type": "string"
                    },
                    {
                      "const": "signal",
                      "type": "string"
                    },
                    {
                      "const": "act",
                      "type": "string"
                    },
                    {
                      "const": "receipt",
                      "type": "string"
                    },
                    {
                      "const": "graph_receipt",
                      "type": "string"
                    },
                    {
                      "const": "artifact",
                      "type": "string"
                    },
                    {
                      "const": "verification",
                      "type": "string"
                    },
                    {
                      "const": "harness",
                      "type": "string"
                    },
                    {
                      "const": "host",
                      "type": "string"
                    },
                    {
                      "const": "deployment",
                      "type": "string"
                    },
                    {
                      "const": "surface",
                      "type": "string"
                    },
                    {
                      "const": "target",
                      "type": "string"
                    },
                    {
                      "const": "opportunity",
                      "type": "string"
                    },
                    {
                      "const": "thesis_assessment",
                      "type": "string"
                    },
                    {
                      "const": "selection",
                      "type": "string"
                    },
                    {
                      "const": "skill_binding",
                      "type": "string"
                    },
                    {
                      "const": "target_transition_entry",
                      "type": "string"
                    },
                    {
                      "const": "selection_cycle",
                      "type": "string"
                    },
                    {
                      "const": "decision",
                      "type": "string"
                    },
                    {
                      "const": "reflection_entry",
                      "type": "string"
                    },
                    {
                      "const": "feed_entry",
                      "type": "string"
                    },
                    {
                      "const": "principal",
                      "type": "string"
                    },
                    {
                      "const": "authority_proof",
                      "type": "string"
                    },
                    {
                      "const": "scope_admission",
                      "type": "string"
                    },
                    {
                      "const": "grant",
                      "type": "string"
                    },
                    {
                      "const": "mandate",
                      "type": "string"
                    },
                    {
                      "const": "credential",
                      "type": "string"
                    },
                    {
                      "const": "webhook_delivery",
                      "type": "string"
                    },
                    {
                      "const": "redaction_policy",
                      "type": "string"
                    },
                    {
                      "const": "external_url",
                      "type": "string"
                    }
                  ]
                },
                "uri": {
                  "minLength": 1,
                  "type": "string"
                }
              },
              "required": [
                "type",
                "uri"
              ],
              "type": "object",
              "x-runx-schema": "runx.reference.v1"
            },
            "criterion_bindings": {
              "items": {
                "additionalProperties": false,
                "properties": {
                  "criterion_id": {
                    "minLength": 1,
                    "type": "string"
                  },
                  "evidence_refs": {
                    "items": {
                      "$id": "https://schemas.runx.dev/runx/reference/v1.json",
                      "$schema": "https://json-schema.org/draft/2020-12/schema",
                      "additionalProperties": false,
                      "properties": {
                        "label": {
                          "minLength": 1,
                          "type": "string"
                        },
                        "locator": {
                          "minLength": 1,
                          "type": "string"
                        },
                        "observed_at": {
                          "minLength": 1,
                          "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
                          "type": "string"
                        },
                        "proof_kind": {
                          "anyOf": [
                            {
                              "const": "effect_evidence",
                              "type": "string"
                            },
                            {
                              "const": "effect_finality",
                              "type": "string"
                            },
                            {
                              "const": "credential_resolution",
                              "type": "string"
                            }
                          ]
                        },
                        "provider": {
                          "minLength": 1,
                          "type": "string"
                        },
                        "schema": {
                          "const": "runx.reference.v1",
                          "type": "string"
                        },
                        "type": {
                          "anyOf": [
                            {
                              "const": "github_issue",
                              "type": "string"
                            },
                            {
                              "const": "github_pull_request",
                              "type": "string"
                            },
                            {
                              "const": "github_repo",
                              "type": "string"
                            },
                            {
                              "const": "slack_thread",
                              "type": "string"
                            },
                            {
                              "const": "sentry_event",
                              "type": "string"
                            },
                            {
                              "const": "provider_thread",
                              "type": "string"
                            },
                            {
                              "const": "provider_event",
                              "type": "string"
                            },
                            {
                              "const": "provider_comment",
                              "type": "string"
                            },
                            {
                              "const": "tracking_item",
                              "type": "string"
                            },
                            {
                              "const": "change_request",
                              "type": "string"
                            },
                            {
                              "const": "repository",
                              "type": "string"
                            },
                            {
                              "const": "support_ticket",
                              "type": "string"
                            },
                            {
                              "const": "signal",
                              "type": "string"
                            },
                            {
                              "const": "act",
                              "type": "string"
                            },
                            {
                              "const": "receipt",
                              "type": "string"
                            },
                            {
                              "const": "graph_receipt",
                              "type": "string"
                            },
                            {
                              "const": "artifact",
                              "type": "string"
                            },
                            {
                              "const": "verification",
                              "type": "string"
                            },
                            {
                              "const": "harness",
                              "type": "string"
                            },
                            {
                              "const": "host",
                              "type": "string"
                            },
                            {
                              "const": "deployment",
                              "type": "string"
                            },
                            {
                              "const": "surface",
                              "type": "string"
                            },
                            {
                              "const": "target",
                              "type": "string"
                            },
                            {
                              "const": "opportunity",
                              "type": "string"
                            },
                            {
                              "const": "thesis_assessment",
                              "type": "string"
                            },
                            {
                              "const": "selection",
                              "type": "string"
                            },
                            {
                              "const": "skill_binding",
                              "type": "string"
                            },
                            {
                              "const": "target_transition_entry",
                              "type": "string"
                            },
                            {
                              "const": "selection_cycle",
                              "type": "string"
                            },
                            {
                              "const": "decision",
                              "type": "string"
                            },
                            {
                              "const": "reflection_entry",
                              "type": "string"
                            },
                            {
                              "const": "feed_entry",
                              "type": "string"
                            },
                            {
                              "const": "principal",
                              "type": "string"
                            },
                            {
                              "const": "authority_proof",
                              "type": "string"
                            },
                            {
                              "const": "scope_admission",
                              "type": "string"
                            },
                            {
                              "const": "grant",
                              "type": "string"
                            },
                            {
                              "const": "mandate",
                              "type": "string"
                            },
                            {
                              "const": "credential",
                              "type": "string"
                            },
                            {
                              "const": "webhook_delivery",
                              "type": "string"
                            },
                            {
                              "const": "redaction_policy",
                              "type": "string"
                            },
                            {
                              "const": "external_url",
                              "type": "string"
                            }
                          ]
                        },
                        "uri": {
                          "minLength": 1,
                          "type": "string"
                        }
                      },
                      "required": [
                        "type",
                        "uri"
                      ],
                      "type": "object",
                      "x-runx-schema": "runx.reference.v1"
                    },
                    "type": "array"
                  },
                  "status": {
                    "anyOf": [
                      {
                        "const": "verified",
                        "type": "string"
                      },
                      {
                        "const": "failed",
                        "type": "string"
                      },
                      {
                        "const": "pending",
                        "type": "string"
                      },
                      {
                        "const": "not_applicable",
                        "type": "string"
                      },
                      {
                        "const": "unknown",
                        "type": "string"
                      }
                    ]
                  },
                  "summary": {
                    "minLength": 1,
                    "type": "string"
                  },
                  "verification_refs": {
                    "items": {
                      "$id": "https://schemas.runx.dev/runx/reference/v1.json",
                      "$schema": "https://json-schema.org/draft/2020-12/schema",
                      "additionalProperties": false,
                      "properties": {
                        "label": {
                          "minLength": 1,
                          "type": "string"
                        },
                        "locator": {
                          "minLength": 1,
                          "type": "string"
                        },
                        "observed_at": {
                          "minLength": 1,
                          "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
                          "type": "string"
                        },
                        "proof_kind": {
                          "anyOf": [
                            {
                              "const": "effect_evidence",
                              "type": "string"
                            },
                            {
                              "const": "effect_finality",
                              "type": "string"
                            },
                            {
                              "const": "credential_resolution",
                              "type": "string"
                            }
                          ]
                        },
                        "provider": {
                          "minLength": 1,
                          "type": "string"
                        },
                        "schema": {
                          "const": "runx.reference.v1",
                          "type": "string"
                        },
                        "type": {
                          "anyOf": [
                            {
                              "const": "github_issue",
                              "type": "string"
                            },
                            {
                              "const": "github_pull_request",
                              "type": "string"
                            },
                            {
                              "const": "github_repo",
                              "type": "string"
                            },
                            {
                              "const": "slack_thread",
                              "type": "string"
                            },
                            {
                              "const": "sentry_event",
                              "type": "string"
                            },
                            {
                              "const": "provider_thread",
                              "type": "string"
                            },
                            {
                              "const": "provider_event",
                              "type": "string"
                            },
                            {
                              "const": "provider_comment",
                              "type": "string"
                            },
                            {
                              "const": "tracking_item",
                              "type": "string"
                            },
                            {
                              "const": "change_request",
                              "type": "string"
                            },
                            {
                              "const": "repository",
                              "type": "string"
                            },
                            {
                              "const": "support_ticket",
                              "type": "string"
                            },
                            {
                              "const": "signal",
                              "type": "string"
                            },
                            {
                              "const": "act",
                              "type": "string"
                            },
                            {
                              "const": "receipt",
                              "type": "string"
                            },
                            {
                              "const": "graph_receipt",
                              "type": "string"
                            },
                            {
                              "const": "artifact",
                              "type": "string"
                            },
                            {
                              "const": "verification",
                              "type": "string"
                            },
                            {
                              "const": "harness",
                              "type": "string"
                            },
                            {
                              "const": "host",
                              "type": "string"
                            },
                            {
                              "const": "deployment",
                              "type": "string"
                            },
                            {
                              "const": "surface",
                              "type": "string"
                            },
                            {
                              "const": "target",
                              "type": "string"
                            },
                            {
                              "const": "opportunity",
                              "type": "string"
                            },
                            {
                              "const": "thesis_assessment",
                              "type": "string"
                            },
                            {
                              "const": "selection",
                              "type": "string"
                            },
                            {
                              "const": "skill_binding",
                              "type": "string"
                            },
                            {
                              "const": "target_transition_entry",
                              "type": "string"
                            },
                            {
                              "const": "selection_cycle",
                              "type": "string"
                            },
                            {
                              "const": "decision",
                              "type": "string"
                            },
                            {
                              "const": "reflection_entry",
                              "type": "string"
                            },
                            {
                              "const": "feed_entry",
                              "type": "string"
                            },
                            {
                              "const": "principal",
                              "type": "string"
                            },
                            {
                              "const": "authority_proof",
                              "type": "string"
                            },
                            {
                              "const": "scope_admission",
                              "type": "string"
                            },
                            {
                              "const": "grant",
                              "type": "string"
                            },
                            {
                              "const": "mandate",
                              "type": "string"
                            },
                            {
                              "const": "credential",
                              "type": "string"
                            },
                            {
                              "const": "webhook_delivery",
                              "type": "string"
                            },
                            {
                              "const": "redaction_policy",
                              "type": "string"
                            },
                            {
                              "const": "external_url",
                              "type": "string"
                            }
                          ]
                        },
                        "uri": {
                          "minLength": 1,
                          "type": "string"
                        }
                      },
                      "required": [
                        "type",
                        "uri"
                      ],
                      "type": "object",
                      "x-runx-schema": "runx.reference.v1"
                    },
                    "type": "array"
                  }
                },
                "required": [
                  "criterion_id",
                  "status"
                ],
                "type": "object"
              },
              "type": "array"
            },
            "form": {
              "anyOf": [
                {
                  "const": "revision",
                  "type": "string"
                },
                {
                  "const": "reply",
                  "type": "string"
                },
                {
                  "const": "review",
                  "type": "string"
                },
                {
                  "const": "observation",
                  "type": "string"
                },
                {
                  "const": "verification",
                  "type": "string"
                }
              ]
            },
            "id": {
              "minLength": 1,
              "type": "string"
            },
            "intent": {
              "additionalProperties": false,
              "properties": {
                "constraints": {
                  "items": {
                    "minLength": 1,
                    "type": "string"
                  },
                  "type": "array"
                },
                "derived_from": {
                  "items": {
                    "$id": "https://schemas.runx.dev/runx/reference/v1.json",
                    "$schema": "https://json-schema.org/draft/2020-12/schema",
                    "additionalProperties": false,
                    "properties": {
                      "label": {
                        "minLength": 1,
                        "type": "string"
                      },
                      "locator": {
                        "minLength": 1,
                        "type": "string"
                      },
                      "observed_at": {
                        "minLength": 1,
                        "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
                        "type": "string"
                      },
                      "proof_kind": {
                        "anyOf": [
                          {
                            "const": "effect_evidence",
                            "type": "string"
                          },
                          {
                            "const": "effect_finality",
                            "type": "string"
                          },
                          {
                            "const": "credential_resolution",
                            "type": "string"
                          }
                        ]
                      },
                      "provider": {
                        "minLength": 1,
                        "type": "string"
                      },
                      "schema": {
                        "const": "runx.reference.v1",
                        "type": "string"
                      },
                      "type": {
                        "anyOf": [
                          {
                            "const": "github_issue",
                            "type": "string"
                          },
                          {
                            "const": "github_pull_request",
                            "type": "string"
                          },
                          {
                            "const": "github_repo",
                            "type": "string"
                          },
                          {
                            "const": "slack_thread",
                            "type": "string"
                          },
                          {
                            "const": "sentry_event",
                            "type": "string"
                          },
                          {
                            "const": "provider_thread",
                            "type": "string"
                          },
                          {
                            "const": "provider_event",
                            "type": "string"
                          },
                          {
                            "const": "provider_comment",
                            "type": "string"
                          },
                          {
                            "const": "tracking_item",
                            "type": "string"
                          },
                          {
                            "const": "change_request",
                            "type": "string"
                          },
                          {
                            "const": "repository",
                            "type": "string"
                          },
                          {
                            "const": "support_ticket",
                            "type": "string"
                          },
                          {
                            "const": "signal",
                            "type": "string"
                          },
                          {
                            "const": "act",
                            "type": "string"
                          },
                          {
                            "const": "receipt",
                            "type": "string"
                          },
                          {
                            "const": "graph_receipt",
                            "type": "string"
                          },
                          {
                            "const": "artifact",
                            "type": "string"
                          },
                          {
                            "const": "verification",
                            "type": "string"
                          },
                          {
                            "const": "harness",
                            "type": "string"
                          },
                          {
                            "const": "host",
                            "type": "string"
                          },
                          {
                            "const": "deployment",
                            "type": "string"
                          },
                          {
                            "const": "surface",
                            "type": "string"
                          },
                          {
                            "const": "target",
                            "type": "string"
                          },
                          {
                            "const": "opportunity",
                            "type": "string"
                          },
                          {
                            "const": "thesis_assessment",
                            "type": "string"
                          },
                          {
                            "const": "selection",
                            "type": "string"
                          },
                          {
                            "const": "skill_binding",
                            "type": "string"
                          },
                          {
                            "const": "target_transition_entry",
                            "type": "string"
                          },
                          {
                            "const": "selection_cycle",
                            "type": "string"
                          },
                          {
                            "const": "decision",
                            "type": "string"
                          },
                          {
                            "const": "reflection_entry",
                            "type": "string"
                          },
                          {
                            "const": "feed_entry",
                            "type": "string"
                          },
                          {
                            "const": "principal",
                            "type": "string"
                          },
                          {
                            "const": "authority_proof",
                            "type": "string"
                          },
                          {
                            "const": "scope_admission",
                            "type": "string"
                          },
                          {
                            "const": "grant",
                            "type": "string"
                          },
                          {
                            "const": "mandate",
                            "type": "string"
                          },
                          {
                            "const": "credential",
                            "type": "string"
                          },
                          {
                            "const": "webhook_delivery",
                            "type": "string"
                          },
                          {
                            "const": "redaction_policy",
                            "type": "string"
                          },
                          {
                            "const": "external_url",
                            "type": "string"
                          }
                        ]
                      },
                      "uri": {
                        "minLength": 1,
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "uri"
                    ],
                    "type": "object",
                    "x-runx-schema": "runx.reference.v1"
                  },
                  "type": "array"
                },
                "legitimacy": {
                  "minLength": 1,
                  "type": "string"
                },
                "purpose": {
                  "minLength": 1,
                  "type": "string"
                },
                "success_criteria": {
                  "items": {
                    "additionalProperties": false,
                    "properties": {
                      "criterion_id": {
                        "minLength": 1,
                        "type": "string"
                      },
                      "required": {
                        "type": "boolean"
                      },
                      "statement": {
                        "minLength": 1,
                        "type": "string"
                      }
                    },
                    "required": [
                      "criterion_id",
                      "statement",
                      "required"
                    ],
                    "type": "object"
                  },
                  "type": "array"
                }
              },
              "required": [
                "purpose",
                "legitimacy"
              ],
              "type": "object"
            },
            "revision": {
              "additionalProperties": false,
              "properties": {
                "change_plan": {
                  "additionalProperties": false,
                  "properties": {
                    "plan_id": {
                      "minLength": 1,
                      "type": "string"
                    },
                    "risks": {
                      "items": {
                        "minLength": 1,
                        "type": "string"
                      },
                      "type": "array"
                    },
                    "steps": {
                      "items": {
                        "minLength": 1,
                        "type": "string"
                      },
                      "type": "array"
                    },
                    "summary": {
                      "minLength": 1,
                      "type": "string"
                    }
                  },
                  "required": [
                    "plan_id",
                    "summary"
                  ],
                  "type": "object"
                },
                "change_request": {
                  "additionalProperties": false,
                  "properties": {
                    "request_id": {
                      "minLength": 1,
                      "type": "string"
                    },
                    "success_criteria": {
                      "items": {
                        "additionalProperties": false,
                        "properties": {
                          "criterion_id": {
                            "minLength": 1,
                            "type": "string"
                          },
                          "required": {
                            "type": "boolean"
                          },
                          "statement": {
                            "minLength": 1,
                            "type": "string"
                          }
                        },
                        "required": [
                          "criterion_id",
                          "statement",
                          "required"
                        ],
                        "type": "object"
                      },
                      "type": "array"
                    },
                    "summary": {
                      "minLength": 1,
                      "type": "string"
                    },
                    "target_surfaces": {
                      "items": {
                        "additionalProperties": false,
                        "properties": {
                          "mutating": {
                            "type": "boolean"
                          },
                          "rationale": {
                            "minLength": 1,
                            "type": "string"
                          },
                          "surface_ref": {
                            "$id": "https://schemas.runx.dev/runx/reference/v1.json",
                            "$schema": "https://json-schema.org/draft/2020-12/schema",
                            "additionalProperties": false,
                            "properties": {
                              "label": {
                                "minLength": 1,
                                "type": "string"
                              },
                              "locator": {
                                "minLength": 1,
                                "type": "string"
                              },
                              "observed_at": {
                                "minLength": 1,
                                "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
                                "type": "string"
                              },
                              "proof_kind": {
                                "anyOf": [
                                  {
                                    "const": "effect_evidence",
                                    "type": "string"
                                  },
                                  {
                                    "const": "effect_finality",
                                    "type": "string"
                                  },
                                  {
                                    "const": "credential_resolution",
                                    "type": "string"
                                  }
                                ]
                              },
                              "provider": {
                                "minLength": 1,
                                "type": "string"
                              },
                              "schema": {
                                "const": "runx.reference.v1",
                                "type": "string"
                              },
                              "type": {
                                "anyOf": [
                                  {
                                    "const": "github_issue",
                                    "type": "string"
                                  },
                                  {
                                    "const": "github_pull_request",
                                    "type": "string"
                                  },
                                  {
                                    "const": "github_repo",
                                    "type": "string"
                                  },
                                  {
                                    "const": "slack_thread",
                                    "type": "string"
                                  },
                                  {
                                    "const": "sentry_event",
                                    "type": "string"
                                  },
                                  {
                                    "const": "provider_thread",
                                    "type": "string"
                                  },
                                  {
                                    "const": "provider_event",
                                    "type": "string"
                                  },
                                  {
                                    "const": "provider_comment",
                                    "type": "string"
                                  },
                                  {
                                    "const": "tracking_item",
                                    "type": "string"
                                  },
                                  {
                                    "const": "change_request",
                                    "type": "string"
                                  },
                                  {
                                    "const": "repository",
                                    "type": "string"
                                  },
                                  {
                                    "const": "support_ticket",
                                    "type": "string"
                                  },
                                  {
                                    "const": "signal",
                                    "type": "string"
                                  },
                                  {
                                    "const": "act",
                                    "type": "string"
                                  },
                                  {
                                    "const": "receipt",
                                    "type": "string"
                                  },
                                  {
                                    "const": "graph_receipt",
                                    "type": "string"
                                  },
                                  {
                                    "const": "artifact",
                                    "type": "string"
                                  },
                                  {
                                    "const": "verification",
                                    "type": "string"
                                  },
                                  {
                                    "const": "harness",
                                    "type": "string"
                                  },
                                  {
                                    "const": "host",
                                    "type": "string"
                                  },
                                  {
                                    "const": "deployment",
                                    "type": "string"
                                  },
                                  {
                                    "const": "surface",
                                    "type": "string"
                                  },
                                  {
                                    "const": "target",
                                    "type": "string"
                                  },
                                  {
                                    "const": "opportunity",
                                    "type": "string"
                                  },
                                  {
                                    "const": "thesis_assessment",
                                    "type": "string"
                                  },
                                  {
                                    "const": "selection",
                                    "type": "string"
                                  },
                                  {
                                    "const": "skill_binding",
                                    "type": "string"
                                  },
                                  {
                                    "const": "target_transition_entry",
                                    "type": "string"
                                  },
                                  {
                                    "const": "selection_cycle",
                                    "type": "string"
                                  },
                                  {
                                    "const": "decision",
                                    "type": "string"
                                  },
                                  {
                                    "const": "reflection_entry",
                                    "type": "string"
                                  },
                                  {
                                    "const": "feed_entry",
                                    "type": "string"
                                  },
                                  {
                                    "const": "principal",
                                    "type": "string"
                                  },
                                  {
                                    "const": "authority_proof",
                                    "type": "string"
                                  },
                                  {
                                    "const": "scope_admission",
                                    "type": "string"
                                  },
                                  {
                                    "const": "grant",
                                    "type": "string"
                                  },
                                  {
                                    "const": "mandate",
                                    "type": "string"
                                  },
                                  {
                                    "const": "credential",
                                    "type": "string"
                                  },
                                  {
                                    "const": "webhook_delivery",
                                    "type": "string"
                                  },
                                  {
                                    "const": "redaction_policy",
                                    "type": "string"
                                  },
                                  {
                                    "const": "external_url",
                                    "type": "string"
                                  }
                                ]
                              },
                              "uri": {
                                "minLength": 1,
                                "type": "string"
                              }
                            },
                            "required": [
                              "type",
                              "uri"
                            ],
                            "type": "object",
                            "x-runx-schema": "runx.reference.v1"
                          }
                        },
                        "required": [
                          "surface_ref",
                          "mutating"
                        ],
                        "type": "object"
                      },
                      "type": "array"
                    }
                  },
                  "required": [
                    "request_id",
                    "summary"
                  ],
                  "type": "object"
                },
                "handoff_refs": {
                  "items": {
                    "$id": "https://schemas.runx.dev/runx/reference/v1.json",
                    "$schema": "https://json-schema.org/draft/2020-12/schema",
                    "additionalProperties": false,
                    "properties": {
                      "label": {
                        "minLength": 1,
                        "type": "string"
                      },
                      "locator": {
                        "minLength": 1,
                        "type": "string"
                      },
                      "observed_at": {
                        "minLength": 1,
                        "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
                        "type": "string"
                      },
                      "proof_kind": {
                        "anyOf": [
                          {
                            "const": "effect_evidence",
                            "type": "string"
                          },
                          {
                            "const": "effect_finality",
                            "type": "string"
                          },
                          {
                            "const": "credential_resolution",
                            "type": "string"
                          }
                        ]
                      },
                      "provider": {
                        "minLength": 1,
                        "type": "string"
                      },
                      "schema": {
                        "const": "runx.reference.v1",
                        "type": "string"
                      },
                      "type": {
                        "anyOf": [
                          {
                            "const": "github_issue",
                            "type": "string"
                          },
                          {
                            "const": "github_pull_request",
                            "type": "string"
                          },
                          {
                            "const": "github_repo",
                            "type": "string"
                          },
                          {
                            "const": "slack_thread",
                            "type": "string"
                          },
                          {
                            "const": "sentry_event",
                            "type": "string"
                          },
                          {
                            "const": "provider_thread",
                            "type": "string"
                          },
                          {
                            "const": "provider_event",
                            "type": "string"
                          },
                          {
                            "const": "provider_comment",
                            "type": "string"
                          },
                          {
                            "const": "tracking_item",
                            "type": "string"
                          },
                          {
                            "const": "change_request",
                            "type": "string"
                          },
                          {
                            "const": "repository",
                            "type": "string"
                          },
                          {
                            "const": "support_ticket",
                            "type": "string"
                          },
                          {
                            "const": "signal",
                            "type": "string"
                          },
                          {
                            "const": "act",
                            "type": "string"
                          },
                          {
                            "const": "receipt",
                            "type": "string"
                          },
                          {
                            "const": "graph_receipt",
                            "type": "string"
                          },
                          {
                            "const": "artifact",
                            "type": "string"
                          },
                          {
                            "const": "verification",
                            "type": "string"
                          },
                          {
                            "const": "harness",
                            "type": "string"
                          },
                          {
                            "const": "host",
                            "type": "string"
                          },
                          {
                            "const": "deployment",
                            "type": "string"
                          },
                          {
                            "const": "surface",
                            "type": "string"
                          },
                          {
                            "const": "target",
                            "type": "string"
                          },
                          {
                            "const": "opportunity",
                            "type": "string"
                          },
                          {
                            "const": "thesis_assessment",
                            "type": "string"
                          },
                          {
                            "const": "selection",
                            "type": "string"
                          },
                          {
                            "const": "skill_binding",
                            "type": "string"
                          },
                          {
                            "const": "target_transition_entry",
                            "type": "string"
                          },
                          {
                            "const": "selection_cycle",
                            "type": "string"
                          },
                          {
                            "const": "decision",
                            "type": "string"
                          },
                          {
                            "const": "reflection_entry",
                            "type": "string"
                          },
                          {
                            "const": "feed_entry",
                            "type": "string"
                          },
                          {
                            "const": "principal",
                            "type": "string"
                          },
                          {
                            "const": "authority_proof",
                            "type": "string"
                          },
                          {
                            "const": "scope_admission",
                            "type": "string"
                          },
                          {
                            "const": "grant",
                            "type": "string"
                          },
                          {
                            "const": "mandate",
                            "type": "string"
                          },
                          {
                            "const": "credential",
                            "type": "string"
                          },
                          {
                            "const": "webhook_delivery",
                            "type": "string"
                          },
                          {
                            "const": "redaction_policy",
                            "type": "string"
                          },
                          {
                            "const": "external_url",
                            "type": "string"
                          }
                        ]
                      },
                      "uri": {
                        "minLength": 1,
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "uri"
                    ],
                    "type": "object",
                    "x-runx-schema": "runx.reference.v1"
                  },
                  "type": "array"
                },
                "invariants": {
                  "items": {
                    "minLength": 1,
                    "type": "string"
                  },
                  "type": "array"
                },
                "revision_refs": {
                  "items": {
                    "$id": "https://schemas.runx.dev/runx/reference/v1.json",
                    "$schema": "https://json-schema.org/draft/2020-12/schema",
                    "additionalProperties": false,
                    "properties": {
                      "label": {
                        "minLength": 1,
                        "type": "string"
                      },
                      "locator": {
                        "minLength": 1,
                        "type": "string"
                      },
                      "observed_at": {
                        "minLength": 1,
                        "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
                        "type": "string"
                      },
                      "proof_kind": {
                        "anyOf": [
                          {
                            "const": "effect_evidence",
                            "type": "string"
                          },
                          {
                            "const": "effect_finality",
                            "type": "string"
                          },
                          {
                            "const": "credential_resolution",
                            "type": "string"
                          }
                        ]
                      },
                      "provider": {
                        "minLength": 1,
                        "type": "string"
                      },
                      "schema": {
                        "const": "runx.reference.v1",
                        "type": "string"
                      },
                      "type": {
                        "anyOf": [
                          {
                            "const": "github_issue",
                            "type": "string"
                          },
                          {
                            "const": "github_pull_request",
                            "type": "string"
                          },
                          {
                            "const": "github_repo",
                            "type": "string"
                          },
                          {
                            "const": "slack_thread",
                            "type": "string"
                          },
                          {
                            "const": "sentry_event",
                            "type": "string"
                          },
                          {
                            "const": "provider_thread",
                            "type": "string"
                          },
                          {
                            "const": "provider_event",
                            "type": "string"
                          },
                          {
                            "const": "provider_comment",
                            "type": "string"
                          },
                          {
                            "const": "tracking_item",
                            "type": "string"
                          },
                          {
                            "const": "change_request",
                            "type": "string"
                          },
                          {
                            "const": "repository",
                            "type": "string"
                          },
                          {
                            "const": "support_ticket",
                            "type": "string"
                          },
                          {
                            "const": "signal",
                            "type": "string"
                          },
                          {
                            "const": "act",
                            "type": "string"
                          },
                          {
                            "const": "receipt",
                            "type": "string"
                          },
                          {
                            "const": "graph_receipt",
                            "type": "string"
                          },
                          {
                            "const": "artifact",
                            "type": "string"
                          },
                          {
                            "const": "verification",
                            "type": "string"
                          },
                          {
                            "const": "harness",
                            "type": "string"
                          },
                          {
                            "const": "host",
                            "type": "string"
                          },
                          {
                            "const": "deployment",
                            "type": "string"
                          },
                          {
                            "const": "surface",
                            "type": "string"
                          },
                          {
                            "const": "target",
                            "type": "string"
                          },
                          {
                            "const": "opportunity",
                            "type": "string"
                          },
                          {
                            "const": "thesis_assessment",
                            "type": "string"
                          },
                          {
                            "const": "selection",
                            "type": "string"
                          },
                          {
                            "const": "skill_binding",
                            "type": "string"
                          },
                          {
                            "const": "target_transition_entry",
                            "type": "string"
                          },
                          {
                            "const": "selection_cycle",
                            "type": "string"
                          },
                          {
                            "const": "decision",
                            "type": "string"
                          },
                          {
                            "const": "reflection_entry",
                            "type": "string"
                          },
                          {
                            "const": "feed_entry",
                            "type": "string"
                          },
                          {
                            "const": "principal",
                            "type": "string"
                          },
                          {
                            "const": "authority_proof",
                            "type": "string"
                          },
                          {
                            "const": "scope_admission",
                            "type": "string"
                          },
                          {
                            "const": "grant",
                            "type": "string"
                          },
                          {
                            "const": "mandate",
                            "type": "string"
                          },
                          {
                            "const": "credential",
                            "type": "string"
                          },
                          {
                            "const": "webhook_delivery",
                            "type": "string"
                          },
                          {
                            "const": "redaction_policy",
                            "type": "string"
                          },
                          {
                            "const": "external_url",
                            "type": "string"
                          }
                        ]
                      },
                      "uri": {
                        "minLength": 1,
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "uri"
                    ],
                    "type": "object",
                    "x-runx-schema": "runx.reference.v1"
                  },
                  "type": "array"
                },
                "target_surfaces": {
                  "items": {
                    "additionalProperties": false,
                    "properties": {
                      "mutating": {
                        "type": "boolean"
                      },
                      "rationale": {
                        "minLength": 1,
                        "type": "string"
                      },
                      "surface_ref": {
                        "$id": "https://schemas.runx.dev/runx/reference/v1.json",
                        "$schema": "https://json-schema.org/draft/2020-12/schema",
                        "additionalProperties": false,
                        "properties": {
                          "label": {
                            "minLength": 1,
                            "type": "string"
                          },
                          "locator": {
                            "minLength": 1,
                            "type": "string"
                          },
                          "observed_at": {
                            "minLength": 1,
                            "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
                            "type": "string"
                          },
                          "proof_kind": {
                            "anyOf": [
                              {
                                "const": "effect_evidence",
                                "type": "string"
                              },
                              {
                                "const": "effect_finality",
                                "type": "string"
                              },
                              {
                                "const": "credential_resolution",
                                "type": "string"
                              }
                            ]
                          },
                          "provider": {
                            "minLength": 1,
                            "type": "string"
                          },
                          "schema": {
                            "const": "runx.reference.v1",
                            "type": "string"
                          },
                          "type": {
                            "anyOf": [
                              {
                                "const": "github_issue",
                                "type": "string"
                              },
                              {
                                "const": "github_pull_request",
                                "type": "string"
                              },
                              {
                                "const": "github_repo",
                                "type": "string"
                              },
                              {
                                "const": "slack_thread",
                                "type": "string"
                              },
                              {
                                "const": "sentry_event",
                                "type": "string"
                              },
                              {
                                "const": "provider_thread",
                                "type": "string"
                              },
                              {
                                "const": "provider_event",
                                "type": "string"
                              },
                              {
                                "const": "provider_comment",
                                "type": "string"
                              },
                              {
                                "const": "tracking_item",
                                "type": "string"
                              },
                              {
                                "const": "change_request",
                                "type": "string"
                              },
                              {
                                "const": "repository",
                                "type": "string"
                              },
                              {
                                "const": "support_ticket",
                                "type": "string"
                              },
                              {
                                "const": "signal",
                                "type": "string"
                              },
                              {
                                "const": "act",
                                "type": "string"
                              },
                              {
                                "const": "receipt",
                                "type": "string"
                              },
                              {
                                "const": "graph_receipt",
                                "type": "string"
                              },
                              {
                                "const": "artifact",
                                "type": "string"
                              },
                              {
                                "const": "verification",
                                "type": "string"
                              },
                              {
                                "const": "harness",
                                "type": "string"
                              },
                              {
                                "const": "host",
                                "type": "string"
                              },
                              {
                                "const": "deployment",
                                "type": "string"
                              },
                              {
                                "const": "surface",
                                "type": "string"
                              },
                              {
                                "const": "target",
                                "type": "string"
                              },
                              {
                                "const": "opportunity",
                                "type": "string"
                              },
                              {
                                "const": "thesis_assessment",
                                "type": "string"
                              },
                              {
                                "const": "selection",
                                "type": "string"
                              },
                              {
                                "const": "skill_binding",
                                "type": "string"
                              },
                              {
                                "const": "target_transition_entry",
                                "type": "string"
                              },
                              {
                                "const": "selection_cycle",
                                "type": "string"
                              },
                              {
                                "const": "decision",
                                "type": "string"
                              },
                              {
                                "const": "reflection_entry",
                                "type": "string"
                              },
                              {
                                "const": "feed_entry",
                                "type": "string"
                              },
                              {
                                "const": "principal",
                                "type": "string"
                              },
                              {
                                "const": "authority_proof",
                                "type": "string"
                              },
                              {
                                "const": "scope_admission",
                                "type": "string"
                              },
                              {
                                "const": "grant",
                                "type": "string"
                              },
                              {
                                "const": "mandate",
                                "type": "string"
                              },
                              {
                                "const": "credential",
                                "type": "string"
                              },
                              {
                                "const": "webhook_delivery",
                                "type": "string"
                              },
                              {
                                "const": "redaction_policy",
                                "type": "string"
                              },
                              {
                                "const": "external_url",
                                "type": "string"
                              }
                            ]
                          },
                          "uri": {
                            "minLength": 1,
                            "type": "string"
                          }
                        },
                        "required": [
                          "type",
                          "uri"
                        ],
                        "type": "object",
                        "x-runx-schema": "runx.reference.v1"
                      }
                    },
                    "required": [
                      "surface_ref",
                      "mutating"
                    ],
                    "type": "object"
                  },
                  "type": "array"
                },
                "verification": {
                  "$id": "https://schemas.runx.dev/runx/verification/v1.json",
                  "$schema": "https://json-schema.org/draft/2020-12/schema",
                  "additionalProperties": false,
                  "properties": {
                    "checks": {
                      "items": {
                        "additionalProperties": false,
                        "properties": {
                          "check_id": {
                            "minLength": 1,
                            "type": "string"
                          },
                          "checked_refs": {
                            "items": {
                              "$id": "https://schemas.runx.dev/runx/reference/v1.json",
                              "$schema": "https://json-schema.org/draft/2020-12/schema",
                              "additionalProperties": false,
                              "properties": {
                                "label": {
                                  "minLength": 1,
                                  "type": "string"
                                },
                                "locator": {
                                  "minLength": 1,
                                  "type": "string"
                                },
                                "observed_at": {
                                  "minLength": 1,
                                  "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
                                  "type": "string"
                                },
                                "proof_kind": {
                                  "anyOf": [
                                    {
                                      "const": "effect_evidence",
                                      "type": "string"
                                    },
                                    {
                                      "const": "effect_finality",
                                      "type": "string"
                                    },
                                    {
                                      "const": "credential_resolution",
                                      "type": "string"
                                    }
                                  ]
                                },
                                "provider": {
                                  "minLength": 1,
                                  "type": "string"
                                },
                                "schema": {
                                  "const": "runx.reference.v1",
                                  "type": "string"
                                },
                                "type": {
                                  "anyOf": [
                                    {
                                      "const": "github_issue",
                                      "type": "string"
                                    },
                                    {
                                      "const": "github_pull_request",
                                      "type": "string"
                                    },
                                    {
                                      "const": "github_repo",
                                      "type": "string"
                                    },
                                    {
                                      "const": "slack_thread",
                                      "type": "string"
                                    },
                                    {
                                      "const": "sentry_event",
                                      "type": "string"
                                    },
                                    {
                                      "const": "provider_thread",
                                      "type": "string"
                                    },
                                    {
                                      "const": "provider_event",
                                      "type": "string"
                                    },
                                    {
                                      "const": "provider_comment",
                                      "type": "string"
                                    },
                                    {
                                      "const": "tracking_item",
                                      "type": "string"
                                    },
                                    {
                                      "const": "change_request",
                                      "type": "string"
                                    },
                                    {
                                      "const": "repository",
                                      "type": "string"
                                    },
                                    {
                                      "const": "support_ticket",
                                      "type": "string"
                                    },
                                    {
                                      "const": "signal",
                                      "type": "string"
                                    },
                                    {
                                      "const": "act",
                                      "type": "string"
                                    },
                                    {
                                      "const": "receipt",
                                      "type": "string"
                                    },
                                    {
                                      "const": "graph_receipt",
                                      "type": "string"
                                    },
                                    {
                                      "const": "artifact",
                                      "type": "string"
                                    },
                                    {
                                      "const": "verification",
                                      "type": "string"
                                    },
                                    {
                                      "const": "harness",
                                      "type": "string"
                                    },
                                    {
                                      "const": "host",
                                      "type": "string"
                                    },
                                    {
                                      "const": "deployment",
                                      "type": "string"
                                    },
                                    {
                                      "const": "surface",
                                      "type": "string"
                                    },
                                    {
                                      "const": "target",
                                      "type": "string"
                                    },
                                    {
                                      "const": "opportunity",
                                      "type": "string"
                                    },
                                    {
                                      "const": "thesis_assessment",
                                      "type": "string"
                                    },
                                    {
                                      "const": "selection",
                                      "type": "string"
                                    },
                                    {
                                      "const": "skill_binding",
                                      "type": "string"
                                    },
                                    {
                                      "const": "target_transition_entry",
                                      "type": "string"
                                    },
                                    {
                                      "const": "selection_cycle",
                                      "type": "string"
                                    },
                                    {
                                      "const": "decision",
                                      "type": "string"
                                    },
                                    {
                                      "const": "reflection_entry",
                                      "type": "string"
                                    },
                                    {
                                      "const": "feed_entry",
                                      "type": "string"
                                    },
                                    {
                                      "const": "principal",
                                      "type": "string"
                                    },
                                    {
                                      "const": "authority_proof",
                                      "type": "string"
                                    },
                                    {
                                      "const": "scope_admission",
                                      "type": "string"
                                    },
                                    {
                                      "const": "grant",
                                      "type": "string"
                                    },
                                    {
                                      "const": "mandate",
                                      "type": "string"
                                    },
                                    {
                                      "const": "credential",
                                      "type": "string"
                                    },
                                    {
                                      "const": "webhook_delivery",
                                      "type": "string"
                                    },
                                    {
                                      "const": "redaction_policy",
                                      "type": "string"
                                    },
                                    {
                                      "const": "external_url",
                                      "type": "string"
                                    }
                                  ]
                                },
                                "uri": {
                                  "minLength": 1,
                                  "type": "string"
                                }
                              },
                              "required": [
                                "type",
                                "uri"
                              ],
                              "type": "object",
                              "x-runx-schema": "runx.reference.v1"
                            },
                            "type": "array"
                          },
                          "criterion_ids": {
                            "items": {
                              "minLength": 1,
                              "type": "string"
                            },
                            "type": "array"
                          },
                          "evidence_refs": {
                            "items": {
                              "$id": "https://schemas.runx.dev/runx/reference/v1.json",
                              "$schema": "https://json-schema.org/draft/2020-12/schema",
                              "additionalProperties": false,
                              "properties": {
                                "label": {
                                  "minLength": 1,
                                  "type": "string"
                                },
                                "locator": {
                                  "minLength": 1,
                                  "type": "string"
                                },
                                "observed_at": {
                                  "minLength": 1,
                                  "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
                                  "type": "string"
                                },
                                "proof_kind": {
                                  "anyOf": [
                                    {
                                      "const": "effect_evidence",
                                      "type": "string"
                                    },
                                    {
                                      "const": "effect_finality",
                                      "type": "string"
                                    },
                                    {
                                      "const": "credential_resolution",
                                      "type": "string"
                                    }
                                  ]
                                },
                                "provider": {
                                  "minLength": 1,
                                  "type": "string"
                                },
                                "schema": {
                                  "const": "runx.reference.v1",
                                  "type": "string"
                                },
                                "type": {
                                  "anyOf": [
                                    {
                                      "const": "github_issue",
                                      "type": "string"
                                    },
                                    {
                                      "const": "github_pull_request",
                                      "type": "string"
                                    },
                                    {
                                      "const": "github_repo",
                                      "type": "string"
                                    },
                                    {
                                      "const": "slack_thread",
                                      "type": "string"
                                    },
                                    {
                                      "const": "sentry_event",
                                      "type": "string"
                                    },
                                    {
                                      "const": "provider_thread",
                                      "type": "string"
                                    },
                                    {
                                      "const": "provider_event",
                                      "type": "string"
                                    },
                                    {
                                      "const": "provider_comment",
                                      "type": "string"
                                    },
                                    {
                                      "const": "tracking_item",
                                      "type": "string"
                                    },
                                    {
                                      "const": "change_request",
                                      "type": "string"
                                    },
                                    {
                                      "const": "repository",
                                      "type": "string"
                                    },
                                    {
                                      "const": "support_ticket",
                                      "type": "string"
                                    },
                                    {
                                      "const": "signal",
                                      "type": "string"
                                    },
                                    {
                                      "const": "act",
                                      "type": "string"
                                    },
                                    {
                                      "const": "receipt",
                                      "type": "string"
                                    },
                                    {
                                      "const": "graph_receipt",
                                      "type": "string"
                                    },
                                    {
                                      "const": "artifact",
                                      "type": "string"
                                    },
                                    {
                                      "const": "verification",
                                      "type": "string"
                                    },
                                    {
                                      "const": "harness",
                                      "type": "string"
                                    },
                                    {
                                      "const": "host",
                                      "type": "string"
                                    },
                                    {
                                      "const": "deployment",
                                      "type": "string"
                                    },
                                    {
                                      "const": "surface",
                                      "type": "string"
                                    },
                                    {
                                      "const": "target",
                                      "type": "string"
                                    },
                                    {
                                      "const": "opportunity",
                                      "type": "string"
                                    },
                                    {
                                      "const": "thesis_assessment",
                                      "type": "string"
                                    },
                                    {
                                      "const": "selection",
                                      "type": "string"
                                    },
                                    {
                                      "const": "skill_binding",
                                      "type": "string"
                                    },
                                    {
                                      "const": "target_transition_entry",
                                      "type": "string"
                                    },
                                    {
                                      "const": "selection_cycle",
                                      "type": "string"
                                    },
                                    {
                                      "const": "decision",
                                      "type": "string"
                                    },
                                    {
                                      "const": "reflection_entry",
                                      "type": "string"
                                    },
                                    {
                                      "const": "feed_entry",
                                      "type": "string"
                                    },
                                    {
                                      "const": "principal",
                                      "type": "string"
                                    },
                                    {
                                      "const": "authority_proof",
                                      "type": "string"
                                    },
                                    {
                                      "const": "scope_admission",
                                      "type": "string"
                                    },
                                    {
                                      "const": "grant",
                                      "type": "string"
                                    },
                                    {
                                      "const": "mandate",
                                      "type": "string"
                                    },
                                    {
                                      "const": "credential",
                                      "type": "string"
                                    },
                                    {
                                      "const": "webhook_delivery",
                                      "type": "string"
                                    },
                                    {
                                      "const": "redaction_policy",
                                      "type": "string"
                                    },
                                    {
                                      "const": "external_url",
                                      "type": "string"
                                    }
                                  ]
                                },
                                "uri": {
                                  "minLength": 1,
                                  "type": "string"
                                }
                              },
                              "required": [
                                "type",
                                "uri"
                              ],
                              "type": "object",
                              "x-runx-schema": "runx.reference.v1"
                            },
                            "type": "array"
                          },
                          "status": {
                            "anyOf": [
                              {
                                "const": "passed",
                                "type": "string"
                              },
                              {
                                "const": "failed",
                                "type": "string"
                              },
                              {
                                "const": "pending",
                                "type": "string"
                              },
                              {
                                "const": "not_applicable",
                                "type": "string"
                              },
                              {
                                "const": "missing",
                                "type": "string"
                              }
                            ]
                          },
                          "summary": {
                            "minLength": 1,
                            "type": "string"
                          },
                          "verified_at": {
                            "minLength": 1,
                            "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
                            "type": "string"
                          }
                        },
                        "required": [
                          "check_id",
                          "criterion_ids",
                          "status",
                          "evidence_refs"
                        ],
                        "type": "object"
                      },
                      "type": "array"
                    },
                    "evidence_refs": {
                      "items": {
                        "$id": "https://schemas.runx.dev/runx/reference/v1.json",
                        "$schema": "https://json-schema.org/draft/2020-12/schema",
                        "additionalProperties": false,
                        "properties": {
                          "label": {
                            "minLength": 1,
                            "type": "string"
                          },
                          "locator": {
                            "minLength": 1,
                            "type": "string"
                          },
                          "observed_at": {
                            "minLength": 1,
                            "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
                            "type": "string"
                          },
                          "proof_kind": {
                            "anyOf": [
                              {
                                "const": "effect_evidence",
                                "type": "string"
                              },
                              {
                                "const": "effect_finality",
                                "type": "string"
                              },
                              {
                                "const": "credential_resolution",
                                "type": "string"
                              }
                            ]
                          },
                          "provider": {
                            "minLength": 1,
                            "type": "string"
                          },
                          "schema": {
                            "const": "runx.reference.v1",
                            "type": "string"
                          },
                          "type": {
                            "anyOf": [
                              {
                                "const": "github_issue",
                                "type": "string"
                              },
                              {
                                "const": "github_pull_request",
                                "type": "string"
                              },
                              {
                                "const": "github_repo",
                                "type": "string"
                              },
                              {
                                "const": "slack_thread",
                                "type": "string"
                              },
                              {
                                "const": "sentry_event",
                                "type": "string"
                              },
                              {
                                "const": "provider_thread",
                                "type": "string"
                              },
                              {
                                "const": "provider_event",
                                "type": "string"
                              },
                              {
                                "const": "provider_comment",
                                "type": "string"
                              },
                              {
                                "const": "tracking_item",
                                "type": "string"
                              },
                              {
                                "const": "change_request",
                                "type": "string"
                              },
                              {
                                "const": "repository",
                                "type": "string"
                              },
                              {
                                "const": "support_ticket",
                                "type": "string"
                              },
                              {
                                "const": "signal",
                                "type": "string"
                              },
                              {
                                "const": "act",
                                "type": "string"
                              },
                              {
                                "const": "receipt",
                                "type": "string"
                              },
                              {
                                "const": "graph_receipt",
                                "type": "string"
                              },
                              {
                                "const": "artifact",
                                "type": "string"
                              },
                              {
                                "const": "verification",
                                "type": "string"
                              },
                              {
                                "const": "harness",
                                "type": "string"
                              },
                              {
                                "const": "host",
                                "type": "string"
                              },
                              {
                                "const": "deployment",
                                "type": "string"
                              },
                              {
                                "const": "surface",
                                "type": "string"
                              },
                              {
                                "const": "target",
                                "type": "string"
                              },
                              {
                                "const": "opportunity",
                                "type": "string"
                              },
                              {
                                "const": "thesis_assessment",
                                "type": "string"
                              },
                              {
                                "const": "selection",
                                "type": "string"
                              },
                              {
                                "const": "skill_binding",
                                "type": "string"
                              },
                              {
                                "const": "target_transition_entry",
                                "type": "string"
                              },
                              {
                                "const": "selection_cycle",
                                "type": "string"
                              },
                              {
                                "const": "decision",
                                "type": "string"
                              },
                              {
                                "const": "reflection_entry",
                                "type": "string"
                              },
                              {
                                "const": "feed_entry",
                                "type": "string"
                              },
                              {
                                "const": "principal",
                                "type": "string"
                              },
                              {
                                "const": "authority_proof",
                                "type": "string"
                              },
                              {
                                "const": "scope_admission",
                                "type": "string"
                              },
                              {
                                "const": "grant",
                                "type": "string"
                              },
                              {
                                "const": "mandate",
                                "type": "string"
                              },
                              {
                                "const": "credential",
                                "type": "string"
                              },
                              {
                                "const": "webhook_delivery",
                                "type": "string"
                              },
                              {
                                "const": "redaction_policy",
                                "type": "string"
                              },
                              {
                                "const": "external_url",
                                "type": "string"
                              }
                            ]
                          },
                          "uri": {
                            "minLength": 1,
                            "type": "string"
                          }
                        },
                        "required": [
                          "type",
                          "uri"
                        ],
                        "type": "object",
                        "x-runx-schema": "runx.reference.v1"
                      },
                      "type": "array"
                    },
                    "schema": {
                      "anyOf": [
                        {
                          "const": "runx.verification.v1",
                          "type": "string"
                        }
                      ]
                    },
                    "status": {
                      "anyOf": [
                        {
                          "const": "passed",
                          "type": "string"
                        },
                        {
                          "const": "failed",
                          "type": "string"
                        },
                        {
                          "const": "pending",
                          "type": "string"
                        },
                        {
                          "const": "not_applicable",
                          "type": "string"
                        },
                        {
                          "const": "missing",
                          "type": "string"
                        }
                      ]
                    },
                    "verification_id": {
                      "minLength": 1,
                      "type": "string"
                    },
                    "verified_at": {
                      "minLength": 1,
                      "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
                      "type": "string"
                    }
                  },
                  "required": [
                    "status",
                    "checks",
                    "evidence_refs"
                  ],
                  "type": "object",
                  "x-runx-schema": "runx.verification.v1"
                }
              },
              "required": [
                "change_request",
                "change_plan"
              ],
              "type": "object"
            },
            "source_refs": {
              "items": {
                "$id": "https://schemas.runx.dev/runx/reference/v1.json",
                "$schema": "https://json-schema.org/draft/2020-12/schema",
                "additionalProperties": false,
                "properties": {
                  "label": {
                    "minLength": 1,
                    "type": "string"
                  },
                  "locator": {
                    "minLength": 1,
                    "type": "string"
                  },
                  "observed_at": {
                    "minLength": 1,
                    "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
                    "type": "string"
                  },
                  "proof_kind": {
                    "anyOf": [
                      {
                        "const": "effect_evidence",
                        "type": "string"
                      },
                      {
                        "const": "effect_finality",
                        "type": "string"
                      },
                      {
                        "const": "credential_resolution",
                        "type": "string"
                      }
                    ]
                  },
                  "provider": {
                    "minLength": 1,
                    "type": "string"
                  },
                  "schema": {
                    "const": "runx.reference.v1",
                    "type": "string"
                  },
                  "type": {
                    "anyOf": [
                      {
                        "const": "github_issue",
                        "type": "string"
                      },
                      {
                        "const": "github_pull_request",
                        "type": "string"
                      },
                      {
                        "const": "github_repo",
                        "type": "string"
                      },
                      {
                        "const": "slack_thread",
                        "type": "string"
                      },
                      {
                        "const": "sentry_event",
                        "type": "string"
                      },
                      {
                        "const": "provider_thread",
                        "type": "string"
                      },
                      {
                        "const": "provider_event",
                        "type": "string"
                      },
                      {
                        "const": "provider_comment",
                        "type": "string"
                      },
                      {
                        "const": "tracking_item",
                        "type": "string"
                      },
                      {
                        "const": "change_request",
                        "type": "string"
                      },
                      {
                        "const": "repository",
                        "type": "string"
                      },
                      {
                        "const": "support_ticket",
                        "type": "string"
                      },
                      {
                        "const": "signal",
                        "type": "string"
                      },
                      {
                        "const": "act",
                        "type": "string"
                      },
                      {
                        "const": "receipt",
                        "type": "string"
                      },
                      {
                        "const": "graph_receipt",
                        "type": "string"
                      },
                      {
                        "const": "artifact",
                        "type": "string"
                      },
                      {
                        "const": "verification",
                        "type": "string"
                      },
                      {
                        "const": "harness",
                        "type": "string"
                      },
                      {
                        "const": "host",
                        "type": "string"
                      },
                      {
                        "const": "deployment",
                        "type": "string"
                      },
                      {
                        "const": "surface",
                        "type": "string"
                      },
                      {
                        "const": "target",
                        "type": "string"
                      },
                      {
                        "const": "opportunity",
                        "type": "string"
                      },
                      {
                        "const": "thesis_assessment",
                        "type": "string"
                      },
                      {
                        "const": "selection",
                        "type": "string"
                      },
                      {
                        "const": "skill_binding",
                        "type": "string"
                      },
                      {
                        "const": "target_transition_entry",
                        "type": "string"
                      },
                      {
                        "const": "selection_cycle",
                        "type": "string"
                      },
                      {
                        "const": "decision",
                        "type": "string"
                      },
                      {
                        "const": "reflection_entry",
                        "type": "string"
                      },
                      {
                        "const": "feed_entry",
                        "type": "string"
                      },
                      {
                        "const": "principal",
                        "type": "string"
                      },
                      {
                        "const": "authority_proof",
                        "type": "string"
                      },
                      {
                        "const": "scope_admission",
                        "type": "string"
                      },
                      {
                        "const": "grant",
                        "type": "string"
                      },
                      {
                        "const": "mandate",
                        "type": "string"
                      },
                      {
                        "const": "credential",
                        "type": "string"
                      },
                      {
                        "const": "webhook_delivery",
                        "type": "string"
                      },
                      {
                        "const": "redaction_policy",
                        "type": "string"
                      },
                      {
                        "const": "external_url",
                        "type": "string"
                      }
                    ]
                  },
                  "uri": {
                    "minLength": 1,
                    "type": "string"
                  }
                },
                "required": [
                  "type",
                  "uri"
                ],
                "type": "object",
                "x-runx-schema": "runx.reference.v1"
              },
              "type": "array"
            },
            "summary": {
              "minLength": 1,
              "type": "string"
            },
            "target_refs": {
              "items": {
                "$id": "https://schemas.runx.dev/runx/reference/v1.json",
                "$schema": "https://json-schema.org/draft/2020-12/schema",
                "additionalProperties": false,
                "properties": {
                  "label": {
                    "minLength": 1,
                    "type": "string"
                  },
                  "locator": {
                    "minLength": 1,
                    "type": "string"
                  },
                  "observed_at": {
                    "minLength": 1,
                    "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
                    "type": "string"
                  },
                  "proof_kind": {
                    "anyOf": [
                      {
                        "const": "effect_evidence",
                        "type": "string"
                      },
                      {
                        "const": "effect_finality",
                        "type": "string"
                      },
                      {
                        "const": "credential_resolution",
                        "type": "string"
                      }
                    ]
                  },
                  "provider": {
                    "minLength": 1,
                    "type": "string"
                  },
                  "schema": {
                    "const": "runx.reference.v1",
                    "type": "string"
                  },
                  "type": {
                    "anyOf": [
                      {
                        "const": "github_issue",
                        "type": "string"
                      },
                      {
                        "const": "github_pull_request",
                        "type": "string"
                      },
                      {
                        "const": "github_repo",
                        "type": "string"
                      },
                      {
                        "const": "slack_thread",
                        "type": "string"
                      },
                      {
                        "const": "sentry_event",
                        "type": "string"
                      },
                      {
                        "const": "provider_thread",
                        "type": "string"
                      },
                      {
                        "const": "provider_event",
                        "type": "string"
                      },
                      {
                        "const": "provider_comment",
                        "type": "string"
                      },
                      {
                        "const": "tracking_item",
                        "type": "string"
                      },
                      {
                        "const": "change_request",
                        "type": "string"
                      },
                      {
                        "const": "repository",
                        "type": "string"
                      },
                      {
                        "const": "support_ticket",
                        "type": "string"
                      },
                      {
                        "const": "signal",
                        "type": "string"
                      },
                      {
                        "const": "act",
                        "type": "string"
                      },
                      {
                        "const": "receipt",
                        "type": "string"
                      },
                      {
                        "const": "graph_receipt",
                        "type": "string"
                      },
                      {
                        "const": "artifact",
                        "type": "string"
                      },
                      {
                        "const": "verification",
                        "type": "string"
                      },
                      {
                        "const": "harness",
                        "type": "string"
                      },
                      {
                        "const": "host",
                        "type": "string"
                      },
                      {
                        "const": "deployment",
                        "type": "string"
                      },
                      {
                        "const": "surface",
                        "type": "string"
                      },
                      {
                        "const": "target",
                        "type": "string"
                      },
                      {
                        "const": "opportunity",
                        "type": "string"
                      },
                      {
                        "const": "thesis_assessment",
                        "type": "string"
                      },
                      {
                        "const": "selection",
                        "type": "string"
                      },
                      {
                        "const": "skill_binding",
                        "type": "string"
                      },
                      {
                        "const": "target_transition_entry",
                        "type": "string"
                      },
                      {
                        "const": "selection_cycle",
                        "type": "string"
                      },
                      {
                        "const": "decision",
                        "type": "string"
                      },
                      {
                        "const": "reflection_entry",
                        "type": "string"
                      },
                      {
                        "const": "feed_entry",
                        "type": "string"
                      },
                      {
                        "const": "principal",
                        "type": "string"
                      },
                      {
                        "const": "authority_proof",
                        "type": "string"
                      },
                      {
                        "const": "scope_admission",
                        "type": "string"
                      },
                      {
                        "const": "grant",
                        "type": "string"
                      },
                      {
                        "const": "mandate",
                        "type": "string"
                      },
                      {
                        "const": "credential",
                        "type": "string"
                      },
                      {
                        "const": "webhook_delivery",
                        "type": "string"
                      },
                      {
                        "const": "redaction_policy",
                        "type": "string"
                      },
                      {
                        "const": "external_url",
                        "type": "string"
                      }
                    ]
                  },
                  "uri": {
                    "minLength": 1,
                    "type": "string"
                  }
                },
                "required": [
                  "type",
                  "uri"
                ],
                "type": "object",
                "x-runx-schema": "runx.reference.v1"
              },
              "type": "array"
            },
            "verification": {
              "additionalProperties": false,
              "properties": {
                "criterion_ids": {
                  "items": {
                    "minLength": 1,
                    "type": "string"
                  },
                  "type": "array"
                },
                "deployment_ref": {
                  "$id": "https://schemas.runx.dev/runx/reference/v1.json",
                  "$schema": "https://json-schema.org/draft/2020-12/schema",
                  "additionalProperties": false,
                  "properties": {
                    "label": {
                      "minLength": 1,
                      "type": "string"
                    },
                    "locator": {
                      "minLength": 1,
                      "type": "string"
                    },
                    "observed_at": {
                      "minLength": 1,
                      "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
                      "type": "string"
                    },
                    "proof_kind": {
                      "anyOf": [
                        {
                          "const": "effect_evidence",
                          "type": "string"
                        },
                        {
                          "const": "effect_finality",
                          "type": "string"
                        },
                        {
                          "const": "credential_resolution",
                          "type": "string"
                        }
                      ]
                    },
                    "provider": {
                      "minLength": 1,
                      "type": "string"
                    },
                    "schema": {
                      "const": "runx.reference.v1",
                      "type": "string"
                    },
                    "type": {
                      "anyOf": [
                        {
                          "const": "github_issue",
                          "type": "string"
                        },
                        {
                          "const": "github_pull_request",
                          "type": "string"
                        },
                        {
                          "const": "github_repo",
                          "type": "string"
                        },
                        {
                          "const": "slack_thread",
                          "type": "string"
                        },
                        {
                          "const": "sentry_event",
                          "type": "string"
                        },
                        {
                          "const": "provider_thread",
                          "type": "string"
                        },
                        {
                          "const": "provider_event",
                          "type": "string"
                        },
                        {
                          "const": "provider_comment",
                          "type": "string"
                        },
                        {
                          "const": "tracking_item",
                          "type": "string"
                        },
                        {
                          "const": "change_request",
                          "type": "string"
                        },
                        {
                          "const": "repository",
                          "type": "string"
                        },
                        {
                          "const": "support_ticket",
                          "type": "string"
                        },
                        {
                          "const": "signal",
                          "type": "string"
                        },
                        {
                          "const": "act",
                          "type": "string"
                        },
                        {
                          "const": "receipt",
                          "type": "string"
                        },
                        {
                          "const": "graph_receipt",
                          "type": "string"
                        },
                        {
                          "const": "artifact",
                          "type": "string"
                        },
                        {
                          "const": "verification",
                          "type": "string"
                        },
                        {
                          "const": "harness",
                          "type": "string"
                        },
                        {
                          "const": "host",
                          "type": "string"
                        },
                        {
                          "const": "deployment",
                          "type": "string"
                        },
                        {
                          "const": "surface",
                          "type": "string"
                        },
                        {
                          "const": "target",
                          "type": "string"
                        },
                        {
                          "const": "opportunity",
                          "type": "string"
                        },
                        {
                          "const": "thesis_assessment",
                          "type": "string"
                        },
                        {
                          "const": "selection",
                          "type": "string"
                        },
                        {
                          "const": "skill_binding",
                          "type": "string"
                        },
                        {
                          "const": "target_transition_entry",
                          "type": "string"
                        },
                        {
                          "const": "selection_cycle",
                          "type": "string"
                        },
                        {
                          "const": "decision",
                          "type": "string"
                        },
                        {
                          "const": "reflection_entry",
                          "type": "string"
                        },
                        {
                          "const": "feed_entry",
                          "type": "string"
                        },
                        {
                          "const": "principal",
                          "type": "string"
                        },
                        {
                          "const": "authority_proof",
                          "type": "string"
                        },
                        {
                          "const": "scope_admission",
                          "type": "string"
                        },
                        {
                          "const": "grant",
                          "type": "string"
                        },
                        {
                          "const": "mandate",
                          "type": "string"
                        },
                        {
                          "const": "credential",
                          "type": "string"
                        },
                        {
                          "const": "webhook_delivery",
                          "type": "string"
                        },
                        {
                          "const": "redaction_policy",
                          "type": "string"
                        },
                        {
                          "const": "external_url",
                          "type": "string"
                        }
                      ]
                    },
                    "uri": {
                      "minLength": 1,
                      "type": "string"
                    }
                  },
                  "required": [
                    "type",
                    "uri"
                  ],
                  "type": "object",
                  "x-runx-schema": "runx.reference.v1"
                },
                "verification": {
                  "$id": "https://schemas.runx.dev/runx/verification/v1.json",
                  "$schema": "https://json-schema.org/draft/2020-12/schema",
                  "additionalProperties": false,
                  "properties": {
                    "checks": {
                      "items": {
                        "additionalProperties": false,
                        "properties": {
                          "check_id": {
                            "minLength": 1,
                            "type": "string"
                          },
                          "checked_refs": {
                            "items": {
                              "$id": "https://schemas.runx.dev/runx/reference/v1.json",
                              "$schema": "https://json-schema.org/draft/2020-12/schema",
                              "additionalProperties": false,
                              "properties": {
                                "label": {
                                  "minLength": 1,
                                  "type": "string"
                                },
                                "locator": {
                                  "minLength": 1,
                                  "type": "string"
                                },
                                "observed_at": {
                                  "minLength": 1,
                                  "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
                                  "type": "string"
                                },
                                "proof_kind": {
                                  "anyOf": [
                                    {
                                      "const": "effect_evidence",
                                      "type": "string"
                                    },
                                    {
                                      "const": "effect_finality",
                                      "type": "string"
                                    },
                                    {
                                      "const": "credential_resolution",
                                      "type": "string"
                                    }
                                  ]
                                },
                                "provider": {
                                  "minLength": 1,
                                  "type": "string"
                                },
                                "schema": {
                                  "const": "runx.reference.v1",
                                  "type": "string"
                                },
                                "type": {
                                  "anyOf": [
                                    {
                                      "const": "github_issue",
                                      "type": "string"
                                    },
                                    {
                                      "const": "github_pull_request",
                                      "type": "string"
                                    },
                                    {
                                      "const": "github_repo",
                                      "type": "string"
                                    },
                                    {
                                      "const": "slack_thread",
                                      "type": "string"
                                    },
                                    {
                                      "const": "sentry_event",
                                      "type": "string"
                                    },
                                    {
                                      "const": "provider_thread",
                                      "type": "string"
                                    },
                                    {
                                      "const": "provider_event",
                                      "type": "string"
                                    },
                                    {
                                      "const": "provider_comment",
                                      "type": "string"
                                    },
                                    {
                                      "const": "tracking_item",
                                      "type": "string"
                                    },
                                    {
                                      "const": "change_request",
                                      "type": "string"
                                    },
                                    {
                                      "const": "repository",
                                      "type": "string"
                                    },
                                    {
                                      "const": "support_ticket",
                                      "type": "string"
                                    },
                                    {
                                      "const": "signal",
                                      "type": "string"
                                    },
                                    {
                                      "const": "act",
                                      "type": "string"
                                    },
                                    {
                                      "const": "receipt",
                                      "type": "string"
                                    },
                                    {
                                      "const": "graph_receipt",
                                      "type": "string"
                                    },
                                    {
                                      "const": "artifact",
                                      "type": "string"
                                    },
                                    {
                                      "const": "verification",
                                      "type": "string"
                                    },
                                    {
                                      "const": "harness",
                                      "type": "string"
                                    },
                                    {
                                      "const": "host",
                                      "type": "string"
                                    },
                                    {
                                      "const": "deployment",
                                      "type": "string"
                                    },
                                    {
                                      "const": "surface",
                                      "type": "string"
                                    },
                                    {
                                      "const": "target",
                                      "type": "string"
                                    },
                                    {
                                      "const": "opportunity",
                                      "type": "string"
                                    },
                                    {
                                      "const": "thesis_assessment",
                                      "type": "string"
                                    },
                                    {
                                      "const": "selection",
                                      "type": "string"
                                    },
                                    {
                                      "const": "skill_binding",
                                      "type": "string"
                                    },
                                    {
                                      "const": "target_transition_entry",
                                      "type": "string"
                                    },
                                    {
                                      "const": "selection_cycle",
                                      "type": "string"
                                    },
                                    {
                                      "const": "decision",
                                      "type": "string"
                                    },
                                    {
                                      "const": "reflection_entry",
                                      "type": "string"
                                    },
                                    {
                                      "const": "feed_entry",
                                      "type": "string"
                                    },
                                    {
                                      "const": "principal",
                                      "type": "string"
                                    },
                                    {
                                      "const": "authority_proof",
                                      "type": "string"
                                    },
                                    {
                                      "const": "scope_admission",
                                      "type": "string"
                                    },
                                    {
                                      "const": "grant",
                                      "type": "string"
                                    },
                                    {
                                      "const": "mandate",
                                      "type": "string"
                                    },
                                    {
                                      "const": "credential",
                                      "type": "string"
                                    },
                                    {
                                      "const": "webhook_delivery",
                                      "type": "string"
                                    },
                                    {
                                      "const": "redaction_policy",
                                      "type": "string"
                                    },
                                    {
                                      "const": "external_url",
                                      "type": "string"
                                    }
                                  ]
                                },
                                "uri": {
                                  "minLength": 1,
                                  "type": "string"
                                }
                              },
                              "required": [
                                "type",
                                "uri"
                              ],
                              "type": "object",
                              "x-runx-schema": "runx.reference.v1"
                            },
                            "type": "array"
                          },
                          "criterion_ids": {
                            "items": {
                              "minLength": 1,
                              "type": "string"
                            },
                            "type": "array"
                          },
                          "evidence_refs": {
                            "items": {
                              "$id": "https://schemas.runx.dev/runx/reference/v1.json",
                              "$schema": "https://json-schema.org/draft/2020-12/schema",
                              "additionalProperties": false,
                              "properties": {
                                "label": {
                                  "minLength": 1,
                                  "type": "string"
                                },
                                "locator": {
                                  "minLength": 1,
                                  "type": "string"
                                },
                                "observed_at": {
                                  "minLength": 1,
                                  "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
                                  "type": "string"
                                },
                                "proof_kind": {
                                  "anyOf": [
                                    {
                                      "const": "effect_evidence",
                                      "type": "string"
                                    },
                                    {
                                      "const": "effect_finality",
                                      "type": "string"
                                    },
                                    {
                                      "const": "credential_resolution",
                                      "type": "string"
                                    }
                                  ]
                                },
                                "provider": {
                                  "minLength": 1,
                                  "type": "string"
                                },
                                "schema": {
                                  "const": "runx.reference.v1",
                                  "type": "string"
                                },
                                "type": {
                                  "anyOf": [
                                    {
                                      "const": "github_issue",
                                      "type": "string"
                                    },
                                    {
                                      "const": "github_pull_request",
                                      "type": "string"
                                    },
                                    {
                                      "const": "github_repo",
                                      "type": "string"
                                    },
                                    {
                                      "const": "slack_thread",
                                      "type": "string"
                                    },
                                    {
                                      "const": "sentry_event",
                                      "type": "string"
                                    },
                                    {
                                      "const": "provider_thread",
                                      "type": "string"
                                    },
                                    {
                                      "const": "provider_event",
                                      "type": "string"
                                    },
                                    {
                                      "const": "provider_comment",
                                      "type": "string"
                                    },
                                    {
                                      "const": "tracking_item",
                                      "type": "string"
                                    },
                                    {
                                      "const": "change_request",
                                      "type": "string"
                                    },
                                    {
                                      "const": "repository",
                                      "type": "string"
                                    },
                                    {
                                      "const": "support_ticket",
                                      "type": "string"
                                    },
                                    {
                                      "const": "signal",
                                      "type": "string"
                                    },
                                    {
                                      "const": "act",
                                      "type": "string"
                                    },
                                    {
                                      "const": "receipt",
                                      "type": "string"
                                    },
                                    {
                                      "const": "graph_receipt",
                                      "type": "string"
                                    },
                                    {
                                      "const": "artifact",
                                      "type": "string"
                                    },
                                    {
                                      "const": "verification",
                                      "type": "string"
                                    },
                                    {
                                      "const": "harness",
                                      "type": "string"
                                    },
                                    {
                                      "const": "host",
                                      "type": "string"
                                    },
                                    {
                                      "const": "deployment",
                                      "type": "string"
                                    },
                                    {
                                      "const": "surface",
                                      "type": "string"
                                    },
                                    {
                                      "const": "target",
                                      "type": "string"
                                    },
                                    {
                                      "const": "opportunity",
                                      "type": "string"
                                    },
                                    {
                                      "const": "thesis_assessment",
                                      "type": "string"
                                    },
                                    {
                                      "const": "selection",
                                      "type": "string"
                                    },
                                    {
                                      "const": "skill_binding",
                                      "type": "string"
                                    },
                                    {
                                      "const": "target_transition_entry",
                                      "type": "string"
                                    },
                                    {
                                      "const": "selection_cycle",
                                      "type": "string"
                                    },
                                    {
                                      "const": "decision",
                                      "type": "string"
                                    },
                                    {
                                      "const": "reflection_entry",
                                      "type": "string"
                                    },
                                    {
                                      "const": "feed_entry",
                                      "type": "string"
                                    },
                                    {
                                      "const": "principal",
                                      "type": "string"
                                    },
                                    {
                                      "const": "authority_proof",
                                      "type": "string"
                                    },
                                    {
                                      "const": "scope_admission",
                                      "type": "string"
                                    },
                                    {
                                      "const": "grant",
                                      "type": "string"
                                    },
                                    {
                                      "const": "mandate",
                                      "type": "string"
                                    },
                                    {
                                      "const": "credential",
                                      "type": "string"
                                    },
                                    {
                                      "const": "webhook_delivery",
                                      "type": "string"
                                    },
                                    {
                                      "const": "redaction_policy",
                                      "type": "string"
                                    },
                                    {
                                      "const": "external_url",
                                      "type": "string"
                                    }
                                  ]
                                },
                                "uri": {
                                  "minLength": 1,
                                  "type": "string"
                                }
                              },
                              "required": [
                                "type",
                                "uri"
                              ],
                              "type": "object",
                              "x-runx-schema": "runx.reference.v1"
                            },
                            "type": "array"
                          },
                          "status": {
                            "anyOf": [
                              {
                                "const": "passed",
                                "type": "string"
                              },
                              {
                                "const": "failed",
                                "type": "string"
                              },
                              {
                                "const": "pending",
                                "type": "string"
                              },
                              {
                                "const": "not_applicable",
                                "type": "string"
                              },
                              {
                                "const": "missing",
                                "type": "string"
                              }
                            ]
                          },
                          "summary": {
                            "minLength": 1,
                            "type": "string"
                          },
                          "verified_at": {
                            "minLength": 1,
                            "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
                            "type": "string"
                          }
                        },
                        "required": [
                          "check_id",
                          "criterion_ids",
                          "status",
                          "evidence_refs"
                        ],
                        "type": "object"
                      },
                      "type": "array"
                    },
                    "evidence_refs": {
                      "items": {
                        "$id": "https://schemas.runx.dev/runx/reference/v1.json",
                        "$schema": "https://json-schema.org/draft/2020-12/schema",
                        "additionalProperties": false,
                        "properties": {
                          "label": {
                            "minLength": 1,
                            "type": "string"
                          },
                          "locator": {
                            "minLength": 1,
                            "type": "string"
                          },
                          "observed_at": {
                            "minLength": 1,
                            "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
                            "type": "string"
                          },
                          "proof_kind": {
                            "anyOf": [
                              {
                                "const": "effect_evidence",
                                "type": "string"
                              },
                              {
                                "const": "effect_finality",
                                "type": "string"
                              },
                              {
                                "const": "credential_resolution",
                                "type": "string"
                              }
                            ]
                          },
                          "provider": {
                            "minLength": 1,
                            "type": "string"
                          },
                          "schema": {
                            "const": "runx.reference.v1",
                            "type": "string"
                          },
                          "type": {
                            "anyOf": [
                              {
                                "const": "github_issue",
                                "type": "string"
                              },
                              {
                                "const": "github_pull_request",
                                "type": "string"
                              },
                              {
                                "const": "github_repo",
                                "type": "string"
                              },
                              {
                                "const": "slack_thread",
                                "type": "string"
                              },
                              {
                                "const": "sentry_event",
                                "type": "string"
                              },
                              {
                                "const": "provider_thread",
                                "type": "string"
                              },
                              {
                                "const": "provider_event",
                                "type": "string"
                              },
                              {
                                "const": "provider_comment",
                                "type": "string"
                              },
                              {
                                "const": "tracking_item",
                                "type": "string"
                              },
                              {
                                "const": "change_request",
                                "type": "string"
                              },
                              {
                                "const": "repository",
                                "type": "string"
                              },
                              {
                                "const": "support_ticket",
                                "type": "string"
                              },
                              {
                                "const": "signal",
                                "type": "string"
                              },
                              {
                                "const": "act",
                                "type": "string"
                              },
                              {
                                "const": "receipt",
                                "type": "string"
                              },
                              {
                                "const": "graph_receipt",
                                "type": "string"
                              },
                              {
                                "const": "artifact",
                                "type": "string"
                              },
                              {
                                "const": "verification",
                                "type": "string"
                              },
                              {
                                "const": "harness",
                                "type": "string"
                              },
                              {
                                "const": "host",
                                "type": "string"
                              },
                              {
                                "const": "deployment",
                                "type": "string"
                              },
                              {
                                "const": "surface",
                                "type": "string"
                              },
                              {
                                "const": "target",
                                "type": "string"
                              },
                              {
                                "const": "opportunity",
                                "type": "string"
                              },
                              {
                                "const": "thesis_assessment",
                                "type": "string"
                              },
                              {
                                "const": "selection",
                                "type": "string"
                              },
                              {
                                "const": "skill_binding",
                                "type": "string"
                              },
                              {
                                "const": "target_transition_entry",
                                "type": "string"
                              },
                              {
                                "const": "selection_cycle",
                                "type": "string"
                              },
                              {
                                "const": "decision",
                                "type": "string"
                              },
                              {
                                "const": "reflection_entry",
                                "type": "string"
                              },
                              {
                                "const": "feed_entry",
                                "type": "string"
                              },
                              {
                                "const": "principal",
                                "type": "string"
                              },
                              {
                                "const": "authority_proof",
                                "type": "string"
                              },
                              {
                                "const": "scope_admission",
                                "type": "string"
                              },
                              {
                                "const": "grant",
                                "type": "string"
                              },
                              {
                                "const": "mandate",
                                "type": "string"
                              },
                              {
                                "const": "credential",
                                "type": "string"
                              },
                              {
                                "const": "webhook_delivery",
                                "type": "string"
                              },
                              {
                                "const": "redaction_policy",
                                "type": "string"
                              },
                              {
                                "const": "external_url",
                                "type": "string"
                              }
                            ]
                          },
                          "uri": {
                            "minLength": 1,
                            "type": "string"
                          }
                        },
                        "required": [
                          "type",
                          "uri"
                        ],
                        "type": "object",
                        "x-runx-schema": "runx.reference.v1"
                      },
                      "type": "array"
                    },
                    "schema": {
                      "anyOf": [
                        {
                          "const": "runx.verification.v1",
                          "type": "string"
                        }
                      ]
                    },
                    "status": {
                      "anyOf": [
                        {
                          "const": "passed",
                          "type": "string"
                        },
                        {
                          "const": "failed",
                          "type": "string"
                        },
                        {
                          "const": "pending",
                          "type": "string"
                        },
                        {
                          "const": "not_applicable",
                          "type": "string"
                        },
                        {
                          "const": "missing",
                          "type": "string"
                        }
                      ]
                    },
                    "verification_id": {
                      "minLength": 1,
                      "type": "string"
                    },
                    "verified_at": {
                      "minLength": 1,
                      "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
                      "type": "string"
                    }
                  },
                  "required": [
                    "status",
                    "checks",
                    "evidence_refs"
                  ],
                  "type": "object",
                  "x-runx-schema": "runx.verification.v1"
                }
              },
              "required": [
                "criterion_ids",
                "verification"
              ],
              "type": "object"
            }
          },
          "required": [
            "id",
            "form",
            "intent",
            "summary",
            "closure"
          ],
          "type": "object"
        },
        "type": "array"
      },
      "authority": {
        "additionalProperties": false,
        "properties": {
          "actor_ref": {
            "$id": "https://schemas.runx.dev/runx/reference/v1.json",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "additionalProperties": false,
            "properties": {
              "label": {
                "minLength": 1,
                "type": "string"
              },
              "locator": {
                "minLength": 1,
                "type": "string"
              },
              "observed_at": {
                "minLength": 1,
                "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
                "type": "string"
              },
              "proof_kind": {
                "anyOf": [
                  {
                    "const": "effect_evidence",
                    "type": "string"
                  },
                  {
                    "const": "effect_finality",
                    "type": "string"
                  },
                  {
                    "const": "credential_resolution",
                    "type": "string"
                  }
                ]
              },
              "provider": {
                "minLength": 1,
                "type": "string"
              },
              "schema": {
                "const": "runx.reference.v1",
                "type": "string"
              },
              "type": {
                "anyOf": [
                  {
                    "const": "github_issue",
                    "type": "string"
                  },
                  {
                    "const": "github_pull_request",
                    "type": "string"
                  },
                  {
                    "const": "github_repo",
                    "type": "string"
                  },
                  {
                    "const": "slack_thread",
                    "type": "string"
                  },
                  {
                    "const": "sentry_event",
                    "type": "string"
                  },
                  {
                    "const": "provider_thread",
                    "type": "string"
                  },
                  {
                    "const": "provider_event",
                    "type": "string"
                  },
                  {
                    "const": "provider_comment",
                    "type": "string"
                  },
                  {
                    "const": "tracking_item",
                    "type": "string"
                  },
                  {
                    "const": "change_request",
                    "type": "string"
                  },
                  {
                    "const": "repository",
                    "type": "string"
                  },
                  {
                    "const": "support_ticket",
                    "type": "string"
                  },
                  {
                    "const": "signal",
                    "type": "string"
                  },
                  {
                    "const": "act",
                    "type": "string"
                  },
                  {
                    "const": "receipt",
                    "type": "string"
                  },
                  {
                    "const": "graph_receipt",
                    "type": "string"
                  },
                  {
                    "const": "artifact",
                    "type": "string"
                  },
                  {
                    "const": "verification",
                    "type": "string"
                  },
                  {
                    "const": "harness",
                    "type": "string"
                  },
                  {
                    "const": "host",
                    "type": "string"
                  },
                  {
                    "const": "deployment",
                    "type": "string"
                  },
                  {
                    "const": "surface",
                    "type": "string"
                  },
                  {
                    "const": "target",
                    "type": "string"
                  },
                  {
                    "const": "opportunity",
                    "type": "string"
                  },
                  {
                    "const": "thesis_assessment",
                    "type": "string"
                  },
                  {
                    "const": "selection",
                    "type": "string"
                  },
                  {
                    "const": "skill_binding",
                    "type": "string"
                  },
                  {
                    "const": "target_transition_entry",
                    "type": "string"
                  },
                  {
                    "const": "selection_cycle",
                    "type": "string"
                  },
                  {
                    "const": "decision",
                    "type": "string"
                  },
                  {
                    "const": "reflection_entry",
                    "type": "string"
                  },
                  {
                    "const": "feed_entry",
                    "type": "string"
                  },
                  {
                    "const": "principal",
                    "type": "string"
                  },
                  {
                    "const": "authority_proof",
                    "type": "string"
                  },
                  {
                    "const": "scope_admission",
                    "type": "string"
                  },
                  {
                    "const": "grant",
                    "type": "string"
                  },
                  {
                    "const": "mandate",
                    "type": "string"
                  },
                  {
                    "const": "credential",
                    "type": "string"
                  },
                  {
                    "const": "webhook_delivery",
                    "type": "string"
                  },
                  {
                    "const": "redaction_policy",
                    "type": "string"
                  },
                  {
                    "const": "external_url",
                    "type": "string"
                  }
                ]
              },
              "uri": {
                "minLength": 1,
                "type": "string"
              }
            },
            "required": [
              "type",
              "uri"
            ],
            "type": "object",
            "x-runx-schema": "runx.reference.v1"
          },
          "attenuation": {
            "additionalProperties": false,
            "properties": {
              "parent_authority_ref": {
                "anyOf": [
                  {
                    "$id": "https://schemas.runx.dev/runx/reference/v1.json",
                    "$schema": "https://json-schema.org/draft/2020-12/schema",
                    "additionalProperties": false,
                    "properties": {
                      "label": {
                        "minLength": 1,
                        "type": "string"
                      },
                      "locator": {
                        "minLength": 1,
                        "type": "string"
                      },
                      "observed_at": {
                        "minLength": 1,
                        "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
                        "type": "string"
                      },
                      "proof_kind": {
                        "anyOf": [
                          {
                            "const": "effect_evidence",
                            "type": "string"
                          },
                          {
                            "const": "effect_finality",
                            "type": "string"
                          },
                          {
                            "const": "credential_resolution",
                            "type": "string"
                          }
                        ]
                      },
                      "provider": {
                        "minLength": 1,
                        "type": "string"
                      },
                      "schema": {
                        "const": "runx.reference.v1",
                        "type": "string"
                      },
                      "type": {
                        "anyOf": [
                          {
                            "const": "github_issue",
                            "type": "string"
                          },
                          {
                            "const": "github_pull_request",
                            "type": "string"
                          },
                          {
                            "const": "github_repo",
                            "type": "string"
                          },
                          {
                            "const": "slack_thread",
                            "type": "string"
                          },
                          {
                            "const": "sentry_event",
                            "type": "string"
                          },
                          {
                            "const": "provider_thread",
                            "type": "string"
                          },
                          {
                            "const": "provider_event",
                            "type": "string"
                          },
                          {
                            "const": "provider_comment",
                            "type": "string"
                          },
                          {
                            "const": "tracking_item",
                            "type": "string"
                          },
                          {
                            "const": "change_request",
                            "type": "string"
                          },
                          {
                            "const": "repository",
                            "type": "string"
                          },
                          {
                            "const": "support_ticket",
                            "type": "string"
                          },
                          {
                            "const": "signal",
                            "type": "string"
                          },
                          {
                            "const": "act",
                            "type": "string"
                          },
                          {
                            "const": "receipt",
                            "type": "string"
                          },
                          {
                            "const": "graph_receipt",
                            "type": "string"
                          },
                          {
                            "const": "artifact",
                            "type": "string"
                          },
                          {
                            "const": "verification",
                            "type": "string"
                          },
                          {
                            "const": "harness",
                            "type": "string"
                          },
                          {
                            "const": "host",
                            "type": "string"
                          },
                          {
                            "const": "deployment",
                            "type": "string"
                          },
                          {
                            "const": "surface",
                            "type": "string"
                          },
                          {
                            "const": "target",
                            "type": "string"
                          },
                          {
                            "const": "opportunity",
                            "type": "string"
                          },
                          {
                            "const": "thesis_assessment",
                            "type": "string"
                          },
                          {
                            "const": "selection",
                            "type": "string"
                          },
                          {
                            "const": "skill_binding",
                            "type": "string"
                          },
                          {
                            "const": "target_transition_entry",
                            "type": "string"
                          },
                          {
                            "const": "selection_cycle",
                            "type": "string"
                          },
                          {
                            "const": "decision",
                            "type": "string"
                          },
                          {
                            "const": "reflection_entry",
                            "type": "string"
                          },
                          {
                            "const": "feed_entry",
                            "type": "string"
                          },
                          {
                            "const": "principal",
                            "type": "string"
                          },
                          {
                            "const": "authority_proof",
                            "type": "string"
                          },
                          {
                            "const": "scope_admission",
                            "type": "string"
                          },
                          {
                            "const": "grant",
                            "type": "string"
                          },
                          {
                            "const": "mandate",
                            "type": "string"
                          },
                          {
                            "const": "credential",
                            "type": "string"
                          },
                          {
                            "const": "webhook_delivery",
                            "type": "string"
                          },
                          {
                            "const": "redaction_policy",
                            "type": "string"
                          },
                          {
                            "const": "external_url",
                            "type": "string"
                          }
                        ]
                      },
                      "uri": {
                        "minLength": 1,
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "uri"
                    ],
                    "type": "object",
                    "x-runx-schema": "runx.reference.v1"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "subset_proof": {
                "anyOf": [
                  {
                    "$id": "https://schemas.runx.dev/runx/authority/subset-proof/v1.json",
                    "$schema": "https://json-schema.org/draft/2020-12/schema",
                    "additionalProperties": false,
                    "properties": {
                      "checked_at": {
                        "minLength": 1,
                        "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
                        "type": "string"
                      },
                      "compared_terms": {
                        "items": {
                          "additionalProperties": false,
                          "properties": {
                            "child_term_id": {
                              "minLength": 1,
                              "type": "string"
                            },
                            "parent_term_id": {
                              "minLength": 1,
                              "type": "string"
                            },
                            "relation": {
                              "anyOf": [
                                {
                                  "const": "equal",
                                  "type": "string"
                                },
                                {
                                  "const": "subset",
                                  "type": "string"
                                }
                              ]
                            }
                          },
                          "required": [
                            "child_term_id",
                            "parent_term_id",
                            "relation"
                          ],
                          "type": "object"
                        },
                        "type": "array"
                      },
                      "comparison_algorithm": {
                        "minLength": 1,
                        "type": "string"
                      },
                      "parent_authority_ref": {
                        "$id": "https://schemas.runx.dev/runx/reference/v1.json",
                        "$schema": "https://json-schema.org/draft/2020-12/schema",
                        "additionalProperties": false,
                        "properties": {
                          "label": {
                            "minLength": 1,
                            "type": "string"
                          },
                          "locator": {
                            "minLength": 1,
                            "type": "string"
                          },
                          "observed_at": {
                            "minLength": 1,
                            "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
                            "type": "string"
                          },
                          "proof_kind": {
                            "anyOf": [
                              {
                                "const": "effect_evidence",
                                "type": "string"
                              },
                              {
                                "const": "effect_finality",
                                "type": "string"
                              },
                              {
                                "const": "credential_resolution",
                                "type": "string"
                              }
                            ]
                          },
                          "provider": {
                            "minLength": 1,
                            "type": "string"
                          },
                          "schema": {
                            "const": "runx.reference.v1",
                            "type": "string"
                          },
                          "type": {
                            "anyOf": [
                              {
                                "const": "github_issue",
                                "type": "string"
                              },
                              {
                                "const": "github_pull_request",
                                "type": "string"
                              },
                              {
                                "const": "github_repo",
                                "type": "string"
                              },
                              {
                                "const": "slack_thread",
                                "type": "string"
                              },
                              {
                                "const": "sentry_event",
                                "type": "string"
                              },
                              {
                                "const": "provider_thread",
                                "type": "string"
                              },
                              {
                                "const": "provider_event",
                                "type": "string"
                              },
                              {
                                "const": "provider_comment",
                                "type": "string"
                              },
                              {
                                "const": "tracking_item",
                                "type": "string"
                              },
                              {
                                "const": "change_request",
                                "type": "string"
                              },
                              {
                                "const": "repository",
                                "type": "string"
                              },
                              {
                                "const": "support_ticket",
                                "type": "string"
                              },
                              {
                                "const": "signal",
                                "type": "string"
                              },
                              {
                                "const": "act",
                                "type": "string"
                              },
                              {
                                "const": "receipt",
                                "type": "string"
                              },
                              {
                                "const": "graph_receipt",
                                "type": "string"
                              },
                              {
                                "const": "artifact",
                                "type": "string"
                              },
                              {
                                "const": "verification",
                                "type": "string"
                              },
                              {
                                "const": "harness",
                                "type": "string"
                              },
                              {
                                "const": "host",
                                "type": "string"
                              },
                              {
                                "const": "deployment",
                                "type": "string"
                              },
                              {
                                "const": "surface",
                                "type": "string"
                              },
                              {
                                "const": "target",
                                "type": "string"
                              },
                              {
                                "const": "opportunity",
                                "type": "string"
                              },
                              {
                                "const": "thesis_assessment",
                                "type": "string"
                              },
                              {
                                "const": "selection",
                                "type": "string"
                              },
                              {
                                "const": "skill_binding",
                                "type": "string"
                              },
                              {
                                "const": "target_transition_entry",
                                "type": "string"
                              },
                              {
                                "const": "selection_cycle",
                                "type": "string"
                              },
                              {
                                "const": "decision",
                                "type": "string"
                              },
                              {
                                "const": "reflection_entry",
                                "type": "string"
                              },
                              {
                                "const": "feed_entry",
                                "type": "string"
                              },
                              {
                                "const": "principal",
                                "type": "string"
                              },
                              {
                                "const": "authority_proof",
                                "type": "string"
                              },
                              {
                                "const": "scope_admission",
                                "type": "string"
                              },
                              {
                                "const": "grant",
                                "type": "string"
                              },
                              {
                                "const": "mandate",
                                "type": "string"
                              },
                              {
                                "const": "credential",
                                "type": "string"
                              },
                              {
                                "const": "webhook_delivery",
                                "type": "string"
                              },
                              {
                                "const": "redaction_policy",
                                "type": "string"
                              },
                              {
                                "const": "external_url",
                                "type": "string"
                              }
                            ]
                          },
                          "uri": {
                            "minLength": 1,
                            "type": "string"
                          }
                        },
                        "required": [
                          "type",
                          "uri"
                        ],
                        "type": "object",
                        "x-runx-schema": "runx.reference.v1"
                      },
                      "proof_ref": {
                        "$id": "https://schemas.runx.dev/runx/reference/v1.json",
                        "$schema": "https://json-schema.org/draft/2020-12/schema",
                        "additionalProperties": false,
                        "properties": {
                          "label": {
                            "minLength": 1,
                            "type": "string"
                          },
                          "locator": {
                            "minLength": 1,
                            "type": "string"
                          },
                          "observed_at": {
                            "minLength": 1,
                            "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
                            "type": "string"
                          },
                          "proof_kind": {
                            "anyOf": [
                              {
                                "const": "effect_evidence",
                                "type": "string"
                              },
                              {
                                "const": "effect_finality",
                                "type": "string"
                              },
                              {
                                "const": "credential_resolution",
                                "type": "string"
                              }
                            ]
                          },
                          "provider": {
                            "minLength": 1,
                            "type": "string"
                          },
                          "schema": {
                            "const": "runx.reference.v1",
                            "type": "string"
                          },
                          "type": {
                            "anyOf": [
                              {
                                "const": "github_issue",
                                "type": "string"
                              },
                              {
                                "const": "github_pull_request",
                                "type": "string"
                              },
                              {
                                "const": "github_repo",
                                "type": "string"
                              },
                              {
                                "const": "slack_thread",
                                "type": "string"
                              },
                              {
                                "const": "sentry_event",
                                "type": "string"
                              },
                              {
                                "const": "provider_thread",
                                "type": "string"
                              },
                              {
                                "const": "provider_event",
                                "type": "string"
                              },
                              {
                                "const": "provider_comment",
                                "type": "string"
                              },
                              {
                                "const": "tracking_item",
                                "type": "string"
                              },
                              {
                                "const": "change_request",
                                "type": "string"
                              },
                              {
                                "const": "repository",
                                "type": "string"
                              },
                              {
                                "const": "support_ticket",
                                "type": "string"
                              },
                              {
                                "const": "signal",
                                "type": "string"
                              },
                              {
                                "const": "act",
                                "type": "string"
                              },
                              {
                                "const": "receipt",
                                "type": "string"
                              },
                              {
                                "const": "graph_receipt",
                                "type": "string"
                              },
                              {
                                "const": "artifact",
                                "type": "string"
                              },
                              {
                                "const": "verification",
                                "type": "string"
                              },
                              {
                                "const": "harness",
                                "type": "string"
                              },
                              {
                                "const": "host",
                                "type": "string"
                              },
                              {
                                "const": "deployment",
                                "type": "string"
                              },
                              {
                                "const": "surface",
                                "type": "string"
                              },
                              {
                                "const": "target",
                                "type": "string"
                              },
                              {
                                "const": "opportunity",
                                "type": "string"
                              },
                              {
                                "const": "thesis_assessment",
                                "type": "string"
                              },
                              {
                                "const": "selection",
                                "type": "string"
                              },
                              {
                                "const": "skill_binding",
                                "type": "string"
                              },
                              {
                                "const": "target_transition_entry",
                                "type": "string"
                              },
                              {
                                "const": "selection_cycle",
                                "type": "string"
                              },
                              {
                                "const": "decision",
                                "type": "string"
                              },
                              {
                                "const": "reflection_entry",
                                "type": "string"
                              },
                              {
                                "const": "feed_entry",
                                "type": "string"
                              },
                              {
                                "const": "principal",
                                "type": "string"
                              },
                              {
                                "const": "authority_proof",
                                "type": "string"
                              },
                              {
                                "const": "scope_admission",
                                "type": "string"
                              },
                              {
                                "const": "grant",
                                "type": "string"
                              },
                              {
                                "const": "mandate",
                                "type": "string"
                              },
                              {
                                "const": "credential",
                                "type": "string"
                              },
                              {
                                "const": "webhook_delivery",
                                "type": "string"
                              },
                              {
                                "const": "redaction_policy",
                                "type": "string"
                              },
                              {
                                "const": "external_url",
                                "type": "string"
                              }
                            ]
                          },
                          "uri": {
                            "minLength": 1,
                            "type": "string"
                          }
                        },
                        "required": [
                          "type",
                          "uri"
                        ],
                        "type": "object",
                        "x-runx-schema": "runx.reference.v1"
                      },
                      "result": {
                        "anyOf": [
                          {
                            "const": "subset",
                            "type": "string"
                          }
                        ]
                      },
                      "schema": {
                        "const": "runx.authority_subset_proof.v1",
                        "type": "string"
                      }
                    },
                    "required": [
                      "parent_authority_ref",
                      "comparison_algorithm",
                      "result",
                      "compared_terms",
                      "checked_at"
                    ],
                    "type": "object",
                    "x-runx-schema": "runx.authority_subset_proof.v1"
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "parent_authority_ref",
              "subset_proof"
            ],
            "type": "object"
          },
          "authority_proof_refs": {
            "items": {
              "$id": "https://schemas.runx.dev/runx/reference/v1.json",
              "$schema": "https://json-schema.org/draft/2020-12/schema",
              "additionalProperties": false,
              "properties": {
                "label": {
                  "minLength": 1,
                  "type": "string"
                },
                "locator": {
                  "minLength": 1,
                  "type": "string"
                },
                "observed_at": {
                  "minLength": 1,
                  "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
                  "type": "string"
                },
                "proof_kind": {
                  "anyOf": [
                    {
                      "const": "effect_evidence",
                      "type": "string"
                    },
                    {
                      "const": "effect_finality",
                      "type": "string"
                    },
                    {
                      "const": "credential_resolution",
                      "type": "string"
                    }
                  ]
                },
                "provider": {
                  "minLength": 1,
                  "type": "string"
                },
                "schema": {
                  "const": "runx.reference.v1",
                  "type": "string"
                },
                "type": {
                  "anyOf": [
                    {
                      "const": "github_issue",
                      "type": "string"
                    },
                    {
                      "const": "github_pull_request",
                      "type": "string"
                    },
                    {
                      "const": "github_repo",
                      "type": "string"
                    },
                    {
                      "const": "slack_thread",
                      "type": "string"
                    },
                    {
                      "const": "sentry_event",
                      "type": "string"
                    },
                    {
                      "const": "provider_thread",
                      "type": "string"
                    },
                    {
                      "const": "provider_event",
                      "type": "string"
                    },
                    {
                      "const": "provider_comment",
                      "type": "string"
                    },
                    {
                      "const": "tracking_item",
                      "type": "string"
                    },
                    {
                      "const": "change_request",
                      "type": "string"
                    },
                    {
                      "const": "repository",
                      "type": "string"
                    },
                    {
                      "const": "support_ticket",
                      "type": "string"
                    },
                    {
                      "const": "signal",
                      "type": "string"
                    },
                    {
                      "const": "act",
                      "type": "string"
                    },
                    {
                      "const": "receipt",
                      "type": "string"
                    },
                    {
                      "const": "graph_receipt",
                      "type": "string"
                    },
                    {
                      "const": "artifact",
                      "type": "string"
                    },
                    {
                      "const": "verification",
                      "type": "string"
                    },
                    {
                      "const": "harness",
                      "type": "string"
                    },
                    {
                      "const": "host",
                      "type": "string"
                    },
                    {
                      "const": "deployment",
                      "type": "string"
                    },
                    {
                      "const": "surface",
                      "type": "string"
                    },
                    {
                      "const": "target",
                      "type": "string"
                    },
                    {
                      "const": "opportunity",
                      "type": "string"
                    },
                    {
                      "const": "thesis_assessment",
                      "type": "string"
                    },
                    {
                      "const": "selection",
                      "type": "string"
                    },
                    {
                      "const": "skill_binding",
                      "type": "string"
                    },
                    {
                      "const": "target_transition_entry",
                      "type": "string"
                    },
                    {
                      "const": "selection_cycle",
                      "type": "string"
                    },
                    {
                      "const": "decision",
                      "type": "string"
                    },
                    {
                      "const": "reflection_entry",
                      "type": "string"
                    },
                    {
                      "const": "feed_entry",
                      "type": "string"
                    },
                    {
                      "const": "principal",
                      "type": "string"
                    },
                    {
                      "const": "authority_proof",
                      "type": "string"
                    },
                    {
                      "const": "scope_admission",
                      "type": "string"
                    },
                    {
                      "const": "grant",
                      "type": "string"
                    },
                    {
                      "const": "mandate",
                      "type": "string"
                    },
                    {
                      "const": "credential",
                      "type": "string"
                    },
                    {
                      "const": "webhook_delivery",
                      "type": "string"
                    },
                    {
                      "const": "redaction_policy",
                      "type": "string"
                    },
                    {
                      "const": "external_url",
                      "type": "string"
                    }
                  ]
                },
                "uri": {
                  "minLength": 1,
                  "type": "string"
                }
              },
              "required": [
                "type",
                "uri"
              ],
              "type": "object",
              "x-runx-schema": "runx.reference.v1"
            },
            "type": "array"
          },
          "enforcement": {
            "additionalProperties": false,
            "properties": {
              "profile_hash": {
                "minLength": 1,
                "type": "string"
              },
              "redaction_refs": {
                "items": {
                  "$id": "https://schemas.runx.dev/runx/reference/v1.json",
                  "$schema": "https://json-schema.org/draft/2020-12/schema",
                  "additionalProperties": false,
                  "properties": {
                    "label": {
                      "minLength": 1,
                      "type": "string"
                    },
                    "locator": {
                      "minLength": 1,
                      "type": "string"
                    },
                    "observed_at": {
                      "minLength": 1,
                      "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
                      "type": "string"
                    },
                    "proof_kind": {
                      "anyOf": [
                        {
                          "const": "effect_evidence",
                          "type": "string"
                        },
                        {
                          "const": "effect_finality",
                          "type": "string"
                        },
                        {
                          "const": "credential_resolution",
                          "type": "string"
                        }
                      ]
                    },
                    "provider": {
                      "minLength": 1,
                      "type": "string"
                    },
                    "schema": {
                      "const": "runx.reference.v1",
                      "type": "string"
                    },
                    "type": {
                      "anyOf": [
                        {
                          "const": "github_issue",
                          "type": "string"
                        },
                        {
                          "const": "github_pull_request",
                          "type": "string"
                        },
                        {
                          "const": "github_repo",
                          "type": "string"
                        },
                        {
                          "const": "slack_thread",
                          "type": "string"
                        },
                        {
                          "const": "sentry_event",
                          "type": "string"
                        },
                        {
                          "const": "provider_thread",
                          "type": "string"
                        },
                        {
                          "const": "provider_event",
                          "type": "string"
                        },
                        {
                          "const": "provider_comment",
                          "type": "string"
                        },
                        {
                          "const": "tracking_item",
                          "type": "string"
                        },
                        {
                          "const": "change_request",
                          "type": "string"
                        },
                        {
                          "const": "repository",
                          "type": "string"
                        },
                        {
                          "const": "support_ticket",
                          "type": "string"
                        },
                        {
                          "const": "signal",
                          "type": "string"
                        },
                        {
                          "const": "act",
                          "type": "string"
                        },
                        {
                          "const": "receipt",
                          "type": "string"
                        },
                        {
                          "const": "graph_receipt",
                          "type": "string"
                        },
                        {
                          "const": "artifact",
                          "type": "string"
                        },
                        {
                          "const": "verification",
                          "type": "string"
                        },
                        {
                          "const": "harness",
                          "type": "string"
                        },
                        {
                          "const": "host",
                          "type": "string"
                        },
                        {
                          "const": "deployment",
                          "type": "string"
                        },
                        {
                          "const": "surface",
                          "type": "string"
                        },
                        {
                          "const": "target",
                          "type": "string"
                        },
                        {
                          "const": "opportunity",
                          "type": "string"
                        },
                        {
                          "const": "thesis_assessment",
                          "type": "string"
                        },
                        {
                          "const": "selection",
                          "type": "string"
                        },
                        {
                          "const": "skill_binding",
                          "type": "string"
                        },
                        {
                          "const": "target_transition_entry",
                          "type": "string"
                        },
                        {
                          "const": "selection_cycle",
                          "type": "string"
                        },
                        {
                          "const": "decision",
                          "type": "string"
                        },
                        {
                          "const": "reflection_entry",
                          "type": "string"
                        },
                        {
                          "const": "feed_entry",
                          "type": "string"
                        },
                        {
                          "const": "principal",
                          "type": "string"
                        },
                        {
                          "const": "authority_proof",
                          "type": "string"
                        },
                        {
                          "const": "scope_admission",
                          "type": "string"
                        },
                        {
                          "const": "grant",
                          "type": "string"
                        },
                        {
                          "const": "mandate",
                          "type": "string"
                        },
                        {
                          "const": "credential",
                          "type": "string"
                        },
                        {
                          "const": "webhook_delivery",
                          "type": "string"
                        },
                        {
                          "const": "redaction_policy",
                          "type": "string"
                        },
                        {
                          "const": "external_url",
                          "type": "string"
                        }
                      ]
                    },
                    "uri": {
                      "minLength": 1,
                      "type": "string"
                    }
                  },
                  "required": [
                    "type",
                    "uri"
                  ],
                  "type": "object",
                  "x-runx-schema": "runx.reference.v1"
                },
                "type": "array"
              },
              "setup_refs": {
                "items": {
                  "$id": "https://schemas.runx.dev/runx/reference/v1.json",
                  "$schema": "https://json-schema.org/draft/2020-12/schema",
                  "additionalProperties": false,
                  "properties": {
                    "label": {
                      "minLength": 1,
                      "type": "string"
                    },
                    "locator": {
                      "minLength": 1,
                      "type": "string"
                    },
                    "observed_at": {
                      "minLength": 1,
                      "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
                      "type": "string"
                    },
                    "proof_kind": {
                      "anyOf": [
                        {
                          "const": "effect_evidence",
                          "type": "string"
                        },
                        {
                          "const": "effect_finality",
                          "type": "string"
                        },
                        {
                          "const": "credential_resolution",
                          "type": "string"
                        }
                      ]
                    },
                    "provider": {
                      "minLength": 1,
                      "type": "string"
                    },
                    "schema": {
                      "const": "runx.reference.v1",
                      "type": "string"
                    },
                    "type": {
                      "anyOf": [
                        {
                          "const": "github_issue",
                          "type": "string"
                        },
                        {
                          "const": "github_pull_request",
                          "type": "string"
                        },
                        {
                          "const": "github_repo",
                          "type": "string"
                        },
                        {
                          "const": "slack_thread",
                          "type": "string"
                        },
                        {
                          "const": "sentry_event",
                          "type": "string"
                        },
                        {
                          "const": "provider_thread",
                          "type": "string"
                        },
                        {
                          "const": "provider_event",
                          "type": "string"
                        },
                        {
                          "const": "provider_comment",
                          "type": "string"
                        },
                        {
                          "const": "tracking_item",
                          "type": "string"
                        },
                        {
                          "const": "change_request",
                          "type": "string"
                        },
                        {
                          "const": "repository",
                          "type": "string"
                        },
                        {
                          "const": "support_ticket",
                          "type": "string"
                        },
                        {
                          "const": "signal",
                          "type": "string"
                        },
                        {
                          "const": "act",
                          "type": "string"
                        },
                        {
                          "const": "receipt",
                          "type": "string"
                        },
                        {
                          "const": "graph_receipt",
                          "type": "string"
                        },
                        {
                          "const": "artifact",
                          "type": "string"
                        },
                        {
                          "const": "verification",
                          "type": "string"
                        },
                        {
                          "const": "harness",
                          "type": "string"
                        },
                        {
                          "const": "host",
                          "type": "string"
                        },
                        {
                          "const": "deployment",
                          "type": "string"
                        },
                        {
                          "const": "surface",
                          "type": "string"
                        },
                        {
                          "const": "target",
                          "type": "string"
                        },
                        {
                          "const": "opportunity",
                          "type": "string"
                        },
                        {
                          "const": "thesis_assessment",
                          "type": "string"
                        },
                        {
                          "const": "selection",
                          "type": "string"
                        },
                        {
                          "const": "skill_binding",
                          "type": "string"
                        },
                        {
                          "const": "target_transition_entry",
                          "type": "string"
                        },
                        {
                          "const": "selection_cycle",
                          "type": "string"
                        },
                        {
                          "const": "decision",
                          "type": "string"
                        },
                        {
                          "const": "reflection_entry",
                          "type": "string"
                        },
                        {
                          "const": "feed_entry",
                          "type": "string"
                        },
                        {
                          "const": "principal",
                          "type": "string"
                        },
                        {
                          "const": "authority_proof",
                          "type": "string"
                        },
                        {
                          "const": "scope_admission",
                          "type": "string"
                        },
                        {
                          "const": "grant",
                          "type": "string"
                        },
                        {
                          "const": "mandate",
                          "type": "string"
                        },
                        {
                          "const": "credential",
                          "type": "string"
                        },
                        {
                          "const": "webhook_delivery",
                          "type": "string"
                        },
                        {
                          "const": "redaction_policy",
                          "type": "string"
                        },
                        {
                          "const": "external_url",
                          "type": "string"
                        }
                      ]
                    },
                    "uri": {
                      "minLength": 1,
                      "type": "string"
                    }
                  },
                  "required": [
                    "type",
                    "uri"
                  ],
                  "type": "object",
                  "x-runx-schema": "runx.reference.v1"
                },
                "type": "array"
              },
              "teardown_refs": {
                "items": {
                  "$id": "https://schemas.runx.dev/runx/reference/v1.json",
                  "$schema": "https://json-schema.org/draft/2020-12/schema",
                  "additionalProperties": false,
                  "properties": {
                    "label": {
                      "minLength": 1,
                      "type": "string"
                    },
                    "locator": {
                      "minLength": 1,
                      "type": "string"
                    },
                    "observed_at": {
                      "minLength": 1,
                      "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
                      "type": "string"
                    },
                    "proof_kind": {
                      "anyOf": [
                        {
                          "const": "effect_evidence",
                          "type": "string"
                        },
                        {
                          "const": "effect_finality",
                          "type": "string"
                        },
                        {
                          "const": "credential_resolution",
                          "type": "string"
                        }
                      ]
                    },
                    "provider": {
                      "minLength": 1,
                      "type": "string"
                    },
                    "schema": {
                      "const": "runx.reference.v1",
                      "type": "string"
                    },
                    "type": {
                      "anyOf": [
                        {
                          "const": "github_issue",
                          "type": "string"
                        },
                        {
                          "const": "github_pull_request",
                          "type": "string"
                        },
                        {
                          "const": "github_repo",
                          "type": "string"
                        },
                        {
                          "const": "slack_thread",
                          "type": "string"
                        },
                        {
                          "const": "sentry_event",
                          "type": "string"
                        },
                        {
                          "const": "provider_thread",
                          "type": "string"
                        },
                        {
                          "const": "provider_event",
                          "type": "string"
                        },
                        {
                          "const": "provider_comment",
                          "type": "string"
                        },
                        {
                          "const": "tracking_item",
                          "type": "string"
                        },
                        {
                          "const": "change_request",
                          "type": "string"
                        },
                        {
                          "const": "repository",
                          "type": "string"
                        },
                        {
                          "const": "support_ticket",
                          "type": "string"
                        },
                        {
                          "const": "signal",
                          "type": "string"
                        },
                        {
                          "const": "act",
                          "type": "string"
                        },
                        {
                          "const": "receipt",
                          "type": "string"
                        },
                        {
                          "const": "graph_receipt",
                          "type": "string"
                        },
                        {
                          "const": "artifact",
                          "type": "string"
                        },
                        {
                          "const": "verification",
                          "type": "string"
                        },
                        {
                          "const": "harness",
                          "type": "string"
                        },
                        {
                          "const": "host",
                          "type": "string"
                        },
                        {
                          "const": "deployment",
                          "type": "string"
                        },
                        {
                          "const": "surface",
                          "type": "string"
                        },
                        {
                          "const": "target",
                          "type": "string"
                        },
                        {
                          "const": "opportunity",
                          "type": "string"
                        },
                        {
                          "const": "thesis_assessment",
                          "type": "string"
                        },
                        {
                          "const": "selection",
                          "type": "string"
                        },
                        {
                          "const": "skill_binding",
                          "type": "string"
                        },
                        {
                          "const": "target_transition_entry",
                          "type": "string"
                        },
                        {
                          "const": "selection_cycle",
                          "type": "string"
                        },
                        {
                          "const": "decision",
                          "type": "string"
                        },
                        {
                          "const": "reflection_entry",
                          "type": "string"
                        },
                        {
                          "const": "feed_entry",
                          "type": "string"
                        },
                        {
                          "const": "principal",
                          "type": "string"
                        },
                        {
                          "const": "authority_proof",
                          "type": "string"
                        },
                        {
                          "const": "scope_admission",
                          "type": "string"
                        },
                        {
                          "const": "grant",
                          "type": "string"
                        },
                        {
                          "const": "mandate",
                          "type": "string"
                        },
                        {
                          "const": "credential",
                          "type": "string"
                        },
                        {
                          "const": "webhook_delivery",
                          "type": "string"
                        },
                        {
                          "const": "redaction_policy",
                          "type": "string"
                        },
                        {
                          "const": "external_url",
                          "type": "string"
                        }
                      ]
                    },
                    "uri": {
                      "minLength": 1,
                      "type": "string"
                    }
                  },
                  "required": [
                    "type",
                    "uri"
                  ],
                  "type": "object",
                  "x-runx-schema": "runx.reference.v1"
                },
                "type": "array"
              }
            },
            "required": [
              "profile_hash"
            ],
            "type": "object"
          },
          "grant_refs": {
            "items": {
              "$id": "https://schemas.runx.dev/runx/reference/v1.json",
              "$schema": "https://json-schema.org/draft/2020-12/schema",
              "additionalProperties": false,
              "properties": {
                "label": {
                  "minLength": 1,
                  "type": "string"
                },
                "locator": {
                  "minLength": 1,
                  "type": "string"
                },
                "observed_at": {
                  "minLength": 1,
                  "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
                  "type": "string"
                },
                "proof_kind": {
                  "anyOf": [
                    {
                      "const": "effect_evidence",
                      "type": "string"
                    },
                    {
                      "const": "effect_finality",
                      "type": "string"
                    },
                    {
                      "const": "credential_resolution",
                      "type": "string"
                    }
                  ]
                },
                "provider": {
                  "minLength": 1,
                  "type": "string"
                },
                "schema": {
                  "const": "runx.reference.v1",
                  "type": "string"
                },
                "type": {
                  "anyOf": [
                    {
                      "const": "github_issue",
                      "type": "string"
                    },
                    {
                      "const": "github_pull_request",
                      "type": "string"
                    },
                    {
                      "const": "github_repo",
                      "type": "string"
                    },
                    {
                      "const": "slack_thread",
                      "type": "string"
                    },
                    {
                      "const": "sentry_event",
                      "type": "string"
                    },
                    {
                      "const": "provider_thread",
                      "type": "string"
                    },
                    {
                      "const": "provider_event",
                      "type": "string"
                    },
                    {
                      "const": "provider_comment",
                      "type": "string"
                    },
                    {
                      "const": "tracking_item",
                      "type": "string"
                    },
                    {
                      "const": "change_request",
                      "type": "string"
                    },
                    {
                      "const": "repository",
                      "type": "string"
                    },
                    {
                      "const": "support_ticket",
                      "type": "string"
                    },
                    {
                      "const": "signal",
                      "type": "string"
                    },
                    {
                      "const": "act",
                      "type": "string"
                    },
                    {
                      "const": "receipt",
                      "type": "string"
                    },
                    {
                      "const": "graph_receipt",
                      "type": "string"
                    },
                    {
                      "const": "artifact",
                      "type": "string"
                    },
                    {
                      "const": "verification",
                      "type": "string"
                    },
                    {
                      "const": "harness",
                      "type": "string"
                    },
                    {
                      "const": "host",
                      "type": "string"
                    },
                    {
                      "const": "deployment",
                      "type": "string"
                    },
                    {
                      "const": "surface",
                      "type": "string"
                    },
                    {
                      "const": "target",
                      "type": "string"
                    },
                    {
                      "const": "opportunity",
                      "type": "string"
                    },
                    {
                      "const": "thesis_assessment",
                      "type": "string"
                    },
                    {
                      "const": "selection",
                      "type": "string"
                    },
                    {
                      "const": "skill_binding",
                      "type": "string"
                    },
                    {
                      "const": "target_transition_entry",
                      "type": "string"
                    },
                    {
                      "const": "selection_cycle",
                      "type": "string"
                    },
                    {
                      "const": "decision",
                      "type": "string"
                    },
                    {
                      "const": "reflection_entry",
                      "type": "string"
                    },
                    {
                      "const": "feed_entry",
                      "type": "string"
                    },
                    {
                      "const": "principal",
                      "type": "string"
                    },
                    {
                      "const": "authority_proof",
                      "type": "string"
                    },
                    {
                      "const": "scope_admission",
                      "type": "string"
                    },
                    {
                      "const": "grant",
                      "type": "string"
                    },
                    {
                      "const": "mandate",
                      "type": "string"
                    },
                    {
                      "const": "credential",
                      "type": "string"
                    },
                    {
                      "const": "webhook_delivery",
                      "type": "string"
                    },
                    {
                      "const": "redaction_policy",
                      "type": "string"
                    },
                    {
                      "const": "external_url",
                      "type": "string"
                    }
                  ]
                },
                "uri": {
                  "minLength": 1,
                  "type": "string"
                }
              },
              "required": [
                "type",
                "uri"
              ],
              "type": "object",
              "x-runx-schema": "runx.reference.v1"
            },
            "type": "array"
          },
          "mandate_ref": {
            "$id": "https://schemas.runx.dev/runx/reference/v1.json",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "additionalProperties": false,
            "properties": {
              "label": {
                "minLength": 1,
                "type": "string"
              },
              "locator": {
                "minLength": 1,
                "type": "string"
              },
              "observed_at": {
                "minLength": 1,
                "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
                "type": "string"
              },
              "proof_kind": {
                "anyOf": [
                  {
                    "const": "effect_evidence",
                    "type": "string"
                  },
                  {
                    "const": "effect_finality",
                    "type": "string"
                  },
                  {
                    "const": "credential_resolution",
                    "type": "string"
                  }
                ]
              },
              "provider": {
                "minLength": 1,
                "type": "string"
              },
              "schema": {
                "const": "runx.reference.v1",
                "type": "string"
              },
              "type": {
                "anyOf": [
                  {
                    "const": "github_issue",
                    "type": "string"
                  },
                  {
                    "const": "github_pull_request",
                    "type": "string"
                  },
                  {
                    "const": "github_repo",
                    "type": "string"
                  },
                  {
                    "const": "slack_thread",
                    "type": "string"
                  },
                  {
                    "const": "sentry_event",
                    "type": "string"
                  },
                  {
                    "const": "provider_thread",
                    "type": "string"
                  },
                  {
                    "const": "provider_event",
                    "type": "string"
                  },
                  {
                    "const": "provider_comment",
                    "type": "string"
                  },
                  {
                    "const": "tracking_item",
                    "type": "string"
                  },
                  {
                    "const": "change_request",
                    "type": "string"
                  },
                  {
                    "const": "repository",
                    "type": "string"
                  },
                  {
                    "const": "support_ticket",
                    "type": "string"
                  },
                  {
                    "const": "signal",
                    "type": "string"
                  },
                  {
                    "const": "act",
                    "type": "string"
                  },
                  {
                    "const": "receipt",
                    "type": "string"
                  },
                  {
                    "const": "graph_receipt",
                    "type": "string"
                  },
                  {
                    "const": "artifact",
                    "type": "string"
                  },
                  {
                    "const": "verification",
                    "type": "string"
                  },
                  {
                    "const": "harness",
                    "type": "string"
                  },
                  {
                    "const": "host",
                    "type": "string"
                  },
                  {
                    "const": "deployment",
                    "type": "string"
                  },
                  {
                    "const": "surface",
                    "type": "string"
                  },
                  {
                    "const": "target",
                    "type": "string"
                  },
                  {
                    "const": "opportunity",
                    "type": "string"
                  },
                  {
                    "const": "thesis_assessment",
                    "type": "string"
                  },
                  {
                    "const": "selection",
                    "type": "string"
                  },
                  {
                    "const": "skill_binding",
                    "type": "string"
                  },
                  {
                    "const": "target_transition_entry",
                    "type": "string"
                  },
                  {
                    "const": "selection_cycle",
                    "type": "string"
                  },
                  {
                    "const": "decision",
                    "type": "string"
                  },
                  {
                    "const": "reflection_entry",
                    "type": "string"
                  },
                  {
                    "const": "feed_entry",
                    "type": "string"
                  },
                  {
                    "const": "principal",
                    "type": "string"
                  },
                  {
                    "const": "authority_proof",
                    "type": "string"
                  },
                  {
                    "const": "scope_admission",
                    "type": "string"
                  },
                  {
                    "const": "grant",
                    "type": "string"
                  },
                  {
                    "const": "mandate",
                    "type": "string"
                  },
                  {
                    "const": "credential",
                    "type": "string"
                  },
                  {
                    "const": "webhook_delivery",
                    "type": "string"
                  },
                  {
                    "const": "redaction_policy",
                    "type": "string"
                  },
                  {
                    "const": "external_url",
                    "type": "string"
                  }
                ]
              },
              "uri": {
                "minLength": 1,
                "type": "string"
              }
            },
            "required": [
              "type",
              "uri"
            ],
            "type": "object",
            "x-runx-schema": "runx.reference.v1"
          },
          "scope_refs": {
            "items": {
              "$id": "https://schemas.runx.dev/runx/reference/v1.json",
              "$schema": "https://json-schema.org/draft/2020-12/schema",
              "additionalProperties": false,
              "properties": {
                "label": {
                  "minLength": 1,
                  "type": "string"
                },
                "locator": {
                  "minLength": 1,
                  "type": "string"
                },
                "observed_at": {
                  "minLength": 1,
                  "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
                  "type": "string"
                },
                "proof_kind": {
                  "anyOf": [
                    {
                      "const": "effect_evidence",
                      "type": "string"
                    },
                    {
                      "const": "effect_finality",
                      "type": "string"
                    },
                    {
                      "const": "credential_resolution",
                      "type": "string"
                    }
                  ]
                },
                "provider": {
                  "minLength": 1,
                  "type": "string"
                },
                "schema": {
                  "const": "runx.reference.v1",
                  "type": "string"
                },
                "type": {
                  "anyOf": [
                    {
                      "const": "github_issue",
                      "type": "string"
                    },
                    {
                      "const": "github_pull_request",
                      "type": "string"
                    },
                    {
                      "const": "github_repo",
                      "type": "string"
                    },
                    {
                      "const": "slack_thread",
                      "type": "string"
                    },
                    {
                      "const": "sentry_event",
                      "type": "string"
                    },
                    {
                      "const": "provider_thread",
                      "type": "string"
                    },
                    {
                      "const": "provider_event",
                      "type": "string"
                    },
                    {
                      "const": "provider_comment",
                      "type": "string"
                    },
                    {
                      "const": "tracking_item",
                      "type": "string"
                    },
                    {
                      "const": "change_request",
                      "type": "string"
                    },
                    {
                      "const": "repository",
                      "type": "string"
                    },
                    {
                      "const": "support_ticket",
                      "type": "string"
                    },
                    {
                      "const": "signal",
                      "type": "string"
                    },
                    {
                      "const": "act",
                      "type": "string"
                    },
                    {
                      "const": "receipt",
                      "type": "string"
                    },
                    {
                      "const": "graph_receipt",
                      "type": "string"
                    },
                    {
                      "const": "artifact",
                      "type": "string"
                    },
                    {
                      "const": "verification",
                      "type": "string"
                    },
                    {
                      "const": "harness",
                      "type": "string"
                    },
                    {
                      "const": "host",
                      "type": "string"
                    },
                    {
                      "const": "deployment",
                      "type": "string"
                    },
                    {
                      "const": "surface",
                      "type": "string"
                    },
                    {
                      "const": "target",
                      "type": "string"
                    },
                    {
                      "const": "opportunity",
                      "type": "string"
                    },
                    {
                      "const": "thesis_assessment",
                      "type": "string"
                    },
                    {
                      "const": "selection",
                      "type": "string"
                    },
                    {
                      "const": "skill_binding",
                      "type": "string"
                    },
                    {
                      "const": "target_transition_entry",
                      "type": "string"
                    },
                    {
                      "const": "selection_cycle",
                      "type": "string"
                    },
                    {
                      "const": "decision",
                      "type": "string"
                    },
                    {
                      "const": "reflection_entry",
                      "type": "string"
                    },
                    {
                      "const": "feed_entry",
                      "type": "string"
                    },
                    {
                      "const": "principal",
                      "type": "string"
                    },
                    {
                      "const": "authority_proof",
                      "type": "string"
                    },
                    {
                      "const": "scope_admission",
                      "type": "string"
                    },
                    {
                      "const": "grant",
                      "type": "string"
                    },
                    {
                      "const": "mandate",
                      "type": "string"
                    },
                    {
                      "const": "credential",
                      "type": "string"
                    },
                    {
                      "const": "webhook_delivery",
                      "type": "string"
                    },
                    {
                      "const": "redaction_policy",
                      "type": "string"
                    },
                    {
                      "const": "external_url",
                      "type": "string"
                    }
                  ]
                },
                "uri": {
                  "minLength": 1,
                  "type": "string"
                }
              },
              "required": [
                "type",
                "uri"
              ],
              "type": "object",
              "x-runx-schema": "runx.reference.v1"
            },
            "type": "array"
          },
          "terms": {
            "items": {
              "additionalProperties": false,
              "properties": {
                "approvals": {
                  "items": {
                    "additionalProperties": false,
                    "properties": {
                      "approval_ref": {
                        "$id": "https://schemas.runx.dev/runx/reference/v1.json",
                        "$schema": "https://json-schema.org/draft/2020-12/schema",
                        "additionalProperties": false,
                        "properties": {
                          "label": {
                            "minLength": 1,
                            "type": "string"
                          },
                          "locator": {
                            "minLength": 1,
                            "type": "string"
                          },
                          "observed_at": {
                            "minLength": 1,
                            "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
                            "type": "string"
                          },
                          "proof_kind": {
                            "anyOf": [
                              {
                                "const": "effect_evidence",
                                "type": "string"
                              },
                              {
                                "const": "effect_finality",
                                "type": "string"
                              },
                              {
                                "const": "credential_resolution",
                                "type": "string"
                              }
                            ]
                          },
                          "provider": {
                            "minLength": 1,
                            "type": "string"
                          },
                          "schema": {
                            "const": "runx.reference.v1",
                            "type": "string"
                          },
                          "type": {
                            "anyOf": [
                              {
                                "const": "github_issue",
                                "type": "string"
                              },
                              {
                                "const": "github_pull_request",
                                "type": "string"
                              },
                              {
                                "const": "github_repo",
                                "type": "string"
                              },
                              {
                                "const": "slack_thread",
                                "type": "string"
                              },
                              {
                                "const": "sentry_event",
                                "type": "string"
                              },
                              {
                                "const": "provider_thread",
                                "type": "string"
                              },
                              {
                                "const": "provider_event",
                                "type": "string"
                              },
                              {
                                "const": "provider_comment",
                                "type": "string"
                              },
                              {
                                "const": "tracking_item",
                                "type": "string"
                              },
                              {
                                "const": "change_request",
                                "type": "string"
                              },
                              {
                                "const": "repository",
                                "type": "string"
                              },
                              {
                                "const": "support_ticket",
                                "type": "string"
                              },
                              {
                                "const": "signal",
                                "type": "string"
                              },
                              {
                                "const": "act",
                                "type": "string"
                              },
                              {
                                "const": "receipt",
                                "type": "string"
                              },
                              {
                                "const": "graph_receipt",
                                "type": "string"
                              },
                              {
                                "const": "artifact",
                                "type": "string"
                              },
                              {
                                "const": "verification",
                                "type": "string"
                              },
                              {
                                "const": "harness",
                                "type": "string"
                              },
                              {
                                "const": "host",
                                "type": "string"
                              },
                              {
                                "const": "deployment",
                                "type": "string"
                              },
                              {
                                "const": "surface",
                                "type": "string"
                              },
                              {
                                "const": "target",
                                "type": "string"
                              },
                              {
                                "const": "opportunity",
                                "type": "string"
                              },
                              {
                                "const": "thesis_assessment",
                                "type": "string"
                              },
                              {
                                "const": "selection",
                                "type": "string"
                              },
                              {
                                "const": "skill_binding",
                                "type": "string"
                              },
                              {
                                "const": "target_transition_entry",
                                "type": "string"
                              },
                              {
                                "const": "selection_cycle",
                                "type": "string"
                              },
                              {
                                "const": "decision",
                                "type": "string"
                              },
                              {
                                "const": "reflection_entry",
                                "type": "string"
                              },
                              {
                                "const": "feed_entry",
                                "type": "string"
                              },
                              {
                                "const": "principal",
                                "type": "string"
                              },
                              {
                                "const": "authority_proof",
                                "type": "string"
                              },
                              {
                                "const": "scope_admission",
                                "type": "string"
                              },
                              {
                                "const": "grant",
                                "type": "string"
                              },
                              {
                                "const": "mandate",
                                "type": "string"
                              },
                              {
                                "const": "credential",
                                "type": "string"
                              },
                              {
                                "const": "webhook_delivery",
                                "type": "string"
                              },
                              {
                                "const": "redaction_policy",
                                "type": "string"
                              },
                              {
                                "const": "external_url",
                                "type": "string"
                              }
                            ]
                          },
                          "uri": {
                            "minLength": 1,
                            "type": "string"
                          }
                        },
                        "required": [
                          "type",
                          "uri"
                        ],
                        "type": "object",
                        "x-runx-schema": "runx.reference.v1"
                      },
                      "approved_at": {
                        "minLength": 1,
                        "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
                        "type": "string"
                      },
                      "approved_by_ref": {
                        "$id": "https://schemas.runx.dev/runx/reference/v1.json",
                        "$schema": "https://json-schema.org/draft/2020-12/schema",
                        "additionalProperties": false,
                        "properties": {
                          "label": {
                            "minLength": 1,
                            "type": "string"
                          },
                          "locator": {
                            "minLength": 1,
                            "type": "string"
                          },
                          "observed_at": {
                            "minLength": 1,
                            "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
                            "type": "string"
                          },
                          "proof_kind": {
                            "anyOf": [
                              {
                                "const": "effect_evidence",
                                "type": "string"
                              },
                              {
                                "const": "effect_finality",
                                "type": "string"
                              },
                              {
                                "const": "credential_resolution",
                                "type": "string"
                              }
                            ]
                          },
                          "provider": {
                            "minLength": 1,
                            "type": "string"
                          },
                          "schema": {
                            "const": "runx.reference.v1",
                            "type": "string"
                          },
                          "type": {
                            "anyOf": [
                              {
                                "const": "github_issue",
                                "type": "string"
                              },
                              {
                                "const": "github_pull_request",
                                "type": "string"
                              },
                              {
                                "const": "github_repo",
                                "type": "string"
                              },
                              {
                                "const": "slack_thread",
                                "type": "string"
                              },
                              {
                                "const": "sentry_event",
                                "type": "string"
                              },
                              {
                                "const": "provider_thread",
                                "type": "string"
                              },
                              {
                                "const": "provider_event",
                                "type": "string"
                              },
                              {
                                "const": "provider_comment",
                                "type": "string"
                              },
                              {
                                "const": "tracking_item",
                                "type": "string"
                              },
                              {
                                "const": "change_request",
                                "type": "string"
                              },
                              {
                                "const": "repository",
                                "type": "string"
                              },
                              {
                                "const": "support_ticket",
                                "type": "string"
                              },
                              {
                                "const": "signal",
                                "type": "string"
                              },
                              {
                                "const": "act",
                                "type": "string"
                              },
                              {
                                "const": "receipt",
                                "type": "string"
                              },
                              {
                                "const": "graph_receipt",
                                "type": "string"
                              },
                              {
                                "const": "artifact",
                                "type": "string"
                              },
                              {
                                "const": "verification",
                                "type": "string"
                              },
                              {
                                "const": "harness",
                                "type": "string"
                              },
                              {
                                "const": "host",
                                "type": "string"
                              },
                              {
                                "const": "deployment",
                                "type": "string"
                              },
                              {
                                "const": "surface",
                                "type": "string"
                              },
                              {
                                "const": "target",
                                "type": "string"
                              },
                              {
                                "const": "opportunity",
                                "type": "string"
                              },
                              {
                                "const": "thesis_assessment",
                                "type": "string"
                              },
                              {
                                "const": "selection",
                                "type": "string"
                              },
                              {
                                "const": "skill_binding",
                                "type": "string"
                              },
                              {
                                "const": "target_transition_entry",
                                "type": "string"
                              },
                              {
                                "const": "selection_cycle",
                                "type": "string"
                              },
                              {
                                "const": "decision",
                                "type": "string"
                              },
                              {
                                "const": "reflection_entry",
                                "type": "string"
                              },
                              {
                                "const": "feed_entry",
                                "type": "string"
                              },
                              {
                                "const": "principal",
                                "type": "string"
                              },
                              {
                                "const": "authority_proof",
                                "type": "string"
                              },
                              {
                                "const": "scope_admission",
                                "type": "string"
                              },
                              {
                                "const": "grant",
                                "type": "string"
                              },
                              {
                                "const": "mandate",
                                "type": "string"
                              },
                              {
                                "const": "credential",
                                "type": "string"
                              },
                              {
                                "const": "webhook_delivery",
                                "type": "string"
                              },
                              {
                                "const": "redaction_policy",
                                "type": "string"
                              },
                              {
                                "const": "external_url",
                                "type": "string"
                              }
                            ]
                          },
                          "uri": {
                            "minLength": 1,
                            "type": "string"
                          }
                        },
                        "required": [
                          "type",
                          "uri"
                        ],
                        "type": "object",
                        "x-runx-schema": "runx.reference.v1"
                      },
                      "criterion_ids": {
                        "items": {
                          "minLength": 1,
                          "type": "string"
                        },
                        "type": "array"
                      }
                    },
                    "required": [
                      "approval_ref"
                    ],
                    "type": "object"
                  },
                  "type": "array"
                },
                "bounds": {
                  "additionalProperties": false,
                  "properties": {
                    "branch_patterns": {
                      "items": {
                        "minLength": 1,
                        "type": "string"
                      },
                      "type": "array"
                    },
                    "deployment_environments": {
                      "items": {
                        "minLength": 1,
                        "type": "string"
                      },
                      "type": "array"
                    },
                    "effect_limits": {
                      "items": {
                        "additionalProperties": false,
                        "properties": {
                          "approval_threshold_units": {
                            "type": "integer"
                          },
                          "authorization_form": {
                            "anyOf": [
                              {
                                "const": "single_use_capability",
                                "type": "string"
                              },
                              {
                                "const": "external_signer",
                                "type": "string"
                              }
                            ]
                          },
                          "channels": {
                            "items": {
                              "minLength": 1,
                              "type": "string"
                            },
                            "type": "array"
                          },
                          "commitment_required": {
                            "type": "boolean"
                          },
                          "family": {
                            "minLength": 1,
                            "type": "string"
                          },
                          "idempotency_required": {
                            "type": "boolean"
                          },
                          "max_per_call_units": {
                            "type": "integer"
                          },
                          "max_per_period_units": {
                            "type": "integer"
                          },
                          "max_per_run_units": {
                            "type": "integer"
                          },
                          "operation": {
                            "minLength": 1,
                            "type": "string"
                          },
                          "peer": {
                            "minLength": 1,
                            "type": "string"
                          },
                          "period": {
                            "minLength": 1,
                            "type": "string"
                          },
                          "preflight_required": {
                            "type": "boolean"
                          },
                          "preflight_ttl_ms": {
                            "type": "integer"
                          },
                          "realm": {
                            "minLength": 1,
                            "type": "string"
                          },
                          "receipt_before_success": {
                            "type": "boolean"
                          },
                          "recovery_required": {
                            "type": "boolean"
                          },
                          "single_use_capability": {
                            "type": "boolean"
                          },
                          "unit": {
                            "minLength": 1,
                            "type": "string"
                          }
                        },
                        "required": [
                          "family",
                          "unit",
                          "channels"
                        ],
                        "type": "object"
                      },
                      "type": "array"
                    },
                    "effects": {
                      "items": {
                        "additionalProperties": false,
                        "properties": {
                          "family": {
                            "minLength": 1,
                            "type": "string"
                          },
                          "guard_kinds": {
                            "items": {
                              "anyOf": [
                                {
                                  "const": "receipt_before_success",
                                  "type": "string"
                                },
                                {
                                  "const": "non_replay",
                                  "type": "string"
                                }
                              ]
                            },
                            "type": "array"
                          },
                          "proof_kinds": {
                            "items": {
                              "anyOf": [
                                {
                                  "const": "effect_evidence",
                                  "type": "string"
                                },
                                {
                                  "const": "effect_finality",
                                  "type": "string"
                                },
                                {
                                  "const": "credential_resolution",
                                  "type": "string"
                                }
                              ]
                            },
                            "type": "array"
                          }
                        },
                        "required": [
                          "family"
                        ],
                        "type": "object"
                      },
                      "type": "array"
                    },
                    "filesystem_roots": {
                      "items": {
                        "minLength": 1,
                        "type": "string"
                      },
                      "type": "array"
                    },
                    "max_child_depth": {
                      "type": "integer"
                    },
                    "max_cost_units": {
                      "type": "number"
                    },
                    "max_fanout": {
                      "type": "integer"
                    },
                    "max_runtime_ms": {
                      "type": "integer"
                    },
                    "network_destinations": {
                      "items": {
                        "minLength": 1,
                        "type": "string"
                      },
                      "type": "array"
                    },
                    "repo_path_globs": {
                      "items": {
                        "minLength": 1,
                        "type": "string"
                      },
                      "type": "array"
                    },
                    "token_audiences": {
                      "items": {
                        "minLength": 1,
                        "type": "string"
                      },
                      "type": "array"
                    }
                  },
                  "type": "object"
                },
                "capabilities": {
                  "items": {
                    "anyOf": [
                      {
                        "const": "filesystem_read",
                        "type": "string"
                      },
                      {
                        "const": "filesystem_write",
                        "type": "string"
                      },
                      {
                        "const": "network_egress",
                        "type": "string"
                      },
                      {
                        "const": "secret_read",
                        "type": "string"
                      },
                      {
                        "const": "process_spawn",
                        "type": "string"
                      },
                      {
                        "const": "provider_mutation",
                        "type": "string"
                      },
                      {
                        "const": "public_publication",
                        "type": "string"
                      },
                      {
                        "const": "child_harness_spawn",
                        "type": "string"
                      },
                      {
                        "const": "effect_single_use_capability",
                        "type": "string"
                      }
                    ]
                  },
                  "type": "array"
                },
                "conditions": {
                  "items": {
                    "additionalProperties": false,
                    "properties": {
                      "condition_id": {
                        "minLength": 1,
                        "type": "string"
                      },
                      "parameters": {
                        "additionalProperties": {},
                        "type": "object"
                      },
                      "predicate": {
                        "anyOf": [
                          {
                            "const": "signal_verified",
                            "type": "string"
                          },
                          {
                            "const": "decision_selected",
                            "type": "string"
                          },
                          {
                            "const": "host_posture_valid",
                            "type": "string"
                          },
                          {
                            "const": "approval_present",
                            "type": "string"
                          },
                          {
                            "const": "within_time_window",
                            "type": "string"
                          },
                          {
                            "const": "within_budget",
                            "type": "string"
                          },
                          {
                            "const": "sandbox_enforced",
                            "type": "string"
                          },
                          {
                            "const": "effect_proof_present",
                            "type": "string"
                          },
                          {
                            "const": "effect_recovery_available",
                            "type": "string"
                          }
                        ]
                      },
                      "refs": {
                        "items": {
                          "$id": "https://schemas.runx.dev/runx/reference/v1.json",
                          "$schema": "https://json-schema.org/draft/2020-12/schema",
                          "additionalProperties": false,
                          "properties": {
                            "label": {
                              "minLength": 1,
                              "type": "string"
                            },
                            "locator": {
                              "minLength": 1,
                              "type": "string"
                            },
                            "observed_at": {
                              "minLength": 1,
                              "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
                              "type": "string"
                            },
                            "proof_kind": {
                              "anyOf": [
                                {
                                  "const": "effect_evidence",
                                  "type": "string"
                                },
                                {
                                  "const": "effect_finality",
                                  "type": "string"
                                },
                                {
                                  "const": "credential_resolution",
                                  "type": "string"
                                }
                              ]
                            },
                            "provider": {
                              "minLength": 1,
                              "type": "string"
                            },
                            "schema": {
                              "const": "runx.reference.v1",
                              "type": "string"
                            },
                            "type": {
                              "anyOf": [
                                {
                                  "const": "github_issue",
                                  "type": "string"
                                },
                                {
                                  "const": "github_pull_request",
                                  "type": "string"
                                },
                                {
                                  "const": "github_repo",
                                  "type": "string"
                                },
                                {
                                  "const": "slack_thread",
                                  "type": "string"
                                },
                                {
                                  "const": "sentry_event",
                                  "type": "string"
                                },
                                {
                                  "const": "provider_thread",
                                  "type": "string"
                                },
                                {
                                  "const": "provider_event",
                                  "type": "string"
                                },
                                {
                                  "const": "provider_comment",
                                  "type": "string"
                                },
                                {
                                  "const": "tracking_item",
                                  "type": "string"
                                },
                                {
                                  "const": "change_request",
                                  "type": "string"
                                },
                                {
                                  "const": "repository",
                                  "type": "string"
                                },
                                {
                                  "const": "support_ticket",
                                  "type": "string"
                                },
                                {
                                  "const": "signal",
                                  "type": "string"
                                },
                                {
                                  "const": "act",
                                  "type": "string"
                                },
                                {
                                  "const": "receipt",
                                  "type": "string"
                                },
                                {
                                  "const": "graph_receipt",
                                  "type": "string"
                                },
                                {
                                  "const": "artifact",
                                  "type": "string"
                                },
                                {
                                  "const": "verification",
                                  "type": "string"
                                },
                                {
                                  "const": "harness",
                                  "type": "string"
                                },
                                {
                                  "const": "host",
                                  "type": "string"
                                },
                                {
                                  "const": "deployment",
                                  "type": "string"
                                },
                                {
                                  "const": "surface",
                                  "type": "string"
                                },
                                {
                                  "const": "target",
                                  "type": "string"
                                },
                                {
                                  "const": "opportunity",
                                  "type": "string"
                                },
                                {
                                  "const": "thesis_assessment",
                                  "type": "string"
                                },
                                {
                                  "const": "selection",
                                  "type": "string"
                                },
                                {
                                  "const": "skill_binding",
                                  "type": "string"
                                },
                                {
                                  "const": "target_transition_entry",
                                  "type": "string"
                                },
                                {
                                  "const": "selection_cycle",
                                  "type": "string"
                                },
                                {
                                  "const": "decision",
                                  "type": "string"
                                },
                                {
                                  "const": "reflection_entry",
                                  "type": "string"
                                },
                                {
                                  "const": "feed_entry",
                                  "type": "string"
                                },
                                {
                                  "const": "principal",
                                  "type": "string"
                                },
                                {
                                  "const": "authority_proof",
                                  "type": "string"
                                },
                                {
                                  "const": "scope_admission",
                                  "type": "string"
                                },
                                {
                                  "const": "grant",
                                  "type": "string"
                                },
                                {
                                  "const": "mandate",
                                  "type": "string"
                                },
                                {
                                  "const": "credential",
                                  "type": "string"
                                },
                                {
                                  "const": "webhook_delivery",
                                  "type": "string"
                                },
                                {
                                  "const": "redaction_policy",
                                  "type": "string"
                                },
                                {
                                  "const": "external_url",
                                  "type": "string"
                                }
                              ]
                            },
                            "uri": {
                              "minLength": 1,
                              "type": "string"
                            }
                          },
                          "required": [
                            "type",
                            "uri"
                          ],
                          "type": "object",
                          "x-runx-schema": "runx.reference.v1"
                        },
                        "type": "array"
                      }
                    },
                    "required": [
                      "condition_id",
                      "predicate"
                    ],
                    "type": "object"
                  },
                  "type": "array"
                },
                "credential_ref": {
                  "$id": "https://schemas.runx.dev/runx/reference/v1.json",
                  "$schema": "https://json-schema.org/draft/2020-12/schema",
                  "additionalProperties": false,
                  "properties": {
                    "label": {
                      "minLength": 1,
                      "type": "string"
                    },
                    "locator": {
                      "minLength": 1,
                      "type": "string"
                    },
                    "observed_at": {
                      "minLength": 1,
                      "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
                      "type": "string"
                    },
                    "proof_kind": {
                      "anyOf": [
                        {
                          "const": "effect_evidence",
                          "type": "string"
                        },
                        {
                          "const": "effect_finality",
                          "type": "string"
                        },
                        {
                          "const": "credential_resolution",
                          "type": "string"
                        }
                      ]
                    },
                    "provider": {
                      "minLength": 1,
                      "type": "string"
                    },
                    "schema": {
                      "const": "runx.reference.v1",
                      "type": "string"
                    },
                    "type": {
                      "anyOf": [
                        {
                          "const": "github_issue",
                          "type": "string"
                        },
                        {
                          "const": "github_pull_request",
                          "type": "string"
                        },
                        {
                          "const": "github_repo",
                          "type": "string"
                        },
                        {
                          "const": "slack_thread",
                          "type": "string"
                        },
                        {
                          "const": "sentry_event",
                          "type": "string"
                        },
                        {
                          "const": "provider_thread",
                          "type": "string"
                        },
                        {
                          "const": "provider_event",
                          "type": "string"
                        },
                        {
                          "const": "provider_comment",
                          "type": "string"
                        },
                        {
                          "const": "tracking_item",
                          "type": "string"
                        },
                        {
                          "const": "change_request",
                          "type": "string"
                        },
                        {
                          "const": "repository",
                          "type": "string"
                        },
                        {
                          "const": "support_ticket",
                          "type": "string"
                        },
                        {
                          "const": "signal",
                          "type": "string"
                        },
                        {
                          "const": "act",
                          "type": "string"
                        },
                        {
                          "const": "receipt",
                          "type": "string"
                        },
                        {
                          "const": "graph_receipt",
                          "type": "string"
                        },
                        {
                          "const": "artifact",
                          "type": "string"
                        },
                        {
                          "const": "verification",
                          "type": "string"
                        },
                        {
                          "const": "harness",
                          "type": "string"
                        },
                        {
                          "const": "host",
                          "type": "string"
                        },
                        {
                          "const": "deployment",
                          "type": "string"
                        },
                        {
                          "const": "surface",
                          "type": "string"
                        },
                        {
                          "const": "target",
                          "type": "string"
                        },
                        {
                          "const": "opportunity",
                          "type": "string"
                        },
                        {
                          "const": "thesis_assessment",
                          "type": "string"
                        },
                        {
                          "const": "selection",
                          "type": "string"
                        },
                        {
                          "const": "skill_binding",
                          "type": "string"
                        },
                        {
                          "const": "target_transition_entry",
                          "type": "string"
                        },
                        {
                          "const": "selection_cycle",
                          "type": "string"
                        },
                        {
                          "const": "decision",
                          "type": "string"
                        },
                        {
                          "const": "reflection_entry",
                          "type": "string"
                        },
                        {
                          "const": "feed_entry",
                          "type": "string"
                        },
                        {
                          "const": "principal",
                          "type": "string"
                        },
                        {
                          "const": "authority_proof",
                          "type": "string"
                        },
                        {
                          "const": "scope_admission",
                          "type": "string"
                        },
                        {
                          "const": "grant",
                          "type": "string"
                        },
                        {
                          "const": "mandate",
                          "type": "string"
                        },
                        {
                          "const": "credential",
                          "type": "string"
                        },
                        {
                          "const": "webhook_delivery",
                          "type": "string"
                        },
                        {
                          "const": "redaction_policy",
                          "type": "string"
                        },
                        {
                          "const": "external_url",
                          "type": "string"
                        }
                      ]
                    },
                    "uri": {
                      "minLength": 1,
                      "type": "string"
                    }
                  },
                  "required": [
                    "type",
                    "uri"
                  ],
                  "type": "object",
                  "x-runx-schema": "runx.reference.v1"
                },
                "expires_at": {
                  "minLength": 1,
                  "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
                  "type": "string"
                },
                "issued_by_ref": {
                  "$id": "https://schemas.runx.dev/runx/reference/v1.json",
                  "$schema": "https://json-schema.org/draft/2020-12/schema",
                  "additionalProperties": false,
                  "properties": {
                    "label": {
                      "minLength": 1,
                      "type": "string"
                    },
                    "locator": {
                      "minLength": 1,
                      "type": "string"
                    },
                    "observed_at": {
                      "minLength": 1,
                      "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
                      "type": "string"
                    },
                    "proof_kind": {
                      "anyOf": [
                        {
                          "const": "effect_evidence",
                          "type": "string"
                        },
                        {
                          "const": "effect_finality",
                          "type": "string"
                        },
                        {
                          "const": "credential_resolution",
                          "type": "string"
                        }
                      ]
                    },
                    "provider": {
                      "minLength": 1,
                      "type": "string"
                    },
                    "schema": {
                      "const": "runx.reference.v1",
                      "type": "string"
                    },
                    "type": {
                      "anyOf": [
                        {
                          "const": "github_issue",
                          "type": "string"
                        },
                        {
                          "const": "github_pull_request",
                          "type": "string"
                        },
                        {
                          "const": "github_repo",
                          "type": "string"
                        },
                        {
                          "const": "slack_thread",
                          "type": "string"
                        },
                        {
                          "const": "sentry_event",
                          "type": "string"
                        },
                        {
                          "const": "provider_thread",
                          "type": "string"
                        },
                        {
                          "const": "provider_event",
                          "type": "string"
                        },
                        {
                          "const": "provider_comment",
                          "type": "string"
                        },
                        {
                          "const": "tracking_item",
                          "type": "string"
                        },
                        {
                          "const": "change_request",
                          "type": "string"
                        },
                        {
                          "const": "repository",
                          "type": "string"
                        },
                        {
                          "const": "support_ticket",
                          "type": "string"
                        },
                        {
                          "const": "signal",
                          "type": "string"
                        },
                        {
                          "const": "act",
                          "type": "string"
                        },
                        {
                          "const": "receipt",
                          "type": "string"
                        },
                        {
                          "const": "graph_receipt",
                          "type": "string"
                        },
                        {
                          "const": "artifact",
                          "type": "string"
                        },
                        {
                          "const": "verification",
                          "type": "string"
                        },
                        {
                          "const": "harness",
                          "type": "string"
                        },
                        {
                          "const": "host",
                          "type": "string"
                        },
                        {
                          "const": "deployment",
                          "type": "string"
                        },
                        {
                          "const": "surface",
                          "type": "string"
                        },
                        {
                          "const": "target",
                          "type": "string"
                        },
                        {
                          "const": "opportunity",
                          "type": "string"
                        },
                        {
                          "const": "thesis_assessment",
                          "type": "string"
                        },
                        {
                          "const": "selection",
                          "type": "string"
                        },
                        {
                          "const": "skill_binding",
                          "type": "string"
                        },
                        {
                          "const": "target_transition_entry",
                          "type": "string"
                        },
                        {
                          "const": "selection_cycle",
                          "type": "string"
                        },
                        {
                          "const": "decision",
                          "type": "string"
                        },
                        {
                          "const": "reflection_entry",
                          "type": "string"
                        },
                        {
                          "const": "feed_entry",
                          "type": "string"
                        },
                        {
                          "const": "principal",
                          "type": "string"
                        },
                        {
                          "const": "authority_proof",
                          "type": "string"
                        },
                        {
                          "const": "scope_admission",
                          "type": "string"
                        },
                        {
                          "const": "grant",
                          "type": "string"
                        },
                        {
                          "const": "mandate",
                          "type": "string"
                        },
                        {
                          "const": "credential",
                          "type": "string"
                        },
                        {
                          "const": "webhook_delivery",
                          "type": "string"
                        },
                        {
                          "const": "redaction_policy",
                          "type": "string"
                        },
                        {
                          "const": "external_url",
                          "type": "string"
                        }
                      ]
                    },
                    "uri": {
                      "minLength": 1,
                      "type": "string"
                    }
                  },
                  "required": [
                    "type",
                    "uri"
                  ],
                  "type": "object",
                  "x-runx-schema": "runx.reference.v1"
                },
                "principal_ref": {
                  "$id": "https://schemas.runx.dev/runx/reference/v1.json",
                  "$schema": "https://json-schema.org/draft/2020-12/schema",
                  "additionalProperties": false,
                  "properties": {
                    "label": {
                      "minLength": 1,
                      "type": "string"
                    },
                    "locator": {
                      "minLength": 1,
                      "type": "string"
                    },
                    "observed_at": {
                      "minLength": 1,
                      "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
                      "type": "string"
                    },
                    "proof_kind": {
                      "anyOf": [
                        {
                          "const": "effect_evidence",
                          "type": "string"
                        },
                        {
                          "const": "effect_finality",
                          "type": "string"
                        },
                        {
                          "const": "credential_resolution",
                          "type": "string"
                        }
                      ]
                    },
                    "provider": {
                      "minLength": 1,
                      "type": "string"
                    },
                    "schema": {
                      "const": "runx.reference.v1",
                      "type": "string"
                    },
                    "type": {
                      "anyOf": [
                        {
                          "const": "github_issue",
                          "type": "string"
                        },
                        {
                          "const": "github_pull_request",
                          "type": "string"
                        },
                        {
                          "const": "github_repo",
                          "type": "string"
                        },
                        {
                          "const": "slack_thread",
                          "type": "string"
                        },
                        {
                          "const": "sentry_event",
                          "type": "string"
                        },
                        {
                          "const": "provider_thread",
                          "type": "string"
                        },
                        {
                          "const": "provider_event",
                          "type": "string"
                        },
                        {
                          "const": "provider_comment",
                          "type": "string"
                        },
                        {
                          "const": "tracking_item",
                          "type": "string"
                        },
                        {
                          "const": "change_request",
                          "type": "string"
                        },
                        {
                          "const": "repository",
                          "type": "string"
                        },
                        {
                          "const": "support_ticket",
                          "type": "string"
                        },
                        {
                          "const": "signal",
                          "type": "string"
                        },
                        {
                          "const": "act",
                          "type": "string"
                        },
                        {
                          "const": "receipt",
                          "type": "string"
                        },
                        {
                          "const": "graph_receipt",
                          "type": "string"
                        },
                        {
                          "const": "artifact",
                          "type": "string"
                        },
                        {
                          "const": "verification",
                          "type": "string"
                        },
                        {
                          "const": "harness",
                          "type": "string"
                        },
                        {
                          "const": "host",
                          "type": "string"
                        },
                        {
                          "const": "deployment",
                          "type": "string"
                        },
                        {
                          "const": "surface",
                          "type": "string"
                        },
                        {
                          "const": "target",
                          "type": "string"
                        },
                        {
                          "const": "opportunity",
                          "type": "string"
                        },
                        {
                          "const": "thesis_assessment",
                          "type": "string"
                        },
                        {
                          "const": "selection",
                          "type": "string"
                        },
                        {
                          "const": "skill_binding",
                          "type": "string"
                        },
                        {
                          "const": "target_transition_entry",
                          "type": "string"
                        },
                        {
                          "const": "selection_cycle",
                          "type": "string"
                        },
                        {
                          "const": "decision",
                          "type": "string"
                        },
                        {
                          "const": "reflection_entry",
                          "type": "string"
                        },
                        {
                          "const": "feed_entry",
                          "type": "string"
                        },
                        {
                          "const": "principal",
                          "type": "string"
                        },
                        {
                          "const": "authority_proof",
                          "type": "string"
                        },
                        {
                          "const": "scope_admission",
                          "type": "string"
                        },
                        {
                          "const": "grant",
                          "type": "string"
                        },
                        {
                          "const": "mandate",
                          "type": "string"
                        },
                        {
                          "const": "credential",
                          "type": "string"
                        },
                        {
                          "const": "webhook_delivery",
                          "type": "string"
                        },
                        {
                          "const": "redaction_policy",
                          "type": "string"
                        },
                        {
                          "const": "external_url",
                          "type": "string"
                        }
                      ]
                    },
                    "uri": {
                      "minLength": 1,
                      "type": "string"
                    }
                  },
                  "required": [
                    "type",
                    "uri"
                  ],
                  "type": "object",
                  "x-runx-schema": "runx.reference.v1"
                },
                "resource_family": {
                  "anyOf": [
                    {
                      "const": "github_repo",
                      "type": "string"
                    },
                    {
                      "const": "workspace",
                      "type": "string"
                    },
                    {
                      "const": "filesystem",
                      "type": "string"
                    },
                    {
                      "const": "network",
                      "type": "string"
                    },
                    {
                      "const": "deployment",
                      "type": "string"
                    },
                    {
                      "const": "credential",
                      "type": "string"
                    },
                    {
                      "const": "effect",
                      "type": "string"
                    },
                    {
                      "const": "artifact",
                      "type": "string"
                    },
                    {
                      "const": "harness",
                      "type": "string"
                    },
                    {
                      "const": "publication",
                      "type": "string"
                    }
                  ]
                },
                "resource_ref": {
                  "$id": "https://schemas.runx.dev/runx/reference/v1.json",
                  "$schema": "https://json-schema.org/draft/2020-12/schema",
                  "additionalProperties": false,
                  "properties": {
                    "label": {
                      "minLength": 1,
                      "type": "string"
                    },
                    "locator": {
                      "minLength": 1,
                      "type": "string"
                    },
                    "observed_at": {
                      "minLength": 1,
                      "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
                      "type": "string"
                    },
                    "proof_kind": {
                      "anyOf": [
                        {
                          "const": "effect_evidence",
                          "type": "string"
                        },
                        {
                          "const": "effect_finality",
                          "type": "string"
                        },
                        {
                          "const": "credential_resolution",
                          "type": "string"
                        }
                      ]
                    },
                    "provider": {
                      "minLength": 1,
                      "type": "string"
                    },
                    "schema": {
                      "const": "runx.reference.v1",
                      "type": "string"
                    },
                    "type": {
                      "anyOf": [
                        {
                          "const": "github_issue",
                          "type": "string"
                        },
                        {
                          "const": "github_pull_request",
                          "type": "string"
                        },
                        {
                          "const": "github_repo",
                          "type": "string"
                        },
                        {
                          "const": "slack_thread",
                          "type": "string"
                        },
                        {
                          "const": "sentry_event",
                          "type": "string"
                        },
                        {
                          "const": "provider_thread",
                          "type": "string"
                        },
                        {
                          "const": "provider_event",
                          "type": "string"
                        },
                        {
                          "const": "provider_comment",
                          "type": "string"
                        },
                        {
                          "const": "tracking_item",
                          "type": "string"
                        },
                        {
                          "const": "change_request",
                          "type": "string"
                        },
                        {
                          "const": "repository",
                          "type": "string"
                        },
                        {
                          "const": "support_ticket",
                          "type": "string"
                        },
                        {
                          "const": "signal",
                          "type": "string"
                        },
                        {
                          "const": "act",
                          "type": "string"
                        },
                        {
                          "const": "receipt",
                          "type": "string"
                        },
                        {
                          "const": "graph_receipt",
                          "type": "string"
                        },
                        {
                          "const": "artifact",
                          "type": "string"
                        },
                        {
                          "const": "verification",
                          "type": "string"
                        },
                        {
                          "const": "harness",
                          "type": "string"
                        },
                        {
                          "const": "host",
                          "type": "string"
                        },
                        {
                          "const": "deployment",
                          "type": "string"
                        },
                        {
                          "const": "surface",
                          "type": "string"
                        },
                        {
                          "const": "target",
                          "type": "string"
                        },
                        {
                          "const": "opportunity",
                          "type": "string"
                        },
                        {
                          "const": "thesis_assessment",
                          "type": "string"
                        },
                        {
                          "const": "selection",
                          "type": "string"
                        },
                        {
                          "const": "skill_binding",
                          "type": "string"
                        },
                        {
                          "const": "target_transition_entry",
                          "type": "string"
                        },
                        {
                          "const": "selection_cycle",
                          "type": "string"
                        },
                        {
                          "const": "decision",
                          "type": "string"
                        },
                        {
                          "const": "reflection_entry",
                          "type": "string"
                        },
                        {
                          "const": "feed_entry",
                          "type": "string"
                        },
                        {
                          "const": "principal",
                          "type": "string"
                        },
                        {
                          "const": "authority_proof",
                          "type": "string"
                        },
                        {
                          "const": "scope_admission",
                          "type": "string"
                        },
                        {
                          "const": "grant",
                          "type": "string"
                        },
                        {
                          "const": "mandate",
                          "type": "string"
                        },
                        {
                          "const": "credential",
                          "type": "string"
                        },
                        {
                          "const": "webhook_delivery",
                          "type": "string"
                        },
                        {
                          "const": "redaction_policy",
                          "type": "string"
                        },
                        {
                          "const": "external_url",
                          "type": "string"
                        }
                      ]
                    },
                    "uri": {
                      "minLength": 1,
                      "type": "string"
                    }
                  },
                  "required": [
                    "type",
                    "uri"
                  ],
                  "type": "object",
                  "x-runx-schema": "runx.reference.v1"
                },
                "term_id": {
                  "minLength": 1,
                  "type": "string"
                },
                "verbs": {
                  "items": {
                    "anyOf": [
                      {
                        "const": "read",
                        "type": "string"
                      },
                      {
                        "const": "write",
                        "type": "string"
                      },
                      {
                        "const": "comment",
                        "type": "string"
                      },
                      {
                        "const": "review",
                        "type": "string"
                      },
                      {
                        "const": "approve",
                        "type": "string"
                      },
                      {
                        "const": "merge",
                        "type": "string"
                      },
                      {
                        "const": "create",
                        "type": "string"
                      },
                      {
                        "const": "update",
                        "type": "string"
                      },
                      {
                        "const": "delete",
                        "type": "string"
                      },
                      {
                        "const": "execute",
                        "type": "string"
                      },
                      {
                        "const": "verify",
                        "type": "string"
                      },
                      {
                        "const": "estimate",
                        "type": "string"
                      },
                      {
                        "const": "prepare",
                        "type": "string"
                      },
                      {
                        "const": "commit",
                        "type": "string"
                      },
                      {
                        "const": "reverse",
                        "type": "string"
                      },
                      {
                        "const": "publish",
                        "type": "string"
                      },
                      {
                        "const": "spawn_child",
                        "type": "string"
                      },
                      {
                        "const": "revoke",
                        "type": "string"
                      }
                    ]
                  },
                  "type": "array"
                }
              },
              "required": [
                "term_id",
                "principal_ref",
                "resource_ref",
                "resource_family",
                "verbs",
                "bounds",
                "issued_by_ref"
              ],
              "type": "object"
            },
            "type": "array"
          }
        },
        "required": [
          "actor_ref",
          "attenuation",
          "enforcement"
        ],
        "type": "object"
      },
      "canonicalization": {
        "minLength": 1,
        "type": "string"
      },
      "created_at": {
        "minLength": 1,
        "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
        "type": "string"
      },
      "decisions": {
        "items": {
          "$id": "https://schemas.runx.dev/runx/decision/v1.json",
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "additionalProperties": false,
          "properties": {
            "artifact_refs": {
              "items": {
                "$id": "https://schemas.runx.dev/runx/reference/v1.json",
                "$schema": "https://json-schema.org/draft/2020-12/schema",
                "additionalProperties": false,
                "properties": {
                  "label": {
                    "minLength": 1,
                    "type": "string"
                  },
                  "locator": {
                    "minLength": 1,
                    "type": "string"
                  },
                  "observed_at": {
                    "minLength": 1,
                    "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
                    "type": "string"
                  },
                  "proof_kind": {
                    "anyOf": [
                      {
                        "const": "effect_evidence",
                        "type": "string"
                      },
                      {
                        "const": "effect_finality",
                        "type": "string"
                      },
                      {
                        "const": "credential_resolution",
                        "type": "string"
                      }
                    ]
                  },
                  "provider": {
                    "minLength": 1,
                    "type": "string"
                  },
                  "schema": {
                    "const": "runx.reference.v1",
                    "type": "string"
                  },
                  "type": {
                    "anyOf": [
                      {
                        "const": "github_issue",
                        "type": "string"
                      },
                      {
                        "const": "github_pull_request",
                        "type": "string"
                      },
                      {
                        "const": "github_repo",
                        "type": "string"
                      },
                      {
                        "const": "slack_thread",
                        "type": "string"
                      },
                      {
                        "const": "sentry_event",
                        "type": "string"
                      },
                      {
                        "const": "provider_thread",
                        "type": "string"
                      },
                      {
                        "const": "provider_event",
                        "type": "string"
                      },
                      {
                        "const": "provider_comment",
                        "type": "string"
                      },
                      {
                        "const": "tracking_item",
                        "type": "string"
                      },
                      {
                        "const": "change_request",
                        "type": "string"
                      },
                      {
                        "const": "repository",
                        "type": "string"
                      },
                      {
                        "const": "support_ticket",
                        "type": "string"
                      },
                      {
                        "const": "signal",
                        "type": "string"
                      },
                      {
                        "const": "act",
                        "type": "string"
                      },
                      {
                        "const": "receipt",
                        "type": "string"
                      },
                      {
                        "const": "graph_receipt",
                        "type": "string"
                      },
                      {
                        "const": "artifact",
                        "type": "string"
                      },
                      {
                        "const": "verification",
                        "type": "string"
                      },
                      {
                        "const": "harness",
                        "type": "string"
                      },
                      {
                        "const": "host",
                        "type": "string"
                      },
                      {
                        "const": "deployment",
                        "type": "string"
                      },
                      {
                        "const": "surface",
                        "type": "string"
                      },
                      {
                        "const": "target",
                        "type": "string"
                      },
                      {
                        "const": "opportunity",
                        "type": "string"
                      },
                      {
                        "const": "thesis_assessment",
                        "type": "string"
                      },
                      {
                        "const": "selection",
                        "type": "string"
                      },
                      {
                        "const": "skill_binding",
                        "type": "string"
                      },
                      {
                        "const": "target_transition_entry",
                        "type": "string"
                      },
                      {
                        "const": "selection_cycle",
                        "type": "string"
                      },
                      {
                        "const": "decision",
                        "type": "string"
                      },
                      {
                        "const": "reflection_entry",
                        "type": "string"
                      },
                      {
                        "const": "feed_entry",
                        "type": "string"
                      },
                      {
                        "const": "principal",
                        "type": "string"
                      },
                      {
                        "const": "authority_proof",
                        "type": "string"
                      },
                      {
                        "const": "scope_admission",
                        "type": "string"
                      },
                      {
                        "const": "grant",
                        "type": "string"
                      },
                      {
                        "const": "mandate",
                        "type": "string"
                      },
                      {
                        "const": "credential",
                        "type": "string"
                      },
                      {
                        "const": "webhook_delivery",
                        "type": "string"
                      },
                      {
                        "const": "redaction_policy",
                        "type": "string"
                      },
                      {
                        "const": "external_url",
                        "type": "string"
                      }
                    ]
                  },
                  "uri": {
                    "minLength": 1,
                    "type": "string"
                  }
                },
                "required": [
                  "type",
                  "uri"
                ],
                "type": "object",
                "x-runx-schema": "runx.reference.v1"
              },
              "type": "array"
            },
            "choice": {
              "anyOf": [
                {
                  "const": "open",
                  "type": "string"
                },
                {
                  "const": "continue",
                  "type": "string"
                },
                {
                  "const": "spawn_child",
                  "type": "string"
                },
                {
                  "const": "escalate",
                  "type": "string"
                },
                {
                  "const": "defer",
                  "type": "string"
                },
                {
                  "const": "close",
                  "type": "string"
                },
                {
                  "const": "decline",
                  "type": "string"
                },
                {
                  "const": "monitor",
                  "type": "string"
                }
              ]
            },
            "closure": {
              "anyOf": [
                {
                  "additionalProperties": false,
                  "properties": {
                    "closed_at": {
                      "minLength": 1,
                      "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
                      "type": "string"
                    },
                    "disposition": {
                      "anyOf": [
                        {
                          "const": "closed",
                          "type": "string"
                        },
                        {
                          "const": "deferred",
                          "type": "string"
                        },
                        {
                          "const": "superseded",
                          "type": "string"
                        },
                        {
                          "const": "declined",
                          "type": "string"
                        },
                        {
                          "const": "blocked",
                          "type": "string"
                        },
                        {
                          "const": "failed",
                          "type": "string"
                        },
                        {
                          "const": "killed",
                          "type": "string"
                        },
                        {
                          "const": "timed_out",
                          "type": "string"
                        }
                      ]
                    },
                    "reason_code": {
                      "minLength": 1,
                      "type": "string"
                    },
                    "summary": {
                      "minLength": 1,
                      "type": "string"
                    }
                  },
                  "required": [
                    "disposition",
                    "reason_code",
                    "summary",
                    "closed_at"
                  ],
                  "type": "object"
                },
                {
                  "type": "null"
                }
              ]
            },
            "decision_id": {
              "minLength": 1,
              "type": "string"
            },
            "inputs": {
              "additionalProperties": false,
              "properties": {
                "opportunity_refs": {
                  "items": {
                    "$id": "https://schemas.runx.dev/runx/reference/v1.json",
                    "$schema": "https://json-schema.org/draft/2020-12/schema",
                    "additionalProperties": false,
                    "properties": {
                      "label": {
                        "minLength": 1,
                        "type": "string"
                      },
                      "locator": {
                        "minLength": 1,
                        "type": "string"
                      },
                      "observed_at": {
                        "minLength": 1,
                        "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
                        "type": "string"
                      },
                      "proof_kind": {
                        "anyOf": [
                          {
                            "const": "effect_evidence",
                            "type": "string"
                          },
                          {
                            "const": "effect_finality",
                            "type": "string"
                          },
                          {
                            "const": "credential_resolution",
                            "type": "string"
                          }
                        ]
                      },
                      "provider": {
                        "minLength": 1,
                        "type": "string"
                      },
                      "schema": {
                        "const": "runx.reference.v1",
                        "type": "string"
                      },
                      "type": {
                        "anyOf": [
                          {
                            "const": "github_issue",
                            "type": "string"
                          },
                          {
                            "const": "github_pull_request",
                            "type": "string"
                          },
                          {
                            "const": "github_repo",
                            "type": "string"
                          },
                          {
                            "const": "slack_thread",
                            "type": "string"
                          },
                          {
                            "const": "sentry_event",
                            "type": "string"
                          },
                          {
                            "const": "provider_thread",
                            "type": "string"
                          },
                          {
                            "const": "provider_event",
                            "type": "string"
                          },
                          {
                            "const": "provider_comment",
                            "type": "string"
                          },
                          {
                            "const": "tracking_item",
                            "type": "string"
                          },
                          {
                            "const": "change_request",
                            "type": "string"
                          },
                          {
                            "const": "repository",
                            "type": "string"
                          },
                          {
                            "const": "support_ticket",
                            "type": "string"
                          },
                          {
                            "const": "signal",
                            "type": "string"
                          },
                          {
                            "const": "act",
                            "type": "string"
                          },
                          {
                            "const": "receipt",
                            "type": "string"
                          },
                          {
                            "const": "graph_receipt",
                            "type": "string"
                          },
                          {
                            "const": "artifact",
                            "type": "string"
                          },
                          {
                            "const": "verification",
                            "type": "string"
                          },
                          {
                            "const": "harness",
                            "type": "string"
                          },
                          {
                            "const": "host",
                            "type": "string"
                          },
                          {
                            "const": "deployment",
                            "type": "string"
                          },
                          {
                            "const": "surface",
                            "type": "string"
                          },
                          {
                            "const": "target",
                            "type": "string"
                          },
                          {
                            "const": "opportunity",
                            "type": "string"
                          },
                          {
                            "const": "thesis_assessment",
                            "type": "string"
                          },
                          {
                            "const": "selection",
                            "type": "string"
                          },
                          {
                            "const": "skill_binding",
                            "type": "string"
                          },
                          {
                            "const": "target_transition_entry",
                            "type": "string"
                          },
                          {
                            "const": "selection_cycle",
                            "type": "string"
                          },
                          {
                            "const": "decision",
                            "type": "string"
                          },
                          {
                            "const": "reflection_entry",
                            "type": "string"
                          },
                          {
                            "const": "feed_entry",
                            "type": "string"
                          },
                          {
                            "const": "principal",
                            "type": "string"
                          },
                          {
                            "const": "authority_proof",
                            "type": "string"
                          },
                          {
                            "const": "scope_admission",
                            "type": "string"
                          },
                          {
                            "const": "grant",
                            "type": "string"
                          },
                          {
                            "const": "mandate",
                            "type": "string"
                          },
                          {
                            "const": "credential",
                            "type": "string"
                          },
                          {
                            "const": "webhook_delivery",
                            "type": "string"
                          },
                          {
                            "const": "redaction_policy",
                            "type": "string"
                          },
                          {
                            "const": "external_url",
                            "type": "string"
                          }
                        ]
                      },
                      "uri": {
                        "minLength": 1,
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "uri"
                    ],
                    "type": "object",
                    "x-runx-schema": "runx.reference.v1"
                  },
                  "type": "array"
                },
                "selection_ref": {
                  "anyOf": [
                    {
                      "$id": "https://schemas.runx.dev/runx/reference/v1.json",
                      "$schema": "https://json-schema.org/draft/2020-12/schema",
                      "additionalProperties": false,
                      "properties": {
                        "label": {
                          "minLength": 1,
                          "type": "string"
                        },
                        "locator": {
                          "minLength": 1,
                          "type": "string"
                        },
                        "observed_at": {
                          "minLength": 1,
                          "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
                          "type": "string"
                        },
                        "proof_kind": {
                          "anyOf": [
                            {
                              "const": "effect_evidence",
                              "type": "string"
                            },
                            {
                              "const": "effect_finality",
                              "type": "string"
                            },
                            {
                              "const": "credential_resolution",
                              "type": "string"
                            }
                          ]
                        },
                        "provider": {
                          "minLength": 1,
                          "type": "string"
                        },
                        "schema": {
                          "const": "runx.reference.v1",
                          "type": "string"
                        },
                        "type": {
                          "anyOf": [
                            {
                              "const": "github_issue",
                              "type": "string"
                            },
                            {
                              "const": "github_pull_request",
                              "type": "string"
                            },
                            {
                              "const": "github_repo",
                              "type": "string"
                            },
                            {
                              "const": "slack_thread",
                              "type": "string"
                            },
                            {
                              "const": "sentry_event",
                              "type": "string"
                            },
                            {
                              "const": "provider_thread",
                              "type": "string"
                            },
                            {
                              "const": "provider_event",
                              "type": "string"
                            },
                            {
                              "const": "provider_comment",
                              "type": "string"
                            },
                            {
                              "const": "tracking_item",
                              "type": "string"
                            },
                            {
                              "const": "change_request",
                              "type": "string"
                            },
                            {
                              "const": "repository",
                              "type": "string"
                            },
                            {
                              "const": "support_ticket",
                              "type": "string"
                            },
                            {
                              "const": "signal",
                              "type": "string"
                            },
                            {
                              "const": "act",
                              "type": "string"
                            },
                            {
                              "const": "receipt",
                              "type": "string"
                            },
                            {
                              "const": "graph_receipt",
                              "type": "string"
                            },
                            {
                              "const": "artifact",
                              "type": "string"
                            },
                            {
                              "const": "verification",
                              "type": "string"
                            },
                            {
                              "const": "harness",
                              "type": "string"
                            },
                            {
                              "const": "host",
                              "type": "string"
                            },
                            {
                              "const": "deployment",
                              "type": "string"
                            },
                            {
                              "const": "surface",
                              "type": "string"
                            },
                            {
                              "const": "target",
                              "type": "string"
                            },
                            {
                              "const": "opportunity",
                              "type": "string"
                            },
                            {
                              "const": "thesis_assessment",
                              "type": "string"
                            },
                            {
                              "const": "selection",
                              "type": "string"
                            },
                            {
                              "const": "skill_binding",
                              "type": "string"
                            },
                            {
                              "const": "target_transition_entry",
                              "type": "string"
                            },
                            {
                              "const": "selection_cycle",
                              "type": "string"
                            },
                            {
                              "const": "decision",
                              "type": "string"
                            },
                            {
                              "const": "reflection_entry",
                              "type": "string"
                            },
                            {
                              "const": "feed_entry",
                              "type": "string"
                            },
                            {
                              "const": "principal",
                              "type": "string"
                            },
                            {
                              "const": "authority_proof",
                              "type": "string"
                            },
                            {
                              "const": "scope_admission",
                              "type": "string"
                            },
                            {
                              "const": "grant",
                              "type": "string"
                            },
                            {
                              "const": "mandate",
                              "type": "string"
                            },
                            {
                              "const": "credential",
                              "type": "string"
                            },
                            {
                              "const": "webhook_delivery",
                              "type": "string"
                            },
                            {
                              "const": "redaction_policy",
                              "type": "string"
                            },
                            {
                              "const": "external_url",
                              "type": "string"
                            }
                          ]
                        },
                        "uri": {
                          "minLength": 1,
                          "type": "string"
                        }
                      },
                      "required": [
                        "type",
                        "uri"
                      ],
                      "type": "object",
                      "x-runx-schema": "runx.reference.v1"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "signal_refs": {
                  "items": {
                    "$id": "https://schemas.runx.dev/runx/reference/v1.json",
                    "$schema": "https://json-schema.org/draft/2020-12/schema",
                    "additionalProperties": false,
                    "properties": {
                      "label": {
                        "minLength": 1,
                        "type": "string"
                      },
                      "locator": {
                        "minLength": 1,
                        "type": "string"
                      },
                      "observed_at": {
                        "minLength": 1,
                        "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
                        "type": "string"
                      },
                      "proof_kind": {
                        "anyOf": [
                          {
                            "const": "effect_evidence",
                            "type": "string"
                          },
                          {
                            "const": "effect_finality",
                            "type": "string"
                          },
                          {
                            "const": "credential_resolution",
                            "type": "string"
                          }
                        ]
                      },
                      "provider": {
                        "minLength": 1,
                        "type": "string"
                      },
                      "schema": {
                        "const": "runx.reference.v1",
                        "type": "string"
                      },
                      "type": {
                        "anyOf": [
                          {
                            "const": "github_issue",
                            "type": "string"
                          },
                          {
                            "const": "github_pull_request",
                            "type": "string"
                          },
                          {
                            "const": "github_repo",
                            "type": "string"
                          },
                          {
                            "const": "slack_thread",
                            "type": "string"
                          },
                          {
                            "const": "sentry_event",
                            "type": "string"
                          },
                          {
                            "const": "provider_thread",
                            "type": "string"
                          },
                          {
                            "const": "provider_event",
                            "type": "string"
                          },
                          {
                            "const": "provider_comment",
                            "type": "string"
                          },
                          {
                            "const": "tracking_item",
                            "type": "string"
                          },
                          {
                            "const": "change_request",
                            "type": "string"
                          },
                          {
                            "const": "repository",
                            "type": "string"
                          },
                          {
                            "const": "support_ticket",
                            "type": "string"
                          },
                          {
                            "const": "signal",
                            "type": "string"
                          },
                          {
                            "const": "act",
                            "type": "string"
                          },
                          {
                            "const": "receipt",
                            "type": "string"
                          },
                          {
                            "const": "graph_receipt",
                            "type": "string"
                          },
                          {
                            "const": "artifact",
                            "type": "string"
                          },
                          {
                            "const": "verification",
                            "type": "string"
                          },
                          {
                            "const": "harness",
                            "type": "string"
                          },
                          {
                            "const": "host",
                            "type": "string"
                          },
                          {
                            "const": "deployment",
                            "type": "string"
                          },
                          {
                            "const": "surface",
                            "type": "string"
                          },
                          {
                            "const": "target",
                            "type": "string"
                          },
                          {
                            "const": "opportunity",
                            "type": "string"
                          },
                          {
                            "const": "thesis_assessment",
                            "type": "string"
                          },
                          {
                            "const": "selection",
                            "type": "string"
                          },
                          {
                            "const": "skill_binding",
                            "type": "string"
                          },
                          {
                            "const": "target_transition_entry",
                            "type": "string"
                          },
                          {
                            "const": "selection_cycle",
                            "type": "string"
                          },
                          {
                            "const": "decision",
                            "type": "string"
                          },
                          {
                            "const": "reflection_entry",
                            "type": "string"
                          },
                          {
                            "const": "feed_entry",
                            "type": "string"
                          },
                          {
                            "const": "principal",
                            "type": "string"
                          },
                          {
                            "const": "authority_proof",
                            "type": "string"
                          },
                          {
                            "const": "scope_admission",
                            "type": "string"
                          },
                          {
                            "const": "grant",
                            "type": "string"
                          },
                          {
                            "const": "mandate",
                            "type": "string"
                          },
                          {
                            "const": "credential",
                            "type": "string"
                          },
                          {
                            "const": "webhook_delivery",
                            "type": "string"
                          },
                          {
                            "const": "redaction_policy",
                            "type": "string"
                          },
                          {
                            "const": "external_url",
                            "type": "string"
                          }
                        ]
                      },
                      "uri": {
                        "minLength": 1,
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "uri"
                    ],
                    "type": "object",
                    "x-runx-schema": "runx.reference.v1"
                  },
                  "type": "array"
                },
                "target_ref": {
                  "anyOf": [
                    {
                      "$id": "https://schemas.runx.dev/runx/reference/v1.json",
                      "$schema": "https://json-schema.org/draft/2020-12/schema",
                      "additionalProperties": false,
                      "properties": {
                        "label": {
                          "minLength": 1,
                          "type": "string"
                        },
                        "locator": {
                          "minLength": 1,
                          "type": "string"
                        },
                        "observed_at": {
                          "minLength": 1,
                          "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
                          "type": "string"
                        },
                        "proof_kind": {
                          "anyOf": [
                            {
                              "const": "effect_evidence",
                              "type": "string"
                            },
                            {
                              "const": "effect_finality",
                              "type": "string"
                            },
                            {
                              "const": "credential_resolution",
                              "type": "string"
                            }
                          ]
                        },
                        "provider": {
                          "minLength": 1,
                          "type": "string"
                        },
                        "schema": {
                          "const": "runx.reference.v1",
                          "type": "string"
                        },
                        "type": {
                          "anyOf": [
                            {
                              "const": "github_issue",
                              "type": "string"
                            },
                            {
                              "const": "github_pull_request",
                              "type": "string"
                            },
                            {
                              "const": "github_repo",
                              "type": "string"
                            },
                            {
                              "const": "slack_thread",
                              "type": "string"
                            },
                            {
                              "const": "sentry_event",
                              "type": "string"
                            },
                            {
                              "const": "provider_thread",
                              "type": "string"
                            },
                            {
                              "const": "provider_event",
                              "type": "string"
                            },
                            {
                              "const": "provider_comment",
                              "type": "string"
                            },
                            {
                              "const": "tracking_item",
                              "type": "string"
                            },
                            {
                              "const": "change_request",
                              "type": "string"
                            },
                            {
                              "const": "repository",
                              "type": "string"
                            },
                            {
                              "const": "support_ticket",
                              "type": "string"
                            },
                            {
                              "const": "signal",
                              "type": "string"
                            },
                            {
                              "const": "act",
                              "type": "string"
                            },
                            {
                              "const": "receipt",
                              "type": "string"
                            },
                            {
                              "const": "graph_receipt",
                              "type": "string"
                            },
                            {
                              "const": "artifact",
                              "type": "string"
                            },
                            {
                              "const": "verification",
                              "type": "string"
                            },
                            {
                              "const": "harness",
                              "type": "string"
                            },
                            {
                              "const": "host",
                              "type": "string"
                            },
                            {
                              "const": "deployment",
                              "type": "string"
                            },
                            {
                              "const": "surface",
                              "type": "string"
                            },
                            {
                              "const": "target",
                              "type": "string"
                            },
                            {
                              "const": "opportunity",
                              "type": "string"
                            },
                            {
                              "const": "thesis_assessment",
                              "type": "string"
                            },
                            {
                              "const": "selection",
                              "type": "string"
                            },
                            {
                              "const": "skill_binding",
                              "type": "string"
                            },
                            {
                              "const": "target_transition_entry",
                              "type": "string"
                            },
                            {
                              "const": "selection_cycle",
                              "type": "string"
                            },
                            {
                              "const": "decision",
                              "type": "string"
                            },
                            {
                              "const": "reflection_entry",
                              "type": "string"
                            },
                            {
                              "const": "feed_entry",
                              "type": "string"
                            },
                            {
                              "const": "principal",
                              "type": "string"
                            },
                            {
                              "const": "authority_proof",
                              "type": "string"
                            },
                            {
                              "const": "scope_admission",
                              "type": "string"
                            },
                            {
                              "const": "grant",
                              "type": "string"
                            },
                            {
                              "const": "mandate",
                              "type": "string"
                            },
                            {
                              "const": "credential",
                              "type": "string"
                            },
                            {
                              "const": "webhook_delivery",
                              "type": "string"
                            },
                            {
                              "const": "redaction_policy",
                              "type": "string"
                            },
                            {
                              "const": "external_url",
                              "type": "string"
                            }
                          ]
                        },
                        "uri": {
                          "minLength": 1,
                          "type": "string"
                        }
                      },
                      "required": [
                        "type",
                        "uri"
                      ],
                      "type": "object",
                      "x-runx-schema": "runx.reference.v1"
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "target_ref",
                "selection_ref"
              ],
              "type": "object"
            },
            "justification": {
              "additionalProperties": false,
              "properties": {
                "evidence_refs": {
                  "items": {
                    "$id": "https://schemas.runx.dev/runx/reference/v1.json",
                    "$schema": "https://json-schema.org/draft/2020-12/schema",
                    "additionalProperties": false,
                    "properties": {
                      "label": {
                        "minLength": 1,
                        "type": "string"
                      },
                      "locator": {
                        "minLength": 1,
                        "type": "string"
                      },
                      "observed_at": {
                        "minLength": 1,
                        "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
                        "type": "string"
                      },
                      "proof_kind": {
                        "anyOf": [
                          {
                            "const": "effect_evidence",
                            "type": "string"
                          },
                          {
                            "const": "effect_finality",
                            "type": "string"
                          },
                          {
                            "const": "credential_resolution",
                            "type": "string"
                          }
                        ]
                      },
                      "provider": {
                        "minLength": 1,
                        "type": "string"
                      },
                      "schema": {
                        "const": "runx.reference.v1",
                        "type": "string"
                      },
                      "type": {
                        "anyOf": [
                          {
                            "const": "github_issue",
                            "type": "string"
                          },
                          {
                            "const": "github_pull_request",
                            "type": "string"
                          },
                          {
                            "const": "github_repo",
                            "type": "string"
                          },
                          {
                            "const": "slack_thread",
                            "type": "string"
                          },
                          {
                            "const": "sentry_event",
                            "type": "string"
                          },
                          {
                            "const": "provider_thread",
                            "type": "string"
                          },
                          {
                            "const": "provider_event",
                            "type": "string"
                          },
                          {
                            "const": "provider_comment",
                            "type": "string"
                          },
                          {
                            "const": "tracking_item",
                            "type": "string"
                          },
                          {
                            "const": "change_request",
                            "type": "string"
                          },
                          {
                            "const": "repository",
                            "type": "string"
                          },
                          {
                            "const": "support_ticket",
                            "type": "string"
                          },
                          {
                            "const": "signal",
                            "type": "string"
                          },
                          {
                            "const": "act",
                            "type": "string"
                          },
                          {
                            "const": "receipt",
                            "type": "string"
                          },
                          {
                            "const": "graph_receipt",
                            "type": "string"
                          },
                          {
                            "const": "artifact",
                            "type": "string"
                          },
                          {
                            "const": "verification",
                            "type": "string"
                          },
                          {
                            "const": "harness",
                            "type": "string"
                          },
                          {
                            "const": "host",
                            "type": "string"
                          },
                          {
                            "const": "deployment",
                            "type": "string"
                          },
                          {
                            "const": "surface",
                            "type": "string"
                          },
                          {
                            "const": "target",
                            "type": "string"
                          },
                          {
                            "const": "opportunity",
                            "type": "string"
                          },
                          {
                            "const": "thesis_assessment",
                            "type": "string"
                          },
                          {
                            "const": "selection",
                            "type": "string"
                          },
                          {
                            "const": "skill_binding",
                            "type": "string"
                          },
                          {
                            "const": "target_transition_entry",
                            "type": "string"
                          },
                          {
                            "const": "selection_cycle",
                            "type": "string"
                          },
                          {
                            "const": "decision",
                            "type": "string"
                          },
                          {
                            "const": "reflection_entry",
                            "type": "string"
                          },
                          {
                            "const": "feed_entry",
                            "type": "string"
                          },
                          {
                            "const": "principal",
                            "type": "string"
                          },
                          {
                            "const": "authority_proof",
                            "type": "string"
                          },
                          {
                            "const": "scope_admission",
                            "type": "string"
                          },
                          {
                            "const": "grant",
                            "type": "string"
                          },
                          {
                            "const": "mandate",
                            "type": "string"
                          },
                          {
                            "const": "credential",
                            "type": "string"
                          },
                          {
                            "const": "webhook_delivery",
                            "type": "string"
                          },
                          {
                            "const": "redaction_policy",
                            "type": "string"
                          },
                          {
                            "const": "external_url",
                            "type": "string"
                          }
                        ]
                      },
                      "uri": {
                        "minLength": 1,
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "uri"
                    ],
                    "type": "object",
                    "x-runx-schema": "runx.reference.v1"
                  },
                  "type": "array"
                },
                "summary": {
                  "minLength": 1,
                  "type": "string"
                }
              },
              "required": [
                "summary"
              ],
              "type": "object"
            },
            "proposed_intent": {
              "additionalProperties": false,
              "properties": {
                "constraints": {
                  "items": {
                    "minLength": 1,
                    "type": "string"
                  },
                  "type": "array"
                },
                "derived_from": {
                  "items": {
                    "$id": "https://schemas.runx.dev/runx/reference/v1.json",
                    "$schema": "https://json-schema.org/draft/2020-12/schema",
                    "additionalProperties": false,
                    "properties": {
                      "label": {
                        "minLength": 1,
                        "type": "string"
                      },
                      "locator": {
                        "minLength": 1,
                        "type": "string"
                      },
                      "observed_at": {
                        "minLength": 1,
                        "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
                        "type": "string"
                      },
                      "proof_kind": {
                        "anyOf": [
                          {
                            "const": "effect_evidence",
                            "type": "string"
                          },
                          {
                            "const": "effect_finality",
                            "type": "string"
                          },
                          {
                            "const": "credential_resolution",
                            "type": "string"
                          }
                        ]
                      },
                      "provider": {
                        "minLength": 1,
                        "type": "string"
                      },
                      "schema": {
                        "const": "runx.reference.v1",
                        "type": "string"
                      },
                      "type": {
                        "anyOf": [
                          {
                            "const": "github_issue",
                            "type": "string"
                          },
                          {
                            "const": "github_pull_request",
                            "type": "string"
                          },
                          {
                            "const": "github_repo",
                            "type": "string"
                          },
                          {
                            "const": "slack_thread",
                            "type": "string"
                          },
                          {
                            "const": "sentry_event",
                            "type": "string"
                          },
                          {
                            "const": "provider_thread",
                            "type": "string"
                          },
                          {
                            "const": "provider_event",
                            "type": "string"
                          },
                          {
                            "const": "provider_comment",
                            "type": "string"
                          },
                          {
                            "const": "tracking_item",
                            "type": "string"
                          },
                          {
                            "const": "change_request",
                            "type": "string"
                          },
                          {
                            "const": "repository",
                            "type": "string"
                          },
                          {
                            "const": "support_ticket",
                            "type": "string"
                          },
                          {
                            "const": "signal",
                            "type": "string"
                          },
                          {
                            "const": "act",
                            "type": "string"
                          },
                          {
                            "const": "receipt",
                            "type": "string"
                          },
                          {
                            "const": "graph_receipt",
                            "type": "string"
                          },
                          {
                            "const": "artifact",
                            "type": "string"
                          },
                          {
                            "const": "verification",
                            "type": "string"
                          },
                          {
                            "const": "harness",
                            "type": "string"
                          },
                          {
                            "const": "host",
                            "type": "string"
                          },
                          {
                            "const": "deployment",
                            "type": "string"
                          },
                          {
                            "const": "surface",
                            "type": "string"
                          },
                          {
                            "const": "target",
                            "type": "string"
                          },
                          {
                            "const": "opportunity",
                            "type": "string"
                          },
                          {
                            "const": "thesis_assessment",
                            "type": "string"
                          },
                          {
                            "const": "selection",
                            "type": "string"
                          },
                          {
                            "const": "skill_binding",
                            "type": "string"
                          },
                          {
                            "const": "target_transition_entry",
                            "type": "string"
                          },
                          {
                            "const": "selection_cycle",
                            "type": "string"
                          },
                          {
                            "const": "decision",
                            "type": "string"
                          },
                          {
                            "const": "reflection_entry",
                            "type": "string"
                          },
                          {
                            "const": "feed_entry",
                            "type": "string"
                          },
                          {
                            "const": "principal",
                            "type": "string"
                          },
                          {
                            "const": "authority_proof",
                            "type": "string"
                          },
                          {
                            "const": "scope_admission",
                            "type": "string"
                          },
                          {
                            "const": "grant",
                            "type": "string"
                          },
                          {
                            "const": "mandate",
                            "type": "string"
                          },
                          {
                            "const": "credential",
                            "type": "string"
                          },
                          {
                            "const": "webhook_delivery",
                            "type": "string"
                          },
                          {
                            "const": "redaction_policy",
                            "type": "string"
                          },
                          {
                            "const": "external_url",
                            "type": "string"
                          }
                        ]
                      },
                      "uri": {
                        "minLength": 1,
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "uri"
                    ],
                    "type": "object",
                    "x-runx-schema": "runx.reference.v1"
                  },
                  "type": "array"
                },
                "legitimacy": {
                  "minLength": 1,
                  "type": "string"
                },
                "purpose": {
                  "minLength": 1,
                  "type": "string"
                },
                "success_criteria": {
                  "items": {
                    "additionalProperties": false,
                    "properties": {
                      "criterion_id": {
                        "minLength": 1,
                        "type": "string"
                      },
                      "required": {
                        "type": "boolean"
                      },
                      "statement": {
                        "minLength": 1,
                        "type": "string"
                      }
                    },
                    "required": [
                      "criterion_id",
                      "statement",
                      "required"
                    ],
                    "type": "object"
                  },
                  "type": "array"
                }
              },
              "required": [
                "purpose",
                "legitimacy"
              ],
              "type": "object"
            },
            "schema": {
              "const": "runx.decision.v1",
              "type": "string"
            },
            "selected_act_id": {
              "anyOf": [
                {
                  "minLength": 1,
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            },
            "selected_harness_ref": {
              "anyOf": [
                {
                  "$id": "https://schemas.runx.dev/runx/reference/v1.json",
                  "$schema": "https://json-schema.org/draft/2020-12/schema",
                  "additionalProperties": false,
                  "properties": {
                    "label": {
                      "minLength": 1,
                      "type": "string"
                    },
                    "locator": {
                      "minLength": 1,
                      "type": "string"
                    },
                    "observed_at": {
                      "minLength": 1,
                      "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
                      "type": "string"
                    },
                    "proof_kind": {
                      "anyOf": [
                        {
                          "const": "effect_evidence",
                          "type": "string"
                        },
                        {
                          "const": "effect_finality",
                          "type": "string"
                        },
                        {
                          "const": "credential_resolution",
                          "type": "string"
                        }
                      ]
                    },
                    "provider": {
                      "minLength": 1,
                      "type": "string"
                    },
                    "schema": {
                      "const": "runx.reference.v1",
                      "type": "string"
                    },
                    "type": {
                      "anyOf": [
                        {
                          "const": "github_issue",
                          "type": "string"
                        },
                        {
                          "const": "github_pull_request",
                          "type": "string"
                        },
                        {
                          "const": "github_repo",
                          "type": "string"
                        },
                        {
                          "const": "slack_thread",
                          "type": "string"
                        },
                        {
                          "const": "sentry_event",
                          "type": "string"
                        },
                        {
                          "const": "provider_thread",
                          "type": "string"
                        },
                        {
                          "const": "provider_event",
                          "type": "string"
                        },
                        {
                          "const": "provider_comment",
                          "type": "string"
                        },
                        {
                          "const": "tracking_item",
                          "type": "string"
                        },
                        {
                          "const": "change_request",
                          "type": "string"
                        },
                        {
                          "const": "repository",
                          "type": "string"
                        },
                        {
                          "const": "support_ticket",
                          "type": "string"
                        },
                        {
                          "const": "signal",
                          "type": "string"
                        },
                        {
                          "const": "act",
                          "type": "string"
                        },
                        {
                          "const": "receipt",
                          "type": "string"
                        },
                        {
                          "const": "graph_receipt",
                          "type": "string"
                        },
                        {
                          "const": "artifact",
                          "type": "string"
                        },
                        {
                          "const": "verification",
                          "type": "string"
                        },
                        {
                          "const": "harness",
                          "type": "string"
                        },
                        {
                          "const": "host",
                          "type": "string"
                        },
                        {
                          "const": "deployment",
                          "type": "string"
                        },
                        {
                          "const": "surface",
                          "type": "string"
                        },
                        {
                          "const": "target",
                          "type": "string"
                        },
                        {
                          "const": "opportunity",
                          "type": "string"
                        },
                        {
                          "const": "thesis_assessment",
                          "type": "string"
                        },
                        {
                          "const": "selection",
                          "type": "string"
                        },
                        {
                          "const": "skill_binding",
                          "type": "string"
                        },
                        {
                          "const": "target_transition_entry",
                          "type": "string"
                        },
                        {
                          "const": "selection_cycle",
                          "type": "string"
                        },
                        {
                          "const": "decision",
                          "type": "string"
                        },
                        {
                          "const": "reflection_entry",
                          "type": "string"
                        },
                        {
                          "const": "feed_entry",
                          "type": "string"
                        },
                        {
                          "const": "principal",
                          "type": "string"
                        },
                        {
                          "const": "authority_proof",
                          "type": "string"
                        },
                        {
                          "const": "scope_admission",
                          "type": "string"
                        },
                        {
                          "const": "grant",
                          "type": "string"
                        },
                        {
                          "const": "mandate",
                          "type": "string"
                        },
                        {
                          "const": "credential",
                          "type": "string"
                        },
                        {
                          "const": "webhook_delivery",
                          "type": "string"
                        },
                        {
                          "const": "redaction_policy",
                          "type": "string"
                        },
                        {
                          "const": "external_url",
                          "type": "string"
                        }
                      ]
                    },
                    "uri": {
                      "minLength": 1,
                      "type": "string"
                    }
                  },
                  "required": [
                    "type",
                    "uri"
                  ],
                  "type": "object",
                  "x-runx-schema": "runx.reference.v1"
                },
                {
                  "type": "null"
                }
              ]
            }
          },
          "required": [
            "decision_id",
            "choice",
            "inputs",
            "proposed_intent",
            "selected_act_id",
            "selected_harness_ref",
            "justification",
            "closure"
          ],
          "type": "object",
          "x-runx-schema": "runx.decision.v1"
        },
        "type": "array"
      },
      "digest": {
        "minLength": 1,
        "type": "string"
      },
      "id": {
        "minLength": 1,
        "type": "string"
      },
      "idempotency": {
        "additionalProperties": false,
        "properties": {
          "content_hash": {
            "minLength": 1,
            "type": "string"
          },
          "intent_key": {
            "minLength": 1,
            "type": "string"
          },
          "trigger_fingerprint": {
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "intent_key",
          "trigger_fingerprint",
          "content_hash"
        ],
        "type": "object"
      },
      "issuer": {
        "additionalProperties": false,
        "properties": {
          "kid": {
            "minLength": 1,
            "type": "string"
          },
          "public_key_sha256": {
            "minLength": 1,
            "type": "string"
          },
          "type": {
            "anyOf": [
              {
                "const": "local",
                "type": "string"
              },
              {
                "const": "hosted",
                "type": "string"
              },
              {
                "const": "ci",
                "type": "string"
              },
              {
                "const": "verifier",
                "type": "string"
              }
            ]
          }
        },
        "required": [
          "type",
          "kid",
          "public_key_sha256"
        ],
        "type": "object"
      },
      "lineage": {
        "additionalProperties": false,
        "properties": {
          "children": {
            "items": {
              "$id": "https://schemas.runx.dev/runx/reference/v1.json",
              "$schema": "https://json-schema.org/draft/2020-12/schema",
              "additionalProperties": false,
              "properties": {
                "label": {
                  "minLength": 1,
                  "type": "string"
                },
                "locator": {
                  "minLength": 1,
                  "type": "string"
                },
                "observed_at": {
                  "minLength": 1,
                  "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
                  "type": "string"
                },
                "proof_kind": {
                  "anyOf": [
                    {
                      "const": "effect_evidence",
                      "type": "string"
                    },
                    {
                      "const": "effect_finality",
                      "type": "string"
                    },
                    {
                      "const": "credential_resolution",
                      "type": "string"
                    }
                  ]
                },
                "provider": {
                  "minLength": 1,
                  "type": "string"
                },
                "schema": {
                  "const": "runx.reference.v1",
                  "type": "string"
                },
                "type": {
                  "anyOf": [
                    {
                      "const": "github_issue",
                      "type": "string"
                    },
                    {
                      "const": "github_pull_request",
                      "type": "string"
                    },
                    {
                      "const": "github_repo",
                      "type": "string"
                    },
                    {
                      "const": "slack_thread",
                      "type": "string"
                    },
                    {
                      "const": "sentry_event",
                      "type": "string"
                    },
                    {
                      "const": "provider_thread",
                      "type": "string"
                    },
                    {
                      "const": "provider_event",
                      "type": "string"
                    },
                    {
                      "const": "provider_comment",
                      "type": "string"
                    },
                    {
                      "const": "tracking_item",
                      "type": "string"
                    },
                    {
                      "const": "change_request",
                      "type": "string"
                    },
                    {
                      "const": "repository",
                      "type": "string"
                    },
                    {
                      "const": "support_ticket",
                      "type": "string"
                    },
                    {
                      "const": "signal",
                      "type": "string"
                    },
                    {
                      "const": "act",
                      "type": "string"
                    },
                    {
                      "const": "receipt",
                      "type": "string"
                    },
                    {
                      "const": "graph_receipt",
                      "type": "string"
                    },
                    {
                      "const": "artifact",
                      "type": "string"
                    },
                    {
                      "const": "verification",
                      "type": "string"
                    },
                    {
                      "const": "harness",
                      "type": "string"
                    },
                    {
                      "const": "host",
                      "type": "string"
                    },
                    {
                      "const": "deployment",
                      "type": "string"
                    },
                    {
                      "const": "surface",
                      "type": "string"
                    },
                    {
                      "const": "target",
                      "type": "string"
                    },
                    {
                      "const": "opportunity",
                      "type": "string"
                    },
                    {
                      "const": "thesis_assessment",
                      "type": "string"
                    },
                    {
                      "const": "selection",
                      "type": "string"
                    },
                    {
                      "const": "skill_binding",
                      "type": "string"
                    },
                    {
                      "const": "target_transition_entry",
                      "type": "string"
                    },
                    {
                      "const": "selection_cycle",
                      "type": "string"
                    },
                    {
                      "const": "decision",
                      "type": "string"
                    },
                    {
                      "const": "reflection_entry",
                      "type": "string"
                    },
                    {
                      "const": "feed_entry",
                      "type": "string"
                    },
                    {
                      "const": "principal",
                      "type": "string"
                    },
                    {
                      "const": "authority_proof",
                      "type": "string"
                    },
                    {
                      "const": "scope_admission",
                      "type": "string"
                    },
                    {
                      "const": "grant",
                      "type": "string"
                    },
                    {
                      "const": "mandate",
                      "type": "string"
                    },
                    {
                      "const": "credential",
                      "type": "string"
                    },
                    {
                      "const": "webhook_delivery",
                      "type": "string"
                    },
                    {
                      "const": "redaction_policy",
                      "type": "string"
                    },
                    {
                      "const": "external_url",
                      "type": "string"
                    }
                  ]
                },
                "uri": {
                  "minLength": 1,
                  "type": "string"
                }
              },
              "required": [
                "type",
                "uri"
              ],
              "type": "object",
              "x-runx-schema": "runx.reference.v1"
            },
            "type": "array"
          },
          "parent": {
            "$id": "https://schemas.runx.dev/runx/reference/v1.json",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "additionalProperties": false,
            "properties": {
              "label": {
                "minLength": 1,
                "type": "string"
              },
              "locator": {
                "minLength": 1,
                "type": "string"
              },
              "observed_at": {
                "minLength": 1,
                "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
                "type": "string"
              },
              "proof_kind": {
                "anyOf": [
                  {
                    "const": "effect_evidence",
                    "type": "string"
                  },
                  {
                    "const": "effect_finality",
                    "type": "string"
                  },
                  {
                    "const": "credential_resolution",
                    "type": "string"
                  }
                ]
              },
              "provider": {
                "minLength": 1,
                "type": "string"
              },
              "schema": {
                "const": "runx.reference.v1",
                "type": "string"
              },
              "type": {
                "anyOf": [
                  {
                    "const": "github_issue",
                    "type": "string"
                  },
                  {
                    "const": "github_pull_request",
                    "type": "string"
                  },
                  {
                    "const": "github_repo",
                    "type": "string"
                  },
                  {
                    "const": "slack_thread",
                    "type": "string"
                  },
                  {
                    "const": "sentry_event",
                    "type": "string"
                  },
                  {
                    "const": "provider_thread",
                    "type": "string"
                  },
                  {
                    "const": "provider_event",
                    "type": "string"
                  },
                  {
                    "const": "provider_comment",
                    "type": "string"
                  },
                  {
                    "const": "tracking_item",
                    "type": "string"
                  },
                  {
                    "const": "change_request",
                    "type": "string"
                  },
                  {
                    "const": "repository",
                    "type": "string"
                  },
                  {
                    "const": "support_ticket",
                    "type": "string"
                  },
                  {
                    "const": "signal",
                    "type": "string"
                  },
                  {
                    "const": "act",
                    "type": "string"
                  },
                  {
                    "const": "receipt",
                    "type": "string"
                  },
                  {
                    "const": "graph_receipt",
                    "type": "string"
                  },
                  {
                    "const": "artifact",
                    "type": "string"
                  },
                  {
                    "const": "verification",
                    "type": "string"
                  },
                  {
                    "const": "harness",
                    "type": "string"
                  },
                  {
                    "const": "host",
                    "type": "string"
                  },
                  {
                    "const": "deployment",
                    "type": "string"
                  },
                  {
                    "const": "surface",
                    "type": "string"
                  },
                  {
                    "const": "target",
                    "type": "string"
                  },
                  {
                    "const": "opportunity",
                    "type": "string"
                  },
                  {
                    "const": "thesis_assessment",
                    "type": "string"
                  },
                  {
                    "const": "selection",
                    "type": "string"
                  },
                  {
                    "const": "skill_binding",
                    "type": "string"
                  },
                  {
                    "const": "target_transition_entry",
                    "type": "string"
                  },
                  {
                    "const": "selection_cycle",
                    "type": "string"
                  },
                  {
                    "const": "decision",
                    "type": "string"
                  },
                  {
                    "const": "reflection_entry",
                    "type": "string"
                  },
                  {
                    "const": "feed_entry",
                    "type": "string"
                  },
                  {
                    "const": "principal",
                    "type": "string"
                  },
                  {
                    "const": "authority_proof",
                    "type": "string"
                  },
                  {
                    "const": "scope_admission",
                    "type": "string"
                  },
                  {
                    "const": "grant",
                    "type": "string"
                  },
                  {
                    "const": "mandate",
                    "type": "string"
                  },
                  {
                    "const": "credential",
                    "type": "string"
                  },
                  {
                    "const": "webhook_delivery",
                    "type": "string"
                  },
                  {
                    "const": "redaction_policy",
                    "type": "string"
                  },
                  {
                    "const": "external_url",
                    "type": "string"
                  }
                ]
              },
              "uri": {
                "minLength": 1,
                "type": "string"
              }
            },
            "required": [
              "type",
              "uri"
            ],
            "type": "object",
            "x-runx-schema": "runx.reference.v1"
          },
          "previous": {
            "$id": "https://schemas.runx.dev/runx/reference/v1.json",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "additionalProperties": false,
            "properties": {
              "label": {
                "minLength": 1,
                "type": "string"
              },
              "locator": {
                "minLength": 1,
                "type": "string"
              },
              "observed_at": {
                "minLength": 1,
                "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
                "type": "string"
              },
              "proof_kind": {
                "anyOf": [
                  {
                    "const": "effect_evidence",
                    "type": "string"
                  },
                  {
                    "const": "effect_finality",
                    "type": "string"
                  },
                  {
                    "const": "credential_resolution",
                    "type": "string"
                  }
                ]
              },
              "provider": {
                "minLength": 1,
                "type": "string"
              },
              "schema": {
                "const": "runx.reference.v1",
                "type": "string"
              },
              "type": {
                "anyOf": [
                  {
                    "const": "github_issue",
                    "type": "string"
                  },
                  {
                    "const": "github_pull_request",
                    "type": "string"
                  },
                  {
                    "const": "github_repo",
                    "type": "string"
                  },
                  {
                    "const": "slack_thread",
                    "type": "string"
                  },
                  {
                    "const": "sentry_event",
                    "type": "string"
                  },
                  {
                    "const": "provider_thread",
                    "type": "string"
                  },
                  {
                    "const": "provider_event",
                    "type": "string"
                  },
                  {
                    "const": "provider_comment",
                    "type": "string"
                  },
                  {
                    "const": "tracking_item",
                    "type": "string"
                  },
                  {
                    "const": "change_request",
                    "type": "string"
                  },
                  {
                    "const": "repository",
                    "type": "string"
                  },
                  {
                    "const": "support_ticket",
                    "type": "string"
                  },
                  {
                    "const": "signal",
                    "type": "string"
                  },
                  {
                    "const": "act",
                    "type": "string"
                  },
                  {
                    "const": "receipt",
                    "type": "string"
                  },
                  {
                    "const": "graph_receipt",
                    "type": "string"
                  },
                  {
                    "const": "artifact",
                    "type": "string"
                  },
                  {
                    "const": "verification",
                    "type": "string"
                  },
                  {
                    "const": "harness",
                    "type": "string"
                  },
                  {
                    "const": "host",
                    "type": "string"
                  },
                  {
                    "const": "deployment",
                    "type": "string"
                  },
                  {
                    "const": "surface",
                    "type": "string"
                  },
                  {
                    "const": "target",
                    "type": "string"
                  },
                  {
                    "const": "opportunity",
                    "type": "string"
                  },
                  {
                    "const": "thesis_assessment",
                    "type": "string"
                  },
                  {
                    "const": "selection",
                    "type": "string"
                  },
                  {
                    "const": "skill_binding",
                    "type": "string"
                  },
                  {
                    "const": "target_transition_entry",
                    "type": "string"
                  },
                  {
                    "const": "selection_cycle",
                    "type": "string"
                  },
                  {
                    "const": "decision",
                    "type": "string"
                  },
                  {
                    "const": "reflection_entry",
                    "type": "string"
                  },
                  {
                    "const": "feed_entry",
                    "type": "string"
                  },
                  {
                    "const": "principal",
                    "type": "string"
                  },
                  {
                    "const": "authority_proof",
                    "type": "string"
                  },
                  {
                    "const": "scope_admission",
                    "type": "string"
                  },
                  {
                    "const": "grant",
                    "type": "string"
                  },
                  {
                    "const": "mandate",
                    "type": "string"
                  },
                  {
                    "const": "credential",
                    "type": "string"
                  },
                  {
                    "const": "webhook_delivery",
                    "type": "string"
                  },
                  {
                    "const": "redaction_policy",
                    "type": "string"
                  },
                  {
                    "const": "external_url",
                    "type": "string"
                  }
                ]
              },
              "uri": {
                "minLength": 1,
                "type": "string"
              }
            },
            "required": [
              "type",
              "uri"
            ],
            "type": "object",
            "x-runx-schema": "runx.reference.v1"
          },
          "resume_ref": {
            "$id": "https://schemas.runx.dev/runx/reference/v1.json",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "additionalProperties": false,
            "properties": {
              "label": {
                "minLength": 1,
                "type": "string"
              },
              "locator": {
                "minLength": 1,
                "type": "string"
              },
              "observed_at": {
                "minLength": 1,
                "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
                "type": "string"
              },
              "proof_kind": {
                "anyOf": [
                  {
                    "const": "effect_evidence",
                    "type": "string"
                  },
                  {
                    "const": "effect_finality",
                    "type": "string"
                  },
                  {
                    "const": "credential_resolution",
                    "type": "string"
                  }
                ]
              },
              "provider": {
                "minLength": 1,
                "type": "string"
              },
              "schema": {
                "const": "runx.reference.v1",
                "type": "string"
              },
              "type": {
                "anyOf": [
                  {
                    "const": "github_issue",
                    "type": "string"
                  },
                  {
                    "const": "github_pull_request",
                    "type": "string"
                  },
                  {
                    "const": "github_repo",
                    "type": "string"
                  },
                  {
                    "const": "slack_thread",
                    "type": "string"
                  },
                  {
                    "const": "sentry_event",
                    "type": "string"
                  },
                  {
                    "const": "provider_thread",
                    "type": "string"
                  },
                  {
                    "const": "provider_event",
                    "type": "string"
                  },
                  {
                    "const": "provider_comment",
                    "type": "string"
                  },
                  {
                    "const": "tracking_item",
                    "type": "string"
                  },
                  {
                    "const": "change_request",
                    "type": "string"
                  },
                  {
                    "const": "repository",
                    "type": "string"
                  },
                  {
                    "const": "support_ticket",
                    "type": "string"
                  },
                  {
                    "const": "signal",
                    "type": "string"
                  },
                  {
                    "const": "act",
                    "type": "string"
                  },
                  {
                    "const": "receipt",
                    "type": "string"
                  },
                  {
                    "const": "graph_receipt",
                    "type": "string"
                  },
                  {
                    "const": "artifact",
                    "type": "string"
                  },
                  {
                    "const": "verification",
                    "type": "string"
                  },
                  {
                    "const": "harness",
                    "type": "string"
                  },
                  {
                    "const": "host",
                    "type": "string"
                  },
                  {
                    "const": "deployment",
                    "type": "string"
                  },
                  {
                    "const": "surface",
                    "type": "string"
                  },
                  {
                    "const": "target",
                    "type": "string"
                  },
                  {
                    "const": "opportunity",
                    "type": "string"
                  },
                  {
                    "const": "thesis_assessment",
                    "type": "string"
                  },
                  {
                    "const": "selection",
                    "type": "string"
                  },
                  {
                    "const": "skill_binding",
                    "type": "string"
                  },
                  {
                    "const": "target_transition_entry",
                    "type": "string"
                  },
                  {
                    "const": "selection_cycle",
                    "type": "string"
                  },
                  {
                    "const": "decision",
                    "type": "string"
                  },
                  {
                    "const": "reflection_entry",
                    "type": "string"
                  },
                  {
                    "const": "feed_entry",
                    "type": "string"
                  },
                  {
                    "const": "principal",
                    "type": "string"
                  },
                  {
                    "const": "authority_proof",
                    "type": "string"
                  },
                  {
                    "const": "scope_admission",
                    "type": "string"
                  },
                  {
                    "const": "grant",
                    "type": "string"
                  },
                  {
                    "const": "mandate",
                    "type": "string"
                  },
                  {
                    "const": "credential",
                    "type": "string"
                  },
                  {
                    "const": "webhook_delivery",
                    "type": "string"
                  },
                  {
                    "const": "redaction_policy",
                    "type": "string"
                  },
                  {
                    "const": "external_url",
                    "type": "string"
                  }
                ]
              },
              "uri": {
                "minLength": 1,
                "type": "string"
              }
            },
            "required": [
              "type",
              "uri"
            ],
            "type": "object",
            "x-runx-schema": "runx.reference.v1"
          },
          "sync": {
            "items": {
              "additionalProperties": false,
              "properties": {
                "branch_count": {
                  "type": "integer"
                },
                "branch_receipts": {
                  "items": {
                    "minLength": 1,
                    "type": "string"
                  },
                  "type": "array"
                },
                "decision": {
                  "anyOf": [
                    {
                      "const": "proceed",
                      "type": "string"
                    },
                    {
                      "const": "halt",
                      "type": "string"
                    },
                    {
                      "const": "pause",
                      "type": "string"
                    },
                    {
                      "const": "escalate",
                      "type": "string"
                    }
                  ]
                },
                "failure_count": {
                  "type": "integer"
                },
                "gate": {
                  "additionalProperties": {},
                  "type": "object"
                },
                "group_id": {
                  "minLength": 1,
                  "type": "string"
                },
                "reason": {
                  "minLength": 1,
                  "type": "string"
                },
                "required_successes": {
                  "type": "integer"
                },
                "rule_fired": {
                  "minLength": 1,
                  "type": "string"
                },
                "strategy": {
                  "anyOf": [
                    {
                      "const": "all",
                      "type": "string"
                    },
                    {
                      "const": "any",
                      "type": "string"
                    },
                    {
                      "const": "quorum",
                      "type": "string"
                    }
                  ]
                },
                "success_count": {
                  "type": "integer"
                }
              },
              "required": [
                "group_id",
                "strategy",
                "decision",
                "rule_fired",
                "reason",
                "branch_count",
                "success_count",
                "failure_count",
                "required_successes"
              ],
              "type": "object"
            },
            "type": "array"
          }
        },
        "type": "object"
      },
      "metadata": {
        "additionalProperties": {},
        "type": "object"
      },
      "schema": {
        "anyOf": [
          {
            "const": "runx.receipt.v1",
            "type": "string"
          }
        ]
      },
      "seal": {
        "additionalProperties": false,
        "properties": {
          "closed_at": {
            "minLength": 1,
            "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
            "type": "string"
          },
          "criteria": {
            "items": {
              "additionalProperties": false,
              "properties": {
                "criterion_id": {
                  "minLength": 1,
                  "type": "string"
                },
                "evidence_refs": {
                  "items": {
                    "$id": "https://schemas.runx.dev/runx/reference/v1.json",
                    "$schema": "https://json-schema.org/draft/2020-12/schema",
                    "additionalProperties": false,
                    "properties": {
                      "label": {
                        "minLength": 1,
                        "type": "string"
                      },
                      "locator": {
                        "minLength": 1,
                        "type": "string"
                      },
                      "observed_at": {
                        "minLength": 1,
                        "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
                        "type": "string"
                      },
                      "proof_kind": {
                        "anyOf": [
                          {
                            "const": "effect_evidence",
                            "type": "string"
                          },
                          {
                            "const": "effect_finality",
                            "type": "string"
                          },
                          {
                            "const": "credential_resolution",
                            "type": "string"
                          }
                        ]
                      },
                      "provider": {
                        "minLength": 1,
                        "type": "string"
                      },
                      "schema": {
                        "const": "runx.reference.v1",
                        "type": "string"
                      },
                      "type": {
                        "anyOf": [
                          {
                            "const": "github_issue",
                            "type": "string"
                          },
                          {
                            "const": "github_pull_request",
                            "type": "string"
                          },
                          {
                            "const": "github_repo",
                            "type": "string"
                          },
                          {
                            "const": "slack_thread",
                            "type": "string"
                          },
                          {
                            "const": "sentry_event",
                            "type": "string"
                          },
                          {
                            "const": "provider_thread",
                            "type": "string"
                          },
                          {
                            "const": "provider_event",
                            "type": "string"
                          },
                          {
                            "const": "provider_comment",
                            "type": "string"
                          },
                          {
                            "const": "tracking_item",
                            "type": "string"
                          },
                          {
                            "const": "change_request",
                            "type": "string"
                          },
                          {
                            "const": "repository",
                            "type": "string"
                          },
                          {
                            "const": "support_ticket",
                            "type": "string"
                          },
                          {
                            "const": "signal",
                            "type": "string"
                          },
                          {
                            "const": "act",
                            "type": "string"
                          },
                          {
                            "const": "receipt",
                            "type": "string"
                          },
                          {
                            "const": "graph_receipt",
                            "type": "string"
                          },
                          {
                            "const": "artifact",
                            "type": "string"
                          },
                          {
                            "const": "verification",
                            "type": "string"
                          },
                          {
                            "const": "harness",
                            "type": "string"
                          },
                          {
                            "const": "host",
                            "type": "string"
                          },
                          {
                            "const": "deployment",
                            "type": "string"
                          },
                          {
                            "const": "surface",
                            "type": "string"
                          },
                          {
                            "const": "target",
                            "type": "string"
                          },
                          {
                            "const": "opportunity",
                            "type": "string"
                          },
                          {
                            "const": "thesis_assessment",
                            "type": "string"
                          },
                          {
                            "const": "selection",
                            "type": "string"
                          },
                          {
                            "const": "skill_binding",
                            "type": "string"
                          },
                          {
                            "const": "target_transition_entry",
                            "type": "string"
                          },
                          {
                            "const": "selection_cycle",
                            "type": "string"
                          },
                          {
                            "const": "decision",
                            "type": "string"
                          },
                          {
                            "const": "reflection_entry",
                            "type": "string"
                          },
                          {
                            "const": "feed_entry",
                            "type": "string"
                          },
                          {
                            "const": "principal",
                            "type": "string"
                          },
                          {
                            "const": "authority_proof",
                            "type": "string"
                          },
                          {
                            "const": "scope_admission",
                            "type": "string"
                          },
                          {
                            "const": "grant",
                            "type": "string"
                          },
                          {
                            "const": "mandate",
                            "type": "string"
                          },
                          {
                            "const": "credential",
                            "type": "string"
                          },
                          {
                            "const": "webhook_delivery",
                            "type": "string"
                          },
                          {
                            "const": "redaction_policy",
                            "type": "string"
                          },
                          {
                            "const": "external_url",
                            "type": "string"
                          }
                        ]
                      },
                      "uri": {
                        "minLength": 1,
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "uri"
                    ],
                    "type": "object",
                    "x-runx-schema": "runx.reference.v1"
                  },
                  "type": "array"
                },
                "status": {
                  "anyOf": [
                    {
                      "const": "verified",
                      "type": "string"
                    },
                    {
                      "const": "failed",
                      "type": "string"
                    },
                    {
                      "const": "pending",
                      "type": "string"
                    },
                    {
                      "const": "not_applicable",
                      "type": "string"
                    },
                    {
                      "const": "unknown",
                      "type": "string"
                    }
                  ]
                },
                "summary": {
                  "minLength": 1,
                  "type": "string"
                },
                "verification_refs": {
                  "items": {
                    "$id": "https://schemas.runx.dev/runx/reference/v1.json",
                    "$schema": "https://json-schema.org/draft/2020-12/schema",
                    "additionalProperties": false,
                    "properties": {
                      "label": {
                        "minLength": 1,
                        "type": "string"
                      },
                      "locator": {
                        "minLength": 1,
                        "type": "string"
                      },
                      "observed_at": {
                        "minLength": 1,
                        "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
                        "type": "string"
                      },
                      "proof_kind": {
                        "anyOf": [
                          {
                            "const": "effect_evidence",
                            "type": "string"
                          },
                          {
                            "const": "effect_finality",
                            "type": "string"
                          },
                          {
                            "const": "credential_resolution",
                            "type": "string"
                          }
                        ]
                      },
                      "provider": {
                        "minLength": 1,
                        "type": "string"
                      },
                      "schema": {
                        "const": "runx.reference.v1",
                        "type": "string"
                      },
                      "type": {
                        "anyOf": [
                          {
                            "const": "github_issue",
                            "type": "string"
                          },
                          {
                            "const": "github_pull_request",
                            "type": "string"
                          },
                          {
                            "const": "github_repo",
                            "type": "string"
                          },
                          {
                            "const": "slack_thread",
                            "type": "string"
                          },
                          {
                            "const": "sentry_event",
                            "type": "string"
                          },
                          {
                            "const": "provider_thread",
                            "type": "string"
                          },
                          {
                            "const": "provider_event",
                            "type": "string"
                          },
                          {
                            "const": "provider_comment",
                            "type": "string"
                          },
                          {
                            "const": "tracking_item",
                            "type": "string"
                          },
                          {
                            "const": "change_request",
                            "type": "string"
                          },
                          {
                            "const": "repository",
                            "type": "string"
                          },
                          {
                            "const": "support_ticket",
                            "type": "string"
                          },
                          {
                            "const": "signal",
                            "type": "string"
                          },
                          {
                            "const": "act",
                            "type": "string"
                          },
                          {
                            "const": "receipt",
                            "type": "string"
                          },
                          {
                            "const": "graph_receipt",
                            "type": "string"
                          },
                          {
                            "const": "artifact",
                            "type": "string"
                          },
                          {
                            "const": "verification",
                            "type": "string"
                          },
                          {
                            "const": "harness",
                            "type": "string"
                          },
                          {
                            "const": "host",
                            "type": "string"
                          },
                          {
                            "const": "deployment",
                            "type": "string"
                          },
                          {
                            "const": "surface",
                            "type": "string"
                          },
                          {
                            "const": "target",
                            "type": "string"
                          },
                          {
                            "const": "opportunity",
                            "type": "string"
                          },
                          {
                            "const": "thesis_assessment",
                            "type": "string"
                          },
                          {
                            "const": "selection",
                            "type": "string"
                          },
                          {
                            "const": "skill_binding",
                            "type": "string"
                          },
                          {
                            "const": "target_transition_entry",
                            "type": "string"
                          },
                          {
                            "const": "selection_cycle",
                            "type": "string"
                          },
                          {
                            "const": "decision",
                            "type": "string"
                          },
                          {
                            "const": "reflection_entry",
                            "type": "string"
                          },
                          {
                            "const": "feed_entry",
                            "type": "string"
                          },
                          {
                            "const": "principal",
                            "type": "string"
                          },
                          {
                            "const": "authority_proof",
                            "type": "string"
                          },
                          {
                            "const": "scope_admission",
                            "type": "string"
                          },
                          {
                            "const": "grant",
                            "type": "string"
                          },
                          {
                            "const": "mandate",
                            "type": "string"
                          },
                          {
                            "const": "credential",
                            "type": "string"
                          },
                          {
                            "const": "webhook_delivery",
                            "type": "string"
                          },
                          {
                            "const": "redaction_policy",
                            "type": "string"
                          },
                          {
                            "const": "external_url",
                            "type": "string"
                          }
                        ]
                      },
                      "uri": {
                        "minLength": 1,
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "uri"
                    ],
                    "type": "object",
                    "x-runx-schema": "runx.reference.v1"
                  },
                  "type": "array"
                }
              },
              "required": [
                "criterion_id",
                "status"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "disposition": {
            "anyOf": [
              {
                "const": "closed",
                "type": "string"
              },
              {
                "const": "deferred",
                "type": "string"
              },
              {
                "const": "superseded",
                "type": "string"
              },
              {
                "const": "declined",
                "type": "string"
              },
              {
                "const": "blocked",
                "type": "string"
              },
              {
                "const": "failed",
                "type": "string"
              },
              {
                "const": "killed",
                "type": "string"
              },
              {
                "const": "timed_out",
                "type": "string"
              }
            ]
          },
          "last_observed_at": {
            "minLength": 1,
            "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
            "type": "string"
          },
          "reason_code": {
            "minLength": 1,
            "type": "string"
          },
          "summary": {
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "disposition",
          "reason_code",
          "summary",
          "closed_at",
          "last_observed_at"
        ],
        "type": "object"
      },
      "signals": {
        "items": {
          "$id": "https://schemas.runx.dev/runx/reference/v1.json",
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "additionalProperties": false,
          "properties": {
            "label": {
              "minLength": 1,
              "type": "string"
            },
            "locator": {
              "minLength": 1,
              "type": "string"
            },
            "observed_at": {
              "minLength": 1,
              "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
              "type": "string"
            },
            "proof_kind": {
              "anyOf": [
                {
                  "const": "effect_evidence",
                  "type": "string"
                },
                {
                  "const": "effect_finality",
                  "type": "string"
                },
                {
                  "const": "credential_resolution",
                  "type": "string"
                }
              ]
            },
            "provider": {
              "minLength": 1,
              "type": "string"
            },
            "schema": {
              "const": "runx.reference.v1",
              "type": "string"
            },
            "type": {
              "anyOf": [
                {
                  "const": "github_issue",
                  "type": "string"
                },
                {
                  "const": "github_pull_request",
                  "type": "string"
                },
                {
                  "const": "github_repo",
                  "type": "string"
                },
                {
                  "const": "slack_thread",
                  "type": "string"
                },
                {
                  "const": "sentry_event",
                  "type": "string"
                },
                {
                  "const": "provider_thread",
                  "type": "string"
                },
                {
                  "const": "provider_event",
                  "type": "string"
                },
                {
                  "const": "provider_comment",
                  "type": "string"
                },
                {
                  "const": "tracking_item",
                  "type": "string"
                },
                {
                  "const": "change_request",
                  "type": "string"
                },
                {
                  "const": "repository",
                  "type": "string"
                },
                {
                  "const": "support_ticket",
                  "type": "string"
                },
                {
                  "const": "signal",
                  "type": "string"
                },
                {
                  "const": "act",
                  "type": "string"
                },
                {
                  "const": "receipt",
                  "type": "string"
                },
                {
                  "const": "graph_receipt",
                  "type": "string"
                },
                {
                  "const": "artifact",
                  "type": "string"
                },
                {
                  "const": "verification",
                  "type": "string"
                },
                {
                  "const": "harness",
                  "type": "string"
                },
                {
                  "const": "host",
                  "type": "string"
                },
                {
                  "const": "deployment",
                  "type": "string"
                },
                {
                  "const": "surface",
                  "type": "string"
                },
                {
                  "const": "target",
                  "type": "string"
                },
                {
                  "const": "opportunity",
                  "type": "string"
                },
                {
                  "const": "thesis_assessment",
                  "type": "string"
                },
                {
                  "const": "selection",
                  "type": "string"
                },
                {
                  "const": "skill_binding",
                  "type": "string"
                },
                {
                  "const": "target_transition_entry",
                  "type": "string"
                },
                {
                  "const": "selection_cycle",
                  "type": "string"
                },
                {
                  "const": "decision",
                  "type": "string"
                },
                {
                  "const": "reflection_entry",
                  "type": "string"
                },
                {
                  "const": "feed_entry",
                  "type": "string"
                },
                {
                  "const": "principal",
                  "type": "string"
                },
                {
                  "const": "authority_proof",
                  "type": "string"
                },
                {
                  "const": "scope_admission",
                  "type": "string"
                },
                {
                  "const": "grant",
                  "type": "string"
                },
                {
                  "const": "mandate",
                  "type": "string"
                },
                {
                  "const": "credential",
                  "type": "string"
                },
                {
                  "const": "webhook_delivery",
                  "type": "string"
                },
                {
                  "const": "redaction_policy",
                  "type": "string"
                },
                {
                  "const": "external_url",
                  "type": "string"
                }
              ]
            },
            "uri": {
              "minLength": 1,
              "type": "string"
            }
          },
          "required": [
            "type",
            "uri"
          ],
          "type": "object",
          "x-runx-schema": "runx.reference.v1"
        },
        "type": "array"
      },
      "signature": {
        "additionalProperties": false,
        "properties": {
          "alg": {
            "anyOf": [
              {
                "const": "Ed25519",
                "type": "string"
              }
            ]
          },
          "value": {
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "alg",
          "value"
        ],
        "type": "object"
      },
      "subject": {
        "additionalProperties": false,
        "properties": {
          "commitments": {
            "items": {
              "additionalProperties": false,
              "properties": {
                "algorithm": {
                  "anyOf": [
                    {
                      "const": "sha256",
                      "type": "string"
                    }
                  ]
                },
                "canonicalization": {
                  "minLength": 1,
                  "type": "string"
                },
                "scope": {
                  "anyOf": [
                    {
                      "const": "input",
                      "type": "string"
                    },
                    {
                      "const": "output",
                      "type": "string"
                    },
                    {
                      "const": "stdout",
                      "type": "string"
                    },
                    {
                      "const": "stderr",
                      "type": "string"
                    },
                    {
                      "const": "error",
                      "type": "string"
                    }
                  ]
                },
                "value": {
                  "minLength": 1,
                  "type": "string"
                }
              },
              "required": [
                "scope",
                "algorithm",
                "value",
                "canonicalization"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "input_context": {
            "additionalProperties": false,
            "properties": {
              "preview": {
                "type": "string"
              },
              "source": {
                "minLength": 1,
                "type": "string"
              },
              "value_hash": {
                "minLength": 1,
                "type": "string"
              }
            },
            "required": [
              "source",
              "preview",
              "value_hash"
            ],
            "type": "object"
          },
          "kind": {
            "minLength": 1,
            "type": "string"
          },
          "ref": {
            "$id": "https://schemas.runx.dev/runx/reference/v1.json",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "additionalProperties": false,
            "properties": {
              "label": {
                "minLength": 1,
                "type": "string"
              },
              "locator": {
                "minLength": 1,
                "type": "string"
              },
              "observed_at": {
                "minLength": 1,
                "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
                "type": "string"
              },
              "proof_kind": {
                "anyOf": [
                  {
                    "const": "effect_evidence",
                    "type": "string"
                  },
                  {
                    "const": "effect_finality",
                    "type": "string"
                  },
                  {
                    "const": "credential_resolution",
                    "type": "string"
                  }
                ]
              },
              "provider": {
                "minLength": 1,
                "type": "string"
              },
              "schema": {
                "const": "runx.reference.v1",
                "type": "string"
              },
              "type": {
                "anyOf": [
                  {
                    "const": "github_issue",
                    "type": "string"
                  },
                  {
                    "const": "github_pull_request",
                    "type": "string"
                  },
                  {
                    "const": "github_repo",
                    "type": "string"
                  },
                  {
                    "const": "slack_thread",
                    "type": "string"
                  },
                  {
                    "const": "sentry_event",
                    "type": "string"
                  },
                  {
                    "const": "provider_thread",
                    "type": "string"
                  },
                  {
                    "const": "provider_event",
                    "type": "string"
                  },
                  {
                    "const": "provider_comment",
                    "type": "string"
                  },
                  {
                    "const": "tracking_item",
                    "type": "string"
                  },
                  {
                    "const": "change_request",
                    "type": "string"
                  },
                  {
                    "const": "repository",
                    "type": "string"
                  },
                  {
                    "const": "support_ticket",
                    "type": "string"
                  },
                  {
                    "const": "signal",
                    "type": "string"
                  },
                  {
                    "const": "act",
                    "type": "string"
                  },
                  {
                    "const": "receipt",
                    "type": "string"
                  },
                  {
                    "const": "graph_receipt",
                    "type": "string"
                  },
                  {
                    "const": "artifact",
                    "type": "string"
                  },
                  {
                    "const": "verification",
                    "type": "string"
                  },
                  {
                    "const": "harness",
                    "type": "string"
                  },
                  {
                    "const": "host",
                    "type": "string"
                  },
                  {
                    "const": "deployment",
                    "type": "string"
                  },
                  {
                    "const": "surface",
                    "type": "string"
                  },
                  {
                    "const": "target",
                    "type": "string"
                  },
                  {
                    "const": "opportunity",
                    "type": "string"
                  },
                  {
                    "const": "thesis_assessment",
                    "type": "string"
                  },
                  {
                    "const": "selection",
                    "type": "string"
                  },
                  {
                    "const": "skill_binding",
                    "type": "string"
                  },
                  {
                    "const": "target_transition_entry",
                    "type": "string"
                  },
                  {
                    "const": "selection_cycle",
                    "type": "string"
                  },
                  {
                    "const": "decision",
                    "type": "string"
                  },
                  {
                    "const": "reflection_entry",
                    "type": "string"
                  },
                  {
                    "const": "feed_entry",
                    "type": "string"
                  },
                  {
                    "const": "principal",
                    "type": "string"
                  },
                  {
                    "const": "authority_proof",
                    "type": "string"
                  },
                  {
                    "const": "scope_admission",
                    "type": "string"
                  },
                  {
                    "const": "grant",
                    "type": "string"
                  },
                  {
                    "const": "mandate",
                    "type": "string"
                  },
                  {
                    "const": "credential",
                    "type": "string"
                  },
                  {
                    "const": "webhook_delivery",
                    "type": "string"
                  },
                  {
                    "const": "redaction_policy",
                    "type": "string"
                  },
                  {
                    "const": "external_url",
                    "type": "string"
                  }
                ]
              },
              "uri": {
                "minLength": 1,
                "type": "string"
              }
            },
            "required": [
              "type",
              "uri"
            ],
            "type": "object",
            "x-runx-schema": "runx.reference.v1"
          }
        },
        "required": [
          "kind",
          "ref"
        ],
        "type": "object"
      }
    },
    "required": [
      "schema",
      "id",
      "created_at",
      "canonicalization",
      "issuer",
      "signature",
      "digest",
      "idempotency",
      "subject",
      "authority",
      "seal"
    ],
    "type": "object",
    "x-runx-schema": "runx.receipt.v1"
  } as JsonSchema,
  "redaction.schema.json": {
    "$id": "https://schemas.runx.dev/runx/redaction/v1.json",
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "additionalProperties": false,
    "properties": {
      "canonicalization": {
        "minLength": 1,
        "type": "string"
      },
      "hash_commitments": {
        "items": {
          "additionalProperties": false,
          "properties": {
            "algorithm": {
              "anyOf": [
                {
                  "const": "sha256",
                  "type": "string"
                }
              ]
            },
            "canonicalization": {
              "minLength": 1,
              "type": "string"
            },
            "value": {
              "minLength": 1,
              "type": "string"
            }
          },
          "required": [
            "algorithm",
            "value",
            "canonicalization"
          ],
          "type": "object"
        },
        "type": "array"
      },
      "performed_at": {
        "minLength": 1,
        "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
        "type": "string"
      },
      "performed_by_ref": {
        "$id": "https://schemas.runx.dev/runx/reference/v1.json",
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false,
        "properties": {
          "label": {
            "minLength": 1,
            "type": "string"
          },
          "locator": {
            "minLength": 1,
            "type": "string"
          },
          "observed_at": {
            "minLength": 1,
            "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
            "type": "string"
          },
          "proof_kind": {
            "anyOf": [
              {
                "const": "effect_evidence",
                "type": "string"
              },
              {
                "const": "effect_finality",
                "type": "string"
              },
              {
                "const": "credential_resolution",
                "type": "string"
              }
            ]
          },
          "provider": {
            "minLength": 1,
            "type": "string"
          },
          "schema": {
            "const": "runx.reference.v1",
            "type": "string"
          },
          "type": {
            "anyOf": [
              {
                "const": "github_issue",
                "type": "string"
              },
              {
                "const": "github_pull_request",
                "type": "string"
              },
              {
                "const": "github_repo",
                "type": "string"
              },
              {
                "const": "slack_thread",
                "type": "string"
              },
              {
                "const": "sentry_event",
                "type": "string"
              },
              {
                "const": "provider_thread",
                "type": "string"
              },
              {
                "const": "provider_event",
                "type": "string"
              },
              {
                "const": "provider_comment",
                "type": "string"
              },
              {
                "const": "tracking_item",
                "type": "string"
              },
              {
                "const": "change_request",
                "type": "string"
              },
              {
                "const": "repository",
                "type": "string"
              },
              {
                "const": "support_ticket",
                "type": "string"
              },
              {
                "const": "signal",
                "type": "string"
              },
              {
                "const": "act",
                "type": "string"
              },
              {
                "const": "receipt",
                "type": "string"
              },
              {
                "const": "graph_receipt",
                "type": "string"
              },
              {
                "const": "artifact",
                "type": "string"
              },
              {
                "const": "verification",
                "type": "string"
              },
              {
                "const": "harness",
                "type": "string"
              },
              {
                "const": "host",
                "type": "string"
              },
              {
                "const": "deployment",
                "type": "string"
              },
              {
                "const": "surface",
                "type": "string"
              },
              {
                "const": "target",
                "type": "string"
              },
              {
                "const": "opportunity",
                "type": "string"
              },
              {
                "const": "thesis_assessment",
                "type": "string"
              },
              {
                "const": "selection",
                "type": "string"
              },
              {
                "const": "skill_binding",
                "type": "string"
              },
              {
                "const": "target_transition_entry",
                "type": "string"
              },
              {
                "const": "selection_cycle",
                "type": "string"
              },
              {
                "const": "decision",
                "type": "string"
              },
              {
                "const": "reflection_entry",
                "type": "string"
              },
              {
                "const": "feed_entry",
                "type": "string"
              },
              {
                "const": "principal",
                "type": "string"
              },
              {
                "const": "authority_proof",
                "type": "string"
              },
              {
                "const": "scope_admission",
                "type": "string"
              },
              {
                "const": "grant",
                "type": "string"
              },
              {
                "const": "mandate",
                "type": "string"
              },
              {
                "const": "credential",
                "type": "string"
              },
              {
                "const": "webhook_delivery",
                "type": "string"
              },
              {
                "const": "redaction_policy",
                "type": "string"
              },
              {
                "const": "external_url",
                "type": "string"
              }
            ]
          },
          "uri": {
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "type",
          "uri"
        ],
        "type": "object",
        "x-runx-schema": "runx.reference.v1"
      },
      "policy_ref": {
        "$id": "https://schemas.runx.dev/runx/reference/v1.json",
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false,
        "properties": {
          "label": {
            "minLength": 1,
            "type": "string"
          },
          "locator": {
            "minLength": 1,
            "type": "string"
          },
          "observed_at": {
            "minLength": 1,
            "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
            "type": "string"
          },
          "proof_kind": {
            "anyOf": [
              {
                "const": "effect_evidence",
                "type": "string"
              },
              {
                "const": "effect_finality",
                "type": "string"
              },
              {
                "const": "credential_resolution",
                "type": "string"
              }
            ]
          },
          "provider": {
            "minLength": 1,
            "type": "string"
          },
          "schema": {
            "const": "runx.reference.v1",
            "type": "string"
          },
          "type": {
            "anyOf": [
              {
                "const": "github_issue",
                "type": "string"
              },
              {
                "const": "github_pull_request",
                "type": "string"
              },
              {
                "const": "github_repo",
                "type": "string"
              },
              {
                "const": "slack_thread",
                "type": "string"
              },
              {
                "const": "sentry_event",
                "type": "string"
              },
              {
                "const": "provider_thread",
                "type": "string"
              },
              {
                "const": "provider_event",
                "type": "string"
              },
              {
                "const": "provider_comment",
                "type": "string"
              },
              {
                "const": "tracking_item",
                "type": "string"
              },
              {
                "const": "change_request",
                "type": "string"
              },
              {
                "const": "repository",
                "type": "string"
              },
              {
                "const": "support_ticket",
                "type": "string"
              },
              {
                "const": "signal",
                "type": "string"
              },
              {
                "const": "act",
                "type": "string"
              },
              {
                "const": "receipt",
                "type": "string"
              },
              {
                "const": "graph_receipt",
                "type": "string"
              },
              {
                "const": "artifact",
                "type": "string"
              },
              {
                "const": "verification",
                "type": "string"
              },
              {
                "const": "harness",
                "type": "string"
              },
              {
                "const": "host",
                "type": "string"
              },
              {
                "const": "deployment",
                "type": "string"
              },
              {
                "const": "surface",
                "type": "string"
              },
              {
                "const": "target",
                "type": "string"
              },
              {
                "const": "opportunity",
                "type": "string"
              },
              {
                "const": "thesis_assessment",
                "type": "string"
              },
              {
                "const": "selection",
                "type": "string"
              },
              {
                "const": "skill_binding",
                "type": "string"
              },
              {
                "const": "target_transition_entry",
                "type": "string"
              },
              {
                "const": "selection_cycle",
                "type": "string"
              },
              {
                "const": "decision",
                "type": "string"
              },
              {
                "const": "reflection_entry",
                "type": "string"
              },
              {
                "const": "feed_entry",
                "type": "string"
              },
              {
                "const": "principal",
                "type": "string"
              },
              {
                "const": "authority_proof",
                "type": "string"
              },
              {
                "const": "scope_admission",
                "type": "string"
              },
              {
                "const": "grant",
                "type": "string"
              },
              {
                "const": "mandate",
                "type": "string"
              },
              {
                "const": "credential",
                "type": "string"
              },
              {
                "const": "webhook_delivery",
                "type": "string"
              },
              {
                "const": "redaction_policy",
                "type": "string"
              },
              {
                "const": "external_url",
                "type": "string"
              }
            ]
          },
          "uri": {
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "type",
          "uri"
        ],
        "type": "object",
        "x-runx-schema": "runx.reference.v1"
      },
      "redacted_fields": {
        "items": {
          "minLength": 1,
          "type": "string"
        },
        "type": "array"
      },
      "redaction_id": {
        "minLength": 1,
        "type": "string"
      },
      "schema": {
        "anyOf": [
          {
            "const": "runx.redaction.v1",
            "type": "string"
          }
        ]
      }
    },
    "required": [
      "schema",
      "redaction_id",
      "policy_ref",
      "canonicalization",
      "performed_by_ref",
      "performed_at"
    ],
    "type": "object",
    "x-runx-schema": "runx.redaction.v1"
  } as JsonSchema,
  "reference-link.schema.json": {
    "$id": "https://schemas.runx.dev/runx/reference-link/v1.json",
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "additionalProperties": false,
    "properties": {
      "ref": {
        "$id": "https://schemas.runx.dev/runx/reference/v1.json",
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false,
        "properties": {
          "label": {
            "minLength": 1,
            "type": "string"
          },
          "locator": {
            "minLength": 1,
            "type": "string"
          },
          "observed_at": {
            "minLength": 1,
            "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
            "type": "string"
          },
          "proof_kind": {
            "anyOf": [
              {
                "const": "effect_evidence",
                "type": "string"
              },
              {
                "const": "effect_finality",
                "type": "string"
              },
              {
                "const": "credential_resolution",
                "type": "string"
              }
            ]
          },
          "provider": {
            "minLength": 1,
            "type": "string"
          },
          "schema": {
            "const": "runx.reference.v1",
            "type": "string"
          },
          "type": {
            "anyOf": [
              {
                "const": "github_issue",
                "type": "string"
              },
              {
                "const": "github_pull_request",
                "type": "string"
              },
              {
                "const": "github_repo",
                "type": "string"
              },
              {
                "const": "slack_thread",
                "type": "string"
              },
              {
                "const": "sentry_event",
                "type": "string"
              },
              {
                "const": "provider_thread",
                "type": "string"
              },
              {
                "const": "provider_event",
                "type": "string"
              },
              {
                "const": "provider_comment",
                "type": "string"
              },
              {
                "const": "tracking_item",
                "type": "string"
              },
              {
                "const": "change_request",
                "type": "string"
              },
              {
                "const": "repository",
                "type": "string"
              },
              {
                "const": "support_ticket",
                "type": "string"
              },
              {
                "const": "signal",
                "type": "string"
              },
              {
                "const": "act",
                "type": "string"
              },
              {
                "const": "receipt",
                "type": "string"
              },
              {
                "const": "graph_receipt",
                "type": "string"
              },
              {
                "const": "artifact",
                "type": "string"
              },
              {
                "const": "verification",
                "type": "string"
              },
              {
                "const": "harness",
                "type": "string"
              },
              {
                "const": "host",
                "type": "string"
              },
              {
                "const": "deployment",
                "type": "string"
              },
              {
                "const": "surface",
                "type": "string"
              },
              {
                "const": "target",
                "type": "string"
              },
              {
                "const": "opportunity",
                "type": "string"
              },
              {
                "const": "thesis_assessment",
                "type": "string"
              },
              {
                "const": "selection",
                "type": "string"
              },
              {
                "const": "skill_binding",
                "type": "string"
              },
              {
                "const": "target_transition_entry",
                "type": "string"
              },
              {
                "const": "selection_cycle",
                "type": "string"
              },
              {
                "const": "decision",
                "type": "string"
              },
              {
                "const": "reflection_entry",
                "type": "string"
              },
              {
                "const": "feed_entry",
                "type": "string"
              },
              {
                "const": "principal",
                "type": "string"
              },
              {
                "const": "authority_proof",
                "type": "string"
              },
              {
                "const": "scope_admission",
                "type": "string"
              },
              {
                "const": "grant",
                "type": "string"
              },
              {
                "const": "mandate",
                "type": "string"
              },
              {
                "const": "credential",
                "type": "string"
              },
              {
                "const": "webhook_delivery",
                "type": "string"
              },
              {
                "const": "redaction_policy",
                "type": "string"
              },
              {
                "const": "external_url",
                "type": "string"
              }
            ]
          },
          "uri": {
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "type",
          "uri"
        ],
        "type": "object",
        "x-runx-schema": "runx.reference.v1"
      },
      "role": {
        "minLength": 1,
        "type": "string"
      },
      "schema": {
        "const": "runx.reference_link.v1",
        "type": "string"
      }
    },
    "required": [
      "role",
      "ref"
    ],
    "type": "object",
    "x-runx-schema": "runx.reference_link.v1"
  } as JsonSchema,
  "reference.schema.json": {
    "$id": "https://schemas.runx.dev/runx/reference/v1.json",
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "additionalProperties": false,
    "properties": {
      "label": {
        "minLength": 1,
        "type": "string"
      },
      "locator": {
        "minLength": 1,
        "type": "string"
      },
      "observed_at": {
        "minLength": 1,
        "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
        "type": "string"
      },
      "proof_kind": {
        "anyOf": [
          {
            "const": "effect_evidence",
            "type": "string"
          },
          {
            "const": "effect_finality",
            "type": "string"
          },
          {
            "const": "credential_resolution",
            "type": "string"
          }
        ]
      },
      "provider": {
        "minLength": 1,
        "type": "string"
      },
      "schema": {
        "const": "runx.reference.v1",
        "type": "string"
      },
      "type": {
        "anyOf": [
          {
            "const": "github_issue",
            "type": "string"
          },
          {
            "const": "github_pull_request",
            "type": "string"
          },
          {
            "const": "github_repo",
            "type": "string"
          },
          {
            "const": "slack_thread",
            "type": "string"
          },
          {
            "const": "sentry_event",
            "type": "string"
          },
          {
            "const": "provider_thread",
            "type": "string"
          },
          {
            "const": "provider_event",
            "type": "string"
          },
          {
            "const": "provider_comment",
            "type": "string"
          },
          {
            "const": "tracking_item",
            "type": "string"
          },
          {
            "const": "change_request",
            "type": "string"
          },
          {
            "const": "repository",
            "type": "string"
          },
          {
            "const": "support_ticket",
            "type": "string"
          },
          {
            "const": "signal",
            "type": "string"
          },
          {
            "const": "act",
            "type": "string"
          },
          {
            "const": "receipt",
            "type": "string"
          },
          {
            "const": "graph_receipt",
            "type": "string"
          },
          {
            "const": "artifact",
            "type": "string"
          },
          {
            "const": "verification",
            "type": "string"
          },
          {
            "const": "harness",
            "type": "string"
          },
          {
            "const": "host",
            "type": "string"
          },
          {
            "const": "deployment",
            "type": "string"
          },
          {
            "const": "surface",
            "type": "string"
          },
          {
            "const": "target",
            "type": "string"
          },
          {
            "const": "opportunity",
            "type": "string"
          },
          {
            "const": "thesis_assessment",
            "type": "string"
          },
          {
            "const": "selection",
            "type": "string"
          },
          {
            "const": "skill_binding",
            "type": "string"
          },
          {
            "const": "target_transition_entry",
            "type": "string"
          },
          {
            "const": "selection_cycle",
            "type": "string"
          },
          {
            "const": "decision",
            "type": "string"
          },
          {
            "const": "reflection_entry",
            "type": "string"
          },
          {
            "const": "feed_entry",
            "type": "string"
          },
          {
            "const": "principal",
            "type": "string"
          },
          {
            "const": "authority_proof",
            "type": "string"
          },
          {
            "const": "scope_admission",
            "type": "string"
          },
          {
            "const": "grant",
            "type": "string"
          },
          {
            "const": "mandate",
            "type": "string"
          },
          {
            "const": "credential",
            "type": "string"
          },
          {
            "const": "webhook_delivery",
            "type": "string"
          },
          {
            "const": "redaction_policy",
            "type": "string"
          },
          {
            "const": "external_url",
            "type": "string"
          }
        ]
      },
      "uri": {
        "minLength": 1,
        "type": "string"
      }
    },
    "required": [
      "type",
      "uri"
    ],
    "type": "object",
    "x-runx-schema": "runx.reference.v1"
  } as JsonSchema,
  "registry-binding.schema.json": {
    "$id": "https://runx.ai/schemas/registry-binding.schema.json",
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "additionalProperties": true,
    "properties": {
      "harness": {
        "additionalProperties": true,
        "properties": {
          "assertion_count": {
            "type": "number"
          },
          "case_count": {
            "type": "number"
          },
          "case_names": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "status": {
            "anyOf": [
              {
                "const": "pending",
                "type": "string"
              },
              {
                "const": "failed",
                "type": "string"
              },
              {
                "const": "harness_verified",
                "type": "string"
              }
            ]
          }
        },
        "required": [
          "status",
          "case_count"
        ],
        "type": "object"
      },
      "registry": {
        "additionalProperties": true,
        "properties": {
          "install_command": {
            "type": "string"
          },
          "materialized_package_is_registry_artifact": {
            "type": "boolean"
          },
          "owner": {
            "type": "string"
          },
          "profile_path": {
            "type": "string"
          },
          "run_command": {
            "type": "string"
          },
          "trust_tier": {
            "anyOf": [
              {
                "const": "first_party",
                "type": "string"
              },
              {
                "const": "verified",
                "type": "string"
              },
              {
                "const": "community",
                "type": "string"
              }
            ]
          },
          "version": {
            "type": "string"
          }
        },
        "required": [
          "owner",
          "trust_tier",
          "version",
          "profile_path",
          "materialized_package_is_registry_artifact"
        ],
        "type": "object"
      },
      "schema": {
        "anyOf": [
          {
            "const": "runx.registry_binding.v1",
            "type": "string"
          }
        ]
      },
      "skill": {
        "additionalProperties": true,
        "properties": {
          "description": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "name",
          "description"
        ],
        "type": "object"
      },
      "state": {
        "anyOf": [
          {
            "const": "registry_binding_drafted",
            "type": "string"
          },
          {
            "const": "registry_bound",
            "type": "string"
          },
          {
            "const": "harness_verified",
            "type": "string"
          },
          {
            "const": "published",
            "type": "string"
          }
        ]
      },
      "upstream": {
        "additionalProperties": true,
        "properties": {
          "blob_sha": {
            "type": "string"
          },
          "branch": {
            "type": "string"
          },
          "commit": {
            "type": "string"
          },
          "host": {
            "type": "string"
          },
          "html_url": {
            "type": "string"
          },
          "merged_at": {
            "type": "string"
          },
          "owner": {
            "type": "string"
          },
          "path": {
            "type": "string"
          },
          "pr_url": {
            "type": "string"
          },
          "raw_url": {
            "type": "string"
          },
          "repo": {
            "type": "string"
          },
          "source_of_truth": {
            "type": "boolean"
          }
        },
        "required": [
          "host",
          "owner",
          "repo",
          "path",
          "commit",
          "blob_sha",
          "source_of_truth"
        ],
        "type": "object"
      }
    },
    "required": [
      "schema",
      "state",
      "skill",
      "upstream",
      "registry",
      "harness"
    ],
    "type": "object"
  } as JsonSchema,
  "resolution-request.schema.json": {
    "$id": "https://runx.ai/spec/resolution-request.schema.json",
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "anyOf": [
      {
        "additionalProperties": false,
        "properties": {
          "id": {
            "minLength": 1,
            "type": "string"
          },
          "kind": {
            "const": "input",
            "type": "string"
          },
          "questions": {
            "items": {
              "$id": "https://runx.ai/spec/question.schema.json",
              "$schema": "https://json-schema.org/draft/2020-12/schema",
              "additionalProperties": false,
              "properties": {
                "description": {
                  "type": "string"
                },
                "id": {
                  "minLength": 1,
                  "type": "string"
                },
                "prompt": {
                  "minLength": 1,
                  "type": "string"
                },
                "required": {
                  "type": "boolean"
                },
                "type": {
                  "minLength": 1,
                  "type": "string"
                }
              },
              "required": [
                "id",
                "prompt",
                "required",
                "type"
              ],
              "type": "object"
            },
            "type": "array"
          }
        },
        "required": [
          "kind",
          "id",
          "questions"
        ],
        "type": "object"
      },
      {
        "additionalProperties": false,
        "properties": {
          "gate": {
            "$id": "https://runx.ai/spec/approval-gate.schema.json",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "additionalProperties": false,
            "properties": {
              "id": {
                "minLength": 1,
                "type": "string"
              },
              "reason": {
                "minLength": 1,
                "type": "string"
              },
              "summary": {
                "additionalProperties": {},
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "id",
              "reason"
            ],
            "type": "object"
          },
          "id": {
            "minLength": 1,
            "type": "string"
          },
          "kind": {
            "const": "approval",
            "type": "string"
          }
        },
        "required": [
          "kind",
          "id",
          "gate"
        ],
        "type": "object"
      },
      {
        "additionalProperties": false,
        "properties": {
          "id": {
            "minLength": 1,
            "type": "string"
          },
          "invocation": {
            "$id": "https://runx.ai/spec/agent-act-invocation.schema.json",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "additionalProperties": false,
            "properties": {
              "agent": {
                "minLength": 1,
                "type": "string"
              },
              "envelope": {
                "$id": "https://runx.ai/spec/agent-context-envelope.schema.json",
                "$schema": "https://json-schema.org/draft/2020-12/schema",
                "additionalProperties": false,
                "properties": {
                  "allowed_tools": {
                    "items": {
                      "minLength": 1,
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "context": {
                    "additionalProperties": false,
                    "properties": {
                      "conventions": {
                        "additionalProperties": false,
                        "properties": {
                          "content": {
                            "type": "string"
                          },
                          "path": {
                            "minLength": 1,
                            "type": "string"
                          },
                          "root_path": {
                            "minLength": 1,
                            "type": "string"
                          },
                          "sha256": {
                            "minLength": 1,
                            "type": "string"
                          }
                        },
                        "required": [
                          "root_path",
                          "path",
                          "sha256",
                          "content"
                        ],
                        "type": "object"
                      },
                      "memory": {
                        "additionalProperties": false,
                        "properties": {
                          "content": {
                            "type": "string"
                          },
                          "path": {
                            "minLength": 1,
                            "type": "string"
                          },
                          "root_path": {
                            "minLength": 1,
                            "type": "string"
                          },
                          "sha256": {
                            "minLength": 1,
                            "type": "string"
                          }
                        },
                        "required": [
                          "root_path",
                          "path",
                          "sha256",
                          "content"
                        ],
                        "type": "object"
                      }
                    },
                    "type": "object"
                  },
                  "current_context": {
                    "items": {
                      "additionalProperties": false,
                      "properties": {
                        "data": {
                          "additionalProperties": {},
                          "type": "object"
                        },
                        "meta": {
                          "additionalProperties": false,
                          "properties": {
                            "artifact_id": {
                              "minLength": 1,
                              "type": "string"
                            },
                            "created_at": {
                              "minLength": 1,
                              "type": "string"
                            },
                            "hash": {
                              "minLength": 1,
                              "type": "string"
                            },
                            "parent_artifact_id": {
                              "anyOf": [
                                {
                                  "minLength": 1,
                                  "type": "string"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "producer": {
                              "additionalProperties": false,
                              "properties": {
                                "runner": {
                                  "minLength": 1,
                                  "type": "string"
                                },
                                "skill": {
                                  "minLength": 1,
                                  "type": "string"
                                }
                              },
                              "required": [
                                "skill",
                                "runner"
                              ],
                              "type": "object"
                            },
                            "receipt_id": {
                              "anyOf": [
                                {
                                  "minLength": 1,
                                  "type": "string"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "redacted": {
                              "type": "boolean"
                            },
                            "run_id": {
                              "minLength": 1,
                              "type": "string"
                            },
                            "size_bytes": {
                              "type": "integer"
                            },
                            "step_id": {
                              "anyOf": [
                                {
                                  "minLength": 1,
                                  "type": "string"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            }
                          },
                          "required": [
                            "artifact_id",
                            "run_id",
                            "step_id",
                            "producer",
                            "created_at",
                            "hash",
                            "size_bytes",
                            "parent_artifact_id",
                            "receipt_id",
                            "redacted"
                          ],
                          "type": "object"
                        },
                        "type": {
                          "anyOf": [
                            {
                              "minLength": 1,
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "version": {
                          "anyOf": [
                            {
                              "const": "1",
                              "type": "string"
                            }
                          ]
                        }
                      },
                      "required": [
                        "type",
                        "version",
                        "data",
                        "meta"
                      ],
                      "type": "object"
                    },
                    "type": "array"
                  },
                  "execution_location": {
                    "additionalProperties": false,
                    "properties": {
                      "skill_directory": {
                        "minLength": 1,
                        "type": "string"
                      },
                      "tool_roots": {
                        "items": {
                          "minLength": 1,
                          "type": "string"
                        },
                        "type": "array"
                      }
                    },
                    "required": [
                      "skill_directory"
                    ],
                    "type": "object"
                  },
                  "historical_context": {
                    "items": {
                      "additionalProperties": false,
                      "properties": {
                        "data": {
                          "additionalProperties": {},
                          "type": "object"
                        },
                        "meta": {
                          "additionalProperties": false,
                          "properties": {
                            "artifact_id": {
                              "minLength": 1,
                              "type": "string"
                            },
                            "created_at": {
                              "minLength": 1,
                              "type": "string"
                            },
                            "hash": {
                              "minLength": 1,
                              "type": "string"
                            },
                            "parent_artifact_id": {
                              "anyOf": [
                                {
                                  "minLength": 1,
                                  "type": "string"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "producer": {
                              "additionalProperties": false,
                              "properties": {
                                "runner": {
                                  "minLength": 1,
                                  "type": "string"
                                },
                                "skill": {
                                  "minLength": 1,
                                  "type": "string"
                                }
                              },
                              "required": [
                                "skill",
                                "runner"
                              ],
                              "type": "object"
                            },
                            "receipt_id": {
                              "anyOf": [
                                {
                                  "minLength": 1,
                                  "type": "string"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "redacted": {
                              "type": "boolean"
                            },
                            "run_id": {
                              "minLength": 1,
                              "type": "string"
                            },
                            "size_bytes": {
                              "type": "integer"
                            },
                            "step_id": {
                              "anyOf": [
                                {
                                  "minLength": 1,
                                  "type": "string"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            }
                          },
                          "required": [
                            "artifact_id",
                            "run_id",
                            "step_id",
                            "producer",
                            "created_at",
                            "hash",
                            "size_bytes",
                            "parent_artifact_id",
                            "receipt_id",
                            "redacted"
                          ],
                          "type": "object"
                        },
                        "type": {
                          "anyOf": [
                            {
                              "minLength": 1,
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "version": {
                          "anyOf": [
                            {
                              "const": "1",
                              "type": "string"
                            }
                          ]
                        }
                      },
                      "required": [
                        "type",
                        "version",
                        "data",
                        "meta"
                      ],
                      "type": "object"
                    },
                    "type": "array"
                  },
                  "inputs": {
                    "additionalProperties": {},
                    "type": "object"
                  },
                  "instructions": {
                    "minLength": 1,
                    "type": "string"
                  },
                  "output": {
                    "additionalProperties": {
                      "anyOf": [
                        {
                          "anyOf": [
                            {
                              "const": "string",
                              "type": "string"
                            },
                            {
                              "const": "number",
                              "type": "string"
                            },
                            {
                              "const": "integer",
                              "type": "string"
                            },
                            {
                              "const": "boolean",
                              "type": "string"
                            },
                            {
                              "const": "array",
                              "type": "string"
                            },
                            {
                              "const": "object",
                              "type": "string"
                            },
                            {
                              "const": "null",
                              "type": "string"
                            }
                          ]
                        },
                        {
                          "additionalProperties": false,
                          "properties": {
                            "description": {
                              "type": "string"
                            },
                            "enum": {
                              "items": {
                                "type": "string"
                              },
                              "type": "array"
                            },
                            "required": {
                              "type": "boolean"
                            },
                            "type": {
                              "anyOf": [
                                {
                                  "const": "string",
                                  "type": "string"
                                },
                                {
                                  "const": "number",
                                  "type": "string"
                                },
                                {
                                  "const": "integer",
                                  "type": "string"
                                },
                                {
                                  "const": "boolean",
                                  "type": "string"
                                },
                                {
                                  "const": "array",
                                  "type": "string"
                                },
                                {
                                  "const": "object",
                                  "type": "string"
                                },
                                {
                                  "const": "null",
                                  "type": "string"
                                }
                              ]
                            },
                            "wrap_as": {
                              "minLength": 1,
                              "type": "string"
                            }
                          },
                          "type": "object"
                        }
                      ]
                    },
                    "type": "object"
                  },
                  "provenance": {
                    "items": {
                      "additionalProperties": false,
                      "properties": {
                        "artifact_id": {
                          "type": "string"
                        },
                        "from_step": {
                          "type": "string"
                        },
                        "input": {
                          "minLength": 1,
                          "type": "string"
                        },
                        "output": {
                          "minLength": 1,
                          "type": "string"
                        },
                        "receipt_id": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "input",
                        "output"
                      ],
                      "type": "object"
                    },
                    "type": "array"
                  },
                  "quality_profile": {
                    "additionalProperties": false,
                    "properties": {
                      "content": {
                        "type": "string"
                      },
                      "sha256": {
                        "minLength": 1,
                        "type": "string"
                      },
                      "source": {
                        "anyOf": [
                          {
                            "const": "SKILL.md#quality-profile",
                            "type": "string"
                          }
                        ]
                      }
                    },
                    "required": [
                      "source",
                      "sha256",
                      "content"
                    ],
                    "type": "object"
                  },
                  "run_id": {
                    "minLength": 1,
                    "type": "string"
                  },
                  "skill": {
                    "minLength": 1,
                    "type": "string"
                  },
                  "step_id": {
                    "minLength": 1,
                    "type": "string"
                  },
                  "trust_boundary": {
                    "minLength": 1,
                    "type": "string"
                  },
                  "voice_profile": {
                    "additionalProperties": false,
                    "properties": {
                      "content": {
                        "type": "string"
                      },
                      "path": {
                        "minLength": 1,
                        "type": "string"
                      },
                      "root_path": {
                        "minLength": 1,
                        "type": "string"
                      },
                      "sha256": {
                        "minLength": 1,
                        "type": "string"
                      }
                    },
                    "required": [
                      "root_path",
                      "path",
                      "sha256",
                      "content"
                    ],
                    "type": "object"
                  }
                },
                "required": [
                  "run_id",
                  "skill",
                  "instructions",
                  "inputs",
                  "allowed_tools",
                  "current_context",
                  "historical_context",
                  "provenance",
                  "trust_boundary"
                ],
                "type": "object"
              },
              "id": {
                "minLength": 1,
                "type": "string"
              },
              "source_type": {
                "anyOf": [
                  {
                    "const": "agent",
                    "type": "string"
                  },
                  {
                    "const": "agent-task",
                    "type": "string"
                  }
                ]
              },
              "task": {
                "minLength": 1,
                "type": "string"
              }
            },
            "required": [
              "id",
              "source_type",
              "envelope"
            ],
            "type": "object"
          },
          "kind": {
            "const": "agent_act",
            "type": "string"
          }
        },
        "required": [
          "kind",
          "id",
          "invocation"
        ],
        "type": "object"
      }
    ]
  } as JsonSchema,
  "resolution-response.schema.json": {
    "$id": "https://runx.ai/spec/resolution-response.schema.json",
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "additionalProperties": false,
    "properties": {
      "actor": {
        "anyOf": [
          {
            "const": "human",
            "type": "string"
          },
          {
            "const": "agent",
            "type": "string"
          }
        ]
      },
      "payload": {}
    },
    "required": [
      "actor",
      "payload"
    ],
    "type": "object"
  } as JsonSchema,
  "review-receipt-output.schema.json": {
    "$id": "https://runx.ai/schemas/review-receipt-output.schema.json",
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "additionalProperties": true,
    "properties": {
      "failure_summary": {
        "type": "string"
      },
      "improvement_proposals": {
        "items": {
          "additionalProperties": true,
          "properties": {
            "change": {
              "type": "string"
            },
            "rationale": {
              "type": "string"
            },
            "risk": {
              "type": "string"
            },
            "target": {
              "type": "string"
            }
          },
          "required": [
            "target",
            "change"
          ],
          "type": "object"
        },
        "type": "array"
      },
      "next_harness_checks": {
        "items": {
          "type": "string"
        },
        "type": "array"
      },
      "verdict": {
        "anyOf": [
          {
            "const": "pass",
            "type": "string"
          },
          {
            "const": "needs_update",
            "type": "string"
          },
          {
            "const": "blocked",
            "type": "string"
          }
        ]
      }
    },
    "required": [
      "verdict",
      "failure_summary",
      "improvement_proposals",
      "next_harness_checks"
    ],
    "type": "object"
  } as JsonSchema,
  "run-summary.schema.json": {
    "$id": "https://schemas.runx.dev/runx/run-summary/v1.json",
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "additionalProperties": false,
    "properties": {
      "command": {
        "type": "string"
      },
      "finished_at": {
        "type": "string"
      },
      "receipt_ref": {
        "type": "string"
      },
      "root": {
        "type": "string"
      },
      "run_id": {
        "type": "string"
      },
      "schema": {
        "anyOf": [
          {
            "const": "runx.run-summary.v1",
            "type": "string"
          }
        ]
      },
      "started_at": {
        "type": "string"
      },
      "status": {
        "anyOf": [
          {
            "const": "success",
            "type": "string"
          },
          {
            "const": "failure",
            "type": "string"
          },
          {
            "const": "skipped",
            "type": "string"
          },
          {
            "const": "needs_approval",
            "type": "string"
          }
        ]
      },
      "steps": {
        "items": {
          "additionalProperties": {},
          "type": "object"
        },
        "type": "array"
      },
      "unit": {
        "additionalProperties": {},
        "type": "object"
      }
    },
    "required": [
      "schema",
      "run_id",
      "command",
      "status",
      "started_at",
      "root",
      "steps"
    ],
    "type": "object",
    "x-runx-schema": "runx.run-summary.v1"
  } as JsonSchema,
  "scope-admission.schema.json": {
    "$id": "https://runx.ai/spec/scope-admission.schema.json",
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "additionalProperties": false,
    "properties": {
      "decision_summary": {
        "type": "string"
      },
      "grant_id": {
        "minLength": 1,
        "type": "string"
      },
      "granted_scopes": {
        "items": {
          "minLength": 1,
          "type": "string"
        },
        "type": "array"
      },
      "reasons": {
        "items": {
          "minLength": 1,
          "type": "string"
        },
        "type": "array"
      },
      "requested_scopes": {
        "items": {
          "minLength": 1,
          "type": "string"
        },
        "type": "array"
      },
      "status": {
        "anyOf": [
          {
            "const": "allow",
            "type": "string"
          },
          {
            "const": "deny",
            "type": "string"
          }
        ]
      }
    },
    "required": [
      "status",
      "requested_scopes",
      "granted_scopes"
    ],
    "type": "object"
  } as JsonSchema,
  "signal.schema.json": {
    "$id": "https://schemas.runx.dev/runx/signal/v1.json",
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "additionalProperties": false,
    "properties": {
      "authenticity": {
        "additionalProperties": false,
        "properties": {
          "evidence_refs": {
            "items": {
              "$id": "https://schemas.runx.dev/runx/reference/v1.json",
              "$schema": "https://json-schema.org/draft/2020-12/schema",
              "additionalProperties": false,
              "properties": {
                "label": {
                  "minLength": 1,
                  "type": "string"
                },
                "locator": {
                  "minLength": 1,
                  "type": "string"
                },
                "observed_at": {
                  "minLength": 1,
                  "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
                  "type": "string"
                },
                "proof_kind": {
                  "anyOf": [
                    {
                      "const": "effect_evidence",
                      "type": "string"
                    },
                    {
                      "const": "effect_finality",
                      "type": "string"
                    },
                    {
                      "const": "credential_resolution",
                      "type": "string"
                    }
                  ]
                },
                "provider": {
                  "minLength": 1,
                  "type": "string"
                },
                "schema": {
                  "const": "runx.reference.v1",
                  "type": "string"
                },
                "type": {
                  "anyOf": [
                    {
                      "const": "github_issue",
                      "type": "string"
                    },
                    {
                      "const": "github_pull_request",
                      "type": "string"
                    },
                    {
                      "const": "github_repo",
                      "type": "string"
                    },
                    {
                      "const": "slack_thread",
                      "type": "string"
                    },
                    {
                      "const": "sentry_event",
                      "type": "string"
                    },
                    {
                      "const": "provider_thread",
                      "type": "string"
                    },
                    {
                      "const": "provider_event",
                      "type": "string"
                    },
                    {
                      "const": "provider_comment",
                      "type": "string"
                    },
                    {
                      "const": "tracking_item",
                      "type": "string"
                    },
                    {
                      "const": "change_request",
                      "type": "string"
                    },
                    {
                      "const": "repository",
                      "type": "string"
                    },
                    {
                      "const": "support_ticket",
                      "type": "string"
                    },
                    {
                      "const": "signal",
                      "type": "string"
                    },
                    {
                      "const": "act",
                      "type": "string"
                    },
                    {
                      "const": "receipt",
                      "type": "string"
                    },
                    {
                      "const": "graph_receipt",
                      "type": "string"
                    },
                    {
                      "const": "artifact",
                      "type": "string"
                    },
                    {
                      "const": "verification",
                      "type": "string"
                    },
                    {
                      "const": "harness",
                      "type": "string"
                    },
                    {
                      "const": "host",
                      "type": "string"
                    },
                    {
                      "const": "deployment",
                      "type": "string"
                    },
                    {
                      "const": "surface",
                      "type": "string"
                    },
                    {
                      "const": "target",
                      "type": "string"
                    },
                    {
                      "const": "opportunity",
                      "type": "string"
                    },
                    {
                      "const": "thesis_assessment",
                      "type": "string"
                    },
                    {
                      "const": "selection",
                      "type": "string"
                    },
                    {
                      "const": "skill_binding",
                      "type": "string"
                    },
                    {
                      "const": "target_transition_entry",
                      "type": "string"
                    },
                    {
                      "const": "selection_cycle",
                      "type": "string"
                    },
                    {
                      "const": "decision",
                      "type": "string"
                    },
                    {
                      "const": "reflection_entry",
                      "type": "string"
                    },
                    {
                      "const": "feed_entry",
                      "type": "string"
                    },
                    {
                      "const": "principal",
                      "type": "string"
                    },
                    {
                      "const": "authority_proof",
                      "type": "string"
                    },
                    {
                      "const": "scope_admission",
                      "type": "string"
                    },
                    {
                      "const": "grant",
                      "type": "string"
                    },
                    {
                      "const": "mandate",
                      "type": "string"
                    },
                    {
                      "const": "credential",
                      "type": "string"
                    },
                    {
                      "const": "webhook_delivery",
                      "type": "string"
                    },
                    {
                      "const": "redaction_policy",
                      "type": "string"
                    },
                    {
                      "const": "external_url",
                      "type": "string"
                    }
                  ]
                },
                "uri": {
                  "minLength": 1,
                  "type": "string"
                }
              },
              "required": [
                "type",
                "uri"
              ],
              "type": "object",
              "x-runx-schema": "runx.reference.v1"
            },
            "type": "array"
          },
          "host_ref": {
            "$id": "https://schemas.runx.dev/runx/reference/v1.json",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "additionalProperties": false,
            "properties": {
              "label": {
                "minLength": 1,
                "type": "string"
              },
              "locator": {
                "minLength": 1,
                "type": "string"
              },
              "observed_at": {
                "minLength": 1,
                "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
                "type": "string"
              },
              "proof_kind": {
                "anyOf": [
                  {
                    "const": "effect_evidence",
                    "type": "string"
                  },
                  {
                    "const": "effect_finality",
                    "type": "string"
                  },
                  {
                    "const": "credential_resolution",
                    "type": "string"
                  }
                ]
              },
              "provider": {
                "minLength": 1,
                "type": "string"
              },
              "schema": {
                "const": "runx.reference.v1",
                "type": "string"
              },
              "type": {
                "anyOf": [
                  {
                    "const": "github_issue",
                    "type": "string"
                  },
                  {
                    "const": "github_pull_request",
                    "type": "string"
                  },
                  {
                    "const": "github_repo",
                    "type": "string"
                  },
                  {
                    "const": "slack_thread",
                    "type": "string"
                  },
                  {
                    "const": "sentry_event",
                    "type": "string"
                  },
                  {
                    "const": "provider_thread",
                    "type": "string"
                  },
                  {
                    "const": "provider_event",
                    "type": "string"
                  },
                  {
                    "const": "provider_comment",
                    "type": "string"
                  },
                  {
                    "const": "tracking_item",
                    "type": "string"
                  },
                  {
                    "const": "change_request",
                    "type": "string"
                  },
                  {
                    "const": "repository",
                    "type": "string"
                  },
                  {
                    "const": "support_ticket",
                    "type": "string"
                  },
                  {
                    "const": "signal",
                    "type": "string"
                  },
                  {
                    "const": "act",
                    "type": "string"
                  },
                  {
                    "const": "receipt",
                    "type": "string"
                  },
                  {
                    "const": "graph_receipt",
                    "type": "string"
                  },
                  {
                    "const": "artifact",
                    "type": "string"
                  },
                  {
                    "const": "verification",
                    "type": "string"
                  },
                  {
                    "const": "harness",
                    "type": "string"
                  },
                  {
                    "const": "host",
                    "type": "string"
                  },
                  {
                    "const": "deployment",
                    "type": "string"
                  },
                  {
                    "const": "surface",
                    "type": "string"
                  },
                  {
                    "const": "target",
                    "type": "string"
                  },
                  {
                    "const": "opportunity",
                    "type": "string"
                  },
                  {
                    "const": "thesis_assessment",
                    "type": "string"
                  },
                  {
                    "const": "selection",
                    "type": "string"
                  },
                  {
                    "const": "skill_binding",
                    "type": "string"
                  },
                  {
                    "const": "target_transition_entry",
                    "type": "string"
                  },
                  {
                    "const": "selection_cycle",
                    "type": "string"
                  },
                  {
                    "const": "decision",
                    "type": "string"
                  },
                  {
                    "const": "reflection_entry",
                    "type": "string"
                  },
                  {
                    "const": "feed_entry",
                    "type": "string"
                  },
                  {
                    "const": "principal",
                    "type": "string"
                  },
                  {
                    "const": "authority_proof",
                    "type": "string"
                  },
                  {
                    "const": "scope_admission",
                    "type": "string"
                  },
                  {
                    "const": "grant",
                    "type": "string"
                  },
                  {
                    "const": "mandate",
                    "type": "string"
                  },
                  {
                    "const": "credential",
                    "type": "string"
                  },
                  {
                    "const": "webhook_delivery",
                    "type": "string"
                  },
                  {
                    "const": "redaction_policy",
                    "type": "string"
                  },
                  {
                    "const": "external_url",
                    "type": "string"
                  }
                ]
              },
              "uri": {
                "minLength": 1,
                "type": "string"
              }
            },
            "required": [
              "type",
              "uri"
            ],
            "type": "object",
            "x-runx-schema": "runx.reference.v1"
          },
          "principal_ref": {
            "$id": "https://schemas.runx.dev/runx/reference/v1.json",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "additionalProperties": false,
            "properties": {
              "label": {
                "minLength": 1,
                "type": "string"
              },
              "locator": {
                "minLength": 1,
                "type": "string"
              },
              "observed_at": {
                "minLength": 1,
                "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
                "type": "string"
              },
              "proof_kind": {
                "anyOf": [
                  {
                    "const": "effect_evidence",
                    "type": "string"
                  },
                  {
                    "const": "effect_finality",
                    "type": "string"
                  },
                  {
                    "const": "credential_resolution",
                    "type": "string"
                  }
                ]
              },
              "provider": {
                "minLength": 1,
                "type": "string"
              },
              "schema": {
                "const": "runx.reference.v1",
                "type": "string"
              },
              "type": {
                "anyOf": [
                  {
                    "const": "github_issue",
                    "type": "string"
                  },
                  {
                    "const": "github_pull_request",
                    "type": "string"
                  },
                  {
                    "const": "github_repo",
                    "type": "string"
                  },
                  {
                    "const": "slack_thread",
                    "type": "string"
                  },
                  {
                    "const": "sentry_event",
                    "type": "string"
                  },
                  {
                    "const": "provider_thread",
                    "type": "string"
                  },
                  {
                    "const": "provider_event",
                    "type": "string"
                  },
                  {
                    "const": "provider_comment",
                    "type": "string"
                  },
                  {
                    "const": "tracking_item",
                    "type": "string"
                  },
                  {
                    "const": "change_request",
                    "type": "string"
                  },
                  {
                    "const": "repository",
                    "type": "string"
                  },
                  {
                    "const": "support_ticket",
                    "type": "string"
                  },
                  {
                    "const": "signal",
                    "type": "string"
                  },
                  {
                    "const": "act",
                    "type": "string"
                  },
                  {
                    "const": "receipt",
                    "type": "string"
                  },
                  {
                    "const": "graph_receipt",
                    "type": "string"
                  },
                  {
                    "const": "artifact",
                    "type": "string"
                  },
                  {
                    "const": "verification",
                    "type": "string"
                  },
                  {
                    "const": "harness",
                    "type": "string"
                  },
                  {
                    "const": "host",
                    "type": "string"
                  },
                  {
                    "const": "deployment",
                    "type": "string"
                  },
                  {
                    "const": "surface",
                    "type": "string"
                  },
                  {
                    "const": "target",
                    "type": "string"
                  },
                  {
                    "const": "opportunity",
                    "type": "string"
                  },
                  {
                    "const": "thesis_assessment",
                    "type": "string"
                  },
                  {
                    "const": "selection",
                    "type": "string"
                  },
                  {
                    "const": "skill_binding",
                    "type": "string"
                  },
                  {
                    "const": "target_transition_entry",
                    "type": "string"
                  },
                  {
                    "const": "selection_cycle",
                    "type": "string"
                  },
                  {
                    "const": "decision",
                    "type": "string"
                  },
                  {
                    "const": "reflection_entry",
                    "type": "string"
                  },
                  {
                    "const": "feed_entry",
                    "type": "string"
                  },
                  {
                    "const": "principal",
                    "type": "string"
                  },
                  {
                    "const": "authority_proof",
                    "type": "string"
                  },
                  {
                    "const": "scope_admission",
                    "type": "string"
                  },
                  {
                    "const": "grant",
                    "type": "string"
                  },
                  {
                    "const": "mandate",
                    "type": "string"
                  },
                  {
                    "const": "credential",
                    "type": "string"
                  },
                  {
                    "const": "webhook_delivery",
                    "type": "string"
                  },
                  {
                    "const": "redaction_policy",
                    "type": "string"
                  },
                  {
                    "const": "external_url",
                    "type": "string"
                  }
                ]
              },
              "uri": {
                "minLength": 1,
                "type": "string"
              }
            },
            "required": [
              "type",
              "uri"
            ],
            "type": "object",
            "x-runx-schema": "runx.reference.v1"
          },
          "signature_refs": {
            "items": {
              "$id": "https://schemas.runx.dev/runx/reference/v1.json",
              "$schema": "https://json-schema.org/draft/2020-12/schema",
              "additionalProperties": false,
              "properties": {
                "label": {
                  "minLength": 1,
                  "type": "string"
                },
                "locator": {
                  "minLength": 1,
                  "type": "string"
                },
                "observed_at": {
                  "minLength": 1,
                  "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
                  "type": "string"
                },
                "proof_kind": {
                  "anyOf": [
                    {
                      "const": "effect_evidence",
                      "type": "string"
                    },
                    {
                      "const": "effect_finality",
                      "type": "string"
                    },
                    {
                      "const": "credential_resolution",
                      "type": "string"
                    }
                  ]
                },
                "provider": {
                  "minLength": 1,
                  "type": "string"
                },
                "schema": {
                  "const": "runx.reference.v1",
                  "type": "string"
                },
                "type": {
                  "anyOf": [
                    {
                      "const": "github_issue",
                      "type": "string"
                    },
                    {
                      "const": "github_pull_request",
                      "type": "string"
                    },
                    {
                      "const": "github_repo",
                      "type": "string"
                    },
                    {
                      "const": "slack_thread",
                      "type": "string"
                    },
                    {
                      "const": "sentry_event",
                      "type": "string"
                    },
                    {
                      "const": "provider_thread",
                      "type": "string"
                    },
                    {
                      "const": "provider_event",
                      "type": "string"
                    },
                    {
                      "const": "provider_comment",
                      "type": "string"
                    },
                    {
                      "const": "tracking_item",
                      "type": "string"
                    },
                    {
                      "const": "change_request",
                      "type": "string"
                    },
                    {
                      "const": "repository",
                      "type": "string"
                    },
                    {
                      "const": "support_ticket",
                      "type": "string"
                    },
                    {
                      "const": "signal",
                      "type": "string"
                    },
                    {
                      "const": "act",
                      "type": "string"
                    },
                    {
                      "const": "receipt",
                      "type": "string"
                    },
                    {
                      "const": "graph_receipt",
                      "type": "string"
                    },
                    {
                      "const": "artifact",
                      "type": "string"
                    },
                    {
                      "const": "verification",
                      "type": "string"
                    },
                    {
                      "const": "harness",
                      "type": "string"
                    },
                    {
                      "const": "host",
                      "type": "string"
                    },
                    {
                      "const": "deployment",
                      "type": "string"
                    },
                    {
                      "const": "surface",
                      "type": "string"
                    },
                    {
                      "const": "target",
                      "type": "string"
                    },
                    {
                      "const": "opportunity",
                      "type": "string"
                    },
                    {
                      "const": "thesis_assessment",
                      "type": "string"
                    },
                    {
                      "const": "selection",
                      "type": "string"
                    },
                    {
                      "const": "skill_binding",
                      "type": "string"
                    },
                    {
                      "const": "target_transition_entry",
                      "type": "string"
                    },
                    {
                      "const": "selection_cycle",
                      "type": "string"
                    },
                    {
                      "const": "decision",
                      "type": "string"
                    },
                    {
                      "const": "reflection_entry",
                      "type": "string"
                    },
                    {
                      "const": "feed_entry",
                      "type": "string"
                    },
                    {
                      "const": "principal",
                      "type": "string"
                    },
                    {
                      "const": "authority_proof",
                      "type": "string"
                    },
                    {
                      "const": "scope_admission",
                      "type": "string"
                    },
                    {
                      "const": "grant",
                      "type": "string"
                    },
                    {
                      "const": "mandate",
                      "type": "string"
                    },
                    {
                      "const": "credential",
                      "type": "string"
                    },
                    {
                      "const": "webhook_delivery",
                      "type": "string"
                    },
                    {
                      "const": "redaction_policy",
                      "type": "string"
                    },
                    {
                      "const": "external_url",
                      "type": "string"
                    }
                  ]
                },
                "uri": {
                  "minLength": 1,
                  "type": "string"
                }
              },
              "required": [
                "type",
                "uri"
              ],
              "type": "object",
              "x-runx-schema": "runx.reference.v1"
            },
            "type": "array"
          },
          "trust_level": {
            "anyOf": [
              {
                "const": "unverified",
                "type": "string"
              },
              {
                "const": "observed",
                "type": "string"
              },
              {
                "const": "verified_delivery",
                "type": "string"
              },
              {
                "const": "verified_signature",
                "type": "string"
              },
              {
                "const": "operator_attested",
                "type": "string"
              }
            ]
          },
          "verified_at": {
            "minLength": 1,
            "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
            "type": "string"
          },
          "verified_by_ref": {
            "$id": "https://schemas.runx.dev/runx/reference/v1.json",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "additionalProperties": false,
            "properties": {
              "label": {
                "minLength": 1,
                "type": "string"
              },
              "locator": {
                "minLength": 1,
                "type": "string"
              },
              "observed_at": {
                "minLength": 1,
                "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
                "type": "string"
              },
              "proof_kind": {
                "anyOf": [
                  {
                    "const": "effect_evidence",
                    "type": "string"
                  },
                  {
                    "const": "effect_finality",
                    "type": "string"
                  },
                  {
                    "const": "credential_resolution",
                    "type": "string"
                  }
                ]
              },
              "provider": {
                "minLength": 1,
                "type": "string"
              },
              "schema": {
                "const": "runx.reference.v1",
                "type": "string"
              },
              "type": {
                "anyOf": [
                  {
                    "const": "github_issue",
                    "type": "string"
                  },
                  {
                    "const": "github_pull_request",
                    "type": "string"
                  },
                  {
                    "const": "github_repo",
                    "type": "string"
                  },
                  {
                    "const": "slack_thread",
                    "type": "string"
                  },
                  {
                    "const": "sentry_event",
                    "type": "string"
                  },
                  {
                    "const": "provider_thread",
                    "type": "string"
                  },
                  {
                    "const": "provider_event",
                    "type": "string"
                  },
                  {
                    "const": "provider_comment",
                    "type": "string"
                  },
                  {
                    "const": "tracking_item",
                    "type": "string"
                  },
                  {
                    "const": "change_request",
                    "type": "string"
                  },
                  {
                    "const": "repository",
                    "type": "string"
                  },
                  {
                    "const": "support_ticket",
                    "type": "string"
                  },
                  {
                    "const": "signal",
                    "type": "string"
                  },
                  {
                    "const": "act",
                    "type": "string"
                  },
                  {
                    "const": "receipt",
                    "type": "string"
                  },
                  {
                    "const": "graph_receipt",
                    "type": "string"
                  },
                  {
                    "const": "artifact",
                    "type": "string"
                  },
                  {
                    "const": "verification",
                    "type": "string"
                  },
                  {
                    "const": "harness",
                    "type": "string"
                  },
                  {
                    "const": "host",
                    "type": "string"
                  },
                  {
                    "const": "deployment",
                    "type": "string"
                  },
                  {
                    "const": "surface",
                    "type": "string"
                  },
                  {
                    "const": "target",
                    "type": "string"
                  },
                  {
                    "const": "opportunity",
                    "type": "string"
                  },
                  {
                    "const": "thesis_assessment",
                    "type": "string"
                  },
                  {
                    "const": "selection",
                    "type": "string"
                  },
                  {
                    "const": "skill_binding",
                    "type": "string"
                  },
                  {
                    "const": "target_transition_entry",
                    "type": "string"
                  },
                  {
                    "const": "selection_cycle",
                    "type": "string"
                  },
                  {
                    "const": "decision",
                    "type": "string"
                  },
                  {
                    "const": "reflection_entry",
                    "type": "string"
                  },
                  {
                    "const": "feed_entry",
                    "type": "string"
                  },
                  {
                    "const": "principal",
                    "type": "string"
                  },
                  {
                    "const": "authority_proof",
                    "type": "string"
                  },
                  {
                    "const": "scope_admission",
                    "type": "string"
                  },
                  {
                    "const": "grant",
                    "type": "string"
                  },
                  {
                    "const": "mandate",
                    "type": "string"
                  },
                  {
                    "const": "credential",
                    "type": "string"
                  },
                  {
                    "const": "webhook_delivery",
                    "type": "string"
                  },
                  {
                    "const": "redaction_policy",
                    "type": "string"
                  },
                  {
                    "const": "external_url",
                    "type": "string"
                  }
                ]
              },
              "uri": {
                "minLength": 1,
                "type": "string"
              }
            },
            "required": [
              "type",
              "uri"
            ],
            "type": "object",
            "x-runx-schema": "runx.reference.v1"
          }
        },
        "required": [
          "host_ref",
          "trust_level"
        ],
        "type": "object"
      },
      "body_preview": {
        "minLength": 1,
        "type": "string"
      },
      "evidence_refs": {
        "items": {
          "$id": "https://schemas.runx.dev/runx/reference/v1.json",
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "additionalProperties": false,
          "properties": {
            "label": {
              "minLength": 1,
              "type": "string"
            },
            "locator": {
              "minLength": 1,
              "type": "string"
            },
            "observed_at": {
              "minLength": 1,
              "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
              "type": "string"
            },
            "proof_kind": {
              "anyOf": [
                {
                  "const": "effect_evidence",
                  "type": "string"
                },
                {
                  "const": "effect_finality",
                  "type": "string"
                },
                {
                  "const": "credential_resolution",
                  "type": "string"
                }
              ]
            },
            "provider": {
              "minLength": 1,
              "type": "string"
            },
            "schema": {
              "const": "runx.reference.v1",
              "type": "string"
            },
            "type": {
              "anyOf": [
                {
                  "const": "github_issue",
                  "type": "string"
                },
                {
                  "const": "github_pull_request",
                  "type": "string"
                },
                {
                  "const": "github_repo",
                  "type": "string"
                },
                {
                  "const": "slack_thread",
                  "type": "string"
                },
                {
                  "const": "sentry_event",
                  "type": "string"
                },
                {
                  "const": "provider_thread",
                  "type": "string"
                },
                {
                  "const": "provider_event",
                  "type": "string"
                },
                {
                  "const": "provider_comment",
                  "type": "string"
                },
                {
                  "const": "tracking_item",
                  "type": "string"
                },
                {
                  "const": "change_request",
                  "type": "string"
                },
                {
                  "const": "repository",
                  "type": "string"
                },
                {
                  "const": "support_ticket",
                  "type": "string"
                },
                {
                  "const": "signal",
                  "type": "string"
                },
                {
                  "const": "act",
                  "type": "string"
                },
                {
                  "const": "receipt",
                  "type": "string"
                },
                {
                  "const": "graph_receipt",
                  "type": "string"
                },
                {
                  "const": "artifact",
                  "type": "string"
                },
                {
                  "const": "verification",
                  "type": "string"
                },
                {
                  "const": "harness",
                  "type": "string"
                },
                {
                  "const": "host",
                  "type": "string"
                },
                {
                  "const": "deployment",
                  "type": "string"
                },
                {
                  "const": "surface",
                  "type": "string"
                },
                {
                  "const": "target",
                  "type": "string"
                },
                {
                  "const": "opportunity",
                  "type": "string"
                },
                {
                  "const": "thesis_assessment",
                  "type": "string"
                },
                {
                  "const": "selection",
                  "type": "string"
                },
                {
                  "const": "skill_binding",
                  "type": "string"
                },
                {
                  "const": "target_transition_entry",
                  "type": "string"
                },
                {
                  "const": "selection_cycle",
                  "type": "string"
                },
                {
                  "const": "decision",
                  "type": "string"
                },
                {
                  "const": "reflection_entry",
                  "type": "string"
                },
                {
                  "const": "feed_entry",
                  "type": "string"
                },
                {
                  "const": "principal",
                  "type": "string"
                },
                {
                  "const": "authority_proof",
                  "type": "string"
                },
                {
                  "const": "scope_admission",
                  "type": "string"
                },
                {
                  "const": "grant",
                  "type": "string"
                },
                {
                  "const": "mandate",
                  "type": "string"
                },
                {
                  "const": "credential",
                  "type": "string"
                },
                {
                  "const": "webhook_delivery",
                  "type": "string"
                },
                {
                  "const": "redaction_policy",
                  "type": "string"
                },
                {
                  "const": "external_url",
                  "type": "string"
                }
              ]
            },
            "uri": {
              "minLength": 1,
              "type": "string"
            }
          },
          "required": [
            "type",
            "uri"
          ],
          "type": "object",
          "x-runx-schema": "runx.reference.v1"
        },
        "type": "array"
      },
      "extensions": {
        "additionalProperties": {},
        "type": "object"
      },
      "fingerprint": {
        "additionalProperties": false,
        "properties": {
          "algorithm": {
            "anyOf": [
              {
                "const": "sha256",
                "type": "string"
              }
            ]
          },
          "canonicalization": {
            "minLength": 1,
            "type": "string"
          },
          "derived_from": {
            "items": {
              "$id": "https://schemas.runx.dev/runx/reference/v1.json",
              "$schema": "https://json-schema.org/draft/2020-12/schema",
              "additionalProperties": false,
              "properties": {
                "label": {
                  "minLength": 1,
                  "type": "string"
                },
                "locator": {
                  "minLength": 1,
                  "type": "string"
                },
                "observed_at": {
                  "minLength": 1,
                  "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
                  "type": "string"
                },
                "proof_kind": {
                  "anyOf": [
                    {
                      "const": "effect_evidence",
                      "type": "string"
                    },
                    {
                      "const": "effect_finality",
                      "type": "string"
                    },
                    {
                      "const": "credential_resolution",
                      "type": "string"
                    }
                  ]
                },
                "provider": {
                  "minLength": 1,
                  "type": "string"
                },
                "schema": {
                  "const": "runx.reference.v1",
                  "type": "string"
                },
                "type": {
                  "anyOf": [
                    {
                      "const": "github_issue",
                      "type": "string"
                    },
                    {
                      "const": "github_pull_request",
                      "type": "string"
                    },
                    {
                      "const": "github_repo",
                      "type": "string"
                    },
                    {
                      "const": "slack_thread",
                      "type": "string"
                    },
                    {
                      "const": "sentry_event",
                      "type": "string"
                    },
                    {
                      "const": "provider_thread",
                      "type": "string"
                    },
                    {
                      "const": "provider_event",
                      "type": "string"
                    },
                    {
                      "const": "provider_comment",
                      "type": "string"
                    },
                    {
                      "const": "tracking_item",
                      "type": "string"
                    },
                    {
                      "const": "change_request",
                      "type": "string"
                    },
                    {
                      "const": "repository",
                      "type": "string"
                    },
                    {
                      "const": "support_ticket",
                      "type": "string"
                    },
                    {
                      "const": "signal",
                      "type": "string"
                    },
                    {
                      "const": "act",
                      "type": "string"
                    },
                    {
                      "const": "receipt",
                      "type": "string"
                    },
                    {
                      "const": "graph_receipt",
                      "type": "string"
                    },
                    {
                      "const": "artifact",
                      "type": "string"
                    },
                    {
                      "const": "verification",
                      "type": "string"
                    },
                    {
                      "const": "harness",
                      "type": "string"
                    },
                    {
                      "const": "host",
                      "type": "string"
                    },
                    {
                      "const": "deployment",
                      "type": "string"
                    },
                    {
                      "const": "surface",
                      "type": "string"
                    },
                    {
                      "const": "target",
                      "type": "string"
                    },
                    {
                      "const": "opportunity",
                      "type": "string"
                    },
                    {
                      "const": "thesis_assessment",
                      "type": "string"
                    },
                    {
                      "const": "selection",
                      "type": "string"
                    },
                    {
                      "const": "skill_binding",
                      "type": "string"
                    },
                    {
                      "const": "target_transition_entry",
                      "type": "string"
                    },
                    {
                      "const": "selection_cycle",
                      "type": "string"
                    },
                    {
                      "const": "decision",
                      "type": "string"
                    },
                    {
                      "const": "reflection_entry",
                      "type": "string"
                    },
                    {
                      "const": "feed_entry",
                      "type": "string"
                    },
                    {
                      "const": "principal",
                      "type": "string"
                    },
                    {
                      "const": "authority_proof",
                      "type": "string"
                    },
                    {
                      "const": "scope_admission",
                      "type": "string"
                    },
                    {
                      "const": "grant",
                      "type": "string"
                    },
                    {
                      "const": "mandate",
                      "type": "string"
                    },
                    {
                      "const": "credential",
                      "type": "string"
                    },
                    {
                      "const": "webhook_delivery",
                      "type": "string"
                    },
                    {
                      "const": "redaction_policy",
                      "type": "string"
                    },
                    {
                      "const": "external_url",
                      "type": "string"
                    }
                  ]
                },
                "uri": {
                  "minLength": 1,
                  "type": "string"
                }
              },
              "required": [
                "type",
                "uri"
              ],
              "type": "object",
              "x-runx-schema": "runx.reference.v1"
            },
            "type": "array"
          },
          "value": {
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "algorithm",
          "canonicalization",
          "value",
          "derived_from"
        ],
        "type": "object"
      },
      "links": {
        "additionalProperties": false,
        "properties": {
          "duplicate_candidates": {
            "items": {
              "additionalProperties": false,
              "properties": {
                "candidate_ref": {
                  "$id": "https://schemas.runx.dev/runx/reference/v1.json",
                  "$schema": "https://json-schema.org/draft/2020-12/schema",
                  "additionalProperties": false,
                  "properties": {
                    "label": {
                      "minLength": 1,
                      "type": "string"
                    },
                    "locator": {
                      "minLength": 1,
                      "type": "string"
                    },
                    "observed_at": {
                      "minLength": 1,
                      "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
                      "type": "string"
                    },
                    "proof_kind": {
                      "anyOf": [
                        {
                          "const": "effect_evidence",
                          "type": "string"
                        },
                        {
                          "const": "effect_finality",
                          "type": "string"
                        },
                        {
                          "const": "credential_resolution",
                          "type": "string"
                        }
                      ]
                    },
                    "provider": {
                      "minLength": 1,
                      "type": "string"
                    },
                    "schema": {
                      "const": "runx.reference.v1",
                      "type": "string"
                    },
                    "type": {
                      "anyOf": [
                        {
                          "const": "github_issue",
                          "type": "string"
                        },
                        {
                          "const": "github_pull_request",
                          "type": "string"
                        },
                        {
                          "const": "github_repo",
                          "type": "string"
                        },
                        {
                          "const": "slack_thread",
                          "type": "string"
                        },
                        {
                          "const": "sentry_event",
                          "type": "string"
                        },
                        {
                          "const": "provider_thread",
                          "type": "string"
                        },
                        {
                          "const": "provider_event",
                          "type": "string"
                        },
                        {
                          "const": "provider_comment",
                          "type": "string"
                        },
                        {
                          "const": "tracking_item",
                          "type": "string"
                        },
                        {
                          "const": "change_request",
                          "type": "string"
                        },
                        {
                          "const": "repository",
                          "type": "string"
                        },
                        {
                          "const": "support_ticket",
                          "type": "string"
                        },
                        {
                          "const": "signal",
                          "type": "string"
                        },
                        {
                          "const": "act",
                          "type": "string"
                        },
                        {
                          "const": "receipt",
                          "type": "string"
                        },
                        {
                          "const": "graph_receipt",
                          "type": "string"
                        },
                        {
                          "const": "artifact",
                          "type": "string"
                        },
                        {
                          "const": "verification",
                          "type": "string"
                        },
                        {
                          "const": "harness",
                          "type": "string"
                        },
                        {
                          "const": "host",
                          "type": "string"
                        },
                        {
                          "const": "deployment",
                          "type": "string"
                        },
                        {
                          "const": "surface",
                          "type": "string"
                        },
                        {
                          "const": "target",
                          "type": "string"
                        },
                        {
                          "const": "opportunity",
                          "type": "string"
                        },
                        {
                          "const": "thesis_assessment",
                          "type": "string"
                        },
                        {
                          "const": "selection",
                          "type": "string"
                        },
                        {
                          "const": "skill_binding",
                          "type": "string"
                        },
                        {
                          "const": "target_transition_entry",
                          "type": "string"
                        },
                        {
                          "const": "selection_cycle",
                          "type": "string"
                        },
                        {
                          "const": "decision",
                          "type": "string"
                        },
                        {
                          "const": "reflection_entry",
                          "type": "string"
                        },
                        {
                          "const": "feed_entry",
                          "type": "string"
                        },
                        {
                          "const": "principal",
                          "type": "string"
                        },
                        {
                          "const": "authority_proof",
                          "type": "string"
                        },
                        {
                          "const": "scope_admission",
                          "type": "string"
                        },
                        {
                          "const": "grant",
                          "type": "string"
                        },
                        {
                          "const": "mandate",
                          "type": "string"
                        },
                        {
                          "const": "credential",
                          "type": "string"
                        },
                        {
                          "const": "webhook_delivery",
                          "type": "string"
                        },
                        {
                          "const": "redaction_policy",
                          "type": "string"
                        },
                        {
                          "const": "external_url",
                          "type": "string"
                        }
                      ]
                    },
                    "uri": {
                      "minLength": 1,
                      "type": "string"
                    }
                  },
                  "required": [
                    "type",
                    "uri"
                  ],
                  "type": "object",
                  "x-runx-schema": "runx.reference.v1"
                },
                "confidence": {
                  "type": "number"
                },
                "evidence_refs": {
                  "items": {
                    "$id": "https://schemas.runx.dev/runx/reference/v1.json",
                    "$schema": "https://json-schema.org/draft/2020-12/schema",
                    "additionalProperties": false,
                    "properties": {
                      "label": {
                        "minLength": 1,
                        "type": "string"
                      },
                      "locator": {
                        "minLength": 1,
                        "type": "string"
                      },
                      "observed_at": {
                        "minLength": 1,
                        "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
                        "type": "string"
                      },
                      "proof_kind": {
                        "anyOf": [
                          {
                            "const": "effect_evidence",
                            "type": "string"
                          },
                          {
                            "const": "effect_finality",
                            "type": "string"
                          },
                          {
                            "const": "credential_resolution",
                            "type": "string"
                          }
                        ]
                      },
                      "provider": {
                        "minLength": 1,
                        "type": "string"
                      },
                      "schema": {
                        "const": "runx.reference.v1",
                        "type": "string"
                      },
                      "type": {
                        "anyOf": [
                          {
                            "const": "github_issue",
                            "type": "string"
                          },
                          {
                            "const": "github_pull_request",
                            "type": "string"
                          },
                          {
                            "const": "github_repo",
                            "type": "string"
                          },
                          {
                            "const": "slack_thread",
                            "type": "string"
                          },
                          {
                            "const": "sentry_event",
                            "type": "string"
                          },
                          {
                            "const": "provider_thread",
                            "type": "string"
                          },
                          {
                            "const": "provider_event",
                            "type": "string"
                          },
                          {
                            "const": "provider_comment",
                            "type": "string"
                          },
                          {
                            "const": "tracking_item",
                            "type": "string"
                          },
                          {
                            "const": "change_request",
                            "type": "string"
                          },
                          {
                            "const": "repository",
                            "type": "string"
                          },
                          {
                            "const": "support_ticket",
                            "type": "string"
                          },
                          {
                            "const": "signal",
                            "type": "string"
                          },
                          {
                            "const": "act",
                            "type": "string"
                          },
                          {
                            "const": "receipt",
                            "type": "string"
                          },
                          {
                            "const": "graph_receipt",
                            "type": "string"
                          },
                          {
                            "const": "artifact",
                            "type": "string"
                          },
                          {
                            "const": "verification",
                            "type": "string"
                          },
                          {
                            "const": "harness",
                            "type": "string"
                          },
                          {
                            "const": "host",
                            "type": "string"
                          },
                          {
                            "const": "deployment",
                            "type": "string"
                          },
                          {
                            "const": "surface",
                            "type": "string"
                          },
                          {
                            "const": "target",
                            "type": "string"
                          },
                          {
                            "const": "opportunity",
                            "type": "string"
                          },
                          {
                            "const": "thesis_assessment",
                            "type": "string"
                          },
                          {
                            "const": "selection",
                            "type": "string"
                          },
                          {
                            "const": "skill_binding",
                            "type": "string"
                          },
                          {
                            "const": "target_transition_entry",
                            "type": "string"
                          },
                          {
                            "const": "selection_cycle",
                            "type": "string"
                          },
                          {
                            "const": "decision",
                            "type": "string"
                          },
                          {
                            "const": "reflection_entry",
                            "type": "string"
                          },
                          {
                            "const": "feed_entry",
                            "type": "string"
                          },
                          {
                            "const": "principal",
                            "type": "string"
                          },
                          {
                            "const": "authority_proof",
                            "type": "string"
                          },
                          {
                            "const": "scope_admission",
                            "type": "string"
                          },
                          {
                            "const": "grant",
                            "type": "string"
                          },
                          {
                            "const": "mandate",
                            "type": "string"
                          },
                          {
                            "const": "credential",
                            "type": "string"
                          },
                          {
                            "const": "webhook_delivery",
                            "type": "string"
                          },
                          {
                            "const": "redaction_policy",
                            "type": "string"
                          },
                          {
                            "const": "external_url",
                            "type": "string"
                          }
                        ]
                      },
                      "uri": {
                        "minLength": 1,
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "uri"
                    ],
                    "type": "object",
                    "x-runx-schema": "runx.reference.v1"
                  },
                  "type": "array"
                },
                "observed_at": {
                  "minLength": 1,
                  "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
                  "type": "string"
                },
                "reviewer_refs": {
                  "items": {
                    "$id": "https://schemas.runx.dev/runx/reference/v1.json",
                    "$schema": "https://json-schema.org/draft/2020-12/schema",
                    "additionalProperties": false,
                    "properties": {
                      "label": {
                        "minLength": 1,
                        "type": "string"
                      },
                      "locator": {
                        "minLength": 1,
                        "type": "string"
                      },
                      "observed_at": {
                        "minLength": 1,
                        "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
                        "type": "string"
                      },
                      "proof_kind": {
                        "anyOf": [
                          {
                            "const": "effect_evidence",
                            "type": "string"
                          },
                          {
                            "const": "effect_finality",
                            "type": "string"
                          },
                          {
                            "const": "credential_resolution",
                            "type": "string"
                          }
                        ]
                      },
                      "provider": {
                        "minLength": 1,
                        "type": "string"
                      },
                      "schema": {
                        "const": "runx.reference.v1",
                        "type": "string"
                      },
                      "type": {
                        "anyOf": [
                          {
                            "const": "github_issue",
                            "type": "string"
                          },
                          {
                            "const": "github_pull_request",
                            "type": "string"
                          },
                          {
                            "const": "github_repo",
                            "type": "string"
                          },
                          {
                            "const": "slack_thread",
                            "type": "string"
                          },
                          {
                            "const": "sentry_event",
                            "type": "string"
                          },
                          {
                            "const": "provider_thread",
                            "type": "string"
                          },
                          {
                            "const": "provider_event",
                            "type": "string"
                          },
                          {
                            "const": "provider_comment",
                            "type": "string"
                          },
                          {
                            "const": "tracking_item",
                            "type": "string"
                          },
                          {
                            "const": "change_request",
                            "type": "string"
                          },
                          {
                            "const": "repository",
                            "type": "string"
                          },
                          {
                            "const": "support_ticket",
                            "type": "string"
                          },
                          {
                            "const": "signal",
                            "type": "string"
                          },
                          {
                            "const": "act",
                            "type": "string"
                          },
                          {
                            "const": "receipt",
                            "type": "string"
                          },
                          {
                            "const": "graph_receipt",
                            "type": "string"
                          },
                          {
                            "const": "artifact",
                            "type": "string"
                          },
                          {
                            "const": "verification",
                            "type": "string"
                          },
                          {
                            "const": "harness",
                            "type": "string"
                          },
                          {
                            "const": "host",
                            "type": "string"
                          },
                          {
                            "const": "deployment",
                            "type": "string"
                          },
                          {
                            "const": "surface",
                            "type": "string"
                          },
                          {
                            "const": "target",
                            "type": "string"
                          },
                          {
                            "const": "opportunity",
                            "type": "string"
                          },
                          {
                            "const": "thesis_assessment",
                            "type": "string"
                          },
                          {
                            "const": "selection",
                            "type": "string"
                          },
                          {
                            "const": "skill_binding",
                            "type": "string"
                          },
                          {
                            "const": "target_transition_entry",
                            "type": "string"
                          },
                          {
                            "const": "selection_cycle",
                            "type": "string"
                          },
                          {
                            "const": "decision",
                            "type": "string"
                          },
                          {
                            "const": "reflection_entry",
                            "type": "string"
                          },
                          {
                            "const": "feed_entry",
                            "type": "string"
                          },
                          {
                            "const": "principal",
                            "type": "string"
                          },
                          {
                            "const": "authority_proof",
                            "type": "string"
                          },
                          {
                            "const": "scope_admission",
                            "type": "string"
                          },
                          {
                            "const": "grant",
                            "type": "string"
                          },
                          {
                            "const": "mandate",
                            "type": "string"
                          },
                          {
                            "const": "credential",
                            "type": "string"
                          },
                          {
                            "const": "webhook_delivery",
                            "type": "string"
                          },
                          {
                            "const": "redaction_policy",
                            "type": "string"
                          },
                          {
                            "const": "external_url",
                            "type": "string"
                          }
                        ]
                      },
                      "uri": {
                        "minLength": 1,
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "uri"
                    ],
                    "type": "object",
                    "x-runx-schema": "runx.reference.v1"
                  },
                  "type": "array"
                }
              },
              "required": [
                "candidate_ref",
                "confidence",
                "observed_at"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "duplicate_of": {
            "$id": "https://schemas.runx.dev/runx/reference/v1.json",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "additionalProperties": false,
            "properties": {
              "label": {
                "minLength": 1,
                "type": "string"
              },
              "locator": {
                "minLength": 1,
                "type": "string"
              },
              "observed_at": {
                "minLength": 1,
                "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
                "type": "string"
              },
              "proof_kind": {
                "anyOf": [
                  {
                    "const": "effect_evidence",
                    "type": "string"
                  },
                  {
                    "const": "effect_finality",
                    "type": "string"
                  },
                  {
                    "const": "credential_resolution",
                    "type": "string"
                  }
                ]
              },
              "provider": {
                "minLength": 1,
                "type": "string"
              },
              "schema": {
                "const": "runx.reference.v1",
                "type": "string"
              },
              "type": {
                "anyOf": [
                  {
                    "const": "github_issue",
                    "type": "string"
                  },
                  {
                    "const": "github_pull_request",
                    "type": "string"
                  },
                  {
                    "const": "github_repo",
                    "type": "string"
                  },
                  {
                    "const": "slack_thread",
                    "type": "string"
                  },
                  {
                    "const": "sentry_event",
                    "type": "string"
                  },
                  {
                    "const": "provider_thread",
                    "type": "string"
                  },
                  {
                    "const": "provider_event",
                    "type": "string"
                  },
                  {
                    "const": "provider_comment",
                    "type": "string"
                  },
                  {
                    "const": "tracking_item",
                    "type": "string"
                  },
                  {
                    "const": "change_request",
                    "type": "string"
                  },
                  {
                    "const": "repository",
                    "type": "string"
                  },
                  {
                    "const": "support_ticket",
                    "type": "string"
                  },
                  {
                    "const": "signal",
                    "type": "string"
                  },
                  {
                    "const": "act",
                    "type": "string"
                  },
                  {
                    "const": "receipt",
                    "type": "string"
                  },
                  {
                    "const": "graph_receipt",
                    "type": "string"
                  },
                  {
                    "const": "artifact",
                    "type": "string"
                  },
                  {
                    "const": "verification",
                    "type": "string"
                  },
                  {
                    "const": "harness",
                    "type": "string"
                  },
                  {
                    "const": "host",
                    "type": "string"
                  },
                  {
                    "const": "deployment",
                    "type": "string"
                  },
                  {
                    "const": "surface",
                    "type": "string"
                  },
                  {
                    "const": "target",
                    "type": "string"
                  },
                  {
                    "const": "opportunity",
                    "type": "string"
                  },
                  {
                    "const": "thesis_assessment",
                    "type": "string"
                  },
                  {
                    "const": "selection",
                    "type": "string"
                  },
                  {
                    "const": "skill_binding",
                    "type": "string"
                  },
                  {
                    "const": "target_transition_entry",
                    "type": "string"
                  },
                  {
                    "const": "selection_cycle",
                    "type": "string"
                  },
                  {
                    "const": "decision",
                    "type": "string"
                  },
                  {
                    "const": "reflection_entry",
                    "type": "string"
                  },
                  {
                    "const": "feed_entry",
                    "type": "string"
                  },
                  {
                    "const": "principal",
                    "type": "string"
                  },
                  {
                    "const": "authority_proof",
                    "type": "string"
                  },
                  {
                    "const": "scope_admission",
                    "type": "string"
                  },
                  {
                    "const": "grant",
                    "type": "string"
                  },
                  {
                    "const": "mandate",
                    "type": "string"
                  },
                  {
                    "const": "credential",
                    "type": "string"
                  },
                  {
                    "const": "webhook_delivery",
                    "type": "string"
                  },
                  {
                    "const": "redaction_policy",
                    "type": "string"
                  },
                  {
                    "const": "external_url",
                    "type": "string"
                  }
                ]
              },
              "uri": {
                "minLength": 1,
                "type": "string"
              }
            },
            "required": [
              "type",
              "uri"
            ],
            "type": "object",
            "x-runx-schema": "runx.reference.v1"
          },
          "related": {
            "items": {
              "$id": "https://schemas.runx.dev/runx/reference/v1.json",
              "$schema": "https://json-schema.org/draft/2020-12/schema",
              "additionalProperties": false,
              "properties": {
                "label": {
                  "minLength": 1,
                  "type": "string"
                },
                "locator": {
                  "minLength": 1,
                  "type": "string"
                },
                "observed_at": {
                  "minLength": 1,
                  "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
                  "type": "string"
                },
                "proof_kind": {
                  "anyOf": [
                    {
                      "const": "effect_evidence",
                      "type": "string"
                    },
                    {
                      "const": "effect_finality",
                      "type": "string"
                    },
                    {
                      "const": "credential_resolution",
                      "type": "string"
                    }
                  ]
                },
                "provider": {
                  "minLength": 1,
                  "type": "string"
                },
                "schema": {
                  "const": "runx.reference.v1",
                  "type": "string"
                },
                "type": {
                  "anyOf": [
                    {
                      "const": "github_issue",
                      "type": "string"
                    },
                    {
                      "const": "github_pull_request",
                      "type": "string"
                    },
                    {
                      "const": "github_repo",
                      "type": "string"
                    },
                    {
                      "const": "slack_thread",
                      "type": "string"
                    },
                    {
                      "const": "sentry_event",
                      "type": "string"
                    },
                    {
                      "const": "provider_thread",
                      "type": "string"
                    },
                    {
                      "const": "provider_event",
                      "type": "string"
                    },
                    {
                      "const": "provider_comment",
                      "type": "string"
                    },
                    {
                      "const": "tracking_item",
                      "type": "string"
                    },
                    {
                      "const": "change_request",
                      "type": "string"
                    },
                    {
                      "const": "repository",
                      "type": "string"
                    },
                    {
                      "const": "support_ticket",
                      "type": "string"
                    },
                    {
                      "const": "signal",
                      "type": "string"
                    },
                    {
                      "const": "act",
                      "type": "string"
                    },
                    {
                      "const": "receipt",
                      "type": "string"
                    },
                    {
                      "const": "graph_receipt",
                      "type": "string"
                    },
                    {
                      "const": "artifact",
                      "type": "string"
                    },
                    {
                      "const": "verification",
                      "type": "string"
                    },
                    {
                      "const": "harness",
                      "type": "string"
                    },
                    {
                      "const": "host",
                      "type": "string"
                    },
                    {
                      "const": "deployment",
                      "type": "string"
                    },
                    {
                      "const": "surface",
                      "type": "string"
                    },
                    {
                      "const": "target",
                      "type": "string"
                    },
                    {
                      "const": "opportunity",
                      "type": "string"
                    },
                    {
                      "const": "thesis_assessment",
                      "type": "string"
                    },
                    {
                      "const": "selection",
                      "type": "string"
                    },
                    {
                      "const": "skill_binding",
                      "type": "string"
                    },
                    {
                      "const": "target_transition_entry",
                      "type": "string"
                    },
                    {
                      "const": "selection_cycle",
                      "type": "string"
                    },
                    {
                      "const": "decision",
                      "type": "string"
                    },
                    {
                      "const": "reflection_entry",
                      "type": "string"
                    },
                    {
                      "const": "feed_entry",
                      "type": "string"
                    },
                    {
                      "const": "principal",
                      "type": "string"
                    },
                    {
                      "const": "authority_proof",
                      "type": "string"
                    },
                    {
                      "const": "scope_admission",
                      "type": "string"
                    },
                    {
                      "const": "grant",
                      "type": "string"
                    },
                    {
                      "const": "mandate",
                      "type": "string"
                    },
                    {
                      "const": "credential",
                      "type": "string"
                    },
                    {
                      "const": "webhook_delivery",
                      "type": "string"
                    },
                    {
                      "const": "redaction_policy",
                      "type": "string"
                    },
                    {
                      "const": "external_url",
                      "type": "string"
                    }
                  ]
                },
                "uri": {
                  "minLength": 1,
                  "type": "string"
                }
              },
              "required": [
                "type",
                "uri"
              ],
              "type": "object",
              "x-runx-schema": "runx.reference.v1"
            },
            "type": "array"
          },
          "superseded_by": {
            "items": {
              "$id": "https://schemas.runx.dev/runx/reference/v1.json",
              "$schema": "https://json-schema.org/draft/2020-12/schema",
              "additionalProperties": false,
              "properties": {
                "label": {
                  "minLength": 1,
                  "type": "string"
                },
                "locator": {
                  "minLength": 1,
                  "type": "string"
                },
                "observed_at": {
                  "minLength": 1,
                  "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
                  "type": "string"
                },
                "proof_kind": {
                  "anyOf": [
                    {
                      "const": "effect_evidence",
                      "type": "string"
                    },
                    {
                      "const": "effect_finality",
                      "type": "string"
                    },
                    {
                      "const": "credential_resolution",
                      "type": "string"
                    }
                  ]
                },
                "provider": {
                  "minLength": 1,
                  "type": "string"
                },
                "schema": {
                  "const": "runx.reference.v1",
                  "type": "string"
                },
                "type": {
                  "anyOf": [
                    {
                      "const": "github_issue",
                      "type": "string"
                    },
                    {
                      "const": "github_pull_request",
                      "type": "string"
                    },
                    {
                      "const": "github_repo",
                      "type": "string"
                    },
                    {
                      "const": "slack_thread",
                      "type": "string"
                    },
                    {
                      "const": "sentry_event",
                      "type": "string"
                    },
                    {
                      "const": "provider_thread",
                      "type": "string"
                    },
                    {
                      "const": "provider_event",
                      "type": "string"
                    },
                    {
                      "const": "provider_comment",
                      "type": "string"
                    },
                    {
                      "const": "tracking_item",
                      "type": "string"
                    },
                    {
                      "const": "change_request",
                      "type": "string"
                    },
                    {
                      "const": "repository",
                      "type": "string"
                    },
                    {
                      "const": "support_ticket",
                      "type": "string"
                    },
                    {
                      "const": "signal",
                      "type": "string"
                    },
                    {
                      "const": "act",
                      "type": "string"
                    },
                    {
                      "const": "receipt",
                      "type": "string"
                    },
                    {
                      "const": "graph_receipt",
                      "type": "string"
                    },
                    {
                      "const": "artifact",
                      "type": "string"
                    },
                    {
                      "const": "verification",
                      "type": "string"
                    },
                    {
                      "const": "harness",
                      "type": "string"
                    },
                    {
                      "const": "host",
                      "type": "string"
                    },
                    {
                      "const": "deployment",
                      "type": "string"
                    },
                    {
                      "const": "surface",
                      "type": "string"
                    },
                    {
                      "const": "target",
                      "type": "string"
                    },
                    {
                      "const": "opportunity",
                      "type": "string"
                    },
                    {
                      "const": "thesis_assessment",
                      "type": "string"
                    },
                    {
                      "const": "selection",
                      "type": "string"
                    },
                    {
                      "const": "skill_binding",
                      "type": "string"
                    },
                    {
                      "const": "target_transition_entry",
                      "type": "string"
                    },
                    {
                      "const": "selection_cycle",
                      "type": "string"
                    },
                    {
                      "const": "decision",
                      "type": "string"
                    },
                    {
                      "const": "reflection_entry",
                      "type": "string"
                    },
                    {
                      "const": "feed_entry",
                      "type": "string"
                    },
                    {
                      "const": "principal",
                      "type": "string"
                    },
                    {
                      "const": "authority_proof",
                      "type": "string"
                    },
                    {
                      "const": "scope_admission",
                      "type": "string"
                    },
                    {
                      "const": "grant",
                      "type": "string"
                    },
                    {
                      "const": "mandate",
                      "type": "string"
                    },
                    {
                      "const": "credential",
                      "type": "string"
                    },
                    {
                      "const": "webhook_delivery",
                      "type": "string"
                    },
                    {
                      "const": "redaction_policy",
                      "type": "string"
                    },
                    {
                      "const": "external_url",
                      "type": "string"
                    }
                  ]
                },
                "uri": {
                  "minLength": 1,
                  "type": "string"
                }
              },
              "required": [
                "type",
                "uri"
              ],
              "type": "object",
              "x-runx-schema": "runx.reference.v1"
            },
            "type": "array"
          },
          "supersedes": {
            "items": {
              "$id": "https://schemas.runx.dev/runx/reference/v1.json",
              "$schema": "https://json-schema.org/draft/2020-12/schema",
              "additionalProperties": false,
              "properties": {
                "label": {
                  "minLength": 1,
                  "type": "string"
                },
                "locator": {
                  "minLength": 1,
                  "type": "string"
                },
                "observed_at": {
                  "minLength": 1,
                  "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
                  "type": "string"
                },
                "proof_kind": {
                  "anyOf": [
                    {
                      "const": "effect_evidence",
                      "type": "string"
                    },
                    {
                      "const": "effect_finality",
                      "type": "string"
                    },
                    {
                      "const": "credential_resolution",
                      "type": "string"
                    }
                  ]
                },
                "provider": {
                  "minLength": 1,
                  "type": "string"
                },
                "schema": {
                  "const": "runx.reference.v1",
                  "type": "string"
                },
                "type": {
                  "anyOf": [
                    {
                      "const": "github_issue",
                      "type": "string"
                    },
                    {
                      "const": "github_pull_request",
                      "type": "string"
                    },
                    {
                      "const": "github_repo",
                      "type": "string"
                    },
                    {
                      "const": "slack_thread",
                      "type": "string"
                    },
                    {
                      "const": "sentry_event",
                      "type": "string"
                    },
                    {
                      "const": "provider_thread",
                      "type": "string"
                    },
                    {
                      "const": "provider_event",
                      "type": "string"
                    },
                    {
                      "const": "provider_comment",
                      "type": "string"
                    },
                    {
                      "const": "tracking_item",
                      "type": "string"
                    },
                    {
                      "const": "change_request",
                      "type": "string"
                    },
                    {
                      "const": "repository",
                      "type": "string"
                    },
                    {
                      "const": "support_ticket",
                      "type": "string"
                    },
                    {
                      "const": "signal",
                      "type": "string"
                    },
                    {
                      "const": "act",
                      "type": "string"
                    },
                    {
                      "const": "receipt",
                      "type": "string"
                    },
                    {
                      "const": "graph_receipt",
                      "type": "string"
                    },
                    {
                      "const": "artifact",
                      "type": "string"
                    },
                    {
                      "const": "verification",
                      "type": "string"
                    },
                    {
                      "const": "harness",
                      "type": "string"
                    },
                    {
                      "const": "host",
                      "type": "string"
                    },
                    {
                      "const": "deployment",
                      "type": "string"
                    },
                    {
                      "const": "surface",
                      "type": "string"
                    },
                    {
                      "const": "target",
                      "type": "string"
                    },
                    {
                      "const": "opportunity",
                      "type": "string"
                    },
                    {
                      "const": "thesis_assessment",
                      "type": "string"
                    },
                    {
                      "const": "selection",
                      "type": "string"
                    },
                    {
                      "const": "skill_binding",
                      "type": "string"
                    },
                    {
                      "const": "target_transition_entry",
                      "type": "string"
                    },
                    {
                      "const": "selection_cycle",
                      "type": "string"
                    },
                    {
                      "const": "decision",
                      "type": "string"
                    },
                    {
                      "const": "reflection_entry",
                      "type": "string"
                    },
                    {
                      "const": "feed_entry",
                      "type": "string"
                    },
                    {
                      "const": "principal",
                      "type": "string"
                    },
                    {
                      "const": "authority_proof",
                      "type": "string"
                    },
                    {
                      "const": "scope_admission",
                      "type": "string"
                    },
                    {
                      "const": "grant",
                      "type": "string"
                    },
                    {
                      "const": "mandate",
                      "type": "string"
                    },
                    {
                      "const": "credential",
                      "type": "string"
                    },
                    {
                      "const": "webhook_delivery",
                      "type": "string"
                    },
                    {
                      "const": "redaction_policy",
                      "type": "string"
                    },
                    {
                      "const": "external_url",
                      "type": "string"
                    }
                  ]
                },
                "uri": {
                  "minLength": 1,
                  "type": "string"
                }
              },
              "required": [
                "type",
                "uri"
              ],
              "type": "object",
              "x-runx-schema": "runx.reference.v1"
            },
            "type": "array"
          }
        },
        "type": "object"
      },
      "observed_at": {
        "minLength": 1,
        "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
        "type": "string"
      },
      "schema": {
        "anyOf": [
          {
            "const": "runx.signal.v1",
            "type": "string"
          }
        ]
      },
      "signal_id": {
        "minLength": 1,
        "type": "string"
      },
      "signal_type": {
        "minLength": 1,
        "type": "string"
      },
      "source_ref": {
        "$id": "https://schemas.runx.dev/runx/reference/v1.json",
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false,
        "properties": {
          "label": {
            "minLength": 1,
            "type": "string"
          },
          "locator": {
            "minLength": 1,
            "type": "string"
          },
          "observed_at": {
            "minLength": 1,
            "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
            "type": "string"
          },
          "proof_kind": {
            "anyOf": [
              {
                "const": "effect_evidence",
                "type": "string"
              },
              {
                "const": "effect_finality",
                "type": "string"
              },
              {
                "const": "credential_resolution",
                "type": "string"
              }
            ]
          },
          "provider": {
            "minLength": 1,
            "type": "string"
          },
          "schema": {
            "const": "runx.reference.v1",
            "type": "string"
          },
          "type": {
            "anyOf": [
              {
                "const": "github_issue",
                "type": "string"
              },
              {
                "const": "github_pull_request",
                "type": "string"
              },
              {
                "const": "github_repo",
                "type": "string"
              },
              {
                "const": "slack_thread",
                "type": "string"
              },
              {
                "const": "sentry_event",
                "type": "string"
              },
              {
                "const": "provider_thread",
                "type": "string"
              },
              {
                "const": "provider_event",
                "type": "string"
              },
              {
                "const": "provider_comment",
                "type": "string"
              },
              {
                "const": "tracking_item",
                "type": "string"
              },
              {
                "const": "change_request",
                "type": "string"
              },
              {
                "const": "repository",
                "type": "string"
              },
              {
                "const": "support_ticket",
                "type": "string"
              },
              {
                "const": "signal",
                "type": "string"
              },
              {
                "const": "act",
                "type": "string"
              },
              {
                "const": "receipt",
                "type": "string"
              },
              {
                "const": "graph_receipt",
                "type": "string"
              },
              {
                "const": "artifact",
                "type": "string"
              },
              {
                "const": "verification",
                "type": "string"
              },
              {
                "const": "harness",
                "type": "string"
              },
              {
                "const": "host",
                "type": "string"
              },
              {
                "const": "deployment",
                "type": "string"
              },
              {
                "const": "surface",
                "type": "string"
              },
              {
                "const": "target",
                "type": "string"
              },
              {
                "const": "opportunity",
                "type": "string"
              },
              {
                "const": "thesis_assessment",
                "type": "string"
              },
              {
                "const": "selection",
                "type": "string"
              },
              {
                "const": "skill_binding",
                "type": "string"
              },
              {
                "const": "target_transition_entry",
                "type": "string"
              },
              {
                "const": "selection_cycle",
                "type": "string"
              },
              {
                "const": "decision",
                "type": "string"
              },
              {
                "const": "reflection_entry",
                "type": "string"
              },
              {
                "const": "feed_entry",
                "type": "string"
              },
              {
                "const": "principal",
                "type": "string"
              },
              {
                "const": "authority_proof",
                "type": "string"
              },
              {
                "const": "scope_admission",
                "type": "string"
              },
              {
                "const": "grant",
                "type": "string"
              },
              {
                "const": "mandate",
                "type": "string"
              },
              {
                "const": "credential",
                "type": "string"
              },
              {
                "const": "webhook_delivery",
                "type": "string"
              },
              {
                "const": "redaction_policy",
                "type": "string"
              },
              {
                "const": "external_url",
                "type": "string"
              }
            ]
          },
          "uri": {
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "type",
          "uri"
        ],
        "type": "object",
        "x-runx-schema": "runx.reference.v1"
      },
      "title": {
        "minLength": 1,
        "type": "string"
      }
    },
    "required": [
      "schema",
      "signal_id",
      "source_ref",
      "signal_type",
      "title",
      "observed_at"
    ],
    "type": "object",
    "x-runx-schema": "runx.signal.v1"
  } as JsonSchema,
  "source-packet.schema.json": {
    "$id": "https://schemas.runx.dev/runx/source-packet/v1.json",
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "additionalProperties": false,
    "properties": {
      "adapter_payload": {
        "additionalProperties": {},
        "type": "object"
      },
      "authenticity": {
        "additionalProperties": false,
        "properties": {
          "evidence_refs": {
            "items": {
              "$id": "https://schemas.runx.dev/runx/reference/v1.json",
              "$schema": "https://json-schema.org/draft/2020-12/schema",
              "additionalProperties": false,
              "properties": {
                "label": {
                  "minLength": 1,
                  "type": "string"
                },
                "locator": {
                  "minLength": 1,
                  "type": "string"
                },
                "observed_at": {
                  "minLength": 1,
                  "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
                  "type": "string"
                },
                "proof_kind": {
                  "anyOf": [
                    {
                      "const": "effect_evidence",
                      "type": "string"
                    },
                    {
                      "const": "effect_finality",
                      "type": "string"
                    },
                    {
                      "const": "credential_resolution",
                      "type": "string"
                    }
                  ]
                },
                "provider": {
                  "minLength": 1,
                  "type": "string"
                },
                "schema": {
                  "const": "runx.reference.v1",
                  "type": "string"
                },
                "type": {
                  "anyOf": [
                    {
                      "const": "github_issue",
                      "type": "string"
                    },
                    {
                      "const": "github_pull_request",
                      "type": "string"
                    },
                    {
                      "const": "github_repo",
                      "type": "string"
                    },
                    {
                      "const": "slack_thread",
                      "type": "string"
                    },
                    {
                      "const": "sentry_event",
                      "type": "string"
                    },
                    {
                      "const": "provider_thread",
                      "type": "string"
                    },
                    {
                      "const": "provider_event",
                      "type": "string"
                    },
                    {
                      "const": "provider_comment",
                      "type": "string"
                    },
                    {
                      "const": "tracking_item",
                      "type": "string"
                    },
                    {
                      "const": "change_request",
                      "type": "string"
                    },
                    {
                      "const": "repository",
                      "type": "string"
                    },
                    {
                      "const": "support_ticket",
                      "type": "string"
                    },
                    {
                      "const": "signal",
                      "type": "string"
                    },
                    {
                      "const": "act",
                      "type": "string"
                    },
                    {
                      "const": "receipt",
                      "type": "string"
                    },
                    {
                      "const": "graph_receipt",
                      "type": "string"
                    },
                    {
                      "const": "artifact",
                      "type": "string"
                    },
                    {
                      "const": "verification",
                      "type": "string"
                    },
                    {
                      "const": "harness",
                      "type": "string"
                    },
                    {
                      "const": "host",
                      "type": "string"
                    },
                    {
                      "const": "deployment",
                      "type": "string"
                    },
                    {
                      "const": "surface",
                      "type": "string"
                    },
                    {
                      "const": "target",
                      "type": "string"
                    },
                    {
                      "const": "opportunity",
                      "type": "string"
                    },
                    {
                      "const": "thesis_assessment",
                      "type": "string"
                    },
                    {
                      "const": "selection",
                      "type": "string"
                    },
                    {
                      "const": "skill_binding",
                      "type": "string"
                    },
                    {
                      "const": "target_transition_entry",
                      "type": "string"
                    },
                    {
                      "const": "selection_cycle",
                      "type": "string"
                    },
                    {
                      "const": "decision",
                      "type": "string"
                    },
                    {
                      "const": "reflection_entry",
                      "type": "string"
                    },
                    {
                      "const": "feed_entry",
                      "type": "string"
                    },
                    {
                      "const": "principal",
                      "type": "string"
                    },
                    {
                      "const": "authority_proof",
                      "type": "string"
                    },
                    {
                      "const": "scope_admission",
                      "type": "string"
                    },
                    {
                      "const": "grant",
                      "type": "string"
                    },
                    {
                      "const": "mandate",
                      "type": "string"
                    },
                    {
                      "const": "credential",
                      "type": "string"
                    },
                    {
                      "const": "webhook_delivery",
                      "type": "string"
                    },
                    {
                      "const": "redaction_policy",
                      "type": "string"
                    },
                    {
                      "const": "external_url",
                      "type": "string"
                    }
                  ]
                },
                "uri": {
                  "minLength": 1,
                  "type": "string"
                }
              },
              "required": [
                "type",
                "uri"
              ],
              "type": "object",
              "x-runx-schema": "runx.reference.v1"
            },
            "type": "array"
          },
          "host_ref": {
            "$id": "https://schemas.runx.dev/runx/reference/v1.json",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "additionalProperties": false,
            "properties": {
              "label": {
                "minLength": 1,
                "type": "string"
              },
              "locator": {
                "minLength": 1,
                "type": "string"
              },
              "observed_at": {
                "minLength": 1,
                "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
                "type": "string"
              },
              "proof_kind": {
                "anyOf": [
                  {
                    "const": "effect_evidence",
                    "type": "string"
                  },
                  {
                    "const": "effect_finality",
                    "type": "string"
                  },
                  {
                    "const": "credential_resolution",
                    "type": "string"
                  }
                ]
              },
              "provider": {
                "minLength": 1,
                "type": "string"
              },
              "schema": {
                "const": "runx.reference.v1",
                "type": "string"
              },
              "type": {
                "anyOf": [
                  {
                    "const": "github_issue",
                    "type": "string"
                  },
                  {
                    "const": "github_pull_request",
                    "type": "string"
                  },
                  {
                    "const": "github_repo",
                    "type": "string"
                  },
                  {
                    "const": "slack_thread",
                    "type": "string"
                  },
                  {
                    "const": "sentry_event",
                    "type": "string"
                  },
                  {
                    "const": "provider_thread",
                    "type": "string"
                  },
                  {
                    "const": "provider_event",
                    "type": "string"
                  },
                  {
                    "const": "provider_comment",
                    "type": "string"
                  },
                  {
                    "const": "tracking_item",
                    "type": "string"
                  },
                  {
                    "const": "change_request",
                    "type": "string"
                  },
                  {
                    "const": "repository",
                    "type": "string"
                  },
                  {
                    "const": "support_ticket",
                    "type": "string"
                  },
                  {
                    "const": "signal",
                    "type": "string"
                  },
                  {
                    "const": "act",
                    "type": "string"
                  },
                  {
                    "const": "receipt",
                    "type": "string"
                  },
                  {
                    "const": "graph_receipt",
                    "type": "string"
                  },
                  {
                    "const": "artifact",
                    "type": "string"
                  },
                  {
                    "const": "verification",
                    "type": "string"
                  },
                  {
                    "const": "harness",
                    "type": "string"
                  },
                  {
                    "const": "host",
                    "type": "string"
                  },
                  {
                    "const": "deployment",
                    "type": "string"
                  },
                  {
                    "const": "surface",
                    "type": "string"
                  },
                  {
                    "const": "target",
                    "type": "string"
                  },
                  {
                    "const": "opportunity",
                    "type": "string"
                  },
                  {
                    "const": "thesis_assessment",
                    "type": "string"
                  },
                  {
                    "const": "selection",
                    "type": "string"
                  },
                  {
                    "const": "skill_binding",
                    "type": "string"
                  },
                  {
                    "const": "target_transition_entry",
                    "type": "string"
                  },
                  {
                    "const": "selection_cycle",
                    "type": "string"
                  },
                  {
                    "const": "decision",
                    "type": "string"
                  },
                  {
                    "const": "reflection_entry",
                    "type": "string"
                  },
                  {
                    "const": "feed_entry",
                    "type": "string"
                  },
                  {
                    "const": "principal",
                    "type": "string"
                  },
                  {
                    "const": "authority_proof",
                    "type": "string"
                  },
                  {
                    "const": "scope_admission",
                    "type": "string"
                  },
                  {
                    "const": "grant",
                    "type": "string"
                  },
                  {
                    "const": "mandate",
                    "type": "string"
                  },
                  {
                    "const": "credential",
                    "type": "string"
                  },
                  {
                    "const": "webhook_delivery",
                    "type": "string"
                  },
                  {
                    "const": "redaction_policy",
                    "type": "string"
                  },
                  {
                    "const": "external_url",
                    "type": "string"
                  }
                ]
              },
              "uri": {
                "minLength": 1,
                "type": "string"
              }
            },
            "required": [
              "type",
              "uri"
            ],
            "type": "object",
            "x-runx-schema": "runx.reference.v1"
          },
          "principal_ref": {
            "$id": "https://schemas.runx.dev/runx/reference/v1.json",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "additionalProperties": false,
            "properties": {
              "label": {
                "minLength": 1,
                "type": "string"
              },
              "locator": {
                "minLength": 1,
                "type": "string"
              },
              "observed_at": {
                "minLength": 1,
                "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
                "type": "string"
              },
              "proof_kind": {
                "anyOf": [
                  {
                    "const": "effect_evidence",
                    "type": "string"
                  },
                  {
                    "const": "effect_finality",
                    "type": "string"
                  },
                  {
                    "const": "credential_resolution",
                    "type": "string"
                  }
                ]
              },
              "provider": {
                "minLength": 1,
                "type": "string"
              },
              "schema": {
                "const": "runx.reference.v1",
                "type": "string"
              },
              "type": {
                "anyOf": [
                  {
                    "const": "github_issue",
                    "type": "string"
                  },
                  {
                    "const": "github_pull_request",
                    "type": "string"
                  },
                  {
                    "const": "github_repo",
                    "type": "string"
                  },
                  {
                    "const": "slack_thread",
                    "type": "string"
                  },
                  {
                    "const": "sentry_event",
                    "type": "string"
                  },
                  {
                    "const": "provider_thread",
                    "type": "string"
                  },
                  {
                    "const": "provider_event",
                    "type": "string"
                  },
                  {
                    "const": "provider_comment",
                    "type": "string"
                  },
                  {
                    "const": "tracking_item",
                    "type": "string"
                  },
                  {
                    "const": "change_request",
                    "type": "string"
                  },
                  {
                    "const": "repository",
                    "type": "string"
                  },
                  {
                    "const": "support_ticket",
                    "type": "string"
                  },
                  {
                    "const": "signal",
                    "type": "string"
                  },
                  {
                    "const": "act",
                    "type": "string"
                  },
                  {
                    "const": "receipt",
                    "type": "string"
                  },
                  {
                    "const": "graph_receipt",
                    "type": "string"
                  },
                  {
                    "const": "artifact",
                    "type": "string"
                  },
                  {
                    "const": "verification",
                    "type": "string"
                  },
                  {
                    "const": "harness",
                    "type": "string"
                  },
                  {
                    "const": "host",
                    "type": "string"
                  },
                  {
                    "const": "deployment",
                    "type": "string"
                  },
                  {
                    "const": "surface",
                    "type": "string"
                  },
                  {
                    "const": "target",
                    "type": "string"
                  },
                  {
                    "const": "opportunity",
                    "type": "string"
                  },
                  {
                    "const": "thesis_assessment",
                    "type": "string"
                  },
                  {
                    "const": "selection",
                    "type": "string"
                  },
                  {
                    "const": "skill_binding",
                    "type": "string"
                  },
                  {
                    "const": "target_transition_entry",
                    "type": "string"
                  },
                  {
                    "const": "selection_cycle",
                    "type": "string"
                  },
                  {
                    "const": "decision",
                    "type": "string"
                  },
                  {
                    "const": "reflection_entry",
                    "type": "string"
                  },
                  {
                    "const": "feed_entry",
                    "type": "string"
                  },
                  {
                    "const": "principal",
                    "type": "string"
                  },
                  {
                    "const": "authority_proof",
                    "type": "string"
                  },
                  {
                    "const": "scope_admission",
                    "type": "string"
                  },
                  {
                    "const": "grant",
                    "type": "string"
                  },
                  {
                    "const": "mandate",
                    "type": "string"
                  },
                  {
                    "const": "credential",
                    "type": "string"
                  },
                  {
                    "const": "webhook_delivery",
                    "type": "string"
                  },
                  {
                    "const": "redaction_policy",
                    "type": "string"
                  },
                  {
                    "const": "external_url",
                    "type": "string"
                  }
                ]
              },
              "uri": {
                "minLength": 1,
                "type": "string"
              }
            },
            "required": [
              "type",
              "uri"
            ],
            "type": "object",
            "x-runx-schema": "runx.reference.v1"
          },
          "signature_refs": {
            "items": {
              "$id": "https://schemas.runx.dev/runx/reference/v1.json",
              "$schema": "https://json-schema.org/draft/2020-12/schema",
              "additionalProperties": false,
              "properties": {
                "label": {
                  "minLength": 1,
                  "type": "string"
                },
                "locator": {
                  "minLength": 1,
                  "type": "string"
                },
                "observed_at": {
                  "minLength": 1,
                  "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
                  "type": "string"
                },
                "proof_kind": {
                  "anyOf": [
                    {
                      "const": "effect_evidence",
                      "type": "string"
                    },
                    {
                      "const": "effect_finality",
                      "type": "string"
                    },
                    {
                      "const": "credential_resolution",
                      "type": "string"
                    }
                  ]
                },
                "provider": {
                  "minLength": 1,
                  "type": "string"
                },
                "schema": {
                  "const": "runx.reference.v1",
                  "type": "string"
                },
                "type": {
                  "anyOf": [
                    {
                      "const": "github_issue",
                      "type": "string"
                    },
                    {
                      "const": "github_pull_request",
                      "type": "string"
                    },
                    {
                      "const": "github_repo",
                      "type": "string"
                    },
                    {
                      "const": "slack_thread",
                      "type": "string"
                    },
                    {
                      "const": "sentry_event",
                      "type": "string"
                    },
                    {
                      "const": "provider_thread",
                      "type": "string"
                    },
                    {
                      "const": "provider_event",
                      "type": "string"
                    },
                    {
                      "const": "provider_comment",
                      "type": "string"
                    },
                    {
                      "const": "tracking_item",
                      "type": "string"
                    },
                    {
                      "const": "change_request",
                      "type": "string"
                    },
                    {
                      "const": "repository",
                      "type": "string"
                    },
                    {
                      "const": "support_ticket",
                      "type": "string"
                    },
                    {
                      "const": "signal",
                      "type": "string"
                    },
                    {
                      "const": "act",
                      "type": "string"
                    },
                    {
                      "const": "receipt",
                      "type": "string"
                    },
                    {
                      "const": "graph_receipt",
                      "type": "string"
                    },
                    {
                      "const": "artifact",
                      "type": "string"
                    },
                    {
                      "const": "verification",
                      "type": "string"
                    },
                    {
                      "const": "harness",
                      "type": "string"
                    },
                    {
                      "const": "host",
                      "type": "string"
                    },
                    {
                      "const": "deployment",
                      "type": "string"
                    },
                    {
                      "const": "surface",
                      "type": "string"
                    },
                    {
                      "const": "target",
                      "type": "string"
                    },
                    {
                      "const": "opportunity",
                      "type": "string"
                    },
                    {
                      "const": "thesis_assessment",
                      "type": "string"
                    },
                    {
                      "const": "selection",
                      "type": "string"
                    },
                    {
                      "const": "skill_binding",
                      "type": "string"
                    },
                    {
                      "const": "target_transition_entry",
                      "type": "string"
                    },
                    {
                      "const": "selection_cycle",
                      "type": "string"
                    },
                    {
                      "const": "decision",
                      "type": "string"
                    },
                    {
                      "const": "reflection_entry",
                      "type": "string"
                    },
                    {
                      "const": "feed_entry",
                      "type": "string"
                    },
                    {
                      "const": "principal",
                      "type": "string"
                    },
                    {
                      "const": "authority_proof",
                      "type": "string"
                    },
                    {
                      "const": "scope_admission",
                      "type": "string"
                    },
                    {
                      "const": "grant",
                      "type": "string"
                    },
                    {
                      "const": "mandate",
                      "type": "string"
                    },
                    {
                      "const": "credential",
                      "type": "string"
                    },
                    {
                      "const": "webhook_delivery",
                      "type": "string"
                    },
                    {
                      "const": "redaction_policy",
                      "type": "string"
                    },
                    {
                      "const": "external_url",
                      "type": "string"
                    }
                  ]
                },
                "uri": {
                  "minLength": 1,
                  "type": "string"
                }
              },
              "required": [
                "type",
                "uri"
              ],
              "type": "object",
              "x-runx-schema": "runx.reference.v1"
            },
            "type": "array"
          },
          "trust_level": {
            "anyOf": [
              {
                "const": "unverified",
                "type": "string"
              },
              {
                "const": "observed",
                "type": "string"
              },
              {
                "const": "verified_delivery",
                "type": "string"
              },
              {
                "const": "verified_signature",
                "type": "string"
              },
              {
                "const": "operator_attested",
                "type": "string"
              }
            ]
          },
          "verified_at": {
            "minLength": 1,
            "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
            "type": "string"
          },
          "verified_by_ref": {
            "$id": "https://schemas.runx.dev/runx/reference/v1.json",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "additionalProperties": false,
            "properties": {
              "label": {
                "minLength": 1,
                "type": "string"
              },
              "locator": {
                "minLength": 1,
                "type": "string"
              },
              "observed_at": {
                "minLength": 1,
                "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
                "type": "string"
              },
              "proof_kind": {
                "anyOf": [
                  {
                    "const": "effect_evidence",
                    "type": "string"
                  },
                  {
                    "const": "effect_finality",
                    "type": "string"
                  },
                  {
                    "const": "credential_resolution",
                    "type": "string"
                  }
                ]
              },
              "provider": {
                "minLength": 1,
                "type": "string"
              },
              "schema": {
                "const": "runx.reference.v1",
                "type": "string"
              },
              "type": {
                "anyOf": [
                  {
                    "const": "github_issue",
                    "type": "string"
                  },
                  {
                    "const": "github_pull_request",
                    "type": "string"
                  },
                  {
                    "const": "github_repo",
                    "type": "string"
                  },
                  {
                    "const": "slack_thread",
                    "type": "string"
                  },
                  {
                    "const": "sentry_event",
                    "type": "string"
                  },
                  {
                    "const": "provider_thread",
                    "type": "string"
                  },
                  {
                    "const": "provider_event",
                    "type": "string"
                  },
                  {
                    "const": "provider_comment",
                    "type": "string"
                  },
                  {
                    "const": "tracking_item",
                    "type": "string"
                  },
                  {
                    "const": "change_request",
                    "type": "string"
                  },
                  {
                    "const": "repository",
                    "type": "string"
                  },
                  {
                    "const": "support_ticket",
                    "type": "string"
                  },
                  {
                    "const": "signal",
                    "type": "string"
                  },
                  {
                    "const": "act",
                    "type": "string"
                  },
                  {
                    "const": "receipt",
                    "type": "string"
                  },
                  {
                    "const": "graph_receipt",
                    "type": "string"
                  },
                  {
                    "const": "artifact",
                    "type": "string"
                  },
                  {
                    "const": "verification",
                    "type": "string"
                  },
                  {
                    "const": "harness",
                    "type": "string"
                  },
                  {
                    "const": "host",
                    "type": "string"
                  },
                  {
                    "const": "deployment",
                    "type": "string"
                  },
                  {
                    "const": "surface",
                    "type": "string"
                  },
                  {
                    "const": "target",
                    "type": "string"
                  },
                  {
                    "const": "opportunity",
                    "type": "string"
                  },
                  {
                    "const": "thesis_assessment",
                    "type": "string"
                  },
                  {
                    "const": "selection",
                    "type": "string"
                  },
                  {
                    "const": "skill_binding",
                    "type": "string"
                  },
                  {
                    "const": "target_transition_entry",
                    "type": "string"
                  },
                  {
                    "const": "selection_cycle",
                    "type": "string"
                  },
                  {
                    "const": "decision",
                    "type": "string"
                  },
                  {
                    "const": "reflection_entry",
                    "type": "string"
                  },
                  {
                    "const": "feed_entry",
                    "type": "string"
                  },
                  {
                    "const": "principal",
                    "type": "string"
                  },
                  {
                    "const": "authority_proof",
                    "type": "string"
                  },
                  {
                    "const": "scope_admission",
                    "type": "string"
                  },
                  {
                    "const": "grant",
                    "type": "string"
                  },
                  {
                    "const": "mandate",
                    "type": "string"
                  },
                  {
                    "const": "credential",
                    "type": "string"
                  },
                  {
                    "const": "webhook_delivery",
                    "type": "string"
                  },
                  {
                    "const": "redaction_policy",
                    "type": "string"
                  },
                  {
                    "const": "external_url",
                    "type": "string"
                  }
                ]
              },
              "uri": {
                "minLength": 1,
                "type": "string"
              }
            },
            "required": [
              "type",
              "uri"
            ],
            "type": "object",
            "x-runx-schema": "runx.reference.v1"
          }
        },
        "required": [
          "host_ref",
          "trust_level"
        ],
        "type": "object"
      },
      "body_preview": {
        "minLength": 1,
        "type": "string"
      },
      "extensions": {
        "additionalProperties": {},
        "type": "object"
      },
      "fingerprint": {
        "additionalProperties": false,
        "properties": {
          "algorithm": {
            "anyOf": [
              {
                "const": "sha256",
                "type": "string"
              }
            ]
          },
          "canonicalization": {
            "minLength": 1,
            "type": "string"
          },
          "derived_from": {
            "items": {
              "$id": "https://schemas.runx.dev/runx/reference/v1.json",
              "$schema": "https://json-schema.org/draft/2020-12/schema",
              "additionalProperties": false,
              "properties": {
                "label": {
                  "minLength": 1,
                  "type": "string"
                },
                "locator": {
                  "minLength": 1,
                  "type": "string"
                },
                "observed_at": {
                  "minLength": 1,
                  "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
                  "type": "string"
                },
                "proof_kind": {
                  "anyOf": [
                    {
                      "const": "effect_evidence",
                      "type": "string"
                    },
                    {
                      "const": "effect_finality",
                      "type": "string"
                    },
                    {
                      "const": "credential_resolution",
                      "type": "string"
                    }
                  ]
                },
                "provider": {
                  "minLength": 1,
                  "type": "string"
                },
                "schema": {
                  "const": "runx.reference.v1",
                  "type": "string"
                },
                "type": {
                  "anyOf": [
                    {
                      "const": "github_issue",
                      "type": "string"
                    },
                    {
                      "const": "github_pull_request",
                      "type": "string"
                    },
                    {
                      "const": "github_repo",
                      "type": "string"
                    },
                    {
                      "const": "slack_thread",
                      "type": "string"
                    },
                    {
                      "const": "sentry_event",
                      "type": "string"
                    },
                    {
                      "const": "provider_thread",
                      "type": "string"
                    },
                    {
                      "const": "provider_event",
                      "type": "string"
                    },
                    {
                      "const": "provider_comment",
                      "type": "string"
                    },
                    {
                      "const": "tracking_item",
                      "type": "string"
                    },
                    {
                      "const": "change_request",
                      "type": "string"
                    },
                    {
                      "const": "repository",
                      "type": "string"
                    },
                    {
                      "const": "support_ticket",
                      "type": "string"
                    },
                    {
                      "const": "signal",
                      "type": "string"
                    },
                    {
                      "const": "act",
                      "type": "string"
                    },
                    {
                      "const": "receipt",
                      "type": "string"
                    },
                    {
                      "const": "graph_receipt",
                      "type": "string"
                    },
                    {
                      "const": "artifact",
                      "type": "string"
                    },
                    {
                      "const": "verification",
                      "type": "string"
                    },
                    {
                      "const": "harness",
                      "type": "string"
                    },
                    {
                      "const": "host",
                      "type": "string"
                    },
                    {
                      "const": "deployment",
                      "type": "string"
                    },
                    {
                      "const": "surface",
                      "type": "string"
                    },
                    {
                      "const": "target",
                      "type": "string"
                    },
                    {
                      "const": "opportunity",
                      "type": "string"
                    },
                    {
                      "const": "thesis_assessment",
                      "type": "string"
                    },
                    {
                      "const": "selection",
                      "type": "string"
                    },
                    {
                      "const": "skill_binding",
                      "type": "string"
                    },
                    {
                      "const": "target_transition_entry",
                      "type": "string"
                    },
                    {
                      "const": "selection_cycle",
                      "type": "string"
                    },
                    {
                      "const": "decision",
                      "type": "string"
                    },
                    {
                      "const": "reflection_entry",
                      "type": "string"
                    },
                    {
                      "const": "feed_entry",
                      "type": "string"
                    },
                    {
                      "const": "principal",
                      "type": "string"
                    },
                    {
                      "const": "authority_proof",
                      "type": "string"
                    },
                    {
                      "const": "scope_admission",
                      "type": "string"
                    },
                    {
                      "const": "grant",
                      "type": "string"
                    },
                    {
                      "const": "mandate",
                      "type": "string"
                    },
                    {
                      "const": "credential",
                      "type": "string"
                    },
                    {
                      "const": "webhook_delivery",
                      "type": "string"
                    },
                    {
                      "const": "redaction_policy",
                      "type": "string"
                    },
                    {
                      "const": "external_url",
                      "type": "string"
                    }
                  ]
                },
                "uri": {
                  "minLength": 1,
                  "type": "string"
                }
              },
              "required": [
                "type",
                "uri"
              ],
              "type": "object",
              "x-runx-schema": "runx.reference.v1"
            },
            "type": "array"
          },
          "value": {
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "algorithm",
          "canonicalization",
          "value",
          "derived_from"
        ],
        "type": "object"
      },
      "observed_at": {
        "minLength": 1,
        "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
        "type": "string"
      },
      "packet_id": {
        "minLength": 1,
        "type": "string"
      },
      "redaction_status": {
        "anyOf": [
          {
            "const": "redacted",
            "type": "string"
          },
          {
            "const": "summary_only",
            "type": "string"
          },
          {
            "const": "blocked",
            "type": "string"
          }
        ]
      },
      "related_refs": {
        "items": {
          "$id": "https://schemas.runx.dev/runx/reference/v1.json",
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "additionalProperties": false,
          "properties": {
            "label": {
              "minLength": 1,
              "type": "string"
            },
            "locator": {
              "minLength": 1,
              "type": "string"
            },
            "observed_at": {
              "minLength": 1,
              "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
              "type": "string"
            },
            "proof_kind": {
              "anyOf": [
                {
                  "const": "effect_evidence",
                  "type": "string"
                },
                {
                  "const": "effect_finality",
                  "type": "string"
                },
                {
                  "const": "credential_resolution",
                  "type": "string"
                }
              ]
            },
            "provider": {
              "minLength": 1,
              "type": "string"
            },
            "schema": {
              "const": "runx.reference.v1",
              "type": "string"
            },
            "type": {
              "anyOf": [
                {
                  "const": "github_issue",
                  "type": "string"
                },
                {
                  "const": "github_pull_request",
                  "type": "string"
                },
                {
                  "const": "github_repo",
                  "type": "string"
                },
                {
                  "const": "slack_thread",
                  "type": "string"
                },
                {
                  "const": "sentry_event",
                  "type": "string"
                },
                {
                  "const": "provider_thread",
                  "type": "string"
                },
                {
                  "const": "provider_event",
                  "type": "string"
                },
                {
                  "const": "provider_comment",
                  "type": "string"
                },
                {
                  "const": "tracking_item",
                  "type": "string"
                },
                {
                  "const": "change_request",
                  "type": "string"
                },
                {
                  "const": "repository",
                  "type": "string"
                },
                {
                  "const": "support_ticket",
                  "type": "string"
                },
                {
                  "const": "signal",
                  "type": "string"
                },
                {
                  "const": "act",
                  "type": "string"
                },
                {
                  "const": "receipt",
                  "type": "string"
                },
                {
                  "const": "graph_receipt",
                  "type": "string"
                },
                {
                  "const": "artifact",
                  "type": "string"
                },
                {
                  "const": "verification",
                  "type": "string"
                },
                {
                  "const": "harness",
                  "type": "string"
                },
                {
                  "const": "host",
                  "type": "string"
                },
                {
                  "const": "deployment",
                  "type": "string"
                },
                {
                  "const": "surface",
                  "type": "string"
                },
                {
                  "const": "target",
                  "type": "string"
                },
                {
                  "const": "opportunity",
                  "type": "string"
                },
                {
                  "const": "thesis_assessment",
                  "type": "string"
                },
                {
                  "const": "selection",
                  "type": "string"
                },
                {
                  "const": "skill_binding",
                  "type": "string"
                },
                {
                  "const": "target_transition_entry",
                  "type": "string"
                },
                {
                  "const": "selection_cycle",
                  "type": "string"
                },
                {
                  "const": "decision",
                  "type": "string"
                },
                {
                  "const": "reflection_entry",
                  "type": "string"
                },
                {
                  "const": "feed_entry",
                  "type": "string"
                },
                {
                  "const": "principal",
                  "type": "string"
                },
                {
                  "const": "authority_proof",
                  "type": "string"
                },
                {
                  "const": "scope_admission",
                  "type": "string"
                },
                {
                  "const": "grant",
                  "type": "string"
                },
                {
                  "const": "mandate",
                  "type": "string"
                },
                {
                  "const": "credential",
                  "type": "string"
                },
                {
                  "const": "webhook_delivery",
                  "type": "string"
                },
                {
                  "const": "redaction_policy",
                  "type": "string"
                },
                {
                  "const": "external_url",
                  "type": "string"
                }
              ]
            },
            "uri": {
              "minLength": 1,
              "type": "string"
            }
          },
          "required": [
            "type",
            "uri"
          ],
          "type": "object",
          "x-runx-schema": "runx.reference.v1"
        },
        "type": "array"
      },
      "schema": {
        "anyOf": [
          {
            "const": "runx.source_packet.v1",
            "type": "string"
          }
        ]
      },
      "signal_type": {
        "minLength": 1,
        "type": "string"
      },
      "source_ref": {
        "$id": "https://schemas.runx.dev/runx/reference/v1.json",
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false,
        "properties": {
          "label": {
            "minLength": 1,
            "type": "string"
          },
          "locator": {
            "minLength": 1,
            "type": "string"
          },
          "observed_at": {
            "minLength": 1,
            "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
            "type": "string"
          },
          "proof_kind": {
            "anyOf": [
              {
                "const": "effect_evidence",
                "type": "string"
              },
              {
                "const": "effect_finality",
                "type": "string"
              },
              {
                "const": "credential_resolution",
                "type": "string"
              }
            ]
          },
          "provider": {
            "minLength": 1,
            "type": "string"
          },
          "schema": {
            "const": "runx.reference.v1",
            "type": "string"
          },
          "type": {
            "anyOf": [
              {
                "const": "github_issue",
                "type": "string"
              },
              {
                "const": "github_pull_request",
                "type": "string"
              },
              {
                "const": "github_repo",
                "type": "string"
              },
              {
                "const": "slack_thread",
                "type": "string"
              },
              {
                "const": "sentry_event",
                "type": "string"
              },
              {
                "const": "provider_thread",
                "type": "string"
              },
              {
                "const": "provider_event",
                "type": "string"
              },
              {
                "const": "provider_comment",
                "type": "string"
              },
              {
                "const": "tracking_item",
                "type": "string"
              },
              {
                "const": "change_request",
                "type": "string"
              },
              {
                "const": "repository",
                "type": "string"
              },
              {
                "const": "support_ticket",
                "type": "string"
              },
              {
                "const": "signal",
                "type": "string"
              },
              {
                "const": "act",
                "type": "string"
              },
              {
                "const": "receipt",
                "type": "string"
              },
              {
                "const": "graph_receipt",
                "type": "string"
              },
              {
                "const": "artifact",
                "type": "string"
              },
              {
                "const": "verification",
                "type": "string"
              },
              {
                "const": "harness",
                "type": "string"
              },
              {
                "const": "host",
                "type": "string"
              },
              {
                "const": "deployment",
                "type": "string"
              },
              {
                "const": "surface",
                "type": "string"
              },
              {
                "const": "target",
                "type": "string"
              },
              {
                "const": "opportunity",
                "type": "string"
              },
              {
                "const": "thesis_assessment",
                "type": "string"
              },
              {
                "const": "selection",
                "type": "string"
              },
              {
                "const": "skill_binding",
                "type": "string"
              },
              {
                "const": "target_transition_entry",
                "type": "string"
              },
              {
                "const": "selection_cycle",
                "type": "string"
              },
              {
                "const": "decision",
                "type": "string"
              },
              {
                "const": "reflection_entry",
                "type": "string"
              },
              {
                "const": "feed_entry",
                "type": "string"
              },
              {
                "const": "principal",
                "type": "string"
              },
              {
                "const": "authority_proof",
                "type": "string"
              },
              {
                "const": "scope_admission",
                "type": "string"
              },
              {
                "const": "grant",
                "type": "string"
              },
              {
                "const": "mandate",
                "type": "string"
              },
              {
                "const": "credential",
                "type": "string"
              },
              {
                "const": "webhook_delivery",
                "type": "string"
              },
              {
                "const": "redaction_policy",
                "type": "string"
              },
              {
                "const": "external_url",
                "type": "string"
              }
            ]
          },
          "uri": {
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "type",
          "uri"
        ],
        "type": "object",
        "x-runx-schema": "runx.reference.v1"
      },
      "title": {
        "minLength": 1,
        "type": "string"
      },
      "workflow_inputs": {
        "additionalProperties": {},
        "type": "object"
      }
    },
    "required": [
      "schema",
      "packet_id",
      "source_ref",
      "signal_type",
      "title",
      "observed_at",
      "redaction_status"
    ],
    "type": "object",
    "x-runx-schema": "runx.source_packet.v1"
  } as JsonSchema,
  "suppression-record.schema.json": {
    "$id": "https://schemas.runx.dev/runx/suppression-record/v1.json",
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "additionalProperties": false,
    "properties": {
      "expires_at": {
        "minLength": 1,
        "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
        "type": "string"
      },
      "key": {
        "minLength": 1,
        "type": "string"
      },
      "notes": {
        "type": "string"
      },
      "reason": {
        "anyOf": [
          {
            "const": "requested_no_contact",
            "type": "string"
          },
          {
            "const": "remove_request",
            "type": "string"
          },
          {
            "const": "operator_block",
            "type": "string"
          },
          {
            "const": "legal_request",
            "type": "string"
          }
        ]
      },
      "record_id": {
        "minLength": 1,
        "type": "string"
      },
      "recorded_at": {
        "minLength": 1,
        "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
        "type": "string"
      },
      "schema": {
        "anyOf": [
          {
            "const": "runx.suppression_record.v1",
            "type": "string"
          }
        ]
      },
      "scope": {
        "anyOf": [
          {
            "const": "handoff",
            "type": "string"
          },
          {
            "const": "target",
            "type": "string"
          },
          {
            "const": "repo",
            "type": "string"
          },
          {
            "const": "contact",
            "type": "string"
          }
        ]
      },
      "source_signal_id": {
        "minLength": 1,
        "type": "string"
      }
    },
    "required": [
      "schema",
      "record_id",
      "scope",
      "key",
      "reason",
      "recorded_at"
    ],
    "type": "object",
    "x-runx-schema": "runx.suppression_record.v1"
  } as JsonSchema,
  "thread-outbox-provider-fetch.schema.json": {
    "$id": "https://schemas.runx.dev/runx/thread-outbox-provider/fetch/v1.json",
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "additionalProperties": false,
    "properties": {
      "adapter_id": {
        "minLength": 1,
        "type": "string"
      },
      "credential_delivery_refs": {
        "items": {
          "$id": "https://schemas.runx.dev/runx/reference/v1.json",
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "additionalProperties": false,
          "properties": {
            "label": {
              "minLength": 1,
              "type": "string"
            },
            "locator": {
              "minLength": 1,
              "type": "string"
            },
            "observed_at": {
              "minLength": 1,
              "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
              "type": "string"
            },
            "proof_kind": {
              "anyOf": [
                {
                  "const": "effect_evidence",
                  "type": "string"
                },
                {
                  "const": "effect_finality",
                  "type": "string"
                },
                {
                  "const": "credential_resolution",
                  "type": "string"
                }
              ]
            },
            "provider": {
              "minLength": 1,
              "type": "string"
            },
            "schema": {
              "const": "runx.reference.v1",
              "type": "string"
            },
            "type": {
              "anyOf": [
                {
                  "const": "github_issue",
                  "type": "string"
                },
                {
                  "const": "github_pull_request",
                  "type": "string"
                },
                {
                  "const": "github_repo",
                  "type": "string"
                },
                {
                  "const": "slack_thread",
                  "type": "string"
                },
                {
                  "const": "sentry_event",
                  "type": "string"
                },
                {
                  "const": "provider_thread",
                  "type": "string"
                },
                {
                  "const": "provider_event",
                  "type": "string"
                },
                {
                  "const": "provider_comment",
                  "type": "string"
                },
                {
                  "const": "tracking_item",
                  "type": "string"
                },
                {
                  "const": "change_request",
                  "type": "string"
                },
                {
                  "const": "repository",
                  "type": "string"
                },
                {
                  "const": "support_ticket",
                  "type": "string"
                },
                {
                  "const": "signal",
                  "type": "string"
                },
                {
                  "const": "act",
                  "type": "string"
                },
                {
                  "const": "receipt",
                  "type": "string"
                },
                {
                  "const": "graph_receipt",
                  "type": "string"
                },
                {
                  "const": "artifact",
                  "type": "string"
                },
                {
                  "const": "verification",
                  "type": "string"
                },
                {
                  "const": "harness",
                  "type": "string"
                },
                {
                  "const": "host",
                  "type": "string"
                },
                {
                  "const": "deployment",
                  "type": "string"
                },
                {
                  "const": "surface",
                  "type": "string"
                },
                {
                  "const": "target",
                  "type": "string"
                },
                {
                  "const": "opportunity",
                  "type": "string"
                },
                {
                  "const": "thesis_assessment",
                  "type": "string"
                },
                {
                  "const": "selection",
                  "type": "string"
                },
                {
                  "const": "skill_binding",
                  "type": "string"
                },
                {
                  "const": "target_transition_entry",
                  "type": "string"
                },
                {
                  "const": "selection_cycle",
                  "type": "string"
                },
                {
                  "const": "decision",
                  "type": "string"
                },
                {
                  "const": "reflection_entry",
                  "type": "string"
                },
                {
                  "const": "feed_entry",
                  "type": "string"
                },
                {
                  "const": "principal",
                  "type": "string"
                },
                {
                  "const": "authority_proof",
                  "type": "string"
                },
                {
                  "const": "scope_admission",
                  "type": "string"
                },
                {
                  "const": "grant",
                  "type": "string"
                },
                {
                  "const": "mandate",
                  "type": "string"
                },
                {
                  "const": "credential",
                  "type": "string"
                },
                {
                  "const": "webhook_delivery",
                  "type": "string"
                },
                {
                  "const": "redaction_policy",
                  "type": "string"
                },
                {
                  "const": "external_url",
                  "type": "string"
                }
              ]
            },
            "uri": {
              "minLength": 1,
              "type": "string"
            }
          },
          "required": [
            "type",
            "uri"
          ],
          "type": "object",
          "x-runx-schema": "runx.reference.v1"
        },
        "type": "array"
      },
      "fetch_id": {
        "minLength": 1,
        "type": "string"
      },
      "idempotency": {
        "additionalProperties": false,
        "properties": {
          "content_hash": {
            "minLength": 1,
            "type": "string"
          },
          "key": {
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "key"
        ],
        "type": "object"
      },
      "protocol_version": {
        "anyOf": [
          {
            "const": "runx.thread_outbox_provider.v1",
            "type": "string"
          }
        ]
      },
      "provider": {
        "minLength": 1,
        "type": "string"
      },
      "provider_profile": {
        "additionalProperties": false,
        "properties": {
          "credential_refs": {
            "items": {
              "$id": "https://schemas.runx.dev/runx/reference/v1.json",
              "$schema": "https://json-schema.org/draft/2020-12/schema",
              "additionalProperties": false,
              "properties": {
                "label": {
                  "minLength": 1,
                  "type": "string"
                },
                "locator": {
                  "minLength": 1,
                  "type": "string"
                },
                "observed_at": {
                  "minLength": 1,
                  "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
                  "type": "string"
                },
                "proof_kind": {
                  "anyOf": [
                    {
                      "const": "effect_evidence",
                      "type": "string"
                    },
                    {
                      "const": "effect_finality",
                      "type": "string"
                    },
                    {
                      "const": "credential_resolution",
                      "type": "string"
                    }
                  ]
                },
                "provider": {
                  "minLength": 1,
                  "type": "string"
                },
                "schema": {
                  "const": "runx.reference.v1",
                  "type": "string"
                },
                "type": {
                  "anyOf": [
                    {
                      "const": "github_issue",
                      "type": "string"
                    },
                    {
                      "const": "github_pull_request",
                      "type": "string"
                    },
                    {
                      "const": "github_repo",
                      "type": "string"
                    },
                    {
                      "const": "slack_thread",
                      "type": "string"
                    },
                    {
                      "const": "sentry_event",
                      "type": "string"
                    },
                    {
                      "const": "provider_thread",
                      "type": "string"
                    },
                    {
                      "const": "provider_event",
                      "type": "string"
                    },
                    {
                      "const": "provider_comment",
                      "type": "string"
                    },
                    {
                      "const": "tracking_item",
                      "type": "string"
                    },
                    {
                      "const": "change_request",
                      "type": "string"
                    },
                    {
                      "const": "repository",
                      "type": "string"
                    },
                    {
                      "const": "support_ticket",
                      "type": "string"
                    },
                    {
                      "const": "signal",
                      "type": "string"
                    },
                    {
                      "const": "act",
                      "type": "string"
                    },
                    {
                      "const": "receipt",
                      "type": "string"
                    },
                    {
                      "const": "graph_receipt",
                      "type": "string"
                    },
                    {
                      "const": "artifact",
                      "type": "string"
                    },
                    {
                      "const": "verification",
                      "type": "string"
                    },
                    {
                      "const": "harness",
                      "type": "string"
                    },
                    {
                      "const": "host",
                      "type": "string"
                    },
                    {
                      "const": "deployment",
                      "type": "string"
                    },
                    {
                      "const": "surface",
                      "type": "string"
                    },
                    {
                      "const": "target",
                      "type": "string"
                    },
                    {
                      "const": "opportunity",
                      "type": "string"
                    },
                    {
                      "const": "thesis_assessment",
                      "type": "string"
                    },
                    {
                      "const": "selection",
                      "type": "string"
                    },
                    {
                      "const": "skill_binding",
                      "type": "string"
                    },
                    {
                      "const": "target_transition_entry",
                      "type": "string"
                    },
                    {
                      "const": "selection_cycle",
                      "type": "string"
                    },
                    {
                      "const": "decision",
                      "type": "string"
                    },
                    {
                      "const": "reflection_entry",
                      "type": "string"
                    },
                    {
                      "const": "feed_entry",
                      "type": "string"
                    },
                    {
                      "const": "principal",
                      "type": "string"
                    },
                    {
                      "const": "authority_proof",
                      "type": "string"
                    },
                    {
                      "const": "scope_admission",
                      "type": "string"
                    },
                    {
                      "const": "grant",
                      "type": "string"
                    },
                    {
                      "const": "mandate",
                      "type": "string"
                    },
                    {
                      "const": "credential",
                      "type": "string"
                    },
                    {
                      "const": "webhook_delivery",
                      "type": "string"
                    },
                    {
                      "const": "redaction_policy",
                      "type": "string"
                    },
                    {
                      "const": "external_url",
                      "type": "string"
                    }
                  ]
                },
                "uri": {
                  "minLength": 1,
                  "type": "string"
                }
              },
              "required": [
                "type",
                "uri"
              ],
              "type": "object",
              "x-runx-schema": "runx.reference.v1"
            },
            "type": "array"
          },
          "delivery_mode": {
            "anyOf": [
              {
                "const": "process_env",
                "type": "string"
              }
            ]
          },
          "profile_id": {
            "minLength": 1,
            "type": "string"
          },
          "provider": {
            "minLength": 1,
            "type": "string"
          },
          "purpose": {
            "anyOf": [
              {
                "const": "provider_api",
                "type": "string"
              },
              {
                "const": "registry",
                "type": "string"
              },
              {
                "const": "artifact_store",
                "type": "string"
              },
              {
                "const": "webhook_verification",
                "type": "string"
              }
            ]
          }
        },
        "required": [
          "provider",
          "purpose",
          "profile_id",
          "delivery_mode",
          "credential_refs"
        ],
        "type": "object"
      },
      "readback_cursor": {
        "minLength": 1,
        "type": "string"
      },
      "receipt_context": {
        "additionalProperties": false,
        "properties": {
          "authority_proof_refs": {
            "items": {
              "$id": "https://schemas.runx.dev/runx/reference/v1.json",
              "$schema": "https://json-schema.org/draft/2020-12/schema",
              "additionalProperties": false,
              "properties": {
                "label": {
                  "minLength": 1,
                  "type": "string"
                },
                "locator": {
                  "minLength": 1,
                  "type": "string"
                },
                "observed_at": {
                  "minLength": 1,
                  "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
                  "type": "string"
                },
                "proof_kind": {
                  "anyOf": [
                    {
                      "const": "effect_evidence",
                      "type": "string"
                    },
                    {
                      "const": "effect_finality",
                      "type": "string"
                    },
                    {
                      "const": "credential_resolution",
                      "type": "string"
                    }
                  ]
                },
                "provider": {
                  "minLength": 1,
                  "type": "string"
                },
                "schema": {
                  "const": "runx.reference.v1",
                  "type": "string"
                },
                "type": {
                  "anyOf": [
                    {
                      "const": "github_issue",
                      "type": "string"
                    },
                    {
                      "const": "github_pull_request",
                      "type": "string"
                    },
                    {
                      "const": "github_repo",
                      "type": "string"
                    },
                    {
                      "const": "slack_thread",
                      "type": "string"
                    },
                    {
                      "const": "sentry_event",
                      "type": "string"
                    },
                    {
                      "const": "provider_thread",
                      "type": "string"
                    },
                    {
                      "const": "provider_event",
                      "type": "string"
                    },
                    {
                      "const": "provider_comment",
                      "type": "string"
                    },
                    {
                      "const": "tracking_item",
                      "type": "string"
                    },
                    {
                      "const": "change_request",
                      "type": "string"
                    },
                    {
                      "const": "repository",
                      "type": "string"
                    },
                    {
                      "const": "support_ticket",
                      "type": "string"
                    },
                    {
                      "const": "signal",
                      "type": "string"
                    },
                    {
                      "const": "act",
                      "type": "string"
                    },
                    {
                      "const": "receipt",
                      "type": "string"
                    },
                    {
                      "const": "graph_receipt",
                      "type": "string"
                    },
                    {
                      "const": "artifact",
                      "type": "string"
                    },
                    {
                      "const": "verification",
                      "type": "string"
                    },
                    {
                      "const": "harness",
                      "type": "string"
                    },
                    {
                      "const": "host",
                      "type": "string"
                    },
                    {
                      "const": "deployment",
                      "type": "string"
                    },
                    {
                      "const": "surface",
                      "type": "string"
                    },
                    {
                      "const": "target",
                      "type": "string"
                    },
                    {
                      "const": "opportunity",
                      "type": "string"
                    },
                    {
                      "const": "thesis_assessment",
                      "type": "string"
                    },
                    {
                      "const": "selection",
                      "type": "string"
                    },
                    {
                      "const": "skill_binding",
                      "type": "string"
                    },
                    {
                      "const": "target_transition_entry",
                      "type": "string"
                    },
                    {
                      "const": "selection_cycle",
                      "type": "string"
                    },
                    {
                      "const": "decision",
                      "type": "string"
                    },
                    {
                      "const": "reflection_entry",
                      "type": "string"
                    },
                    {
                      "const": "feed_entry",
                      "type": "string"
                    },
                    {
                      "const": "principal",
                      "type": "string"
                    },
                    {
                      "const": "authority_proof",
                      "type": "string"
                    },
                    {
                      "const": "scope_admission",
                      "type": "string"
                    },
                    {
                      "const": "grant",
                      "type": "string"
                    },
                    {
                      "const": "mandate",
                      "type": "string"
                    },
                    {
                      "const": "credential",
                      "type": "string"
                    },
                    {
                      "const": "webhook_delivery",
                      "type": "string"
                    },
                    {
                      "const": "redaction_policy",
                      "type": "string"
                    },
                    {
                      "const": "external_url",
                      "type": "string"
                    }
                  ]
                },
                "uri": {
                  "minLength": 1,
                  "type": "string"
                }
              },
              "required": [
                "type",
                "uri"
              ],
              "type": "object",
              "x-runx-schema": "runx.reference.v1"
            },
            "type": "array"
          },
          "harness_ref": {
            "$id": "https://schemas.runx.dev/runx/reference/v1.json",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "additionalProperties": false,
            "properties": {
              "label": {
                "minLength": 1,
                "type": "string"
              },
              "locator": {
                "minLength": 1,
                "type": "string"
              },
              "observed_at": {
                "minLength": 1,
                "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
                "type": "string"
              },
              "proof_kind": {
                "anyOf": [
                  {
                    "const": "effect_evidence",
                    "type": "string"
                  },
                  {
                    "const": "effect_finality",
                    "type": "string"
                  },
                  {
                    "const": "credential_resolution",
                    "type": "string"
                  }
                ]
              },
              "provider": {
                "minLength": 1,
                "type": "string"
              },
              "schema": {
                "const": "runx.reference.v1",
                "type": "string"
              },
              "type": {
                "anyOf": [
                  {
                    "const": "github_issue",
                    "type": "string"
                  },
                  {
                    "const": "github_pull_request",
                    "type": "string"
                  },
                  {
                    "const": "github_repo",
                    "type": "string"
                  },
                  {
                    "const": "slack_thread",
                    "type": "string"
                  },
                  {
                    "const": "sentry_event",
                    "type": "string"
                  },
                  {
                    "const": "provider_thread",
                    "type": "string"
                  },
                  {
                    "const": "provider_event",
                    "type": "string"
                  },
                  {
                    "const": "provider_comment",
                    "type": "string"
                  },
                  {
                    "const": "tracking_item",
                    "type": "string"
                  },
                  {
                    "const": "change_request",
                    "type": "string"
                  },
                  {
                    "const": "repository",
                    "type": "string"
                  },
                  {
                    "const": "support_ticket",
                    "type": "string"
                  },
                  {
                    "const": "signal",
                    "type": "string"
                  },
                  {
                    "const": "act",
                    "type": "string"
                  },
                  {
                    "const": "receipt",
                    "type": "string"
                  },
                  {
                    "const": "graph_receipt",
                    "type": "string"
                  },
                  {
                    "const": "artifact",
                    "type": "string"
                  },
                  {
                    "const": "verification",
                    "type": "string"
                  },
                  {
                    "const": "harness",
                    "type": "string"
                  },
                  {
                    "const": "host",
                    "type": "string"
                  },
                  {
                    "const": "deployment",
                    "type": "string"
                  },
                  {
                    "const": "surface",
                    "type": "string"
                  },
                  {
                    "const": "target",
                    "type": "string"
                  },
                  {
                    "const": "opportunity",
                    "type": "string"
                  },
                  {
                    "const": "thesis_assessment",
                    "type": "string"
                  },
                  {
                    "const": "selection",
                    "type": "string"
                  },
                  {
                    "const": "skill_binding",
                    "type": "string"
                  },
                  {
                    "const": "target_transition_entry",
                    "type": "string"
                  },
                  {
                    "const": "selection_cycle",
                    "type": "string"
                  },
                  {
                    "const": "decision",
                    "type": "string"
                  },
                  {
                    "const": "reflection_entry",
                    "type": "string"
                  },
                  {
                    "const": "feed_entry",
                    "type": "string"
                  },
                  {
                    "const": "principal",
                    "type": "string"
                  },
                  {
                    "const": "authority_proof",
                    "type": "string"
                  },
                  {
                    "const": "scope_admission",
                    "type": "string"
                  },
                  {
                    "const": "grant",
                    "type": "string"
                  },
                  {
                    "const": "mandate",
                    "type": "string"
                  },
                  {
                    "const": "credential",
                    "type": "string"
                  },
                  {
                    "const": "webhook_delivery",
                    "type": "string"
                  },
                  {
                    "const": "redaction_policy",
                    "type": "string"
                  },
                  {
                    "const": "external_url",
                    "type": "string"
                  }
                ]
              },
              "uri": {
                "minLength": 1,
                "type": "string"
              }
            },
            "required": [
              "type",
              "uri"
            ],
            "type": "object",
            "x-runx-schema": "runx.reference.v1"
          },
          "host_ref": {
            "$id": "https://schemas.runx.dev/runx/reference/v1.json",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "additionalProperties": false,
            "properties": {
              "label": {
                "minLength": 1,
                "type": "string"
              },
              "locator": {
                "minLength": 1,
                "type": "string"
              },
              "observed_at": {
                "minLength": 1,
                "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
                "type": "string"
              },
              "proof_kind": {
                "anyOf": [
                  {
                    "const": "effect_evidence",
                    "type": "string"
                  },
                  {
                    "const": "effect_finality",
                    "type": "string"
                  },
                  {
                    "const": "credential_resolution",
                    "type": "string"
                  }
                ]
              },
              "provider": {
                "minLength": 1,
                "type": "string"
              },
              "schema": {
                "const": "runx.reference.v1",
                "type": "string"
              },
              "type": {
                "anyOf": [
                  {
                    "const": "github_issue",
                    "type": "string"
                  },
                  {
                    "const": "github_pull_request",
                    "type": "string"
                  },
                  {
                    "const": "github_repo",
                    "type": "string"
                  },
                  {
                    "const": "slack_thread",
                    "type": "string"
                  },
                  {
                    "const": "sentry_event",
                    "type": "string"
                  },
                  {
                    "const": "provider_thread",
                    "type": "string"
                  },
                  {
                    "const": "provider_event",
                    "type": "string"
                  },
                  {
                    "const": "provider_comment",
                    "type": "string"
                  },
                  {
                    "const": "tracking_item",
                    "type": "string"
                  },
                  {
                    "const": "change_request",
                    "type": "string"
                  },
                  {
                    "const": "repository",
                    "type": "string"
                  },
                  {
                    "const": "support_ticket",
                    "type": "string"
                  },
                  {
                    "const": "signal",
                    "type": "string"
                  },
                  {
                    "const": "act",
                    "type": "string"
                  },
                  {
                    "const": "receipt",
                    "type": "string"
                  },
                  {
                    "const": "graph_receipt",
                    "type": "string"
                  },
                  {
                    "const": "artifact",
                    "type": "string"
                  },
                  {
                    "const": "verification",
                    "type": "string"
                  },
                  {
                    "const": "harness",
                    "type": "string"
                  },
                  {
                    "const": "host",
                    "type": "string"
                  },
                  {
                    "const": "deployment",
                    "type": "string"
                  },
                  {
                    "const": "surface",
                    "type": "string"
                  },
                  {
                    "const": "target",
                    "type": "string"
                  },
                  {
                    "const": "opportunity",
                    "type": "string"
                  },
                  {
                    "const": "thesis_assessment",
                    "type": "string"
                  },
                  {
                    "const": "selection",
                    "type": "string"
                  },
                  {
                    "const": "skill_binding",
                    "type": "string"
                  },
                  {
                    "const": "target_transition_entry",
                    "type": "string"
                  },
                  {
                    "const": "selection_cycle",
                    "type": "string"
                  },
                  {
                    "const": "decision",
                    "type": "string"
                  },
                  {
                    "const": "reflection_entry",
                    "type": "string"
                  },
                  {
                    "const": "feed_entry",
                    "type": "string"
                  },
                  {
                    "const": "principal",
                    "type": "string"
                  },
                  {
                    "const": "authority_proof",
                    "type": "string"
                  },
                  {
                    "const": "scope_admission",
                    "type": "string"
                  },
                  {
                    "const": "grant",
                    "type": "string"
                  },
                  {
                    "const": "mandate",
                    "type": "string"
                  },
                  {
                    "const": "credential",
                    "type": "string"
                  },
                  {
                    "const": "webhook_delivery",
                    "type": "string"
                  },
                  {
                    "const": "redaction_policy",
                    "type": "string"
                  },
                  {
                    "const": "external_url",
                    "type": "string"
                  }
                ]
              },
              "uri": {
                "minLength": 1,
                "type": "string"
              }
            },
            "required": [
              "type",
              "uri"
            ],
            "type": "object",
            "x-runx-schema": "runx.reference.v1"
          },
          "scope_refs": {
            "items": {
              "$id": "https://schemas.runx.dev/runx/reference/v1.json",
              "$schema": "https://json-schema.org/draft/2020-12/schema",
              "additionalProperties": false,
              "properties": {
                "label": {
                  "minLength": 1,
                  "type": "string"
                },
                "locator": {
                  "minLength": 1,
                  "type": "string"
                },
                "observed_at": {
                  "minLength": 1,
                  "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
                  "type": "string"
                },
                "proof_kind": {
                  "anyOf": [
                    {
                      "const": "effect_evidence",
                      "type": "string"
                    },
                    {
                      "const": "effect_finality",
                      "type": "string"
                    },
                    {
                      "const": "credential_resolution",
                      "type": "string"
                    }
                  ]
                },
                "provider": {
                  "minLength": 1,
                  "type": "string"
                },
                "schema": {
                  "const": "runx.reference.v1",
                  "type": "string"
                },
                "type": {
                  "anyOf": [
                    {
                      "const": "github_issue",
                      "type": "string"
                    },
                    {
                      "const": "github_pull_request",
                      "type": "string"
                    },
                    {
                      "const": "github_repo",
                      "type": "string"
                    },
                    {
                      "const": "slack_thread",
                      "type": "string"
                    },
                    {
                      "const": "sentry_event",
                      "type": "string"
                    },
                    {
                      "const": "provider_thread",
                      "type": "string"
                    },
                    {
                      "const": "provider_event",
                      "type": "string"
                    },
                    {
                      "const": "provider_comment",
                      "type": "string"
                    },
                    {
                      "const": "tracking_item",
                      "type": "string"
                    },
                    {
                      "const": "change_request",
                      "type": "string"
                    },
                    {
                      "const": "repository",
                      "type": "string"
                    },
                    {
                      "const": "support_ticket",
                      "type": "string"
                    },
                    {
                      "const": "signal",
                      "type": "string"
                    },
                    {
                      "const": "act",
                      "type": "string"
                    },
                    {
                      "const": "receipt",
                      "type": "string"
                    },
                    {
                      "const": "graph_receipt",
                      "type": "string"
                    },
                    {
                      "const": "artifact",
                      "type": "string"
                    },
                    {
                      "const": "verification",
                      "type": "string"
                    },
                    {
                      "const": "harness",
                      "type": "string"
                    },
                    {
                      "const": "host",
                      "type": "string"
                    },
                    {
                      "const": "deployment",
                      "type": "string"
                    },
                    {
                      "const": "surface",
                      "type": "string"
                    },
                    {
                      "const": "target",
                      "type": "string"
                    },
                    {
                      "const": "opportunity",
                      "type": "string"
                    },
                    {
                      "const": "thesis_assessment",
                      "type": "string"
                    },
                    {
                      "const": "selection",
                      "type": "string"
                    },
                    {
                      "const": "skill_binding",
                      "type": "string"
                    },
                    {
                      "const": "target_transition_entry",
                      "type": "string"
                    },
                    {
                      "const": "selection_cycle",
                      "type": "string"
                    },
                    {
                      "const": "decision",
                      "type": "string"
                    },
                    {
                      "const": "reflection_entry",
                      "type": "string"
                    },
                    {
                      "const": "feed_entry",
                      "type": "string"
                    },
                    {
                      "const": "principal",
                      "type": "string"
                    },
                    {
                      "const": "authority_proof",
                      "type": "string"
                    },
                    {
                      "const": "scope_admission",
                      "type": "string"
                    },
                    {
                      "const": "grant",
                      "type": "string"
                    },
                    {
                      "const": "mandate",
                      "type": "string"
                    },
                    {
                      "const": "credential",
                      "type": "string"
                    },
                    {
                      "const": "webhook_delivery",
                      "type": "string"
                    },
                    {
                      "const": "redaction_policy",
                      "type": "string"
                    },
                    {
                      "const": "external_url",
                      "type": "string"
                    }
                  ]
                },
                "uri": {
                  "minLength": 1,
                  "type": "string"
                }
              },
              "required": [
                "type",
                "uri"
              ],
              "type": "object",
              "x-runx-schema": "runx.reference.v1"
            },
            "type": "array"
          }
        },
        "required": [
          "harness_ref",
          "host_ref"
        ],
        "type": "object"
      },
      "requested_at": {
        "minLength": 1,
        "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
        "type": "string"
      },
      "schema": {
        "anyOf": [
          {
            "const": "runx.thread_outbox_provider.fetch.v1",
            "type": "string"
          }
        ]
      },
      "target": {
        "anyOf": [
          {
            "additionalProperties": false,
            "properties": {
              "thread_locator": {
                "additionalProperties": false,
                "properties": {
                  "locator": {
                    "minLength": 1,
                    "type": "string"
                  },
                  "provider": {
                    "minLength": 1,
                    "type": "string"
                  },
                  "thread_ref": {
                    "$id": "https://schemas.runx.dev/runx/reference/v1.json",
                    "$schema": "https://json-schema.org/draft/2020-12/schema",
                    "additionalProperties": false,
                    "properties": {
                      "label": {
                        "minLength": 1,
                        "type": "string"
                      },
                      "locator": {
                        "minLength": 1,
                        "type": "string"
                      },
                      "observed_at": {
                        "minLength": 1,
                        "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
                        "type": "string"
                      },
                      "proof_kind": {
                        "anyOf": [
                          {
                            "const": "effect_evidence",
                            "type": "string"
                          },
                          {
                            "const": "effect_finality",
                            "type": "string"
                          },
                          {
                            "const": "credential_resolution",
                            "type": "string"
                          }
                        ]
                      },
                      "provider": {
                        "minLength": 1,
                        "type": "string"
                      },
                      "schema": {
                        "const": "runx.reference.v1",
                        "type": "string"
                      },
                      "type": {
                        "anyOf": [
                          {
                            "const": "github_issue",
                            "type": "string"
                          },
                          {
                            "const": "github_pull_request",
                            "type": "string"
                          },
                          {
                            "const": "github_repo",
                            "type": "string"
                          },
                          {
                            "const": "slack_thread",
                            "type": "string"
                          },
                          {
                            "const": "sentry_event",
                            "type": "string"
                          },
                          {
                            "const": "provider_thread",
                            "type": "string"
                          },
                          {
                            "const": "provider_event",
                            "type": "string"
                          },
                          {
                            "const": "provider_comment",
                            "type": "string"
                          },
                          {
                            "const": "tracking_item",
                            "type": "string"
                          },
                          {
                            "const": "change_request",
                            "type": "string"
                          },
                          {
                            "const": "repository",
                            "type": "string"
                          },
                          {
                            "const": "support_ticket",
                            "type": "string"
                          },
                          {
                            "const": "signal",
                            "type": "string"
                          },
                          {
                            "const": "act",
                            "type": "string"
                          },
                          {
                            "const": "receipt",
                            "type": "string"
                          },
                          {
                            "const": "graph_receipt",
                            "type": "string"
                          },
                          {
                            "const": "artifact",
                            "type": "string"
                          },
                          {
                            "const": "verification",
                            "type": "string"
                          },
                          {
                            "const": "harness",
                            "type": "string"
                          },
                          {
                            "const": "host",
                            "type": "string"
                          },
                          {
                            "const": "deployment",
                            "type": "string"
                          },
                          {
                            "const": "surface",
                            "type": "string"
                          },
                          {
                            "const": "target",
                            "type": "string"
                          },
                          {
                            "const": "opportunity",
                            "type": "string"
                          },
                          {
                            "const": "thesis_assessment",
                            "type": "string"
                          },
                          {
                            "const": "selection",
                            "type": "string"
                          },
                          {
                            "const": "skill_binding",
                            "type": "string"
                          },
                          {
                            "const": "target_transition_entry",
                            "type": "string"
                          },
                          {
                            "const": "selection_cycle",
                            "type": "string"
                          },
                          {
                            "const": "decision",
                            "type": "string"
                          },
                          {
                            "const": "reflection_entry",
                            "type": "string"
                          },
                          {
                            "const": "feed_entry",
                            "type": "string"
                          },
                          {
                            "const": "principal",
                            "type": "string"
                          },
                          {
                            "const": "authority_proof",
                            "type": "string"
                          },
                          {
                            "const": "scope_admission",
                            "type": "string"
                          },
                          {
                            "const": "grant",
                            "type": "string"
                          },
                          {
                            "const": "mandate",
                            "type": "string"
                          },
                          {
                            "const": "credential",
                            "type": "string"
                          },
                          {
                            "const": "webhook_delivery",
                            "type": "string"
                          },
                          {
                            "const": "redaction_policy",
                            "type": "string"
                          },
                          {
                            "const": "external_url",
                            "type": "string"
                          }
                        ]
                      },
                      "uri": {
                        "minLength": 1,
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "uri"
                    ],
                    "type": "object",
                    "x-runx-schema": "runx.reference.v1"
                  }
                },
                "required": [
                  "provider",
                  "thread_ref",
                  "locator"
                ],
                "type": "object"
              }
            },
            "required": [
              "thread_locator"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "properties": {
              "provider_locator": {
                "additionalProperties": false,
                "properties": {
                  "locator": {
                    "minLength": 1,
                    "type": "string"
                  },
                  "provider": {
                    "minLength": 1,
                    "type": "string"
                  },
                  "provider_ref": {
                    "$id": "https://schemas.runx.dev/runx/reference/v1.json",
                    "$schema": "https://json-schema.org/draft/2020-12/schema",
                    "additionalProperties": false,
                    "properties": {
                      "label": {
                        "minLength": 1,
                        "type": "string"
                      },
                      "locator": {
                        "minLength": 1,
                        "type": "string"
                      },
                      "observed_at": {
                        "minLength": 1,
                        "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
                        "type": "string"
                      },
                      "proof_kind": {
                        "anyOf": [
                          {
                            "const": "effect_evidence",
                            "type": "string"
                          },
                          {
                            "const": "effect_finality",
                            "type": "string"
                          },
                          {
                            "const": "credential_resolution",
                            "type": "string"
                          }
                        ]
                      },
                      "provider": {
                        "minLength": 1,
                        "type": "string"
                      },
                      "schema": {
                        "const": "runx.reference.v1",
                        "type": "string"
                      },
                      "type": {
                        "anyOf": [
                          {
                            "const": "github_issue",
                            "type": "string"
                          },
                          {
                            "const": "github_pull_request",
                            "type": "string"
                          },
                          {
                            "const": "github_repo",
                            "type": "string"
                          },
                          {
                            "const": "slack_thread",
                            "type": "string"
                          },
                          {
                            "const": "sentry_event",
                            "type": "string"
                          },
                          {
                            "const": "provider_thread",
                            "type": "string"
                          },
                          {
                            "const": "provider_event",
                            "type": "string"
                          },
                          {
                            "const": "provider_comment",
                            "type": "string"
                          },
                          {
                            "const": "tracking_item",
                            "type": "string"
                          },
                          {
                            "const": "change_request",
                            "type": "string"
                          },
                          {
                            "const": "repository",
                            "type": "string"
                          },
                          {
                            "const": "support_ticket",
                            "type": "string"
                          },
                          {
                            "const": "signal",
                            "type": "string"
                          },
                          {
                            "const": "act",
                            "type": "string"
                          },
                          {
                            "const": "receipt",
                            "type": "string"
                          },
                          {
                            "const": "graph_receipt",
                            "type": "string"
                          },
                          {
                            "const": "artifact",
                            "type": "string"
                          },
                          {
                            "const": "verification",
                            "type": "string"
                          },
                          {
                            "const": "harness",
                            "type": "string"
                          },
                          {
                            "const": "host",
                            "type": "string"
                          },
                          {
                            "const": "deployment",
                            "type": "string"
                          },
                          {
                            "const": "surface",
                            "type": "string"
                          },
                          {
                            "const": "target",
                            "type": "string"
                          },
                          {
                            "const": "opportunity",
                            "type": "string"
                          },
                          {
                            "const": "thesis_assessment",
                            "type": "string"
                          },
                          {
                            "const": "selection",
                            "type": "string"
                          },
                          {
                            "const": "skill_binding",
                            "type": "string"
                          },
                          {
                            "const": "target_transition_entry",
                            "type": "string"
                          },
                          {
                            "const": "selection_cycle",
                            "type": "string"
                          },
                          {
                            "const": "decision",
                            "type": "string"
                          },
                          {
                            "const": "reflection_entry",
                            "type": "string"
                          },
                          {
                            "const": "feed_entry",
                            "type": "string"
                          },
                          {
                            "const": "principal",
                            "type": "string"
                          },
                          {
                            "const": "authority_proof",
                            "type": "string"
                          },
                          {
                            "const": "scope_admission",
                            "type": "string"
                          },
                          {
                            "const": "grant",
                            "type": "string"
                          },
                          {
                            "const": "mandate",
                            "type": "string"
                          },
                          {
                            "const": "credential",
                            "type": "string"
                          },
                          {
                            "const": "webhook_delivery",
                            "type": "string"
                          },
                          {
                            "const": "redaction_policy",
                            "type": "string"
                          },
                          {
                            "const": "external_url",
                            "type": "string"
                          }
                        ]
                      },
                      "uri": {
                        "minLength": 1,
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "uri"
                    ],
                    "type": "object",
                    "x-runx-schema": "runx.reference.v1"
                  }
                },
                "required": [
                  "provider",
                  "locator"
                ],
                "type": "object"
              }
            },
            "required": [
              "provider_locator"
            ],
            "type": "object"
          }
        ]
      }
    },
    "required": [
      "schema",
      "protocol_version",
      "fetch_id",
      "adapter_id",
      "provider",
      "target",
      "idempotency",
      "provider_profile",
      "credential_delivery_refs",
      "receipt_context",
      "requested_at"
    ],
    "type": "object",
    "x-runx-schema": "runx.thread_outbox_provider.fetch.v1"
  } as JsonSchema,
  "thread-outbox-provider-manifest.schema.json": {
    "$id": "https://schemas.runx.dev/runx/thread-outbox-provider/manifest/v1.json",
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "additionalProperties": false,
    "properties": {
      "adapter_id": {
        "minLength": 1,
        "type": "string"
      },
      "credential_needs": {
        "items": {
          "additionalProperties": false,
          "properties": {
            "delivery_mode": {
              "anyOf": [
                {
                  "const": "process_env",
                  "type": "string"
                }
              ]
            },
            "profile_id": {
              "minLength": 1,
              "type": "string"
            },
            "provider": {
              "minLength": 1,
              "type": "string"
            },
            "purpose": {
              "anyOf": [
                {
                  "const": "provider_api",
                  "type": "string"
                },
                {
                  "const": "registry",
                  "type": "string"
                },
                {
                  "const": "artifact_store",
                  "type": "string"
                },
                {
                  "const": "webhook_verification",
                  "type": "string"
                }
              ]
            },
            "required": {
              "type": "boolean"
            },
            "scope_refs": {
              "items": {
                "$id": "https://schemas.runx.dev/runx/reference/v1.json",
                "$schema": "https://json-schema.org/draft/2020-12/schema",
                "additionalProperties": false,
                "properties": {
                  "label": {
                    "minLength": 1,
                    "type": "string"
                  },
                  "locator": {
                    "minLength": 1,
                    "type": "string"
                  },
                  "observed_at": {
                    "minLength": 1,
                    "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
                    "type": "string"
                  },
                  "proof_kind": {
                    "anyOf": [
                      {
                        "const": "effect_evidence",
                        "type": "string"
                      },
                      {
                        "const": "effect_finality",
                        "type": "string"
                      },
                      {
                        "const": "credential_resolution",
                        "type": "string"
                      }
                    ]
                  },
                  "provider": {
                    "minLength": 1,
                    "type": "string"
                  },
                  "schema": {
                    "const": "runx.reference.v1",
                    "type": "string"
                  },
                  "type": {
                    "anyOf": [
                      {
                        "const": "github_issue",
                        "type": "string"
                      },
                      {
                        "const": "github_pull_request",
                        "type": "string"
                      },
                      {
                        "const": "github_repo",
                        "type": "string"
                      },
                      {
                        "const": "slack_thread",
                        "type": "string"
                      },
                      {
                        "const": "sentry_event",
                        "type": "string"
                      },
                      {
                        "const": "provider_thread",
                        "type": "string"
                      },
                      {
                        "const": "provider_event",
                        "type": "string"
                      },
                      {
                        "const": "provider_comment",
                        "type": "string"
                      },
                      {
                        "const": "tracking_item",
                        "type": "string"
                      },
                      {
                        "const": "change_request",
                        "type": "string"
                      },
                      {
                        "const": "repository",
                        "type": "string"
                      },
                      {
                        "const": "support_ticket",
                        "type": "string"
                      },
                      {
                        "const": "signal",
                        "type": "string"
                      },
                      {
                        "const": "act",
                        "type": "string"
                      },
                      {
                        "const": "receipt",
                        "type": "string"
                      },
                      {
                        "const": "graph_receipt",
                        "type": "string"
                      },
                      {
                        "const": "artifact",
                        "type": "string"
                      },
                      {
                        "const": "verification",
                        "type": "string"
                      },
                      {
                        "const": "harness",
                        "type": "string"
                      },
                      {
                        "const": "host",
                        "type": "string"
                      },
                      {
                        "const": "deployment",
                        "type": "string"
                      },
                      {
                        "const": "surface",
                        "type": "string"
                      },
                      {
                        "const": "target",
                        "type": "string"
                      },
                      {
                        "const": "opportunity",
                        "type": "string"
                      },
                      {
                        "const": "thesis_assessment",
                        "type": "string"
                      },
                      {
                        "const": "selection",
                        "type": "string"
                      },
                      {
                        "const": "skill_binding",
                        "type": "string"
                      },
                      {
                        "const": "target_transition_entry",
                        "type": "string"
                      },
                      {
                        "const": "selection_cycle",
                        "type": "string"
                      },
                      {
                        "const": "decision",
                        "type": "string"
                      },
                      {
                        "const": "reflection_entry",
                        "type": "string"
                      },
                      {
                        "const": "feed_entry",
                        "type": "string"
                      },
                      {
                        "const": "principal",
                        "type": "string"
                      },
                      {
                        "const": "authority_proof",
                        "type": "string"
                      },
                      {
                        "const": "scope_admission",
                        "type": "string"
                      },
                      {
                        "const": "grant",
                        "type": "string"
                      },
                      {
                        "const": "mandate",
                        "type": "string"
                      },
                      {
                        "const": "credential",
                        "type": "string"
                      },
                      {
                        "const": "webhook_delivery",
                        "type": "string"
                      },
                      {
                        "const": "redaction_policy",
                        "type": "string"
                      },
                      {
                        "const": "external_url",
                        "type": "string"
                      }
                    ]
                  },
                  "uri": {
                    "minLength": 1,
                    "type": "string"
                  }
                },
                "required": [
                  "type",
                  "uri"
                ],
                "type": "object",
                "x-runx-schema": "runx.reference.v1"
              },
              "type": "array"
            }
          },
          "required": [
            "provider",
            "purpose",
            "profile_id",
            "delivery_mode",
            "required"
          ],
          "type": "object"
        },
        "type": "array"
      },
      "name": {
        "minLength": 1,
        "type": "string"
      },
      "protocol_version": {
        "anyOf": [
          {
            "const": "runx.thread_outbox_provider.v1",
            "type": "string"
          }
        ]
      },
      "provider": {
        "minLength": 1,
        "type": "string"
      },
      "receipt_capabilities": {
        "additionalProperties": false,
        "properties": {
          "idempotent_push": {
            "type": "boolean"
          },
          "readback": {
            "type": "boolean"
          },
          "stable_provider_event_hash": {
            "type": "boolean"
          }
        },
        "required": [
          "idempotent_push",
          "readback",
          "stable_provider_event_hash"
        ],
        "type": "object"
      },
      "redaction_capabilities": {
        "additionalProperties": false,
        "properties": {
          "redacts_credentials": {
            "type": "boolean"
          },
          "redacts_provider_payloads": {
            "type": "boolean"
          },
          "supports_redaction_refs": {
            "type": "boolean"
          }
        },
        "required": [
          "redacts_credentials",
          "redacts_provider_payloads",
          "supports_redaction_refs"
        ],
        "type": "object"
      },
      "schema": {
        "anyOf": [
          {
            "const": "runx.thread_outbox_provider.manifest.v1",
            "type": "string"
          }
        ]
      },
      "supported_operations": {
        "items": {
          "anyOf": [
            {
              "const": "push",
              "type": "string"
            },
            {
              "const": "fetch",
              "type": "string"
            }
          ]
        },
        "type": "array"
      },
      "transport": {
        "additionalProperties": false,
        "properties": {
          "args": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "command": {
            "minLength": 1,
            "type": "string"
          },
          "endpoint": {
            "minLength": 1,
            "type": "string"
          },
          "kind": {
            "anyOf": [
              {
                "const": "process",
                "type": "string"
              }
            ]
          }
        },
        "required": [
          "kind"
        ],
        "type": "object"
      },
      "version": {
        "minLength": 1,
        "type": "string"
      }
    },
    "required": [
      "schema",
      "protocol_version",
      "adapter_id",
      "provider",
      "name",
      "version",
      "supported_operations",
      "transport",
      "receipt_capabilities",
      "redaction_capabilities"
    ],
    "type": "object",
    "x-runx-schema": "runx.thread_outbox_provider.manifest.v1"
  } as JsonSchema,
  "thread-outbox-provider-observation.schema.json": {
    "$id": "https://schemas.runx.dev/runx/thread-outbox-provider/observation/v1.json",
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "additionalProperties": false,
    "properties": {
      "adapter_id": {
        "minLength": 1,
        "type": "string"
      },
      "delivery_observations": {
        "items": {
          "$id": "https://schemas.runx.dev/runx/credential-delivery/observation/v1.json",
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "additionalProperties": false,
          "properties": {
            "credential_refs": {
              "items": {
                "$id": "https://schemas.runx.dev/runx/reference/v1.json",
                "$schema": "https://json-schema.org/draft/2020-12/schema",
                "additionalProperties": false,
                "properties": {
                  "label": {
                    "minLength": 1,
                    "type": "string"
                  },
                  "locator": {
                    "minLength": 1,
                    "type": "string"
                  },
                  "observed_at": {
                    "minLength": 1,
                    "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
                    "type": "string"
                  },
                  "proof_kind": {
                    "anyOf": [
                      {
                        "const": "effect_evidence",
                        "type": "string"
                      },
                      {
                        "const": "effect_finality",
                        "type": "string"
                      },
                      {
                        "const": "credential_resolution",
                        "type": "string"
                      }
                    ]
                  },
                  "provider": {
                    "minLength": 1,
                    "type": "string"
                  },
                  "schema": {
                    "const": "runx.reference.v1",
                    "type": "string"
                  },
                  "type": {
                    "anyOf": [
                      {
                        "const": "github_issue",
                        "type": "string"
                      },
                      {
                        "const": "github_pull_request",
                        "type": "string"
                      },
                      {
                        "const": "github_repo",
                        "type": "string"
                      },
                      {
                        "const": "slack_thread",
                        "type": "string"
                      },
                      {
                        "const": "sentry_event",
                        "type": "string"
                      },
                      {
                        "const": "provider_thread",
                        "type": "string"
                      },
                      {
                        "const": "provider_event",
                        "type": "string"
                      },
                      {
                        "const": "provider_comment",
                        "type": "string"
                      },
                      {
                        "const": "tracking_item",
                        "type": "string"
                      },
                      {
                        "const": "change_request",
                        "type": "string"
                      },
                      {
                        "const": "repository",
                        "type": "string"
                      },
                      {
                        "const": "support_ticket",
                        "type": "string"
                      },
                      {
                        "const": "signal",
                        "type": "string"
                      },
                      {
                        "const": "act",
                        "type": "string"
                      },
                      {
                        "const": "receipt",
                        "type": "string"
                      },
                      {
                        "const": "graph_receipt",
                        "type": "string"
                      },
                      {
                        "const": "artifact",
                        "type": "string"
                      },
                      {
                        "const": "verification",
                        "type": "string"
                      },
                      {
                        "const": "harness",
                        "type": "string"
                      },
                      {
                        "const": "host",
                        "type": "string"
                      },
                      {
                        "const": "deployment",
                        "type": "string"
                      },
                      {
                        "const": "surface",
                        "type": "string"
                      },
                      {
                        "const": "target",
                        "type": "string"
                      },
                      {
                        "const": "opportunity",
                        "type": "string"
                      },
                      {
                        "const": "thesis_assessment",
                        "type": "string"
                      },
                      {
                        "const": "selection",
                        "type": "string"
                      },
                      {
                        "const": "skill_binding",
                        "type": "string"
                      },
                      {
                        "const": "target_transition_entry",
                        "type": "string"
                      },
                      {
                        "const": "selection_cycle",
                        "type": "string"
                      },
                      {
                        "const": "decision",
                        "type": "string"
                      },
                      {
                        "const": "reflection_entry",
                        "type": "string"
                      },
                      {
                        "const": "feed_entry",
                        "type": "string"
                      },
                      {
                        "const": "principal",
                        "type": "string"
                      },
                      {
                        "const": "authority_proof",
                        "type": "string"
                      },
                      {
                        "const": "scope_admission",
                        "type": "string"
                      },
                      {
                        "const": "grant",
                        "type": "string"
                      },
                      {
                        "const": "mandate",
                        "type": "string"
                      },
                      {
                        "const": "credential",
                        "type": "string"
                      },
                      {
                        "const": "webhook_delivery",
                        "type": "string"
                      },
                      {
                        "const": "redaction_policy",
                        "type": "string"
                      },
                      {
                        "const": "external_url",
                        "type": "string"
                      }
                    ]
                  },
                  "uri": {
                    "minLength": 1,
                    "type": "string"
                  }
                },
                "required": [
                  "type",
                  "uri"
                ],
                "type": "object",
                "x-runx-schema": "runx.reference.v1"
              },
              "type": "array"
            },
            "delivered_roles": {
              "items": {
                "anyOf": [
                  {
                    "const": "personal_token",
                    "type": "string"
                  },
                  {
                    "const": "api_key",
                    "type": "string"
                  },
                  {
                    "const": "client_secret",
                    "type": "string"
                  },
                  {
                    "const": "session_token",
                    "type": "string"
                  }
                ]
              },
              "type": "array"
            },
            "delivery_mode": {
              "anyOf": [
                {
                  "const": "process_env",
                  "type": "string"
                }
              ]
            },
            "harness_ref": {
              "$id": "https://schemas.runx.dev/runx/reference/v1.json",
              "$schema": "https://json-schema.org/draft/2020-12/schema",
              "additionalProperties": false,
              "properties": {
                "label": {
                  "minLength": 1,
                  "type": "string"
                },
                "locator": {
                  "minLength": 1,
                  "type": "string"
                },
                "observed_at": {
                  "minLength": 1,
                  "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
                  "type": "string"
                },
                "proof_kind": {
                  "anyOf": [
                    {
                      "const": "effect_evidence",
                      "type": "string"
                    },
                    {
                      "const": "effect_finality",
                      "type": "string"
                    },
                    {
                      "const": "credential_resolution",
                      "type": "string"
                    }
                  ]
                },
                "provider": {
                  "minLength": 1,
                  "type": "string"
                },
                "schema": {
                  "const": "runx.reference.v1",
                  "type": "string"
                },
                "type": {
                  "anyOf": [
                    {
                      "const": "github_issue",
                      "type": "string"
                    },
                    {
                      "const": "github_pull_request",
                      "type": "string"
                    },
                    {
                      "const": "github_repo",
                      "type": "string"
                    },
                    {
                      "const": "slack_thread",
                      "type": "string"
                    },
                    {
                      "const": "sentry_event",
                      "type": "string"
                    },
                    {
                      "const": "provider_thread",
                      "type": "string"
                    },
                    {
                      "const": "provider_event",
                      "type": "string"
                    },
                    {
                      "const": "provider_comment",
                      "type": "string"
                    },
                    {
                      "const": "tracking_item",
                      "type": "string"
                    },
                    {
                      "const": "change_request",
                      "type": "string"
                    },
                    {
                      "const": "repository",
                      "type": "string"
                    },
                    {
                      "const": "support_ticket",
                      "type": "string"
                    },
                    {
                      "const": "signal",
                      "type": "string"
                    },
                    {
                      "const": "act",
                      "type": "string"
                    },
                    {
                      "const": "receipt",
                      "type": "string"
                    },
                    {
                      "const": "graph_receipt",
                      "type": "string"
                    },
                    {
                      "const": "artifact",
                      "type": "string"
                    },
                    {
                      "const": "verification",
                      "type": "string"
                    },
                    {
                      "const": "harness",
                      "type": "string"
                    },
                    {
                      "const": "host",
                      "type": "string"
                    },
                    {
                      "const": "deployment",
                      "type": "string"
                    },
                    {
                      "const": "surface",
                      "type": "string"
                    },
                    {
                      "const": "target",
                      "type": "string"
                    },
                    {
                      "const": "opportunity",
                      "type": "string"
                    },
                    {
                      "const": "thesis_assessment",
                      "type": "string"
                    },
                    {
                      "const": "selection",
                      "type": "string"
                    },
                    {
                      "const": "skill_binding",
                      "type": "string"
                    },
                    {
                      "const": "target_transition_entry",
                      "type": "string"
                    },
                    {
                      "const": "selection_cycle",
                      "type": "string"
                    },
                    {
                      "const": "decision",
                      "type": "string"
                    },
                    {
                      "const": "reflection_entry",
                      "type": "string"
                    },
                    {
                      "const": "feed_entry",
                      "type": "string"
                    },
                    {
                      "const": "principal",
                      "type": "string"
                    },
                    {
                      "const": "authority_proof",
                      "type": "string"
                    },
                    {
                      "const": "scope_admission",
                      "type": "string"
                    },
                    {
                      "const": "grant",
                      "type": "string"
                    },
                    {
                      "const": "mandate",
                      "type": "string"
                    },
                    {
                      "const": "credential",
                      "type": "string"
                    },
                    {
                      "const": "webhook_delivery",
                      "type": "string"
                    },
                    {
                      "const": "redaction_policy",
                      "type": "string"
                    },
                    {
                      "const": "external_url",
                      "type": "string"
                    }
                  ]
                },
                "uri": {
                  "minLength": 1,
                  "type": "string"
                }
              },
              "required": [
                "type",
                "uri"
              ],
              "type": "object",
              "x-runx-schema": "runx.reference.v1"
            },
            "host_ref": {
              "$id": "https://schemas.runx.dev/runx/reference/v1.json",
              "$schema": "https://json-schema.org/draft/2020-12/schema",
              "additionalProperties": false,
              "properties": {
                "label": {
                  "minLength": 1,
                  "type": "string"
                },
                "locator": {
                  "minLength": 1,
                  "type": "string"
                },
                "observed_at": {
                  "minLength": 1,
                  "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
                  "type": "string"
                },
                "proof_kind": {
                  "anyOf": [
                    {
                      "const": "effect_evidence",
                      "type": "string"
                    },
                    {
                      "const": "effect_finality",
                      "type": "string"
                    },
                    {
                      "const": "credential_resolution",
                      "type": "string"
                    }
                  ]
                },
                "provider": {
                  "minLength": 1,
                  "type": "string"
                },
                "schema": {
                  "const": "runx.reference.v1",
                  "type": "string"
                },
                "type": {
                  "anyOf": [
                    {
                      "const": "github_issue",
                      "type": "string"
                    },
                    {
                      "const": "github_pull_request",
                      "type": "string"
                    },
                    {
                      "const": "github_repo",
                      "type": "string"
                    },
                    {
                      "const": "slack_thread",
                      "type": "string"
                    },
                    {
                      "const": "sentry_event",
                      "type": "string"
                    },
                    {
                      "const": "provider_thread",
                      "type": "string"
                    },
                    {
                      "const": "provider_event",
                      "type": "string"
                    },
                    {
                      "const": "provider_comment",
                      "type": "string"
                    },
                    {
                      "const": "tracking_item",
                      "type": "string"
                    },
                    {
                      "const": "change_request",
                      "type": "string"
                    },
                    {
                      "const": "repository",
                      "type": "string"
                    },
                    {
                      "const": "support_ticket",
                      "type": "string"
                    },
                    {
                      "const": "signal",
                      "type": "string"
                    },
                    {
                      "const": "act",
                      "type": "string"
                    },
                    {
                      "const": "receipt",
                      "type": "string"
                    },
                    {
                      "const": "graph_receipt",
                      "type": "string"
                    },
                    {
                      "const": "artifact",
                      "type": "string"
                    },
                    {
                      "const": "verification",
                      "type": "string"
                    },
                    {
                      "const": "harness",
                      "type": "string"
                    },
                    {
                      "const": "host",
                      "type": "string"
                    },
                    {
                      "const": "deployment",
                      "type": "string"
                    },
                    {
                      "const": "surface",
                      "type": "string"
                    },
                    {
                      "const": "target",
                      "type": "string"
                    },
                    {
                      "const": "opportunity",
                      "type": "string"
                    },
                    {
                      "const": "thesis_assessment",
                      "type": "string"
                    },
                    {
                      "const": "selection",
                      "type": "string"
                    },
                    {
                      "const": "skill_binding",
                      "type": "string"
                    },
                    {
                      "const": "target_transition_entry",
                      "type": "string"
                    },
                    {
                      "const": "selection_cycle",
                      "type": "string"
                    },
                    {
                      "const": "decision",
                      "type": "string"
                    },
                    {
                      "const": "reflection_entry",
                      "type": "string"
                    },
                    {
                      "const": "feed_entry",
                      "type": "string"
                    },
                    {
                      "const": "principal",
                      "type": "string"
                    },
                    {
                      "const": "authority_proof",
                      "type": "string"
                    },
                    {
                      "const": "scope_admission",
                      "type": "string"
                    },
                    {
                      "const": "grant",
                      "type": "string"
                    },
                    {
                      "const": "mandate",
                      "type": "string"
                    },
                    {
                      "const": "credential",
                      "type": "string"
                    },
                    {
                      "const": "webhook_delivery",
                      "type": "string"
                    },
                    {
                      "const": "redaction_policy",
                      "type": "string"
                    },
                    {
                      "const": "external_url",
                      "type": "string"
                    }
                  ]
                },
                "uri": {
                  "minLength": 1,
                  "type": "string"
                }
              },
              "required": [
                "type",
                "uri"
              ],
              "type": "object",
              "x-runx-schema": "runx.reference.v1"
            },
            "material_ref_hash": {
              "minLength": 1,
              "type": "string"
            },
            "observation_id": {
              "minLength": 1,
              "type": "string"
            },
            "observed_at": {
              "minLength": 1,
              "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
              "type": "string"
            },
            "profile_id": {
              "minLength": 1,
              "type": "string"
            },
            "provider": {
              "minLength": 1,
              "type": "string"
            },
            "purpose": {
              "anyOf": [
                {
                  "const": "provider_api",
                  "type": "string"
                },
                {
                  "const": "registry",
                  "type": "string"
                },
                {
                  "const": "artifact_store",
                  "type": "string"
                },
                {
                  "const": "webhook_verification",
                  "type": "string"
                }
              ]
            },
            "redaction_refs": {
              "items": {
                "$id": "https://schemas.runx.dev/runx/reference/v1.json",
                "$schema": "https://json-schema.org/draft/2020-12/schema",
                "additionalProperties": false,
                "properties": {
                  "label": {
                    "minLength": 1,
                    "type": "string"
                  },
                  "locator": {
                    "minLength": 1,
                    "type": "string"
                  },
                  "observed_at": {
                    "minLength": 1,
                    "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
                    "type": "string"
                  },
                  "proof_kind": {
                    "anyOf": [
                      {
                        "const": "effect_evidence",
                        "type": "string"
                      },
                      {
                        "const": "effect_finality",
                        "type": "string"
                      },
                      {
                        "const": "credential_resolution",
                        "type": "string"
                      }
                    ]
                  },
                  "provider": {
                    "minLength": 1,
                    "type": "string"
                  },
                  "schema": {
                    "const": "runx.reference.v1",
                    "type": "string"
                  },
                  "type": {
                    "anyOf": [
                      {
                        "const": "github_issue",
                        "type": "string"
                      },
                      {
                        "const": "github_pull_request",
                        "type": "string"
                      },
                      {
                        "const": "github_repo",
                        "type": "string"
                      },
                      {
                        "const": "slack_thread",
                        "type": "string"
                      },
                      {
                        "const": "sentry_event",
                        "type": "string"
                      },
                      {
                        "const": "provider_thread",
                        "type": "string"
                      },
                      {
                        "const": "provider_event",
                        "type": "string"
                      },
                      {
                        "const": "provider_comment",
                        "type": "string"
                      },
                      {
                        "const": "tracking_item",
                        "type": "string"
                      },
                      {
                        "const": "change_request",
                        "type": "string"
                      },
                      {
                        "const": "repository",
                        "type": "string"
                      },
                      {
                        "const": "support_ticket",
                        "type": "string"
                      },
                      {
                        "const": "signal",
                        "type": "string"
                      },
                      {
                        "const": "act",
                        "type": "string"
                      },
                      {
                        "const": "receipt",
                        "type": "string"
                      },
                      {
                        "const": "graph_receipt",
                        "type": "string"
                      },
                      {
                        "const": "artifact",
                        "type": "string"
                      },
                      {
                        "const": "verification",
                        "type": "string"
                      },
                      {
                        "const": "harness",
                        "type": "string"
                      },
                      {
                        "const": "host",
                        "type": "string"
                      },
                      {
                        "const": "deployment",
                        "type": "string"
                      },
                      {
                        "const": "surface",
                        "type": "string"
                      },
                      {
                        "const": "target",
                        "type": "string"
                      },
                      {
                        "const": "opportunity",
                        "type": "string"
                      },
                      {
                        "const": "thesis_assessment",
                        "type": "string"
                      },
                      {
                        "const": "selection",
                        "type": "string"
                      },
                      {
                        "const": "skill_binding",
                        "type": "string"
                      },
                      {
                        "const": "target_transition_entry",
                        "type": "string"
                      },
                      {
                        "const": "selection_cycle",
                        "type": "string"
                      },
                      {
                        "const": "decision",
                        "type": "string"
                      },
                      {
                        "const": "reflection_entry",
                        "type": "string"
                      },
                      {
                        "const": "feed_entry",
                        "type": "string"
                      },
                      {
                        "const": "principal",
                        "type": "string"
                      },
                      {
                        "const": "authority_proof",
                        "type": "string"
                      },
                      {
                        "const": "scope_admission",
                        "type": "string"
                      },
                      {
                        "const": "grant",
                        "type": "string"
                      },
                      {
                        "const": "mandate",
                        "type": "string"
                      },
                      {
                        "const": "credential",
                        "type": "string"
                      },
                      {
                        "const": "webhook_delivery",
                        "type": "string"
                      },
                      {
                        "const": "redaction_policy",
                        "type": "string"
                      },
                      {
                        "const": "external_url",
                        "type": "string"
                      }
                    ]
                  },
                  "uri": {
                    "minLength": 1,
                    "type": "string"
                  }
                },
                "required": [
                  "type",
                  "uri"
                ],
                "type": "object",
                "x-runx-schema": "runx.reference.v1"
              },
              "type": "array"
            },
            "request_id": {
              "minLength": 1,
              "type": "string"
            },
            "response_id": {
              "minLength": 1,
              "type": "string"
            },
            "schema": {
              "anyOf": [
                {
                  "const": "runx.credential_delivery.observation.v1",
                  "type": "string"
                }
              ]
            },
            "status": {
              "anyOf": [
                {
                  "const": "delivered",
                  "type": "string"
                },
                {
                  "const": "denied",
                  "type": "string"
                },
                {
                  "const": "not_delivered",
                  "type": "string"
                }
              ]
            }
          },
          "required": [
            "schema",
            "observation_id",
            "request_id",
            "status",
            "harness_ref",
            "profile_id",
            "provider",
            "purpose",
            "credential_refs",
            "delivered_roles",
            "observed_at"
          ],
          "type": "object",
          "x-runx-schema": "runx.credential_delivery.observation.v1"
        },
        "type": "array"
      },
      "errors": {
        "items": {
          "additionalProperties": false,
          "properties": {
            "code": {
              "minLength": 1,
              "type": "string"
            },
            "message": {
              "minLength": 1,
              "type": "string"
            },
            "retryable": {
              "type": "boolean"
            }
          },
          "required": [
            "code",
            "message",
            "retryable"
          ],
          "type": "object"
        },
        "type": "array"
      },
      "idempotency": {
        "additionalProperties": false,
        "properties": {
          "key": {
            "minLength": 1,
            "type": "string"
          },
          "original_observation_ref": {
            "$id": "https://schemas.runx.dev/runx/reference/v1.json",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "additionalProperties": false,
            "properties": {
              "label": {
                "minLength": 1,
                "type": "string"
              },
              "locator": {
                "minLength": 1,
                "type": "string"
              },
              "observed_at": {
                "minLength": 1,
                "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
                "type": "string"
              },
              "proof_kind": {
                "anyOf": [
                  {
                    "const": "effect_evidence",
                    "type": "string"
                  },
                  {
                    "const": "effect_finality",
                    "type": "string"
                  },
                  {
                    "const": "credential_resolution",
                    "type": "string"
                  }
                ]
              },
              "provider": {
                "minLength": 1,
                "type": "string"
              },
              "schema": {
                "const": "runx.reference.v1",
                "type": "string"
              },
              "type": {
                "anyOf": [
                  {
                    "const": "github_issue",
                    "type": "string"
                  },
                  {
                    "const": "github_pull_request",
                    "type": "string"
                  },
                  {
                    "const": "github_repo",
                    "type": "string"
                  },
                  {
                    "const": "slack_thread",
                    "type": "string"
                  },
                  {
                    "const": "sentry_event",
                    "type": "string"
                  },
                  {
                    "const": "provider_thread",
                    "type": "string"
                  },
                  {
                    "const": "provider_event",
                    "type": "string"
                  },
                  {
                    "const": "provider_comment",
                    "type": "string"
                  },
                  {
                    "const": "tracking_item",
                    "type": "string"
                  },
                  {
                    "const": "change_request",
                    "type": "string"
                  },
                  {
                    "const": "repository",
                    "type": "string"
                  },
                  {
                    "const": "support_ticket",
                    "type": "string"
                  },
                  {
                    "const": "signal",
                    "type": "string"
                  },
                  {
                    "const": "act",
                    "type": "string"
                  },
                  {
                    "const": "receipt",
                    "type": "string"
                  },
                  {
                    "const": "graph_receipt",
                    "type": "string"
                  },
                  {
                    "const": "artifact",
                    "type": "string"
                  },
                  {
                    "const": "verification",
                    "type": "string"
                  },
                  {
                    "const": "harness",
                    "type": "string"
                  },
                  {
                    "const": "host",
                    "type": "string"
                  },
                  {
                    "const": "deployment",
                    "type": "string"
                  },
                  {
                    "const": "surface",
                    "type": "string"
                  },
                  {
                    "const": "target",
                    "type": "string"
                  },
                  {
                    "const": "opportunity",
                    "type": "string"
                  },
                  {
                    "const": "thesis_assessment",
                    "type": "string"
                  },
                  {
                    "const": "selection",
                    "type": "string"
                  },
                  {
                    "const": "skill_binding",
                    "type": "string"
                  },
                  {
                    "const": "target_transition_entry",
                    "type": "string"
                  },
                  {
                    "const": "selection_cycle",
                    "type": "string"
                  },
                  {
                    "const": "decision",
                    "type": "string"
                  },
                  {
                    "const": "reflection_entry",
                    "type": "string"
                  },
                  {
                    "const": "feed_entry",
                    "type": "string"
                  },
                  {
                    "const": "principal",
                    "type": "string"
                  },
                  {
                    "const": "authority_proof",
                    "type": "string"
                  },
                  {
                    "const": "scope_admission",
                    "type": "string"
                  },
                  {
                    "const": "grant",
                    "type": "string"
                  },
                  {
                    "const": "mandate",
                    "type": "string"
                  },
                  {
                    "const": "credential",
                    "type": "string"
                  },
                  {
                    "const": "webhook_delivery",
                    "type": "string"
                  },
                  {
                    "const": "redaction_policy",
                    "type": "string"
                  },
                  {
                    "const": "external_url",
                    "type": "string"
                  }
                ]
              },
              "uri": {
                "minLength": 1,
                "type": "string"
              }
            },
            "required": [
              "type",
              "uri"
            ],
            "type": "object",
            "x-runx-schema": "runx.reference.v1"
          },
          "status": {
            "anyOf": [
              {
                "const": "created",
                "type": "string"
              },
              {
                "const": "replayed",
                "type": "string"
              },
              {
                "const": "skipped",
                "type": "string"
              },
              {
                "const": "failed",
                "type": "string"
              }
            ]
          }
        },
        "required": [
          "key",
          "status"
        ],
        "type": "object"
      },
      "observation_id": {
        "minLength": 1,
        "type": "string"
      },
      "observed_at": {
        "minLength": 1,
        "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
        "type": "string"
      },
      "operation": {
        "anyOf": [
          {
            "const": "push",
            "type": "string"
          },
          {
            "const": "fetch",
            "type": "string"
          }
        ]
      },
      "protocol_version": {
        "anyOf": [
          {
            "const": "runx.thread_outbox_provider.v1",
            "type": "string"
          }
        ]
      },
      "provider": {
        "minLength": 1,
        "type": "string"
      },
      "provider_event_id_hash": {
        "minLength": 1,
        "type": "string"
      },
      "provider_locator": {
        "additionalProperties": false,
        "properties": {
          "locator": {
            "minLength": 1,
            "type": "string"
          },
          "provider": {
            "minLength": 1,
            "type": "string"
          },
          "provider_ref": {
            "$id": "https://schemas.runx.dev/runx/reference/v1.json",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "additionalProperties": false,
            "properties": {
              "label": {
                "minLength": 1,
                "type": "string"
              },
              "locator": {
                "minLength": 1,
                "type": "string"
              },
              "observed_at": {
                "minLength": 1,
                "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
                "type": "string"
              },
              "proof_kind": {
                "anyOf": [
                  {
                    "const": "effect_evidence",
                    "type": "string"
                  },
                  {
                    "const": "effect_finality",
                    "type": "string"
                  },
                  {
                    "const": "credential_resolution",
                    "type": "string"
                  }
                ]
              },
              "provider": {
                "minLength": 1,
                "type": "string"
              },
              "schema": {
                "const": "runx.reference.v1",
                "type": "string"
              },
              "type": {
                "anyOf": [
                  {
                    "const": "github_issue",
                    "type": "string"
                  },
                  {
                    "const": "github_pull_request",
                    "type": "string"
                  },
                  {
                    "const": "github_repo",
                    "type": "string"
                  },
                  {
                    "const": "slack_thread",
                    "type": "string"
                  },
                  {
                    "const": "sentry_event",
                    "type": "string"
                  },
                  {
                    "const": "provider_thread",
                    "type": "string"
                  },
                  {
                    "const": "provider_event",
                    "type": "string"
                  },
                  {
                    "const": "provider_comment",
                    "type": "string"
                  },
                  {
                    "const": "tracking_item",
                    "type": "string"
                  },
                  {
                    "const": "change_request",
                    "type": "string"
                  },
                  {
                    "const": "repository",
                    "type": "string"
                  },
                  {
                    "const": "support_ticket",
                    "type": "string"
                  },
                  {
                    "const": "signal",
                    "type": "string"
                  },
                  {
                    "const": "act",
                    "type": "string"
                  },
                  {
                    "const": "receipt",
                    "type": "string"
                  },
                  {
                    "const": "graph_receipt",
                    "type": "string"
                  },
                  {
                    "const": "artifact",
                    "type": "string"
                  },
                  {
                    "const": "verification",
                    "type": "string"
                  },
                  {
                    "const": "harness",
                    "type": "string"
                  },
                  {
                    "const": "host",
                    "type": "string"
                  },
                  {
                    "const": "deployment",
                    "type": "string"
                  },
                  {
                    "const": "surface",
                    "type": "string"
                  },
                  {
                    "const": "target",
                    "type": "string"
                  },
                  {
                    "const": "opportunity",
                    "type": "string"
                  },
                  {
                    "const": "thesis_assessment",
                    "type": "string"
                  },
                  {
                    "const": "selection",
                    "type": "string"
                  },
                  {
                    "const": "skill_binding",
                    "type": "string"
                  },
                  {
                    "const": "target_transition_entry",
                    "type": "string"
                  },
                  {
                    "const": "selection_cycle",
                    "type": "string"
                  },
                  {
                    "const": "decision",
                    "type": "string"
                  },
                  {
                    "const": "reflection_entry",
                    "type": "string"
                  },
                  {
                    "const": "feed_entry",
                    "type": "string"
                  },
                  {
                    "const": "principal",
                    "type": "string"
                  },
                  {
                    "const": "authority_proof",
                    "type": "string"
                  },
                  {
                    "const": "scope_admission",
                    "type": "string"
                  },
                  {
                    "const": "grant",
                    "type": "string"
                  },
                  {
                    "const": "mandate",
                    "type": "string"
                  },
                  {
                    "const": "credential",
                    "type": "string"
                  },
                  {
                    "const": "webhook_delivery",
                    "type": "string"
                  },
                  {
                    "const": "redaction_policy",
                    "type": "string"
                  },
                  {
                    "const": "external_url",
                    "type": "string"
                  }
                ]
              },
              "uri": {
                "minLength": 1,
                "type": "string"
              }
            },
            "required": [
              "type",
              "uri"
            ],
            "type": "object",
            "x-runx-schema": "runx.reference.v1"
          }
        },
        "required": [
          "provider",
          "locator"
        ],
        "type": "object"
      },
      "readback_summary": {
        "additionalProperties": false,
        "properties": {
          "cursor": {
            "minLength": 1,
            "type": "string"
          },
          "item_count": {
            "type": "integer"
          },
          "latest_provider_event_id_hash": {
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "item_count"
        ],
        "type": "object"
      },
      "redaction_refs": {
        "items": {
          "$id": "https://schemas.runx.dev/runx/reference/v1.json",
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "additionalProperties": false,
          "properties": {
            "label": {
              "minLength": 1,
              "type": "string"
            },
            "locator": {
              "minLength": 1,
              "type": "string"
            },
            "observed_at": {
              "minLength": 1,
              "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
              "type": "string"
            },
            "proof_kind": {
              "anyOf": [
                {
                  "const": "effect_evidence",
                  "type": "string"
                },
                {
                  "const": "effect_finality",
                  "type": "string"
                },
                {
                  "const": "credential_resolution",
                  "type": "string"
                }
              ]
            },
            "provider": {
              "minLength": 1,
              "type": "string"
            },
            "schema": {
              "const": "runx.reference.v1",
              "type": "string"
            },
            "type": {
              "anyOf": [
                {
                  "const": "github_issue",
                  "type": "string"
                },
                {
                  "const": "github_pull_request",
                  "type": "string"
                },
                {
                  "const": "github_repo",
                  "type": "string"
                },
                {
                  "const": "slack_thread",
                  "type": "string"
                },
                {
                  "const": "sentry_event",
                  "type": "string"
                },
                {
                  "const": "provider_thread",
                  "type": "string"
                },
                {
                  "const": "provider_event",
                  "type": "string"
                },
                {
                  "const": "provider_comment",
                  "type": "string"
                },
                {
                  "const": "tracking_item",
                  "type": "string"
                },
                {
                  "const": "change_request",
                  "type": "string"
                },
                {
                  "const": "repository",
                  "type": "string"
                },
                {
                  "const": "support_ticket",
                  "type": "string"
                },
                {
                  "const": "signal",
                  "type": "string"
                },
                {
                  "const": "act",
                  "type": "string"
                },
                {
                  "const": "receipt",
                  "type": "string"
                },
                {
                  "const": "graph_receipt",
                  "type": "string"
                },
                {
                  "const": "artifact",
                  "type": "string"
                },
                {
                  "const": "verification",
                  "type": "string"
                },
                {
                  "const": "harness",
                  "type": "string"
                },
                {
                  "const": "host",
                  "type": "string"
                },
                {
                  "const": "deployment",
                  "type": "string"
                },
                {
                  "const": "surface",
                  "type": "string"
                },
                {
                  "const": "target",
                  "type": "string"
                },
                {
                  "const": "opportunity",
                  "type": "string"
                },
                {
                  "const": "thesis_assessment",
                  "type": "string"
                },
                {
                  "const": "selection",
                  "type": "string"
                },
                {
                  "const": "skill_binding",
                  "type": "string"
                },
                {
                  "const": "target_transition_entry",
                  "type": "string"
                },
                {
                  "const": "selection_cycle",
                  "type": "string"
                },
                {
                  "const": "decision",
                  "type": "string"
                },
                {
                  "const": "reflection_entry",
                  "type": "string"
                },
                {
                  "const": "feed_entry",
                  "type": "string"
                },
                {
                  "const": "principal",
                  "type": "string"
                },
                {
                  "const": "authority_proof",
                  "type": "string"
                },
                {
                  "const": "scope_admission",
                  "type": "string"
                },
                {
                  "const": "grant",
                  "type": "string"
                },
                {
                  "const": "mandate",
                  "type": "string"
                },
                {
                  "const": "credential",
                  "type": "string"
                },
                {
                  "const": "webhook_delivery",
                  "type": "string"
                },
                {
                  "const": "redaction_policy",
                  "type": "string"
                },
                {
                  "const": "external_url",
                  "type": "string"
                }
              ]
            },
            "uri": {
              "minLength": 1,
              "type": "string"
            }
          },
          "required": [
            "type",
            "uri"
          ],
          "type": "object",
          "x-runx-schema": "runx.reference.v1"
        },
        "type": "array"
      },
      "request_id": {
        "minLength": 1,
        "type": "string"
      },
      "schema": {
        "anyOf": [
          {
            "const": "runx.thread_outbox_provider.observation.v1",
            "type": "string"
          }
        ]
      },
      "status": {
        "anyOf": [
          {
            "const": "accepted",
            "type": "string"
          },
          {
            "const": "skipped",
            "type": "string"
          },
          {
            "const": "failed",
            "type": "string"
          }
        ]
      }
    },
    "required": [
      "schema",
      "protocol_version",
      "observation_id",
      "adapter_id",
      "provider",
      "operation",
      "request_id",
      "status",
      "idempotency",
      "observed_at"
    ],
    "type": "object",
    "x-runx-schema": "runx.thread_outbox_provider.observation.v1"
  } as JsonSchema,
  "thread-outbox-provider-push.schema.json": {
    "$id": "https://schemas.runx.dev/runx/thread-outbox-provider/push/v1.json",
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "additionalProperties": false,
    "properties": {
      "adapter_id": {
        "minLength": 1,
        "type": "string"
      },
      "credential_delivery_refs": {
        "items": {
          "$id": "https://schemas.runx.dev/runx/reference/v1.json",
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "additionalProperties": false,
          "properties": {
            "label": {
              "minLength": 1,
              "type": "string"
            },
            "locator": {
              "minLength": 1,
              "type": "string"
            },
            "observed_at": {
              "minLength": 1,
              "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
              "type": "string"
            },
            "proof_kind": {
              "anyOf": [
                {
                  "const": "effect_evidence",
                  "type": "string"
                },
                {
                  "const": "effect_finality",
                  "type": "string"
                },
                {
                  "const": "credential_resolution",
                  "type": "string"
                }
              ]
            },
            "provider": {
              "minLength": 1,
              "type": "string"
            },
            "schema": {
              "const": "runx.reference.v1",
              "type": "string"
            },
            "type": {
              "anyOf": [
                {
                  "const": "github_issue",
                  "type": "string"
                },
                {
                  "const": "github_pull_request",
                  "type": "string"
                },
                {
                  "const": "github_repo",
                  "type": "string"
                },
                {
                  "const": "slack_thread",
                  "type": "string"
                },
                {
                  "const": "sentry_event",
                  "type": "string"
                },
                {
                  "const": "provider_thread",
                  "type": "string"
                },
                {
                  "const": "provider_event",
                  "type": "string"
                },
                {
                  "const": "provider_comment",
                  "type": "string"
                },
                {
                  "const": "tracking_item",
                  "type": "string"
                },
                {
                  "const": "change_request",
                  "type": "string"
                },
                {
                  "const": "repository",
                  "type": "string"
                },
                {
                  "const": "support_ticket",
                  "type": "string"
                },
                {
                  "const": "signal",
                  "type": "string"
                },
                {
                  "const": "act",
                  "type": "string"
                },
                {
                  "const": "receipt",
                  "type": "string"
                },
                {
                  "const": "graph_receipt",
                  "type": "string"
                },
                {
                  "const": "artifact",
                  "type": "string"
                },
                {
                  "const": "verification",
                  "type": "string"
                },
                {
                  "const": "harness",
                  "type": "string"
                },
                {
                  "const": "host",
                  "type": "string"
                },
                {
                  "const": "deployment",
                  "type": "string"
                },
                {
                  "const": "surface",
                  "type": "string"
                },
                {
                  "const": "target",
                  "type": "string"
                },
                {
                  "const": "opportunity",
                  "type": "string"
                },
                {
                  "const": "thesis_assessment",
                  "type": "string"
                },
                {
                  "const": "selection",
                  "type": "string"
                },
                {
                  "const": "skill_binding",
                  "type": "string"
                },
                {
                  "const": "target_transition_entry",
                  "type": "string"
                },
                {
                  "const": "selection_cycle",
                  "type": "string"
                },
                {
                  "const": "decision",
                  "type": "string"
                },
                {
                  "const": "reflection_entry",
                  "type": "string"
                },
                {
                  "const": "feed_entry",
                  "type": "string"
                },
                {
                  "const": "principal",
                  "type": "string"
                },
                {
                  "const": "authority_proof",
                  "type": "string"
                },
                {
                  "const": "scope_admission",
                  "type": "string"
                },
                {
                  "const": "grant",
                  "type": "string"
                },
                {
                  "const": "mandate",
                  "type": "string"
                },
                {
                  "const": "credential",
                  "type": "string"
                },
                {
                  "const": "webhook_delivery",
                  "type": "string"
                },
                {
                  "const": "redaction_policy",
                  "type": "string"
                },
                {
                  "const": "external_url",
                  "type": "string"
                }
              ]
            },
            "uri": {
              "minLength": 1,
              "type": "string"
            }
          },
          "required": [
            "type",
            "uri"
          ],
          "type": "object",
          "x-runx-schema": "runx.reference.v1"
        },
        "type": "array"
      },
      "idempotency": {
        "additionalProperties": false,
        "properties": {
          "content_hash": {
            "minLength": 1,
            "type": "string"
          },
          "key": {
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "key"
        ],
        "type": "object"
      },
      "outbox_entry_id": {
        "minLength": 1,
        "type": "string"
      },
      "payload": {
        "additionalProperties": false,
        "properties": {
          "body": {
            "minLength": 1,
            "type": "string"
          },
          "body_sha256": {
            "minLength": 1,
            "type": "string"
          },
          "format": {
            "anyOf": [
              {
                "const": "markdown",
                "type": "string"
              },
              {
                "const": "plain_text",
                "type": "string"
              },
              {
                "const": "json",
                "type": "string"
              }
            ]
          },
          "redaction_refs": {
            "items": {
              "$id": "https://schemas.runx.dev/runx/reference/v1.json",
              "$schema": "https://json-schema.org/draft/2020-12/schema",
              "additionalProperties": false,
              "properties": {
                "label": {
                  "minLength": 1,
                  "type": "string"
                },
                "locator": {
                  "minLength": 1,
                  "type": "string"
                },
                "observed_at": {
                  "minLength": 1,
                  "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
                  "type": "string"
                },
                "proof_kind": {
                  "anyOf": [
                    {
                      "const": "effect_evidence",
                      "type": "string"
                    },
                    {
                      "const": "effect_finality",
                      "type": "string"
                    },
                    {
                      "const": "credential_resolution",
                      "type": "string"
                    }
                  ]
                },
                "provider": {
                  "minLength": 1,
                  "type": "string"
                },
                "schema": {
                  "const": "runx.reference.v1",
                  "type": "string"
                },
                "type": {
                  "anyOf": [
                    {
                      "const": "github_issue",
                      "type": "string"
                    },
                    {
                      "const": "github_pull_request",
                      "type": "string"
                    },
                    {
                      "const": "github_repo",
                      "type": "string"
                    },
                    {
                      "const": "slack_thread",
                      "type": "string"
                    },
                    {
                      "const": "sentry_event",
                      "type": "string"
                    },
                    {
                      "const": "provider_thread",
                      "type": "string"
                    },
                    {
                      "const": "provider_event",
                      "type": "string"
                    },
                    {
                      "const": "provider_comment",
                      "type": "string"
                    },
                    {
                      "const": "tracking_item",
                      "type": "string"
                    },
                    {
                      "const": "change_request",
                      "type": "string"
                    },
                    {
                      "const": "repository",
                      "type": "string"
                    },
                    {
                      "const": "support_ticket",
                      "type": "string"
                    },
                    {
                      "const": "signal",
                      "type": "string"
                    },
                    {
                      "const": "act",
                      "type": "string"
                    },
                    {
                      "const": "receipt",
                      "type": "string"
                    },
                    {
                      "const": "graph_receipt",
                      "type": "string"
                    },
                    {
                      "const": "artifact",
                      "type": "string"
                    },
                    {
                      "const": "verification",
                      "type": "string"
                    },
                    {
                      "const": "harness",
                      "type": "string"
                    },
                    {
                      "const": "host",
                      "type": "string"
                    },
                    {
                      "const": "deployment",
                      "type": "string"
                    },
                    {
                      "const": "surface",
                      "type": "string"
                    },
                    {
                      "const": "target",
                      "type": "string"
                    },
                    {
                      "const": "opportunity",
                      "type": "string"
                    },
                    {
                      "const": "thesis_assessment",
                      "type": "string"
                    },
                    {
                      "const": "selection",
                      "type": "string"
                    },
                    {
                      "const": "skill_binding",
                      "type": "string"
                    },
                    {
                      "const": "target_transition_entry",
                      "type": "string"
                    },
                    {
                      "const": "selection_cycle",
                      "type": "string"
                    },
                    {
                      "const": "decision",
                      "type": "string"
                    },
                    {
                      "const": "reflection_entry",
                      "type": "string"
                    },
                    {
                      "const": "feed_entry",
                      "type": "string"
                    },
                    {
                      "const": "principal",
                      "type": "string"
                    },
                    {
                      "const": "authority_proof",
                      "type": "string"
                    },
                    {
                      "const": "scope_admission",
                      "type": "string"
                    },
                    {
                      "const": "grant",
                      "type": "string"
                    },
                    {
                      "const": "mandate",
                      "type": "string"
                    },
                    {
                      "const": "credential",
                      "type": "string"
                    },
                    {
                      "const": "webhook_delivery",
                      "type": "string"
                    },
                    {
                      "const": "redaction_policy",
                      "type": "string"
                    },
                    {
                      "const": "external_url",
                      "type": "string"
                    }
                  ]
                },
                "uri": {
                  "minLength": 1,
                  "type": "string"
                }
              },
              "required": [
                "type",
                "uri"
              ],
              "type": "object",
              "x-runx-schema": "runx.reference.v1"
            },
            "type": "array"
          }
        },
        "required": [
          "format",
          "body"
        ],
        "type": "object"
      },
      "protocol_version": {
        "anyOf": [
          {
            "const": "runx.thread_outbox_provider.v1",
            "type": "string"
          }
        ]
      },
      "provider": {
        "minLength": 1,
        "type": "string"
      },
      "provider_profile": {
        "additionalProperties": false,
        "properties": {
          "credential_refs": {
            "items": {
              "$id": "https://schemas.runx.dev/runx/reference/v1.json",
              "$schema": "https://json-schema.org/draft/2020-12/schema",
              "additionalProperties": false,
              "properties": {
                "label": {
                  "minLength": 1,
                  "type": "string"
                },
                "locator": {
                  "minLength": 1,
                  "type": "string"
                },
                "observed_at": {
                  "minLength": 1,
                  "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
                  "type": "string"
                },
                "proof_kind": {
                  "anyOf": [
                    {
                      "const": "effect_evidence",
                      "type": "string"
                    },
                    {
                      "const": "effect_finality",
                      "type": "string"
                    },
                    {
                      "const": "credential_resolution",
                      "type": "string"
                    }
                  ]
                },
                "provider": {
                  "minLength": 1,
                  "type": "string"
                },
                "schema": {
                  "const": "runx.reference.v1",
                  "type": "string"
                },
                "type": {
                  "anyOf": [
                    {
                      "const": "github_issue",
                      "type": "string"
                    },
                    {
                      "const": "github_pull_request",
                      "type": "string"
                    },
                    {
                      "const": "github_repo",
                      "type": "string"
                    },
                    {
                      "const": "slack_thread",
                      "type": "string"
                    },
                    {
                      "const": "sentry_event",
                      "type": "string"
                    },
                    {
                      "const": "provider_thread",
                      "type": "string"
                    },
                    {
                      "const": "provider_event",
                      "type": "string"
                    },
                    {
                      "const": "provider_comment",
                      "type": "string"
                    },
                    {
                      "const": "tracking_item",
                      "type": "string"
                    },
                    {
                      "const": "change_request",
                      "type": "string"
                    },
                    {
                      "const": "repository",
                      "type": "string"
                    },
                    {
                      "const": "support_ticket",
                      "type": "string"
                    },
                    {
                      "const": "signal",
                      "type": "string"
                    },
                    {
                      "const": "act",
                      "type": "string"
                    },
                    {
                      "const": "receipt",
                      "type": "string"
                    },
                    {
                      "const": "graph_receipt",
                      "type": "string"
                    },
                    {
                      "const": "artifact",
                      "type": "string"
                    },
                    {
                      "const": "verification",
                      "type": "string"
                    },
                    {
                      "const": "harness",
                      "type": "string"
                    },
                    {
                      "const": "host",
                      "type": "string"
                    },
                    {
                      "const": "deployment",
                      "type": "string"
                    },
                    {
                      "const": "surface",
                      "type": "string"
                    },
                    {
                      "const": "target",
                      "type": "string"
                    },
                    {
                      "const": "opportunity",
                      "type": "string"
                    },
                    {
                      "const": "thesis_assessment",
                      "type": "string"
                    },
                    {
                      "const": "selection",
                      "type": "string"
                    },
                    {
                      "const": "skill_binding",
                      "type": "string"
                    },
                    {
                      "const": "target_transition_entry",
                      "type": "string"
                    },
                    {
                      "const": "selection_cycle",
                      "type": "string"
                    },
                    {
                      "const": "decision",
                      "type": "string"
                    },
                    {
                      "const": "reflection_entry",
                      "type": "string"
                    },
                    {
                      "const": "feed_entry",
                      "type": "string"
                    },
                    {
                      "const": "principal",
                      "type": "string"
                    },
                    {
                      "const": "authority_proof",
                      "type": "string"
                    },
                    {
                      "const": "scope_admission",
                      "type": "string"
                    },
                    {
                      "const": "grant",
                      "type": "string"
                    },
                    {
                      "const": "mandate",
                      "type": "string"
                    },
                    {
                      "const": "credential",
                      "type": "string"
                    },
                    {
                      "const": "webhook_delivery",
                      "type": "string"
                    },
                    {
                      "const": "redaction_policy",
                      "type": "string"
                    },
                    {
                      "const": "external_url",
                      "type": "string"
                    }
                  ]
                },
                "uri": {
                  "minLength": 1,
                  "type": "string"
                }
              },
              "required": [
                "type",
                "uri"
              ],
              "type": "object",
              "x-runx-schema": "runx.reference.v1"
            },
            "type": "array"
          },
          "delivery_mode": {
            "anyOf": [
              {
                "const": "process_env",
                "type": "string"
              }
            ]
          },
          "profile_id": {
            "minLength": 1,
            "type": "string"
          },
          "provider": {
            "minLength": 1,
            "type": "string"
          },
          "purpose": {
            "anyOf": [
              {
                "const": "provider_api",
                "type": "string"
              },
              {
                "const": "registry",
                "type": "string"
              },
              {
                "const": "artifact_store",
                "type": "string"
              },
              {
                "const": "webhook_verification",
                "type": "string"
              }
            ]
          }
        },
        "required": [
          "provider",
          "purpose",
          "profile_id",
          "delivery_mode",
          "credential_refs"
        ],
        "type": "object"
      },
      "push_id": {
        "minLength": 1,
        "type": "string"
      },
      "receipt_context": {
        "additionalProperties": false,
        "properties": {
          "authority_proof_refs": {
            "items": {
              "$id": "https://schemas.runx.dev/runx/reference/v1.json",
              "$schema": "https://json-schema.org/draft/2020-12/schema",
              "additionalProperties": false,
              "properties": {
                "label": {
                  "minLength": 1,
                  "type": "string"
                },
                "locator": {
                  "minLength": 1,
                  "type": "string"
                },
                "observed_at": {
                  "minLength": 1,
                  "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
                  "type": "string"
                },
                "proof_kind": {
                  "anyOf": [
                    {
                      "const": "effect_evidence",
                      "type": "string"
                    },
                    {
                      "const": "effect_finality",
                      "type": "string"
                    },
                    {
                      "const": "credential_resolution",
                      "type": "string"
                    }
                  ]
                },
                "provider": {
                  "minLength": 1,
                  "type": "string"
                },
                "schema": {
                  "const": "runx.reference.v1",
                  "type": "string"
                },
                "type": {
                  "anyOf": [
                    {
                      "const": "github_issue",
                      "type": "string"
                    },
                    {
                      "const": "github_pull_request",
                      "type": "string"
                    },
                    {
                      "const": "github_repo",
                      "type": "string"
                    },
                    {
                      "const": "slack_thread",
                      "type": "string"
                    },
                    {
                      "const": "sentry_event",
                      "type": "string"
                    },
                    {
                      "const": "provider_thread",
                      "type": "string"
                    },
                    {
                      "const": "provider_event",
                      "type": "string"
                    },
                    {
                      "const": "provider_comment",
                      "type": "string"
                    },
                    {
                      "const": "tracking_item",
                      "type": "string"
                    },
                    {
                      "const": "change_request",
                      "type": "string"
                    },
                    {
                      "const": "repository",
                      "type": "string"
                    },
                    {
                      "const": "support_ticket",
                      "type": "string"
                    },
                    {
                      "const": "signal",
                      "type": "string"
                    },
                    {
                      "const": "act",
                      "type": "string"
                    },
                    {
                      "const": "receipt",
                      "type": "string"
                    },
                    {
                      "const": "graph_receipt",
                      "type": "string"
                    },
                    {
                      "const": "artifact",
                      "type": "string"
                    },
                    {
                      "const": "verification",
                      "type": "string"
                    },
                    {
                      "const": "harness",
                      "type": "string"
                    },
                    {
                      "const": "host",
                      "type": "string"
                    },
                    {
                      "const": "deployment",
                      "type": "string"
                    },
                    {
                      "const": "surface",
                      "type": "string"
                    },
                    {
                      "const": "target",
                      "type": "string"
                    },
                    {
                      "const": "opportunity",
                      "type": "string"
                    },
                    {
                      "const": "thesis_assessment",
                      "type": "string"
                    },
                    {
                      "const": "selection",
                      "type": "string"
                    },
                    {
                      "const": "skill_binding",
                      "type": "string"
                    },
                    {
                      "const": "target_transition_entry",
                      "type": "string"
                    },
                    {
                      "const": "selection_cycle",
                      "type": "string"
                    },
                    {
                      "const": "decision",
                      "type": "string"
                    },
                    {
                      "const": "reflection_entry",
                      "type": "string"
                    },
                    {
                      "const": "feed_entry",
                      "type": "string"
                    },
                    {
                      "const": "principal",
                      "type": "string"
                    },
                    {
                      "const": "authority_proof",
                      "type": "string"
                    },
                    {
                      "const": "scope_admission",
                      "type": "string"
                    },
                    {
                      "const": "grant",
                      "type": "string"
                    },
                    {
                      "const": "mandate",
                      "type": "string"
                    },
                    {
                      "const": "credential",
                      "type": "string"
                    },
                    {
                      "const": "webhook_delivery",
                      "type": "string"
                    },
                    {
                      "const": "redaction_policy",
                      "type": "string"
                    },
                    {
                      "const": "external_url",
                      "type": "string"
                    }
                  ]
                },
                "uri": {
                  "minLength": 1,
                  "type": "string"
                }
              },
              "required": [
                "type",
                "uri"
              ],
              "type": "object",
              "x-runx-schema": "runx.reference.v1"
            },
            "type": "array"
          },
          "harness_ref": {
            "$id": "https://schemas.runx.dev/runx/reference/v1.json",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "additionalProperties": false,
            "properties": {
              "label": {
                "minLength": 1,
                "type": "string"
              },
              "locator": {
                "minLength": 1,
                "type": "string"
              },
              "observed_at": {
                "minLength": 1,
                "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
                "type": "string"
              },
              "proof_kind": {
                "anyOf": [
                  {
                    "const": "effect_evidence",
                    "type": "string"
                  },
                  {
                    "const": "effect_finality",
                    "type": "string"
                  },
                  {
                    "const": "credential_resolution",
                    "type": "string"
                  }
                ]
              },
              "provider": {
                "minLength": 1,
                "type": "string"
              },
              "schema": {
                "const": "runx.reference.v1",
                "type": "string"
              },
              "type": {
                "anyOf": [
                  {
                    "const": "github_issue",
                    "type": "string"
                  },
                  {
                    "const": "github_pull_request",
                    "type": "string"
                  },
                  {
                    "const": "github_repo",
                    "type": "string"
                  },
                  {
                    "const": "slack_thread",
                    "type": "string"
                  },
                  {
                    "const": "sentry_event",
                    "type": "string"
                  },
                  {
                    "const": "provider_thread",
                    "type": "string"
                  },
                  {
                    "const": "provider_event",
                    "type": "string"
                  },
                  {
                    "const": "provider_comment",
                    "type": "string"
                  },
                  {
                    "const": "tracking_item",
                    "type": "string"
                  },
                  {
                    "const": "change_request",
                    "type": "string"
                  },
                  {
                    "const": "repository",
                    "type": "string"
                  },
                  {
                    "const": "support_ticket",
                    "type": "string"
                  },
                  {
                    "const": "signal",
                    "type": "string"
                  },
                  {
                    "const": "act",
                    "type": "string"
                  },
                  {
                    "const": "receipt",
                    "type": "string"
                  },
                  {
                    "const": "graph_receipt",
                    "type": "string"
                  },
                  {
                    "const": "artifact",
                    "type": "string"
                  },
                  {
                    "const": "verification",
                    "type": "string"
                  },
                  {
                    "const": "harness",
                    "type": "string"
                  },
                  {
                    "const": "host",
                    "type": "string"
                  },
                  {
                    "const": "deployment",
                    "type": "string"
                  },
                  {
                    "const": "surface",
                    "type": "string"
                  },
                  {
                    "const": "target",
                    "type": "string"
                  },
                  {
                    "const": "opportunity",
                    "type": "string"
                  },
                  {
                    "const": "thesis_assessment",
                    "type": "string"
                  },
                  {
                    "const": "selection",
                    "type": "string"
                  },
                  {
                    "const": "skill_binding",
                    "type": "string"
                  },
                  {
                    "const": "target_transition_entry",
                    "type": "string"
                  },
                  {
                    "const": "selection_cycle",
                    "type": "string"
                  },
                  {
                    "const": "decision",
                    "type": "string"
                  },
                  {
                    "const": "reflection_entry",
                    "type": "string"
                  },
                  {
                    "const": "feed_entry",
                    "type": "string"
                  },
                  {
                    "const": "principal",
                    "type": "string"
                  },
                  {
                    "const": "authority_proof",
                    "type": "string"
                  },
                  {
                    "const": "scope_admission",
                    "type": "string"
                  },
                  {
                    "const": "grant",
                    "type": "string"
                  },
                  {
                    "const": "mandate",
                    "type": "string"
                  },
                  {
                    "const": "credential",
                    "type": "string"
                  },
                  {
                    "const": "webhook_delivery",
                    "type": "string"
                  },
                  {
                    "const": "redaction_policy",
                    "type": "string"
                  },
                  {
                    "const": "external_url",
                    "type": "string"
                  }
                ]
              },
              "uri": {
                "minLength": 1,
                "type": "string"
              }
            },
            "required": [
              "type",
              "uri"
            ],
            "type": "object",
            "x-runx-schema": "runx.reference.v1"
          },
          "host_ref": {
            "$id": "https://schemas.runx.dev/runx/reference/v1.json",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "additionalProperties": false,
            "properties": {
              "label": {
                "minLength": 1,
                "type": "string"
              },
              "locator": {
                "minLength": 1,
                "type": "string"
              },
              "observed_at": {
                "minLength": 1,
                "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
                "type": "string"
              },
              "proof_kind": {
                "anyOf": [
                  {
                    "const": "effect_evidence",
                    "type": "string"
                  },
                  {
                    "const": "effect_finality",
                    "type": "string"
                  },
                  {
                    "const": "credential_resolution",
                    "type": "string"
                  }
                ]
              },
              "provider": {
                "minLength": 1,
                "type": "string"
              },
              "schema": {
                "const": "runx.reference.v1",
                "type": "string"
              },
              "type": {
                "anyOf": [
                  {
                    "const": "github_issue",
                    "type": "string"
                  },
                  {
                    "const": "github_pull_request",
                    "type": "string"
                  },
                  {
                    "const": "github_repo",
                    "type": "string"
                  },
                  {
                    "const": "slack_thread",
                    "type": "string"
                  },
                  {
                    "const": "sentry_event",
                    "type": "string"
                  },
                  {
                    "const": "provider_thread",
                    "type": "string"
                  },
                  {
                    "const": "provider_event",
                    "type": "string"
                  },
                  {
                    "const": "provider_comment",
                    "type": "string"
                  },
                  {
                    "const": "tracking_item",
                    "type": "string"
                  },
                  {
                    "const": "change_request",
                    "type": "string"
                  },
                  {
                    "const": "repository",
                    "type": "string"
                  },
                  {
                    "const": "support_ticket",
                    "type": "string"
                  },
                  {
                    "const": "signal",
                    "type": "string"
                  },
                  {
                    "const": "act",
                    "type": "string"
                  },
                  {
                    "const": "receipt",
                    "type": "string"
                  },
                  {
                    "const": "graph_receipt",
                    "type": "string"
                  },
                  {
                    "const": "artifact",
                    "type": "string"
                  },
                  {
                    "const": "verification",
                    "type": "string"
                  },
                  {
                    "const": "harness",
                    "type": "string"
                  },
                  {
                    "const": "host",
                    "type": "string"
                  },
                  {
                    "const": "deployment",
                    "type": "string"
                  },
                  {
                    "const": "surface",
                    "type": "string"
                  },
                  {
                    "const": "target",
                    "type": "string"
                  },
                  {
                    "const": "opportunity",
                    "type": "string"
                  },
                  {
                    "const": "thesis_assessment",
                    "type": "string"
                  },
                  {
                    "const": "selection",
                    "type": "string"
                  },
                  {
                    "const": "skill_binding",
                    "type": "string"
                  },
                  {
                    "const": "target_transition_entry",
                    "type": "string"
                  },
                  {
                    "const": "selection_cycle",
                    "type": "string"
                  },
                  {
                    "const": "decision",
                    "type": "string"
                  },
                  {
                    "const": "reflection_entry",
                    "type": "string"
                  },
                  {
                    "const": "feed_entry",
                    "type": "string"
                  },
                  {
                    "const": "principal",
                    "type": "string"
                  },
                  {
                    "const": "authority_proof",
                    "type": "string"
                  },
                  {
                    "const": "scope_admission",
                    "type": "string"
                  },
                  {
                    "const": "grant",
                    "type": "string"
                  },
                  {
                    "const": "mandate",
                    "type": "string"
                  },
                  {
                    "const": "credential",
                    "type": "string"
                  },
                  {
                    "const": "webhook_delivery",
                    "type": "string"
                  },
                  {
                    "const": "redaction_policy",
                    "type": "string"
                  },
                  {
                    "const": "external_url",
                    "type": "string"
                  }
                ]
              },
              "uri": {
                "minLength": 1,
                "type": "string"
              }
            },
            "required": [
              "type",
              "uri"
            ],
            "type": "object",
            "x-runx-schema": "runx.reference.v1"
          },
          "scope_refs": {
            "items": {
              "$id": "https://schemas.runx.dev/runx/reference/v1.json",
              "$schema": "https://json-schema.org/draft/2020-12/schema",
              "additionalProperties": false,
              "properties": {
                "label": {
                  "minLength": 1,
                  "type": "string"
                },
                "locator": {
                  "minLength": 1,
                  "type": "string"
                },
                "observed_at": {
                  "minLength": 1,
                  "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
                  "type": "string"
                },
                "proof_kind": {
                  "anyOf": [
                    {
                      "const": "effect_evidence",
                      "type": "string"
                    },
                    {
                      "const": "effect_finality",
                      "type": "string"
                    },
                    {
                      "const": "credential_resolution",
                      "type": "string"
                    }
                  ]
                },
                "provider": {
                  "minLength": 1,
                  "type": "string"
                },
                "schema": {
                  "const": "runx.reference.v1",
                  "type": "string"
                },
                "type": {
                  "anyOf": [
                    {
                      "const": "github_issue",
                      "type": "string"
                    },
                    {
                      "const": "github_pull_request",
                      "type": "string"
                    },
                    {
                      "const": "github_repo",
                      "type": "string"
                    },
                    {
                      "const": "slack_thread",
                      "type": "string"
                    },
                    {
                      "const": "sentry_event",
                      "type": "string"
                    },
                    {
                      "const": "provider_thread",
                      "type": "string"
                    },
                    {
                      "const": "provider_event",
                      "type": "string"
                    },
                    {
                      "const": "provider_comment",
                      "type": "string"
                    },
                    {
                      "const": "tracking_item",
                      "type": "string"
                    },
                    {
                      "const": "change_request",
                      "type": "string"
                    },
                    {
                      "const": "repository",
                      "type": "string"
                    },
                    {
                      "const": "support_ticket",
                      "type": "string"
                    },
                    {
                      "const": "signal",
                      "type": "string"
                    },
                    {
                      "const": "act",
                      "type": "string"
                    },
                    {
                      "const": "receipt",
                      "type": "string"
                    },
                    {
                      "const": "graph_receipt",
                      "type": "string"
                    },
                    {
                      "const": "artifact",
                      "type": "string"
                    },
                    {
                      "const": "verification",
                      "type": "string"
                    },
                    {
                      "const": "harness",
                      "type": "string"
                    },
                    {
                      "const": "host",
                      "type": "string"
                    },
                    {
                      "const": "deployment",
                      "type": "string"
                    },
                    {
                      "const": "surface",
                      "type": "string"
                    },
                    {
                      "const": "target",
                      "type": "string"
                    },
                    {
                      "const": "opportunity",
                      "type": "string"
                    },
                    {
                      "const": "thesis_assessment",
                      "type": "string"
                    },
                    {
                      "const": "selection",
                      "type": "string"
                    },
                    {
                      "const": "skill_binding",
                      "type": "string"
                    },
                    {
                      "const": "target_transition_entry",
                      "type": "string"
                    },
                    {
                      "const": "selection_cycle",
                      "type": "string"
                    },
                    {
                      "const": "decision",
                      "type": "string"
                    },
                    {
                      "const": "reflection_entry",
                      "type": "string"
                    },
                    {
                      "const": "feed_entry",
                      "type": "string"
                    },
                    {
                      "const": "principal",
                      "type": "string"
                    },
                    {
                      "const": "authority_proof",
                      "type": "string"
                    },
                    {
                      "const": "scope_admission",
                      "type": "string"
                    },
                    {
                      "const": "grant",
                      "type": "string"
                    },
                    {
                      "const": "mandate",
                      "type": "string"
                    },
                    {
                      "const": "credential",
                      "type": "string"
                    },
                    {
                      "const": "webhook_delivery",
                      "type": "string"
                    },
                    {
                      "const": "redaction_policy",
                      "type": "string"
                    },
                    {
                      "const": "external_url",
                      "type": "string"
                    }
                  ]
                },
                "uri": {
                  "minLength": 1,
                  "type": "string"
                }
              },
              "required": [
                "type",
                "uri"
              ],
              "type": "object",
              "x-runx-schema": "runx.reference.v1"
            },
            "type": "array"
          }
        },
        "required": [
          "harness_ref",
          "host_ref"
        ],
        "type": "object"
      },
      "requested_at": {
        "minLength": 1,
        "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
        "type": "string"
      },
      "schema": {
        "anyOf": [
          {
            "const": "runx.thread_outbox_provider.push.v1",
            "type": "string"
          }
        ]
      },
      "thread_locator": {
        "additionalProperties": false,
        "properties": {
          "locator": {
            "minLength": 1,
            "type": "string"
          },
          "provider": {
            "minLength": 1,
            "type": "string"
          },
          "thread_ref": {
            "$id": "https://schemas.runx.dev/runx/reference/v1.json",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "additionalProperties": false,
            "properties": {
              "label": {
                "minLength": 1,
                "type": "string"
              },
              "locator": {
                "minLength": 1,
                "type": "string"
              },
              "observed_at": {
                "minLength": 1,
                "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
                "type": "string"
              },
              "proof_kind": {
                "anyOf": [
                  {
                    "const": "effect_evidence",
                    "type": "string"
                  },
                  {
                    "const": "effect_finality",
                    "type": "string"
                  },
                  {
                    "const": "credential_resolution",
                    "type": "string"
                  }
                ]
              },
              "provider": {
                "minLength": 1,
                "type": "string"
              },
              "schema": {
                "const": "runx.reference.v1",
                "type": "string"
              },
              "type": {
                "anyOf": [
                  {
                    "const": "github_issue",
                    "type": "string"
                  },
                  {
                    "const": "github_pull_request",
                    "type": "string"
                  },
                  {
                    "const": "github_repo",
                    "type": "string"
                  },
                  {
                    "const": "slack_thread",
                    "type": "string"
                  },
                  {
                    "const": "sentry_event",
                    "type": "string"
                  },
                  {
                    "const": "provider_thread",
                    "type": "string"
                  },
                  {
                    "const": "provider_event",
                    "type": "string"
                  },
                  {
                    "const": "provider_comment",
                    "type": "string"
                  },
                  {
                    "const": "tracking_item",
                    "type": "string"
                  },
                  {
                    "const": "change_request",
                    "type": "string"
                  },
                  {
                    "const": "repository",
                    "type": "string"
                  },
                  {
                    "const": "support_ticket",
                    "type": "string"
                  },
                  {
                    "const": "signal",
                    "type": "string"
                  },
                  {
                    "const": "act",
                    "type": "string"
                  },
                  {
                    "const": "receipt",
                    "type": "string"
                  },
                  {
                    "const": "graph_receipt",
                    "type": "string"
                  },
                  {
                    "const": "artifact",
                    "type": "string"
                  },
                  {
                    "const": "verification",
                    "type": "string"
                  },
                  {
                    "const": "harness",
                    "type": "string"
                  },
                  {
                    "const": "host",
                    "type": "string"
                  },
                  {
                    "const": "deployment",
                    "type": "string"
                  },
                  {
                    "const": "surface",
                    "type": "string"
                  },
                  {
                    "const": "target",
                    "type": "string"
                  },
                  {
                    "const": "opportunity",
                    "type": "string"
                  },
                  {
                    "const": "thesis_assessment",
                    "type": "string"
                  },
                  {
                    "const": "selection",
                    "type": "string"
                  },
                  {
                    "const": "skill_binding",
                    "type": "string"
                  },
                  {
                    "const": "target_transition_entry",
                    "type": "string"
                  },
                  {
                    "const": "selection_cycle",
                    "type": "string"
                  },
                  {
                    "const": "decision",
                    "type": "string"
                  },
                  {
                    "const": "reflection_entry",
                    "type": "string"
                  },
                  {
                    "const": "feed_entry",
                    "type": "string"
                  },
                  {
                    "const": "principal",
                    "type": "string"
                  },
                  {
                    "const": "authority_proof",
                    "type": "string"
                  },
                  {
                    "const": "scope_admission",
                    "type": "string"
                  },
                  {
                    "const": "grant",
                    "type": "string"
                  },
                  {
                    "const": "mandate",
                    "type": "string"
                  },
                  {
                    "const": "credential",
                    "type": "string"
                  },
                  {
                    "const": "webhook_delivery",
                    "type": "string"
                  },
                  {
                    "const": "redaction_policy",
                    "type": "string"
                  },
                  {
                    "const": "external_url",
                    "type": "string"
                  }
                ]
              },
              "uri": {
                "minLength": 1,
                "type": "string"
              }
            },
            "required": [
              "type",
              "uri"
            ],
            "type": "object",
            "x-runx-schema": "runx.reference.v1"
          }
        },
        "required": [
          "provider",
          "thread_ref",
          "locator"
        ],
        "type": "object"
      }
    },
    "required": [
      "schema",
      "protocol_version",
      "push_id",
      "adapter_id",
      "provider",
      "outbox_entry_id",
      "thread_locator",
      "idempotency",
      "payload",
      "provider_profile",
      "credential_delivery_refs",
      "receipt_context",
      "requested_at"
    ],
    "type": "object",
    "x-runx-schema": "runx.thread_outbox_provider.push.v1"
  } as JsonSchema,
  "tool-manifest.schema.json": {
    "$id": "https://schemas.runx.dev/runx/tool/manifest/v1.json",
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "additionalProperties": false,
    "properties": {
      "description": {
        "type": "string"
      },
      "idempotency": {
        "additionalProperties": false,
        "properties": {
          "key": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "inputs": {
        "additionalProperties": {
          "additionalProperties": false,
          "properties": {
            "artifact": {
              "type": "boolean"
            },
            "default": {},
            "description": {
              "type": "string"
            },
            "required": {
              "type": "boolean"
            },
            "type": {
              "type": "string"
            }
          },
          "required": [
            "type",
            "required"
          ],
          "type": "object"
        },
        "type": "object"
      },
      "mutating": {
        "type": "boolean"
      },
      "name": {
        "type": "string"
      },
      "output": {
        "additionalProperties": true,
        "properties": {
          "named_emits": {
            "additionalProperties": {
              "type": "string"
            },
            "type": "object"
          },
          "outputs": {
            "additionalProperties": {
              "additionalProperties": true,
              "properties": {
                "packet": {
                  "type": "string"
                },
                "wrap_as": {
                  "type": "string"
                }
              },
              "type": "object"
            },
            "type": "object"
          },
          "packet": {
            "type": "string"
          },
          "wrap_as": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "retry": {
        "additionalProperties": false,
        "properties": {
          "max_attempts": {
            "type": "integer"
          }
        },
        "required": [
          "max_attempts"
        ],
        "type": "object"
      },
      "risk": {},
      "runtime": {
        "additionalProperties": false,
        "properties": {
          "args": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "command": {
            "type": "string"
          },
          "cwd": {
            "type": "string"
          },
          "env": {
            "additionalProperties": {
              "type": "string"
            },
            "type": "object"
          }
        },
        "required": [
          "command"
        ],
        "type": "object"
      },
      "runx": {
        "additionalProperties": {},
        "type": "object"
      },
      "schema": {
        "anyOf": [
          {
            "const": "runx.tool.manifest.v1",
            "type": "string"
          }
        ]
      },
      "schema_hash": {
        "type": "string"
      },
      "scopes": {
        "items": {
          "type": "string"
        },
        "type": "array"
      },
      "source": {
        "additionalProperties": false,
        "properties": {
          "agent_card_url": {
            "type": "string"
          },
          "agent_identity": {
            "type": "string"
          },
          "args": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "arguments": {
            "additionalProperties": {},
            "type": "object"
          },
          "catalog_ref": {
            "type": "string"
          },
          "command": {
            "type": "string"
          },
          "cwd": {
            "type": "string"
          },
          "http": {
            "additionalProperties": false,
            "properties": {
              "allow_private_network": {
                "type": "boolean"
              },
              "headers": {
                "additionalProperties": {
                  "type": "string"
                },
                "type": "object"
              },
              "method": {
                "type": "string"
              },
              "url": {
                "type": "string"
              }
            },
            "required": [
              "url"
            ],
            "type": "object"
          },
          "input_mode": {
            "anyOf": [
              {
                "const": "args",
                "type": "string"
              },
              {
                "const": "stdin",
                "type": "string"
              },
              {
                "const": "none",
                "type": "string"
              }
            ]
          },
          "sandbox": {
            "additionalProperties": false,
            "properties": {
              "cwd_policy": {
                "anyOf": [
                  {
                    "const": "skill-directory",
                    "type": "string"
                  },
                  {
                    "const": "workspace",
                    "type": "string"
                  },
                  {
                    "const": "custom",
                    "type": "string"
                  }
                ]
              },
              "env_allowlist": {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              "network": {
                "type": "boolean"
              },
              "profile": {
                "anyOf": [
                  {
                    "const": "readonly",
                    "type": "string"
                  },
                  {
                    "const": "workspace-write",
                    "type": "string"
                  },
                  {
                    "const": "network",
                    "type": "string"
                  },
                  {
                    "const": "unrestricted-local-dev",
                    "type": "string"
                  }
                ]
              },
              "require_enforcement": {
                "type": "boolean"
              },
              "writable_paths": {
                "items": {
                  "type": "string"
                },
                "type": "array"
              }
            },
            "required": [
              "profile"
            ],
            "type": "object"
          },
          "server": {
            "additionalProperties": false,
            "properties": {
              "args": {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              "command": {
                "type": "string"
              },
              "cwd": {
                "type": "string"
              }
            },
            "required": [
              "command"
            ],
            "type": "object"
          },
          "timeout_seconds": {
            "type": "integer"
          },
          "tool": {
            "type": "string"
          },
          "type": {
            "anyOf": [
              {
                "const": "cli-tool",
                "type": "string"
              },
              {
                "const": "mcp",
                "type": "string"
              },
              {
                "const": "a2a",
                "type": "string"
              },
              {
                "const": "catalog",
                "type": "string"
              },
              {
                "const": "http",
                "type": "string"
              }
            ]
          }
        },
        "required": [
          "type"
        ],
        "type": "object"
      },
      "source_hash": {
        "type": "string"
      },
      "toolkit_version": {
        "type": "string"
      },
      "version": {
        "type": "string"
      }
    },
    "required": [
      "schema",
      "name",
      "source",
      "runtime",
      "output",
      "source_hash",
      "schema_hash"
    ],
    "type": "object",
    "x-runx-schema": "runx.tool.manifest.v1"
  } as JsonSchema,
  "verification.schema.json": {
    "$id": "https://schemas.runx.dev/runx/verification/v1.json",
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "additionalProperties": false,
    "properties": {
      "checks": {
        "items": {
          "additionalProperties": false,
          "properties": {
            "check_id": {
              "minLength": 1,
              "type": "string"
            },
            "checked_refs": {
              "items": {
                "$id": "https://schemas.runx.dev/runx/reference/v1.json",
                "$schema": "https://json-schema.org/draft/2020-12/schema",
                "additionalProperties": false,
                "properties": {
                  "label": {
                    "minLength": 1,
                    "type": "string"
                  },
                  "locator": {
                    "minLength": 1,
                    "type": "string"
                  },
                  "observed_at": {
                    "minLength": 1,
                    "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
                    "type": "string"
                  },
                  "proof_kind": {
                    "anyOf": [
                      {
                        "const": "effect_evidence",
                        "type": "string"
                      },
                      {
                        "const": "effect_finality",
                        "type": "string"
                      },
                      {
                        "const": "credential_resolution",
                        "type": "string"
                      }
                    ]
                  },
                  "provider": {
                    "minLength": 1,
                    "type": "string"
                  },
                  "schema": {
                    "const": "runx.reference.v1",
                    "type": "string"
                  },
                  "type": {
                    "anyOf": [
                      {
                        "const": "github_issue",
                        "type": "string"
                      },
                      {
                        "const": "github_pull_request",
                        "type": "string"
                      },
                      {
                        "const": "github_repo",
                        "type": "string"
                      },
                      {
                        "const": "slack_thread",
                        "type": "string"
                      },
                      {
                        "const": "sentry_event",
                        "type": "string"
                      },
                      {
                        "const": "provider_thread",
                        "type": "string"
                      },
                      {
                        "const": "provider_event",
                        "type": "string"
                      },
                      {
                        "const": "provider_comment",
                        "type": "string"
                      },
                      {
                        "const": "tracking_item",
                        "type": "string"
                      },
                      {
                        "const": "change_request",
                        "type": "string"
                      },
                      {
                        "const": "repository",
                        "type": "string"
                      },
                      {
                        "const": "support_ticket",
                        "type": "string"
                      },
                      {
                        "const": "signal",
                        "type": "string"
                      },
                      {
                        "const": "act",
                        "type": "string"
                      },
                      {
                        "const": "receipt",
                        "type": "string"
                      },
                      {
                        "const": "graph_receipt",
                        "type": "string"
                      },
                      {
                        "const": "artifact",
                        "type": "string"
                      },
                      {
                        "const": "verification",
                        "type": "string"
                      },
                      {
                        "const": "harness",
                        "type": "string"
                      },
                      {
                        "const": "host",
                        "type": "string"
                      },
                      {
                        "const": "deployment",
                        "type": "string"
                      },
                      {
                        "const": "surface",
                        "type": "string"
                      },
                      {
                        "const": "target",
                        "type": "string"
                      },
                      {
                        "const": "opportunity",
                        "type": "string"
                      },
                      {
                        "const": "thesis_assessment",
                        "type": "string"
                      },
                      {
                        "const": "selection",
                        "type": "string"
                      },
                      {
                        "const": "skill_binding",
                        "type": "string"
                      },
                      {
                        "const": "target_transition_entry",
                        "type": "string"
                      },
                      {
                        "const": "selection_cycle",
                        "type": "string"
                      },
                      {
                        "const": "decision",
                        "type": "string"
                      },
                      {
                        "const": "reflection_entry",
                        "type": "string"
                      },
                      {
                        "const": "feed_entry",
                        "type": "string"
                      },
                      {
                        "const": "principal",
                        "type": "string"
                      },
                      {
                        "const": "authority_proof",
                        "type": "string"
                      },
                      {
                        "const": "scope_admission",
                        "type": "string"
                      },
                      {
                        "const": "grant",
                        "type": "string"
                      },
                      {
                        "const": "mandate",
                        "type": "string"
                      },
                      {
                        "const": "credential",
                        "type": "string"
                      },
                      {
                        "const": "webhook_delivery",
                        "type": "string"
                      },
                      {
                        "const": "redaction_policy",
                        "type": "string"
                      },
                      {
                        "const": "external_url",
                        "type": "string"
                      }
                    ]
                  },
                  "uri": {
                    "minLength": 1,
                    "type": "string"
                  }
                },
                "required": [
                  "type",
                  "uri"
                ],
                "type": "object",
                "x-runx-schema": "runx.reference.v1"
              },
              "type": "array"
            },
            "criterion_ids": {
              "items": {
                "minLength": 1,
                "type": "string"
              },
              "type": "array"
            },
            "evidence_refs": {
              "items": {
                "$id": "https://schemas.runx.dev/runx/reference/v1.json",
                "$schema": "https://json-schema.org/draft/2020-12/schema",
                "additionalProperties": false,
                "properties": {
                  "label": {
                    "minLength": 1,
                    "type": "string"
                  },
                  "locator": {
                    "minLength": 1,
                    "type": "string"
                  },
                  "observed_at": {
                    "minLength": 1,
                    "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
                    "type": "string"
                  },
                  "proof_kind": {
                    "anyOf": [
                      {
                        "const": "effect_evidence",
                        "type": "string"
                      },
                      {
                        "const": "effect_finality",
                        "type": "string"
                      },
                      {
                        "const": "credential_resolution",
                        "type": "string"
                      }
                    ]
                  },
                  "provider": {
                    "minLength": 1,
                    "type": "string"
                  },
                  "schema": {
                    "const": "runx.reference.v1",
                    "type": "string"
                  },
                  "type": {
                    "anyOf": [
                      {
                        "const": "github_issue",
                        "type": "string"
                      },
                      {
                        "const": "github_pull_request",
                        "type": "string"
                      },
                      {
                        "const": "github_repo",
                        "type": "string"
                      },
                      {
                        "const": "slack_thread",
                        "type": "string"
                      },
                      {
                        "const": "sentry_event",
                        "type": "string"
                      },
                      {
                        "const": "provider_thread",
                        "type": "string"
                      },
                      {
                        "const": "provider_event",
                        "type": "string"
                      },
                      {
                        "const": "provider_comment",
                        "type": "string"
                      },
                      {
                        "const": "tracking_item",
                        "type": "string"
                      },
                      {
                        "const": "change_request",
                        "type": "string"
                      },
                      {
                        "const": "repository",
                        "type": "string"
                      },
                      {
                        "const": "support_ticket",
                        "type": "string"
                      },
                      {
                        "const": "signal",
                        "type": "string"
                      },
                      {
                        "const": "act",
                        "type": "string"
                      },
                      {
                        "const": "receipt",
                        "type": "string"
                      },
                      {
                        "const": "graph_receipt",
                        "type": "string"
                      },
                      {
                        "const": "artifact",
                        "type": "string"
                      },
                      {
                        "const": "verification",
                        "type": "string"
                      },
                      {
                        "const": "harness",
                        "type": "string"
                      },
                      {
                        "const": "host",
                        "type": "string"
                      },
                      {
                        "const": "deployment",
                        "type": "string"
                      },
                      {
                        "const": "surface",
                        "type": "string"
                      },
                      {
                        "const": "target",
                        "type": "string"
                      },
                      {
                        "const": "opportunity",
                        "type": "string"
                      },
                      {
                        "const": "thesis_assessment",
                        "type": "string"
                      },
                      {
                        "const": "selection",
                        "type": "string"
                      },
                      {
                        "const": "skill_binding",
                        "type": "string"
                      },
                      {
                        "const": "target_transition_entry",
                        "type": "string"
                      },
                      {
                        "const": "selection_cycle",
                        "type": "string"
                      },
                      {
                        "const": "decision",
                        "type": "string"
                      },
                      {
                        "const": "reflection_entry",
                        "type": "string"
                      },
                      {
                        "const": "feed_entry",
                        "type": "string"
                      },
                      {
                        "const": "principal",
                        "type": "string"
                      },
                      {
                        "const": "authority_proof",
                        "type": "string"
                      },
                      {
                        "const": "scope_admission",
                        "type": "string"
                      },
                      {
                        "const": "grant",
                        "type": "string"
                      },
                      {
                        "const": "mandate",
                        "type": "string"
                      },
                      {
                        "const": "credential",
                        "type": "string"
                      },
                      {
                        "const": "webhook_delivery",
                        "type": "string"
                      },
                      {
                        "const": "redaction_policy",
                        "type": "string"
                      },
                      {
                        "const": "external_url",
                        "type": "string"
                      }
                    ]
                  },
                  "uri": {
                    "minLength": 1,
                    "type": "string"
                  }
                },
                "required": [
                  "type",
                  "uri"
                ],
                "type": "object",
                "x-runx-schema": "runx.reference.v1"
              },
              "type": "array"
            },
            "status": {
              "anyOf": [
                {
                  "const": "passed",
                  "type": "string"
                },
                {
                  "const": "failed",
                  "type": "string"
                },
                {
                  "const": "pending",
                  "type": "string"
                },
                {
                  "const": "not_applicable",
                  "type": "string"
                },
                {
                  "const": "missing",
                  "type": "string"
                }
              ]
            },
            "summary": {
              "minLength": 1,
              "type": "string"
            },
            "verified_at": {
              "minLength": 1,
              "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
              "type": "string"
            }
          },
          "required": [
            "check_id",
            "criterion_ids",
            "status",
            "evidence_refs"
          ],
          "type": "object"
        },
        "type": "array"
      },
      "evidence_refs": {
        "items": {
          "$id": "https://schemas.runx.dev/runx/reference/v1.json",
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "additionalProperties": false,
          "properties": {
            "label": {
              "minLength": 1,
              "type": "string"
            },
            "locator": {
              "minLength": 1,
              "type": "string"
            },
            "observed_at": {
              "minLength": 1,
              "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
              "type": "string"
            },
            "proof_kind": {
              "anyOf": [
                {
                  "const": "effect_evidence",
                  "type": "string"
                },
                {
                  "const": "effect_finality",
                  "type": "string"
                },
                {
                  "const": "credential_resolution",
                  "type": "string"
                }
              ]
            },
            "provider": {
              "minLength": 1,
              "type": "string"
            },
            "schema": {
              "const": "runx.reference.v1",
              "type": "string"
            },
            "type": {
              "anyOf": [
                {
                  "const": "github_issue",
                  "type": "string"
                },
                {
                  "const": "github_pull_request",
                  "type": "string"
                },
                {
                  "const": "github_repo",
                  "type": "string"
                },
                {
                  "const": "slack_thread",
                  "type": "string"
                },
                {
                  "const": "sentry_event",
                  "type": "string"
                },
                {
                  "const": "provider_thread",
                  "type": "string"
                },
                {
                  "const": "provider_event",
                  "type": "string"
                },
                {
                  "const": "provider_comment",
                  "type": "string"
                },
                {
                  "const": "tracking_item",
                  "type": "string"
                },
                {
                  "const": "change_request",
                  "type": "string"
                },
                {
                  "const": "repository",
                  "type": "string"
                },
                {
                  "const": "support_ticket",
                  "type": "string"
                },
                {
                  "const": "signal",
                  "type": "string"
                },
                {
                  "const": "act",
                  "type": "string"
                },
                {
                  "const": "receipt",
                  "type": "string"
                },
                {
                  "const": "graph_receipt",
                  "type": "string"
                },
                {
                  "const": "artifact",
                  "type": "string"
                },
                {
                  "const": "verification",
                  "type": "string"
                },
                {
                  "const": "harness",
                  "type": "string"
                },
                {
                  "const": "host",
                  "type": "string"
                },
                {
                  "const": "deployment",
                  "type": "string"
                },
                {
                  "const": "surface",
                  "type": "string"
                },
                {
                  "const": "target",
                  "type": "string"
                },
                {
                  "const": "opportunity",
                  "type": "string"
                },
                {
                  "const": "thesis_assessment",
                  "type": "string"
                },
                {
                  "const": "selection",
                  "type": "string"
                },
                {
                  "const": "skill_binding",
                  "type": "string"
                },
                {
                  "const": "target_transition_entry",
                  "type": "string"
                },
                {
                  "const": "selection_cycle",
                  "type": "string"
                },
                {
                  "const": "decision",
                  "type": "string"
                },
                {
                  "const": "reflection_entry",
                  "type": "string"
                },
                {
                  "const": "feed_entry",
                  "type": "string"
                },
                {
                  "const": "principal",
                  "type": "string"
                },
                {
                  "const": "authority_proof",
                  "type": "string"
                },
                {
                  "const": "scope_admission",
                  "type": "string"
                },
                {
                  "const": "grant",
                  "type": "string"
                },
                {
                  "const": "mandate",
                  "type": "string"
                },
                {
                  "const": "credential",
                  "type": "string"
                },
                {
                  "const": "webhook_delivery",
                  "type": "string"
                },
                {
                  "const": "redaction_policy",
                  "type": "string"
                },
                {
                  "const": "external_url",
                  "type": "string"
                }
              ]
            },
            "uri": {
              "minLength": 1,
              "type": "string"
            }
          },
          "required": [
            "type",
            "uri"
          ],
          "type": "object",
          "x-runx-schema": "runx.reference.v1"
        },
        "type": "array"
      },
      "schema": {
        "anyOf": [
          {
            "const": "runx.verification.v1",
            "type": "string"
          }
        ]
      },
      "status": {
        "anyOf": [
          {
            "const": "passed",
            "type": "string"
          },
          {
            "const": "failed",
            "type": "string"
          },
          {
            "const": "pending",
            "type": "string"
          },
          {
            "const": "not_applicable",
            "type": "string"
          },
          {
            "const": "missing",
            "type": "string"
          }
        ]
      },
      "verification_id": {
        "minLength": 1,
        "type": "string"
      },
      "verified_at": {
        "minLength": 1,
        "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$",
        "type": "string"
      }
    },
    "required": [
      "status",
      "checks",
      "evidence_refs"
    ],
    "type": "object",
    "x-runx-schema": "runx.verification.v1"
  } as JsonSchema
} as const satisfies Record<string, JsonSchema>;

export type RunxSchemaArtifactName = keyof typeof runxSchemaArtifacts;

export function schemaArtifact<TName extends RunxSchemaArtifactName>(fileName: TName): (typeof runxSchemaArtifacts)[TName] {
  return runxSchemaArtifacts[fileName];
}
