agentskeptic 8.1.0 → 8.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +10 -0
- package/dist/certificateVerificationDiff.d.ts +77 -0
- package/dist/certificateVerificationDiff.d.ts.map +1 -0
- package/dist/certificateVerificationDiff.js +249 -0
- package/dist/certificateVerificationDiff.js.map +1 -0
- package/dist/certificateVerificationDiff.test.d.ts +2 -0
- package/dist/certificateVerificationDiff.test.d.ts.map +1 -0
- package/dist/certificateVerificationDiff.test.js +53 -0
- package/dist/certificateVerificationDiff.test.js.map +1 -0
- package/dist/cli.js +96 -4
- package/dist/cli.js.map +1 -1
- package/dist/compareCertificatesCli.test.d.ts +2 -0
- package/dist/compareCertificatesCli.test.d.ts.map +1 -0
- package/dist/compareCertificatesCli.test.js +144 -0
- package/dist/compareCertificatesCli.test.js.map +1 -0
- package/dist/execution-identity.v1.json +1 -1
- package/dist/publicDistribution.generated.d.ts +1 -1
- package/dist/publicDistribution.generated.js +1 -1
- package/dist/schemaLoad.d.ts +1 -1
- package/dist/schemaLoad.d.ts.map +1 -1
- package/dist/schemaLoad.js +3 -0
- package/dist/schemaLoad.js.map +1 -1
- package/package.json +1 -1
- package/schemas/openapi-commercial-v1.yaml +1 -1
- package/schemas/verification-diff-certificate-v1.schema.json +229 -0
|
@@ -0,0 +1,229 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://agentskeptic.com/schemas/verification-diff-certificate-v1.schema.json",
|
|
4
|
+
"title": "VerificationDiffCertificateV1",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"additionalProperties": false,
|
|
7
|
+
"$defs": {
|
|
8
|
+
"evidenceProj": {
|
|
9
|
+
"type": "object",
|
|
10
|
+
"additionalProperties": false,
|
|
11
|
+
"required": ["blockerCategory", "supportLabel"],
|
|
12
|
+
"properties": {
|
|
13
|
+
"blockerCategory": {
|
|
14
|
+
"$ref": "./evidence-completeness-v1.schema.json#/properties/blockerCategory"
|
|
15
|
+
},
|
|
16
|
+
"supportLabel": {
|
|
17
|
+
"oneOf": [
|
|
18
|
+
{
|
|
19
|
+
"$ref": "./evidence-completeness-v1.schema.json#/$defs/witnessCoverageV1/properties/supportLabel"
|
|
20
|
+
},
|
|
21
|
+
{ "type": "null" }
|
|
22
|
+
]
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
"certificateFace": {
|
|
27
|
+
"type": "object",
|
|
28
|
+
"additionalProperties": false,
|
|
29
|
+
"required": ["certificateSha256", "runKind", "stateRelation", "releaseCriticalVerdict", "highStakesReliance"],
|
|
30
|
+
"properties": {
|
|
31
|
+
"certificateSha256": {
|
|
32
|
+
"type": "string",
|
|
33
|
+
"pattern": "^[0-9a-f]{64}$"
|
|
34
|
+
},
|
|
35
|
+
"runKind": {
|
|
36
|
+
"type": "string",
|
|
37
|
+
"enum": ["contract_sql", "contract_sql_langgraph_checkpoint_trust", "quick_preview"]
|
|
38
|
+
},
|
|
39
|
+
"stateRelation": {
|
|
40
|
+
"type": "string",
|
|
41
|
+
"enum": ["matches_expectations", "does_not_match", "not_established"]
|
|
42
|
+
},
|
|
43
|
+
"releaseCriticalVerdict": {
|
|
44
|
+
"type": "string",
|
|
45
|
+
"enum": ["trusted", "not_trusted", "unknown"]
|
|
46
|
+
},
|
|
47
|
+
"highStakesReliance": {
|
|
48
|
+
"type": "string",
|
|
49
|
+
"enum": ["permitted", "prohibited"]
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
},
|
|
53
|
+
"pairChanged": {
|
|
54
|
+
"type": "object",
|
|
55
|
+
"additionalProperties": false,
|
|
56
|
+
"required": ["prior", "current", "changed"],
|
|
57
|
+
"properties": {
|
|
58
|
+
"prior": {},
|
|
59
|
+
"current": {},
|
|
60
|
+
"changed": { "type": "boolean" }
|
|
61
|
+
}
|
|
62
|
+
},
|
|
63
|
+
"stateRelationPair": {
|
|
64
|
+
"type": "object",
|
|
65
|
+
"additionalProperties": false,
|
|
66
|
+
"required": ["prior", "current", "changed"],
|
|
67
|
+
"properties": {
|
|
68
|
+
"prior": {
|
|
69
|
+
"type": "string",
|
|
70
|
+
"enum": ["matches_expectations", "does_not_match", "not_established"]
|
|
71
|
+
},
|
|
72
|
+
"current": {
|
|
73
|
+
"type": "string",
|
|
74
|
+
"enum": ["matches_expectations", "does_not_match", "not_established"]
|
|
75
|
+
},
|
|
76
|
+
"changed": { "type": "boolean" }
|
|
77
|
+
}
|
|
78
|
+
},
|
|
79
|
+
"verdictPair": {
|
|
80
|
+
"type": "object",
|
|
81
|
+
"additionalProperties": false,
|
|
82
|
+
"required": ["prior", "current", "changed"],
|
|
83
|
+
"properties": {
|
|
84
|
+
"prior": {
|
|
85
|
+
"type": "string",
|
|
86
|
+
"enum": ["trusted", "not_trusted", "unknown"]
|
|
87
|
+
},
|
|
88
|
+
"current": {
|
|
89
|
+
"type": "string",
|
|
90
|
+
"enum": ["trusted", "not_trusted", "unknown"]
|
|
91
|
+
},
|
|
92
|
+
"changed": { "type": "boolean" }
|
|
93
|
+
}
|
|
94
|
+
},
|
|
95
|
+
"reliancePair": {
|
|
96
|
+
"type": "object",
|
|
97
|
+
"additionalProperties": false,
|
|
98
|
+
"required": ["prior", "current", "changed"],
|
|
99
|
+
"properties": {
|
|
100
|
+
"prior": {
|
|
101
|
+
"type": "string",
|
|
102
|
+
"enum": ["permitted", "prohibited"]
|
|
103
|
+
},
|
|
104
|
+
"current": {
|
|
105
|
+
"type": "string",
|
|
106
|
+
"enum": ["permitted", "prohibited"]
|
|
107
|
+
},
|
|
108
|
+
"changed": { "type": "boolean" }
|
|
109
|
+
}
|
|
110
|
+
},
|
|
111
|
+
"runKindPair": {
|
|
112
|
+
"type": "object",
|
|
113
|
+
"additionalProperties": false,
|
|
114
|
+
"required": ["prior", "current", "changed"],
|
|
115
|
+
"properties": {
|
|
116
|
+
"prior": {
|
|
117
|
+
"type": "string",
|
|
118
|
+
"enum": ["contract_sql", "contract_sql_langgraph_checkpoint_trust", "quick_preview"]
|
|
119
|
+
},
|
|
120
|
+
"current": {
|
|
121
|
+
"type": "string",
|
|
122
|
+
"enum": ["contract_sql", "contract_sql_langgraph_checkpoint_trust", "quick_preview"]
|
|
123
|
+
},
|
|
124
|
+
"changed": { "type": "boolean" }
|
|
125
|
+
}
|
|
126
|
+
},
|
|
127
|
+
"determinacyBlock": {
|
|
128
|
+
"type": "object",
|
|
129
|
+
"additionalProperties": false,
|
|
130
|
+
"required": ["priorClass", "currentClass", "priorRank", "currentRank"],
|
|
131
|
+
"properties": {
|
|
132
|
+
"priorClass": {
|
|
133
|
+
"type": "string",
|
|
134
|
+
"enum": ["established_positive", "established_negative", "not_established"]
|
|
135
|
+
},
|
|
136
|
+
"currentClass": {
|
|
137
|
+
"type": "string",
|
|
138
|
+
"enum": ["established_positive", "established_negative", "not_established"]
|
|
139
|
+
},
|
|
140
|
+
"priorRank": { "type": "integer", "enum": [0, 1, 2] },
|
|
141
|
+
"currentRank": { "type": "integer", "enum": [0, 1, 2] }
|
|
142
|
+
}
|
|
143
|
+
},
|
|
144
|
+
"limitsBlock": {
|
|
145
|
+
"type": "object",
|
|
146
|
+
"additionalProperties": false,
|
|
147
|
+
"required": ["certificateOnly", "noEvents", "noStepStructuralDiff"],
|
|
148
|
+
"properties": {
|
|
149
|
+
"certificateOnly": { "type": "boolean", "const": true },
|
|
150
|
+
"noEvents": { "type": "boolean", "const": true },
|
|
151
|
+
"noStepStructuralDiff": { "type": "boolean", "const": true }
|
|
152
|
+
}
|
|
153
|
+
},
|
|
154
|
+
"nextStepHintBlock": {
|
|
155
|
+
"type": "object",
|
|
156
|
+
"additionalProperties": false,
|
|
157
|
+
"required": ["command", "docAnchor"],
|
|
158
|
+
"properties": {
|
|
159
|
+
"command": {
|
|
160
|
+
"type": "string",
|
|
161
|
+
"const": "agentskeptic compare --manifest <compare-run-manifest.json>"
|
|
162
|
+
},
|
|
163
|
+
"docAnchor": {
|
|
164
|
+
"type": "string",
|
|
165
|
+
"const": "docs/agentskeptic.md#cross-run-comparison-normative"
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
},
|
|
170
|
+
"required": [
|
|
171
|
+
"$schema",
|
|
172
|
+
"schemaVersion",
|
|
173
|
+
"comparisonKind",
|
|
174
|
+
"workflowId",
|
|
175
|
+
"prior",
|
|
176
|
+
"current",
|
|
177
|
+
"stateRelation",
|
|
178
|
+
"releaseCriticalVerdict",
|
|
179
|
+
"highStakesReliance",
|
|
180
|
+
"runKind",
|
|
181
|
+
"evidenceCompletenessProjection",
|
|
182
|
+
"completenessChanged",
|
|
183
|
+
"determinacy",
|
|
184
|
+
"lessDeterminate",
|
|
185
|
+
"postureMovement",
|
|
186
|
+
"headline",
|
|
187
|
+
"recommendedNextAction",
|
|
188
|
+
"limits",
|
|
189
|
+
"nextStepHint"
|
|
190
|
+
],
|
|
191
|
+
"properties": {
|
|
192
|
+
"$schema": {
|
|
193
|
+
"type": "string",
|
|
194
|
+
"const": "https://agentskeptic.com/schemas/verification-diff-certificate-v1.schema.json"
|
|
195
|
+
},
|
|
196
|
+
"schemaVersion": { "type": "integer", "const": 1 },
|
|
197
|
+
"comparisonKind": {
|
|
198
|
+
"type": "string",
|
|
199
|
+
"const": "outcome_certificate_v3_semantic"
|
|
200
|
+
},
|
|
201
|
+
"workflowId": { "type": "string", "minLength": 1 },
|
|
202
|
+
"prior": { "$ref": "#/$defs/certificateFace" },
|
|
203
|
+
"current": { "$ref": "#/$defs/certificateFace" },
|
|
204
|
+
"stateRelation": { "$ref": "#/$defs/stateRelationPair" },
|
|
205
|
+
"releaseCriticalVerdict": { "$ref": "#/$defs/verdictPair" },
|
|
206
|
+
"highStakesReliance": { "$ref": "#/$defs/reliancePair" },
|
|
207
|
+
"runKind": { "$ref": "#/$defs/runKindPair" },
|
|
208
|
+
"evidenceCompletenessProjection": {
|
|
209
|
+
"type": "object",
|
|
210
|
+
"additionalProperties": false,
|
|
211
|
+
"required": ["prior", "current"],
|
|
212
|
+
"properties": {
|
|
213
|
+
"prior": { "$ref": "#/$defs/evidenceProj" },
|
|
214
|
+
"current": { "$ref": "#/$defs/evidenceProj" }
|
|
215
|
+
}
|
|
216
|
+
},
|
|
217
|
+
"completenessChanged": { "type": "boolean" },
|
|
218
|
+
"determinacy": { "$ref": "#/$defs/determinacyBlock" },
|
|
219
|
+
"lessDeterminate": { "type": "boolean" },
|
|
220
|
+
"postureMovement": {
|
|
221
|
+
"type": "string",
|
|
222
|
+
"enum": ["improved", "weakened", "unchanged", "less_determinate", "drifted"]
|
|
223
|
+
},
|
|
224
|
+
"headline": { "type": "string", "minLength": 1, "maxLength": 512 },
|
|
225
|
+
"recommendedNextAction": { "type": "string", "minLength": 1, "maxLength": 2048 },
|
|
226
|
+
"limits": { "$ref": "#/$defs/limitsBlock" },
|
|
227
|
+
"nextStepHint": { "$ref": "#/$defs/nextStepHintBlock" }
|
|
228
|
+
}
|
|
229
|
+
}
|