|
704 | 704 | ], |
705 | 705 | "type": "object" |
706 | 706 | }, |
| 707 | + "ChangeSummary": { |
| 708 | + "description": "What a review recorded about its change.", |
| 709 | + "properties": { |
| 710 | + "base_sha": { |
| 711 | + "description": "The compared base commit. Null when the review pinned none.", |
| 712 | + "type": [ |
| 713 | + "string", |
| 714 | + "null" |
| 715 | + ] |
| 716 | + }, |
| 717 | + "files": { |
| 718 | + "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.", |
| 719 | + "items": { |
| 720 | + "$ref": "#/components/schemas/FileFact" |
| 721 | + }, |
| 722 | + "type": "array" |
| 723 | + }, |
| 724 | + "head_sha": { |
| 725 | + "description": "The reviewed head commit.", |
| 726 | + "type": "string" |
| 727 | + }, |
| 728 | + "prose": { |
| 729 | + "anyOf": [ |
| 730 | + { |
| 731 | + "$ref": "#/components/schemas/Prose" |
| 732 | + }, |
| 733 | + { |
| 734 | + "type": "null" |
| 735 | + } |
| 736 | + ], |
| 737 | + "description": "Model-written prose. Present only when `prose_outcome` is `PUBLISHED`.\n It is untrusted text: render it inert." |
| 738 | + }, |
| 739 | + "prose_outcome": { |
| 740 | + "allOf": [ |
| 741 | + { |
| 742 | + "$ref": "#/components/schemas/ProseOutcome" |
| 743 | + } |
| 744 | + ], |
| 745 | + "description": "The recorded prose-generation outcome, before response-time withholding." |
| 746 | + }, |
| 747 | + "route": { |
| 748 | + "anyOf": [ |
| 749 | + { |
| 750 | + "$ref": "#/components/schemas/SummaryRoute" |
| 751 | + }, |
| 752 | + { |
| 753 | + "type": "null" |
| 754 | + } |
| 755 | + ], |
| 756 | + "description": "The route the summary applied. Null when the review recorded no change\n digest, so no route was asked." |
| 757 | + } |
| 758 | + }, |
| 759 | + "required": [ |
| 760 | + "head_sha", |
| 761 | + "files", |
| 762 | + "prose_outcome" |
| 763 | + ], |
| 764 | + "type": "object" |
| 765 | + }, |
707 | 766 | "CheckLifecycle": { |
708 | 767 | "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.", |
709 | 768 | "oneOf": [ |
|
1757 | 1816 | ], |
1758 | 1817 | "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." |
1759 | 1818 | }, |
| 1819 | + "change_summary": { |
| 1820 | + "anyOf": [ |
| 1821 | + { |
| 1822 | + "$ref": "#/components/schemas/ChangeSummary" |
| 1823 | + }, |
| 1824 | + { |
| 1825 | + "type": "null" |
| 1826 | + } |
| 1827 | + ], |
| 1828 | + "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." |
| 1829 | + }, |
1760 | 1830 | "check_run_url": { |
1761 | 1831 | "description": "The GitHub check run Proofline published for this review. Null when\n none was published.", |
1762 | 1832 | "type": [ |
|
2400 | 2470 | ], |
2401 | 2471 | "type": "string" |
2402 | 2472 | }, |
| 2473 | + "FileFact": { |
| 2474 | + "properties": { |
| 2475 | + "additions": { |
| 2476 | + "description": "Lines added in this file's recorded diff.", |
| 2477 | + "format": "int64", |
| 2478 | + "type": "integer" |
| 2479 | + }, |
| 2480 | + "deletions": { |
| 2481 | + "description": "Lines deleted in this file's recorded diff.", |
| 2482 | + "format": "int64", |
| 2483 | + "type": "integer" |
| 2484 | + }, |
| 2485 | + "depth": { |
| 2486 | + "allOf": [ |
| 2487 | + { |
| 2488 | + "$ref": "#/components/schemas/ReviewDepth" |
| 2489 | + } |
| 2490 | + ], |
| 2491 | + "description": "The review depth recorded for this file." |
| 2492 | + }, |
| 2493 | + "path": { |
| 2494 | + "description": "The repository-relative path of the changed file.", |
| 2495 | + "type": "string" |
| 2496 | + }, |
| 2497 | + "previous_path": { |
| 2498 | + "description": "The path before a rename.", |
| 2499 | + "type": [ |
| 2500 | + "string", |
| 2501 | + "null" |
| 2502 | + ] |
| 2503 | + }, |
| 2504 | + "status": { |
| 2505 | + "description": "GitHub's file status: `added`, `modified`, `removed`, `renamed` and so on.", |
| 2506 | + "type": "string" |
| 2507 | + } |
| 2508 | + }, |
| 2509 | + "required": [ |
| 2510 | + "path", |
| 2511 | + "status", |
| 2512 | + "additions", |
| 2513 | + "deletions", |
| 2514 | + "depth" |
| 2515 | + ], |
| 2516 | + "type": "object" |
| 2517 | + }, |
2403 | 2518 | "FileProjection": { |
2404 | 2519 | "properties": { |
2405 | 2520 | "depth": { |
|
3965 | 4080 | "title": "Problem", |
3966 | 4081 | "type": "object" |
3967 | 4082 | }, |
| 4083 | + "Prose": { |
| 4084 | + "properties": { |
| 4085 | + "headline": { |
| 4086 | + "description": "At most 120 characters.", |
| 4087 | + "type": "string" |
| 4088 | + }, |
| 4089 | + "notable_paths": { |
| 4090 | + "description": "Paths in the pinned diff the prose calls out.", |
| 4091 | + "items": { |
| 4092 | + "type": "string" |
| 4093 | + }, |
| 4094 | + "type": "array" |
| 4095 | + }, |
| 4096 | + "paragraphs": { |
| 4097 | + "description": "At most three of at most 400 characters; one on the `SHORT` route.", |
| 4098 | + "items": { |
| 4099 | + "type": "string" |
| 4100 | + }, |
| 4101 | + "type": "array" |
| 4102 | + } |
| 4103 | + }, |
| 4104 | + "required": [ |
| 4105 | + "headline", |
| 4106 | + "paragraphs", |
| 4107 | + "notable_paths" |
| 4108 | + ], |
| 4109 | + "type": "object" |
| 4110 | + }, |
| 4111 | + "ProseOutcome": { |
| 4112 | + "description": "Why the summary carries prose or does not.", |
| 4113 | + "oneOf": [ |
| 4114 | + { |
| 4115 | + "enum": [ |
| 4116 | + "PUBLISHED" |
| 4117 | + ], |
| 4118 | + "type": "string" |
| 4119 | + }, |
| 4120 | + { |
| 4121 | + "const": "NO_CHANGE_DIGEST", |
| 4122 | + "description": "The review recorded no change digest to summarize.", |
| 4123 | + "type": "string" |
| 4124 | + }, |
| 4125 | + { |
| 4126 | + "const": "NOT_REQUESTED", |
| 4127 | + "description": "The applied route was `DETERMINISTIC_ONLY`.", |
| 4128 | + "type": "string" |
| 4129 | + }, |
| 4130 | + { |
| 4131 | + "const": "MODEL_UNAVAILABLE", |
| 4132 | + "description": "No fast-tier model was bound, priced or funded, or it did not answer.", |
| 4133 | + "type": "string" |
| 4134 | + }, |
| 4135 | + { |
| 4136 | + "const": "MALFORMED", |
| 4137 | + "description": "The answer did not fit the tool's schema or its limits.", |
| 4138 | + "type": "string" |
| 4139 | + }, |
| 4140 | + { |
| 4141 | + "const": "REJECTED", |
| 4142 | + "description": "The prose used a word a summary never uses (\"safe\", \"no risk\",\n \"approved\") or named a path outside the diff.", |
| 4143 | + "type": "string" |
| 4144 | + }, |
| 4145 | + { |
| 4146 | + "const": "UNGROUNDED", |
| 4147 | + "description": "Jev answered that a statement does not follow from the diff slices.", |
| 4148 | + "type": "string" |
| 4149 | + } |
| 4150 | + ] |
| 4151 | + }, |
3968 | 4152 | "PullRequestMergeGate": { |
3969 | 4153 | "properties": { |
3970 | 4154 | "assessment_count": { |
|
4446 | 4630 | ], |
4447 | 4631 | "type": "object" |
4448 | 4632 | }, |
| 4633 | + "ReviewDepth": { |
| 4634 | + "description": "The depth the applied route plan read a file at.", |
| 4635 | + "enum": [ |
| 4636 | + "STANDARD" |
| 4637 | + ], |
| 4638 | + "type": "string" |
| 4639 | + }, |
4449 | 4640 | "ReviewDiffStats": { |
4450 | 4641 | "properties": { |
4451 | 4642 | "additions": { |
|
5837 | 6028 | ], |
5838 | 6029 | "type": "object" |
5839 | 6030 | }, |
| 6031 | + "SummaryRoute": { |
| 6032 | + "enum": [ |
| 6033 | + "DETERMINISTIC_ONLY", |
| 6034 | + "SHORT", |
| 6035 | + "FULL" |
| 6036 | + ], |
| 6037 | + "type": "string" |
| 6038 | + }, |
5840 | 6039 | "TerraformPlanView": { |
5841 | 6040 | "enum": [ |
5842 | 6041 | "TAKEN", |
|
0 commit comments