|
3 | 3 | "title": "AcceptanceResult", |
4 | 4 | "type": "object", |
5 | 5 | "required": ["sqlKey", "status", "equivalence", "perfComparison", "securityChecks"], |
6 | | - "$defs": { |
7 | | - "PatchReplayContract": { |
8 | | - "type": "object", |
9 | | - "required": [ |
10 | | - "replayMode", |
11 | | - "requiredTemplateOps", |
12 | | - "expectedRenderedSql", |
13 | | - "expectedRenderedSqlNormalized", |
14 | | - "expectedFingerprint", |
15 | | - "requiredAnchors", |
16 | | - "requiredIncludes", |
17 | | - "requiredPlaceholderShape", |
18 | | - "dialectSyntaxCheckRequired" |
19 | | - ], |
20 | | - "properties": { |
21 | | - "replayMode": {"type": "string"}, |
22 | | - "requiredTemplateOps": {"type": "array", "items": {"type": "string"}}, |
23 | | - "expectedRenderedSql": {"type": "string"}, |
24 | | - "expectedRenderedSqlNormalized": {"type": "string"}, |
25 | | - "expectedFingerprint": {"type": ["string", "object"]}, |
26 | | - "requiredAnchors": {"type": "array", "items": {"type": "string"}}, |
27 | | - "requiredIncludes": {"type": "array", "items": {"type": "string"}}, |
28 | | - "requiredPlaceholderShape": {"type": ["string", "array"], "items": {"type": "string"}}, |
29 | | - "dialectSyntaxCheckRequired": {"type": "boolean"} |
30 | | - } |
31 | | - }, |
32 | | - "PatchTargetContract": { |
33 | | - "type": "object", |
34 | | - "required": [ |
35 | | - "sqlKey", |
36 | | - "selectedCandidateId", |
37 | | - "targetSql", |
38 | | - "targetSqlNormalized", |
39 | | - "targetSqlFingerprint", |
40 | | - "semanticGateStatus", |
41 | | - "semanticGateConfidence", |
42 | | - "selectedPatchStrategy", |
43 | | - "family", |
44 | | - "semanticEquivalence", |
45 | | - "patchability", |
46 | | - "rewriteMaterialization", |
47 | | - "templateRewriteOps", |
48 | | - "replayContract", |
49 | | - "evidenceRefs" |
50 | | - ], |
51 | | - "properties": { |
52 | | - "sqlKey": {"type": "string"}, |
53 | | - "selectedCandidateId": {"type": "string"}, |
54 | | - "targetSql": {"type": "string"}, |
55 | | - "targetSqlNormalized": {"type": "string"}, |
56 | | - "targetSqlFingerprint": {"type": "string"}, |
57 | | - "semanticGateStatus": {"type": "string"}, |
58 | | - "semanticGateConfidence": {"type": "string"}, |
59 | | - "selectedPatchStrategy": {"type": "object"}, |
60 | | - "family": {"type": "string"}, |
61 | | - "semanticEquivalence": {"type": "object"}, |
62 | | - "patchability": {"type": "object"}, |
63 | | - "rewriteMaterialization": {"type": "object"}, |
64 | | - "templateRewriteOps": {"type": "array", "items": {"type": "object"}}, |
65 | | - "replayContract": {"$ref": "#/$defs/PatchReplayContract"}, |
66 | | - "evidenceRefs": {"type": "array", "items": {"type": "string"}} |
67 | | - } |
68 | | - } |
69 | | - }, |
| 6 | + "additionalProperties": false, |
| 7 | + "$defs": {}, |
70 | 8 | "properties": { |
71 | 9 | "sqlKey": {"type": "string"}, |
72 | 10 | "status": {"type": "string"}, |
|
101 | 39 | "feedback": {"type": ["object", "null"]}, |
102 | 40 | "rewriteStrategy": {"type": "string"}, |
103 | 41 | "rewriteIntent": {"type": ["object", "null"]}, |
104 | | - "rewriteMaterialization": {"type": ["object", "null"]}, |
105 | 42 | "semanticRisk": {"type": "string"}, |
106 | 43 | "regressionSignals": {"type": "array"}, |
107 | 44 | "decisionTrace": {"type": ["array", "null"], "items": {"type": "object"}}, |
|
114 | 51 | "llmTraceRefs": {"type": "array", "items": {"type": "string"}}, |
115 | 52 | "selectionReason": {"type": ["object", "null"]}, |
116 | 53 | "selectionRationale": {"type": ["object", "null"]}, |
117 | | - "deliveryReadiness": {"type": ["object", "null"]}, |
118 | 54 | "decisionLayers": {"type": ["object", "null"]}, |
119 | 55 | "guardrailDecisions": {"type": ["array", "null"], "items": {"type": "object"}}, |
120 | | - "templateRewriteOps": {"type": ["array", "null"], "items": {"type": "object"}}, |
121 | 56 | "repairability": {"type": ["object", "null"]}, |
122 | 57 | "repairHints": {"type": ["array", "null"], "items": {"type": "object"}}, |
123 | 58 | "rewriteSafetyLevel": {"type": ["string", "null"]}, |
124 | | - "patchability": {"type": ["object", "null"]}, |
125 | | - "selectedPatchStrategy": {"type": ["object", "null"]}, |
126 | | - "dynamicTemplate": { |
127 | | - "type": ["object", "null"], |
128 | | - "properties": { |
129 | | - "present": {"type": ["boolean", "null"]}, |
130 | | - "shapeFamily": {"type": ["string", "null"]}, |
131 | | - "capabilityTier": {"type": ["string", "null"]}, |
132 | | - "patchSurface": {"type": ["string", "null"]}, |
133 | | - "baselineFamily": {"type": ["string", "null"]}, |
134 | | - "blockingReason": {"type": ["string", "null"]}, |
135 | | - "deliveryClass": {"type": ["string", "null"]} |
136 | | - } |
137 | | - }, |
138 | 59 | "canonicalization": {"type": ["object", "null"]}, |
139 | 60 | "rewriteFacts": {"type": ["object", "null"]}, |
140 | | - "patchStrategyCandidates": {"type": ["array", "null"], "items": {"type": "object"}}, |
141 | 61 | "canonicalizationAssessment": {"type": ["array", "null"], "items": {"type": "object"}}, |
142 | 62 | "candidateSelectionTrace": {"type": ["array", "null"], "items": {"type": "object"}}, |
143 | 63 | "semanticEquivalence": { |
|
158 | 78 | "coverage": {"type": ["object", "null"]}, |
159 | 79 | "evidence": {"type": ["object", "null"]} |
160 | 80 | } |
161 | | - }, |
162 | | - "patchTarget": {"$ref": "#/$defs/PatchTargetContract"} |
| 81 | + } |
163 | 82 | } |
164 | 83 | } |
0 commit comments