Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
252 changes: 252 additions & 0 deletions openapi.public.json
Original file line number Diff line number Diff line change
Expand Up @@ -704,6 +704,65 @@
],
"type": "object"
},
"ChangeSummary": {
"description": "What a review recorded about its change.",
"properties": {
"base_sha": {
"description": "The compared base commit. Null when the review pinned none.",
"type": [
"string",
"null"
]
},
"files": {
"description": "The changed files the review read, by path, with the depth it read\n them at. Empty when the review recorded no change digest. Files the\n review's filters kept from review are listed apart, with their reason.",
"items": {
"$ref": "#/components/schemas/FileFact"
},
"type": "array"
},
"head_sha": {
"description": "The reviewed head commit.",
"type": "string"
},
"prose": {
"anyOf": [
{
"$ref": "#/components/schemas/Prose"
},
{
"type": "null"
}
],
"description": "Model-written prose. Present only when `prose_outcome` is `PUBLISHED`.\n It is untrusted text: render it inert."
},
"prose_outcome": {
"allOf": [
{
"$ref": "#/components/schemas/ProseOutcome"
}
],
"description": "The recorded prose-generation outcome, before response-time withholding."
},
"route": {
"anyOf": [
{
"$ref": "#/components/schemas/SummaryRoute"
},
{
"type": "null"
}
],
"description": "The route the summary applied. Null when the review recorded no change\n digest, so no route was asked."
}
},
"required": [
"head_sha",
"files",
"prose_outcome"
],
"type": "object"
},
"CheckLifecycle": {
"description": "World's lifecycle disclosure for the evaluator version that answered, as\n the receipt recorded it. A deployment gate counts only `GATING` results\n (`DeterministicCoverage::gate_effective_status`), and only when it\n evaluates a deployment; the lifecycle alone permits or blocks nothing.",
"oneOf": [
Expand Down Expand Up @@ -1757,6 +1816,17 @@
],
"description": "The change-level diagram: the changed call path from the pinned code\n index and the relations World declares. Absent when the review\n recorded none."
},
"change_summary": {
"anyOf": [
{
"$ref": "#/components/schemas/ChangeSummary"
},
{
"type": "null"
}
],
"description": "What the change does and which files the review read at which depth\n (§55). Null until the review's publication records it, and for a\n review that is not of a pull request. Generated text has current\n credentials and recorded protected values withheld; missing or expired\n provenance withholds the generated text whole."
},
"check_run_url": {
"description": "The GitHub check run Proofline published for this review. Null when\n none was published.",
"type": [
Expand Down Expand Up @@ -2206,6 +2276,17 @@
"string",
"null"
]
},
"terraform": {
"anyOf": [
{
"$ref": "#/components/schemas/TerraformRootsView"
},
{
"type": "null"
}
],
"description": "The Terraform addresses the reach also started from, or why it took\n none. Absent when the assessment read reach only from the deployed\n revision."
}
},
"required": [
Expand Down Expand Up @@ -2389,6 +2470,51 @@
],
"type": "string"
},
"FileFact": {
"properties": {
"additions": {
"description": "Lines added in this file's recorded diff.",
"format": "int64",
"type": "integer"
},
"deletions": {
"description": "Lines deleted in this file's recorded diff.",
"format": "int64",
"type": "integer"
},
"depth": {
"allOf": [
{
"$ref": "#/components/schemas/ReviewDepth"
}
],
"description": "The review depth recorded for this file."
},
"path": {
"description": "The repository-relative path of the changed file.",
"type": "string"
},
"previous_path": {
"description": "The path before a rename.",
"type": [
"string",
"null"
]
},
"status": {
"description": "GitHub's file status: `added`, `modified`, `removed`, `renamed` and so on.",
"type": "string"
}
},
"required": [
"path",
"status",
"additions",
"deletions",
"depth"
],
"type": "object"
},
"FileProjection": {
"properties": {
"depth": {
Expand Down Expand Up @@ -3954,6 +4080,75 @@
"title": "Problem",
"type": "object"
},
"Prose": {
"properties": {
"headline": {
"description": "At most 120 characters.",
"type": "string"
},
"notable_paths": {
"description": "Paths in the pinned diff the prose calls out.",
"items": {
"type": "string"
},
"type": "array"
},
"paragraphs": {
"description": "At most three of at most 400 characters; one on the `SHORT` route.",
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"headline",
"paragraphs",
"notable_paths"
],
"type": "object"
},
"ProseOutcome": {
"description": "Why the summary carries prose or does not.",
"oneOf": [
{
"enum": [
"PUBLISHED"
],
"type": "string"
},
{
"const": "NO_CHANGE_DIGEST",
"description": "The review recorded no change digest to summarize.",
"type": "string"
},
{
"const": "NOT_REQUESTED",
"description": "The applied route was `DETERMINISTIC_ONLY`.",
"type": "string"
},
{
"const": "MODEL_UNAVAILABLE",
"description": "No fast-tier model was bound, priced or funded, or it did not answer.",
"type": "string"
},
{
"const": "MALFORMED",
"description": "The answer did not fit the tool's schema or its limits.",
"type": "string"
},
{
"const": "REJECTED",
"description": "The prose used a word a summary never uses (\"safe\", \"no risk\",\n \"approved\") or named a path outside the diff.",
"type": "string"
},
{
"const": "UNGROUNDED",
"description": "Jev answered that a statement does not follow from the diff slices.",
"type": "string"
}
]
},
"PullRequestMergeGate": {
"properties": {
"assessment_count": {
Expand Down Expand Up @@ -4435,6 +4630,13 @@
],
"type": "object"
},
"ReviewDepth": {
"description": "The depth the applied route plan read a file at.",
"enum": [
"STANDARD"
],
"type": "string"
},
"ReviewDiffStats": {
"properties": {
"additions": {
Expand Down Expand Up @@ -5826,6 +6028,56 @@
],
"type": "object"
},
"SummaryRoute": {
"enum": [
"DETERMINISTIC_ONLY",
"SHORT",
"FULL"
],
"type": "string"
},
"TerraformPlanView": {
"enum": [
"TAKEN",
"NOT_DECLARED",
"NOT_PINNED",
"HEAD_DIFFERS",
"ADDRESSES_UNREPORTED"
],
"type": "string"
},
"TerraformRootsView": {
"description": "The Terraform roots of one declared reach read.",
"properties": {
"addresses": {
"description": "The changed resource instance addresses taken as roots.",
"items": {
"type": "string"
},
"type": "array"
},
"omitted": {
"description": "Changed addresses left out at World's limit of 100 roots per read.",
"format": "uint",
"minimum": 0,
"type": "integer"
},
"plan": {
"allOf": [
{
"$ref": "#/components/schemas/TerraformPlanView"
}
],
"description": "`TAKEN` when the plan pinned for the reviewed commit named the roots,\n `NOT_DECLARED` when the environment captures no Terraform plan for this\n review, `NOT_PINNED` when it declares one and none was pinned,\n `HEAD_DIFFERS` when the pinned plan is for another commit, and\n `ADDRESSES_UNREPORTED` when the pinned plan records no changed\n addresses because it was pinned before World reported them."
}
},
"required": [
"plan",
"addresses",
"omitted"
],
"type": "object"
},
"ThreadObservationFreshness": {
"enum": [
"FRESH",
Expand Down
Loading
Loading