|
142 | 142 | }, |
143 | 143 | "likelyOwners": { |
144 | 144 | "type": "array", |
145 | | - "description": "People most likely connected to the relevant code or behavior, based on git blame/log/PR history. Include multiple candidates when responsibility is shared or ambiguous.", |
| 145 | + "description": "Routing candidates selected by the reviewer. Historical attribution requires a source-line history pointer verified by the host against raw recorded parents; blame alone is not introduction proof. Other people remain unverified routing candidates in public output.", |
146 | 146 | "minItems": 1, |
| 147 | + "maxItems": 5, |
147 | 148 | "items": { |
148 | 149 | "type": "object", |
149 | 150 | "additionalProperties": false, |
150 | | - "required": ["person", "role", "reason", "commits", "files", "confidence"], |
| 151 | + "required": ["person", "role", "reason", "commits", "files", "confidence", "history"], |
151 | 152 | "properties": { |
152 | 153 | "person": { |
153 | 154 | "type": "string", |
154 | 155 | "description": "GitHub login, maintainer handle, or commit author display name. Do not include email addresses." |
155 | 156 | }, |
156 | 157 | "role": { |
157 | 158 | "type": "string", |
158 | | - "description": "Neutral role in the history, such as introduced behavior, recent maintainer, reviewer, merger, adjacent owner, or likely follow-up owner." |
| 159 | + "description": "Reviewer routing rationale only, not trusted historical attribution. Public roles come from host-verified author or committer facts; these roles never establish PR authorship, merger identity, or semantic responsibility." |
159 | 160 | }, |
160 | 161 | "reason": { |
161 | 162 | "type": "string", |
162 | | - "description": "Brief evidence-backed reason this person is relevant." |
| 163 | + "description": "Brief model judgment explaining relevance, retained in the raw decision artifact. Public related-people prose is independently projected from Git facts or labeled unverified routing." |
163 | 164 | }, |
164 | 165 | "commits": { |
165 | 166 | "type": "array", |
|
176 | 177 | "confidence": { |
177 | 178 | "type": "string", |
178 | 179 | "enum": ["high", "medium", "low"] |
| 180 | + }, |
| 181 | + "history": { |
| 182 | + "type": ["object", "null"], |
| 183 | + "additionalProperties": false, |
| 184 | + "required": ["commitSha", "sourcePath", "sourceLine", "actor"], |
| 185 | + "description": "Untrusted source-line history pointer. Use null for CODEOWNERS, review-context, or other routing candidates. The host verifies the exact line at the recorded review revision against the blamed commit's raw recorded parents. ^SHA, porcelain boundary, --root, missing parents, and file-touch alone cannot prove introduction. Unknown or carried-forward history cannot name an introducing author.", |
| 186 | + "properties": { |
| 187 | + "commitSha": { "type": "string", "pattern": "^[0-9a-fA-F]{40}$" }, |
| 188 | + "sourcePath": { "type": "string", "maxLength": 4096 }, |
| 189 | + "sourceLine": { "type": "integer", "minimum": 1, "maximum": 1000000 }, |
| 190 | + "actor": { "type": "string", "enum": ["author", "committer"] } |
| 191 | + } |
179 | 192 | } |
180 | 193 | } |
181 | 194 | } |
|
1061 | 1074 | } |
1062 | 1075 | }, |
1063 | 1076 | "regressionProvenance": { |
1064 | | - "description": "An untrusted candidate predecessor link. Use null unless one exact relevant source line and prior merged PR are known. Runtime verification may publish verified provenance when blame matches the canonical merge commit, or cautiously label a related PR as non-causal only when canonical metadata plus an exact, location-and-context-preserving rewritten patch match; all other associations fail closed.", |
| 1077 | + "description": "An untrusted candidate predecessor link. Use null unless one exact relevant source line and prior merged PR are known. Runtime verification requires the exact source-line patch against raw recorded parents, not blame or a root-style display alone. It may publish verified provenance when the blamed commit matches the canonical merge commit, or cautiously label a non-causal related PR after an exact location-and-context-preserving rewritten patch match; all other associations fail closed.", |
1065 | 1078 | "type": ["object", "null"], |
1066 | 1079 | "additionalProperties": false, |
1067 | 1080 | "required": [ |
|
0 commit comments