agentskeptic 3.5.0 → 3.7.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 (63) hide show
  1. package/README.md +8 -0
  2. package/config/marketing.json +2 -2
  3. package/dist/bootstrap/executeBootstrapPack.d.ts +8 -3
  4. package/dist/bootstrap/executeBootstrapPack.d.ts.map +1 -1
  5. package/dist/bootstrap/executeBootstrapPack.js +20 -16
  6. package/dist/bootstrap/executeBootstrapPack.js.map +1 -1
  7. package/dist/bootstrap/packActivationStages.d.ts +40 -0
  8. package/dist/bootstrap/packActivationStages.d.ts.map +1 -0
  9. package/dist/bootstrap/packActivationStages.js +58 -0
  10. package/dist/bootstrap/packActivationStages.js.map +1 -0
  11. package/dist/bootstrap/runBootstrapSubcommand.d.ts +1 -0
  12. package/dist/bootstrap/runBootstrapSubcommand.d.ts.map +1 -1
  13. package/dist/bootstrap/runBootstrapSubcommand.js +222 -6
  14. package/dist/bootstrap/runBootstrapSubcommand.js.map +1 -1
  15. package/dist/cli.js +13 -5
  16. package/dist/cli.js.map +1 -1
  17. package/dist/commercial/postVerifyOutcomeBeacon.d.ts +12 -8
  18. package/dist/commercial/postVerifyOutcomeBeacon.d.ts.map +1 -1
  19. package/dist/commercial/postVerifyOutcomeBeacon.js +16 -7
  20. package/dist/commercial/postVerifyOutcomeBeacon.js.map +1 -1
  21. package/dist/commercial/verifyOutcomeBeaconBody.d.ts +20 -4
  22. package/dist/commercial/verifyOutcomeBeaconBody.d.ts.map +1 -1
  23. package/dist/commercial/verifyOutcomeBeaconBody.js +5 -1
  24. package/dist/commercial/verifyOutcomeBeaconBody.js.map +1 -1
  25. package/dist/crossing/runCrossingSubcommand.d.ts.map +1 -1
  26. package/dist/crossing/runCrossingSubcommand.js +15 -7
  27. package/dist/crossing/runCrossingSubcommand.js.map +1 -1
  28. package/dist/enforceStateful.d.ts.map +1 -1
  29. package/dist/enforceStateful.js +44 -9
  30. package/dist/enforceStateful.js.map +1 -1
  31. package/dist/execution-identity.v1.json +1 -1
  32. package/dist/loadEvents.d.ts.map +1 -1
  33. package/dist/loadEvents.js +13 -1
  34. package/dist/loadEvents.js.map +1 -1
  35. package/dist/publicDistribution.generated.d.ts +1 -1
  36. package/dist/publicDistribution.generated.js +1 -1
  37. package/dist/quickVerify/decomposeUnits.d.ts.map +1 -1
  38. package/dist/quickVerify/decomposeUnits.js +2 -1
  39. package/dist/quickVerify/decomposeUnits.js.map +1 -1
  40. package/dist/quickVerify/runQuickVerify.d.ts.map +1 -1
  41. package/dist/quickVerify/runQuickVerify.js +49 -2
  42. package/dist/quickVerify/runQuickVerify.js.map +1 -1
  43. package/dist/schemaLoad.d.ts +1 -1
  44. package/dist/schemaLoad.d.ts.map +1 -1
  45. package/dist/schemaLoad.js +2 -0
  46. package/dist/schemaLoad.js.map +1 -1
  47. package/dist/sdk/_generated/openapi-types.d.ts +77 -19
  48. package/dist/sdk/_generated/openapi-types.d.ts.map +1 -1
  49. package/dist/standardVerifyWorkflowCli.d.ts +2 -2
  50. package/dist/standardVerifyWorkflowCli.d.ts.map +1 -1
  51. package/dist/standardVerifyWorkflowCli.js +1 -1
  52. package/dist/standardVerifyWorkflowCli.js.map +1 -1
  53. package/dist/verify/batchVerifyTelemetrySubcommand.d.ts.map +1 -1
  54. package/dist/verify/batchVerifyTelemetrySubcommand.js +23 -3
  55. package/dist/verify/batchVerifyTelemetrySubcommand.js.map +1 -1
  56. package/dist/verify/writeContractProofArtifacts.d.ts +14 -0
  57. package/dist/verify/writeContractProofArtifacts.d.ts.map +1 -0
  58. package/dist/verify/writeContractProofArtifacts.js +18 -0
  59. package/dist/verify/writeContractProofArtifacts.js.map +1 -0
  60. package/package.json +1 -1
  61. package/schemas/activation-manifest-v1.schema.json +77 -0
  62. package/schemas/openapi-commercial-v1.in.yaml +92 -24
  63. package/schemas/openapi-commercial-v1.yaml +93 -25
@@ -1,7 +1,7 @@
1
1
  openapi: "3.0.3"
2
2
  info:
3
3
  title: AgentSkeptic commercial license API
4
- version: "3.5.0"
4
+ version: "3.7.0"
5
5
  contact:
6
6
  url: https://agentskeptic.com
7
7
  x-agentskeptic-distribution:
@@ -117,7 +117,7 @@ paths:
117
117
  /api/v1/enforcement/baselines:
118
118
  post:
119
119
  operationId: createEnforcementBaseline
120
- summary: Create or replace accepted enforcement baseline for a workflow
120
+ summary: Establish accepted enforcement baseline (baseline_missing baseline_active only)
121
121
  security:
122
122
  - bearerAuth: []
123
123
  requestBody:
@@ -128,11 +128,17 @@ paths:
128
128
  $ref: "#/components/schemas/EnforcementEvidenceRequestV2"
129
129
  responses:
130
130
  "200":
131
- description: Baseline created or replaced
131
+ description: Lifecycle transition completed
132
132
  content:
133
133
  application/json:
134
134
  schema:
135
- $ref: "#/components/schemas/EnforcementStateResponse"
135
+ $ref: "#/components/schemas/EnforcementFsmEnvelopeV2"
136
+ "409":
137
+ description: Invalid transition or decision-grade certificate required
138
+ content:
139
+ application/json:
140
+ schema:
141
+ $ref: "#/components/schemas/EnforcementFsmEnvelopeV2"
136
142
  "400":
137
143
  description: Invalid request
138
144
  content:
@@ -148,7 +154,7 @@ paths:
148
154
  /api/v1/enforcement/check:
149
155
  post:
150
156
  operationId: checkEnforcementDrift
151
- summary: Compare current run projection against accepted baseline
157
+ summary: Compare current material-truth projection against accepted baseline (verification attempt)
152
158
  security:
153
159
  - bearerAuth: []
154
160
  requestBody:
@@ -159,21 +165,21 @@ paths:
159
165
  $ref: "#/components/schemas/EnforcementEvidenceRequestV2"
160
166
  responses:
161
167
  "200":
162
- description: Comparison result (ok or drift)
168
+ description: Check completed (match, open drift, rerun pass/fail, etc.)
163
169
  content:
164
170
  application/json:
165
171
  schema:
166
- $ref: "#/components/schemas/EnforcementCheckResponse"
172
+ $ref: "#/components/schemas/EnforcementFsmEnvelopeV2"
167
173
  "409":
168
- description: Baseline not initialized
174
+ description: Baseline missing, remediation acknowledgement required, or other enforce guard
169
175
  content:
170
176
  application/json:
171
177
  schema:
172
- $ref: "#/components/schemas/ProblemDetails"
178
+ $ref: "#/components/schemas/EnforcementFsmEnvelopeV2"
173
179
  /api/v1/enforcement/accept:
174
180
  post:
175
181
  operationId: acceptEnforcementDrift
176
- summary: Accept current projection as new baseline
182
+ summary: Procedural drift accept (action_required rerun_required; not a verification verdict)
177
183
  security:
178
184
  - bearerAuth: []
179
185
  requestBody:
@@ -181,14 +187,20 @@ paths:
181
187
  content:
182
188
  application/json:
183
189
  schema:
184
- $ref: "#/components/schemas/EnforcementEvidenceRequestV2"
190
+ $ref: "#/components/schemas/EnforcementAcceptEvidenceRequestV2"
185
191
  responses:
186
192
  "200":
187
- description: Drift accepted
193
+ description: Baseline updated; rerun POST /check required before returning to trusted-only posture
188
194
  content:
189
195
  application/json:
190
196
  schema:
191
- $ref: "#/components/schemas/EnforcementStateResponse"
197
+ $ref: "#/components/schemas/EnforcementFsmEnvelopeV2"
198
+ "409":
199
+ description: Stale lifecycle version, hash pin mismatch, or invalid transition
200
+ content:
201
+ application/json:
202
+ schema:
203
+ $ref: "#/components/schemas/EnforcementFsmEnvelopeV2"
192
204
  /api/v1/enforcement/history:
193
205
  get:
194
206
  operationId: getEnforcementHistory
@@ -241,7 +253,7 @@ paths:
241
253
  content:
242
254
  application/json:
243
255
  schema:
244
- $ref: "#/components/schemas/GovernanceAuditBundleV1"
256
+ $ref: "#/components/schemas/GovernanceAuditBundleV2"
245
257
  "400":
246
258
  description: Invalid request
247
259
  content:
@@ -562,27 +574,31 @@ components:
562
574
  type: string
563
575
  certificate_sha256:
564
576
  type: string
565
- EnforcementStateResponse:
577
+ EnforcementFsmEnvelopeV2:
566
578
  type: object
567
- required: [schema_version, status, workflow_id]
579
+ description: Hosted enforcement lifecycle + verification attempt payload (schema_version 2).
580
+ required: [schema_version, code]
568
581
  properties:
569
582
  schema_version:
570
583
  type: integer
571
- const: 1
572
- status:
573
- type: string
574
- workflow_id:
584
+ const: 2
585
+ code:
575
586
  type: string
576
- EnforcementCheckResponse:
587
+ quota_enforced_via_reserve:
588
+ type: boolean
589
+ additionalProperties: true
590
+ EnforcementAcceptEvidenceRequestV2:
577
591
  allOf:
578
- - $ref: "#/components/schemas/EnforcementStateResponse"
592
+ - $ref: "#/components/schemas/EnforcementEvidenceRequestV2"
579
593
  - type: object
580
- required: [expected_projection_hash, actual_projection_hash]
594
+ required: [expected_projection_hash, lifecycle_state_version]
581
595
  properties:
582
596
  expected_projection_hash:
583
597
  type: string
584
- actual_projection_hash:
585
- type: string
598
+ description: Must equal expected_projection_hash_for_accept from the open drift POST /check response.
599
+ lifecycle_state_version:
600
+ type: integer
601
+ description: Optimistic concurrency token; must match lifecycle_state_version from the prior response.
586
602
  EnforcementHistoryResponse:
587
603
  type: object
588
604
  required: [schema_version, workflow_id, events]
@@ -630,6 +646,58 @@ components:
630
646
  items:
631
647
  type: object
632
648
  additionalProperties: true
649
+ GovernanceAuditBundleV2:
650
+ type: object
651
+ description: Governance export including authoritative lifecycle FSM rows and verification decisions.
652
+ required: [schemaVersion, generatedAt, userId, workflowId, baseline, events]
653
+ properties:
654
+ schemaVersion:
655
+ type: integer
656
+ const: 2
657
+ generatedAt:
658
+ type: string
659
+ format: date-time
660
+ userId:
661
+ type: string
662
+ workflowId:
663
+ type: string
664
+ window:
665
+ type: object
666
+ required: [from, to]
667
+ properties:
668
+ from:
669
+ type: string
670
+ format: date-time
671
+ to:
672
+ type: string
673
+ format: date-time
674
+ lifecycle:
675
+ type: object
676
+ nullable: true
677
+ additionalProperties: true
678
+ fsmTransitions:
679
+ type: array
680
+ items:
681
+ type: object
682
+ additionalProperties: true
683
+ verificationDecisions:
684
+ type: array
685
+ items:
686
+ type: object
687
+ additionalProperties: true
688
+ baseline:
689
+ type: object
690
+ nullable: true
691
+ additionalProperties: true
692
+ events:
693
+ type: array
694
+ items:
695
+ type: object
696
+ additionalProperties: true
697
+ decisionEvidenceExport:
698
+ type: object
699
+ additionalProperties: true
700
+ additionalProperties: true
633
701
  ProblemDetails:
634
702
  type: object
635
703
  required: [type, title, status, detail]