agentskeptic 6.1.0 → 6.2.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.
Files changed (38) hide show
  1. package/dist/actionableFailure.d.ts +4 -0
  2. package/dist/actionableFailure.d.ts.map +1 -1
  3. package/dist/actionableFailure.js +406 -3
  4. package/dist/actionableFailure.js.map +1 -1
  5. package/dist/correctnessDefinition.d.ts.map +1 -1
  6. package/dist/correctnessDefinition.js +2 -22
  7. package/dist/correctnessDefinition.js.map +1 -1
  8. package/dist/evidenceCompleteness.d.ts +3 -1
  9. package/dist/evidenceCompleteness.d.ts.map +1 -1
  10. package/dist/evidenceCompleteness.js +42 -1
  11. package/dist/evidenceCompleteness.js.map +1 -1
  12. package/dist/execution-identity.v1.json +1 -1
  13. package/dist/formatEvidenceCompletenessHuman.d.ts +1 -1
  14. package/dist/formatEvidenceCompletenessHuman.d.ts.map +1 -1
  15. package/dist/formatEvidenceCompletenessHuman.js +32 -2
  16. package/dist/formatEvidenceCompletenessHuman.js.map +1 -1
  17. package/dist/index.d.ts +1 -1
  18. package/dist/index.d.ts.map +1 -1
  19. package/dist/index.js.map +1 -1
  20. package/dist/outcomeCertificate.d.ts.map +1 -1
  21. package/dist/outcomeCertificate.js +9 -0
  22. package/dist/outcomeCertificate.js.map +1 -1
  23. package/dist/outcomeCertificate.test.js +130 -0
  24. package/dist/outcomeCertificate.test.js.map +1 -1
  25. package/dist/publicDistribution.generated.d.ts +1 -1
  26. package/dist/publicDistribution.generated.js +1 -1
  27. package/dist/quickVerify/canonicalJson.d.ts.map +1 -1
  28. package/dist/quickVerify/canonicalJson.js +6 -1
  29. package/dist/quickVerify/canonicalJson.js.map +1 -1
  30. package/dist/quickVerify/formatQuickVerifyHumanReport.test.js +67 -0
  31. package/dist/quickVerify/formatQuickVerifyHumanReport.test.js.map +1 -1
  32. package/dist/sdk/_generated/openapi-types.d.ts +1 -1
  33. package/dist/types.d.ts +39 -0
  34. package/dist/types.d.ts.map +1 -1
  35. package/package.json +1 -1
  36. package/schemas/evidence-completeness-v1.schema.json +169 -0
  37. package/schemas/openapi-commercial-v1.in.yaml +1 -1
  38. package/schemas/openapi-commercial-v1.yaml +2 -2
@@ -79,6 +79,175 @@
79
79
  "manual_review_before_rerun"
80
80
  ]
81
81
  },
82
+ "rerunPath": {
83
+ "type": "object",
84
+ "additionalProperties": false,
85
+ "required": ["type", "sameInputs", "prerequisite", "meaningfulWhen", "readinessLabel"],
86
+ "properties": {
87
+ "type": {
88
+ "type": "string",
89
+ "enum": [
90
+ "same_input_verify",
91
+ "after_input_fix_verify",
92
+ "after_state_fix_verify",
93
+ "after_manual_review_verify",
94
+ "no_rerun_needed"
95
+ ]
96
+ },
97
+ "sameInputs": { "type": "boolean" },
98
+ "prerequisite": { "type": "string", "minLength": 1, "maxLength": 512 },
99
+ "meaningfulWhen": { "type": "string", "minLength": 1, "maxLength": 512 },
100
+ "readinessLabel": { "type": "string", "minLength": 1, "maxLength": 256 }
101
+ }
102
+ },
103
+ "remediationItems": {
104
+ "type": "array",
105
+ "maxItems": 32,
106
+ "items": {
107
+ "type": "object",
108
+ "additionalProperties": false,
109
+ "required": [
110
+ "id",
111
+ "scope",
112
+ "primary",
113
+ "failedCheck",
114
+ "reasonCodes",
115
+ "reason",
116
+ "recommendedAction",
117
+ "actionText",
118
+ "expectedState",
119
+ "automation",
120
+ "humanReview",
121
+ "rerunPath"
122
+ ],
123
+ "properties": {
124
+ "id": { "type": "string", "minLength": 1, "maxLength": 128 },
125
+ "scope": {
126
+ "type": "string",
127
+ "enum": ["run_level", "event_sequence", "run_context", "step", "effect", "quick_unit", "quick_ingest"]
128
+ },
129
+ "primary": { "type": "boolean" },
130
+ "failedCheck": { "type": "string", "minLength": 1, "maxLength": 256 },
131
+ "reasonCodes": {
132
+ "type": "array",
133
+ "maxItems": 8,
134
+ "items": { "type": "string", "minLength": 1, "maxLength": 128 }
135
+ },
136
+ "reason": { "type": "string", "minLength": 1, "maxLength": 1024 },
137
+ "recommendedAction": {
138
+ "type": "string",
139
+ "enum": [
140
+ "none",
141
+ "manual_review",
142
+ "deduplicate",
143
+ "reconcile_downstream_state",
144
+ "correct_verification_inputs",
145
+ "improve_read_connectivity",
146
+ "resolve_multi_effect_failures",
147
+ "align_tool_observations",
148
+ "fix_event_ingest_and_steps",
149
+ "fix_event_sequence_order",
150
+ "fix_run_context_controls",
151
+ "fix_cli_usage",
152
+ "fix_registry_events_or_compare_files",
153
+ "fix_verification_database_connection",
154
+ "fix_saved_workflow_json",
155
+ "fix_compare_workflow_inputs",
156
+ "fix_execution_trace_structure",
157
+ "fix_verification_policy_and_hook",
158
+ "fix_plan_document_and_patterns",
159
+ "fix_plan_transition_cli_and_refs",
160
+ "upgrade_git_or_retry_git"
161
+ ]
162
+ },
163
+ "actionText": { "type": "string", "minLength": 1, "maxLength": 500 },
164
+ "expectedState": {
165
+ "type": "object",
166
+ "additionalProperties": false,
167
+ "required": ["summary"],
168
+ "properties": {
169
+ "summary": { "type": "string", "minLength": 1, "maxLength": 1024 },
170
+ "projectionKind": {
171
+ "type": "string",
172
+ "enum": [
173
+ "run_ingest_integrity",
174
+ "event_capture_integrity",
175
+ "run_context_fairness",
176
+ "step_sql_expectation",
177
+ "plan_transition_expectation",
178
+ "quick_inferred_sql_row",
179
+ "quick_inferred_relational",
180
+ "quick_mapping_gap"
181
+ ]
182
+ }
183
+ }
184
+ },
185
+ "automation": {
186
+ "type": "object",
187
+ "additionalProperties": false,
188
+ "required": ["class", "label", "boundary"],
189
+ "properties": {
190
+ "class": {
191
+ "type": "string",
192
+ "enum": [
193
+ "read_only_retry",
194
+ "input_regeneration_candidate",
195
+ "human_write_required",
196
+ "never_auto_mutate"
197
+ ]
198
+ },
199
+ "label": { "type": "string", "minLength": 1, "maxLength": 256 },
200
+ "boundary": { "type": "string", "minLength": 1, "maxLength": 512 }
201
+ }
202
+ },
203
+ "humanReview": {
204
+ "type": "object",
205
+ "additionalProperties": false,
206
+ "required": ["required"],
207
+ "properties": {
208
+ "required": { "type": "boolean" },
209
+ "decisionPrompt": { "type": "string", "minLength": 1, "maxLength": 512 },
210
+ "hypotheses": {
211
+ "type": "array",
212
+ "maxItems": 6,
213
+ "items": { "type": "string", "minLength": 1, "maxLength": 512 }
214
+ },
215
+ "knownFacts": {
216
+ "type": "array",
217
+ "maxItems": 12,
218
+ "items": { "type": "string", "minLength": 1, "maxLength": 512 }
219
+ },
220
+ "evidenceToInspect": {
221
+ "type": "array",
222
+ "maxItems": 8,
223
+ "items": { "type": "string", "minLength": 1, "maxLength": 512 }
224
+ }
225
+ }
226
+ },
227
+ "rerunPath": {
228
+ "type": "object",
229
+ "additionalProperties": false,
230
+ "required": ["type", "sameInputs", "prerequisite", "meaningfulWhen", "readinessLabel"],
231
+ "properties": {
232
+ "type": {
233
+ "type": "string",
234
+ "enum": [
235
+ "same_input_verify",
236
+ "after_input_fix_verify",
237
+ "after_state_fix_verify",
238
+ "after_manual_review_verify",
239
+ "no_rerun_needed"
240
+ ]
241
+ },
242
+ "sameInputs": { "type": "boolean" },
243
+ "prerequisite": { "type": "string", "minLength": 1, "maxLength": 512 },
244
+ "meaningfulWhen": { "type": "string", "minLength": 1, "maxLength": 512 },
245
+ "readinessLabel": { "type": "string", "minLength": 1, "maxLength": 256 }
246
+ }
247
+ }
248
+ }
249
+ }
250
+ },
82
251
  "nextActions": {
83
252
  "type": "array",
84
253
  "minItems": 1,
@@ -932,7 +932,7 @@ components:
932
932
  additionalProperties: false
933
933
  PublicVerificationReportCreate:
934
934
  description: >
935
- POST accepts schemaVersion 3 only: { "schemaVersion": 3, "certificate": <OutcomeCertificateV2> } per
935
+ POST accepts schemaVersion 3 only: { "schemaVersion": 3, "certificate": <OutcomeCertificateV3> } per
936
936
  schemas/public-verification-report-v3.schema.json. Legacy envelope POST bodies return HTTP 400.
937
937
  type: object
938
938
  additionalProperties: true
@@ -1,7 +1,7 @@
1
1
  openapi: "3.0.3"
2
2
  info:
3
3
  title: AgentSkeptic commercial license API
4
- version: "6.1.0"
4
+ version: "6.2.0"
5
5
  contact:
6
6
  url: https://agentskeptic.com
7
7
  x-agentskeptic-distribution:
@@ -932,7 +932,7 @@ components:
932
932
  additionalProperties: false
933
933
  PublicVerificationReportCreate:
934
934
  description: >
935
- POST accepts schemaVersion 3 only: { "schemaVersion": 3, "certificate": <OutcomeCertificateV2> } per
935
+ POST accepts schemaVersion 3 only: { "schemaVersion": 3, "certificate": <OutcomeCertificateV3> } per
936
936
  schemas/public-verification-report-v3.schema.json. Legacy envelope POST bodies return HTTP 400.
937
937
  type: object
938
938
  additionalProperties: true