agentskeptic 0.1.1 → 0.1.2

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 (43) hide show
  1. package/LICENSE +21 -21
  2. package/README.md +342 -342
  3. package/dist/cli.js +157 -157
  4. package/dist/debug-ui/app.css +188 -188
  5. package/dist/debug-ui/app.js +245 -245
  6. package/dist/debug-ui/index.html +79 -79
  7. package/dist/enforceCli.js +11 -11
  8. package/dist/planTransition.test.js +235 -235
  9. package/dist/planTransitionPathHarvest.test.js +116 -116
  10. package/dist/quickVerify/postgresCatalog.js +53 -53
  11. package/package.json +1 -1
  12. package/schemas/agent-run-record-v1.schema.json +51 -51
  13. package/schemas/agent-run-record-v2.schema.json +61 -61
  14. package/schemas/assurance-manifest-v1.schema.json +28 -28
  15. package/schemas/assurance-run-report-v1.schema.json +28 -28
  16. package/schemas/ci-lock-v1.schema.json +163 -163
  17. package/schemas/cli-error-envelope.schema.json +48 -48
  18. package/schemas/event.schema.json +111 -111
  19. package/schemas/execution-trace-view.schema.json +122 -122
  20. package/schemas/plan-validation-core.schema.json +95 -95
  21. package/schemas/quick-verify-report.schema.json +251 -251
  22. package/schemas/registry-validation-result.schema.json +99 -99
  23. package/schemas/run-comparison-report.schema.json +513 -513
  24. package/schemas/tools-registry-export.schema.json +9 -9
  25. package/schemas/tools-registry.schema.json +284 -284
  26. package/schemas/workflow-engine-result.schema.json +591 -591
  27. package/schemas/workflow-result-compare-input.schema.json +15 -15
  28. package/schemas/workflow-result-signature.schema.json +20 -20
  29. package/schemas/workflow-result-v9.schema.json +85 -85
  30. package/schemas/workflow-result.schema.json +80 -80
  31. package/schemas/workflow-truth-report.schema.json +761 -761
  32. package/dist/failureOriginSchemaEnum.test.d.ts +0 -2
  33. package/dist/failureOriginSchemaEnum.test.d.ts.map +0 -1
  34. package/dist/failureOriginSchemaEnum.test.js +0 -21
  35. package/dist/failureOriginSchemaEnum.test.js.map +0 -1
  36. package/dist/failureOriginSchemaParity.test.d.ts +0 -2
  37. package/dist/failureOriginSchemaParity.test.d.ts.map +0 -1
  38. package/dist/failureOriginSchemaParity.test.js +0 -33
  39. package/dist/failureOriginSchemaParity.test.js.map +0 -1
  40. package/dist/slice6.compare.ac.test.d.ts +0 -2
  41. package/dist/slice6.compare.ac.test.d.ts.map +0 -1
  42. package/dist/slice6.compare.ac.test.js +0 -81
  43. package/dist/slice6.compare.ac.test.js.map +0 -1
@@ -1,15 +1,15 @@
1
- {
2
- "$id": "https://agentskeptic.com/schemas/workflow-result-compare-input.schema.json",
3
- "title": "WorkflowResultCompareInput",
4
- "oneOf": [
5
- {
6
- "$ref": "https://agentskeptic.com/schemas/workflow-engine-result.schema.json"
7
- },
8
- {
9
- "$ref": "https://agentskeptic.com/schemas/workflow-result-v9.schema.json"
10
- },
11
- {
12
- "$ref": "https://agentskeptic.com/schemas/workflow-result.schema.json"
13
- }
14
- ]
15
- }
1
+ {
2
+ "$id": "https://agentskeptic.com/schemas/workflow-result-compare-input.schema.json",
3
+ "title": "WorkflowResultCompareInput",
4
+ "oneOf": [
5
+ {
6
+ "$ref": "https://agentskeptic.com/schemas/workflow-engine-result.schema.json"
7
+ },
8
+ {
9
+ "$ref": "https://agentskeptic.com/schemas/workflow-result-v9.schema.json"
10
+ },
11
+ {
12
+ "$ref": "https://agentskeptic.com/schemas/workflow-result.schema.json"
13
+ }
14
+ ]
15
+ }
@@ -1,20 +1,20 @@
1
- {
2
- "$id": "https://agentskeptic.com/schemas/workflow-result-signature.schema.json",
3
- "title": "WorkflowResultSignature",
4
- "type": "object",
5
- "additionalProperties": false,
6
- "required": [
7
- "algorithm",
8
- "schemaVersion",
9
- "signatureBase64",
10
- "signedContentSha256Hex",
11
- "signingPublicKeySpkiPem"
12
- ],
13
- "properties": {
14
- "algorithm": { "const": "ed25519" },
15
- "schemaVersion": { "const": 1 },
16
- "signatureBase64": { "type": "string", "minLength": 1 },
17
- "signedContentSha256Hex": { "type": "string", "pattern": "^[a-f0-9]{64}$" },
18
- "signingPublicKeySpkiPem": { "type": "string", "minLength": 32 }
19
- }
20
- }
1
+ {
2
+ "$id": "https://agentskeptic.com/schemas/workflow-result-signature.schema.json",
3
+ "title": "WorkflowResultSignature",
4
+ "type": "object",
5
+ "additionalProperties": false,
6
+ "required": [
7
+ "algorithm",
8
+ "schemaVersion",
9
+ "signatureBase64",
10
+ "signedContentSha256Hex",
11
+ "signingPublicKeySpkiPem"
12
+ ],
13
+ "properties": {
14
+ "algorithm": { "const": "ed25519" },
15
+ "schemaVersion": { "const": 1 },
16
+ "signatureBase64": { "type": "string", "minLength": 1 },
17
+ "signedContentSha256Hex": { "type": "string", "pattern": "^[a-f0-9]{64}$" },
18
+ "signingPublicKeySpkiPem": { "type": "string", "minLength": 32 }
19
+ }
20
+ }
@@ -1,85 +1,85 @@
1
- {
2
- "$id": "https://agentskeptic.com/schemas/workflow-result-v9.schema.json",
3
- "title": "WorkflowResultV9",
4
- "type": "object",
5
- "additionalProperties": false,
6
- "required": [
7
- "schemaVersion",
8
- "workflowId",
9
- "status",
10
- "steps",
11
- "runLevelCodes",
12
- "runLevelReasons",
13
- "verificationPolicy",
14
- "eventSequenceIntegrity",
15
- "verificationRunContext",
16
- "workflowTruthReport"
17
- ],
18
- "properties": {
19
- "schemaVersion": { "const": 9 },
20
- "workflowId": { "type": "string" },
21
- "status": {
22
- "type": "string",
23
- "enum": ["complete", "incomplete", "inconsistent"]
24
- },
25
- "runLevelCodes": {
26
- "type": "array",
27
- "items": { "type": "string" }
28
- },
29
- "runLevelReasons": {
30
- "type": "array",
31
- "items": {
32
- "$ref": "https://agentskeptic.com/schemas/workflow-engine-result.schema.json#/$defs/reason"
33
- }
34
- },
35
- "verificationPolicy": {
36
- "type": "object",
37
- "additionalProperties": false,
38
- "required": ["consistencyMode", "verificationWindowMs", "pollIntervalMs"],
39
- "properties": {
40
- "consistencyMode": { "type": "string", "enum": ["strong", "eventual"] },
41
- "verificationWindowMs": { "type": "integer", "minimum": 0 },
42
- "pollIntervalMs": { "type": "integer", "minimum": 0 }
43
- }
44
- },
45
- "steps": {
46
- "type": "array",
47
- "items": {
48
- "$ref": "https://agentskeptic.com/schemas/workflow-engine-result.schema.json#/$defs/step"
49
- }
50
- },
51
- "eventSequenceIntegrity": {
52
- "oneOf": [
53
- {
54
- "type": "object",
55
- "additionalProperties": false,
56
- "required": ["kind"],
57
- "properties": {
58
- "kind": { "const": "normal" }
59
- }
60
- },
61
- {
62
- "type": "object",
63
- "additionalProperties": false,
64
- "required": ["kind", "reasons"],
65
- "properties": {
66
- "kind": { "const": "irregular" },
67
- "reasons": {
68
- "type": "array",
69
- "minItems": 1,
70
- "items": {
71
- "$ref": "https://agentskeptic.com/schemas/workflow-engine-result.schema.json#/$defs/reason"
72
- }
73
- }
74
- }
75
- }
76
- ]
77
- },
78
- "verificationRunContext": {
79
- "$ref": "https://agentskeptic.com/schemas/workflow-engine-result.schema.json#/$defs/verificationRunContext"
80
- },
81
- "workflowTruthReport": {
82
- "$ref": "https://agentskeptic.com/schemas/workflow-truth-report.schema.json"
83
- }
84
- }
85
- }
1
+ {
2
+ "$id": "https://agentskeptic.com/schemas/workflow-result-v9.schema.json",
3
+ "title": "WorkflowResultV9",
4
+ "type": "object",
5
+ "additionalProperties": false,
6
+ "required": [
7
+ "schemaVersion",
8
+ "workflowId",
9
+ "status",
10
+ "steps",
11
+ "runLevelCodes",
12
+ "runLevelReasons",
13
+ "verificationPolicy",
14
+ "eventSequenceIntegrity",
15
+ "verificationRunContext",
16
+ "workflowTruthReport"
17
+ ],
18
+ "properties": {
19
+ "schemaVersion": { "const": 9 },
20
+ "workflowId": { "type": "string" },
21
+ "status": {
22
+ "type": "string",
23
+ "enum": ["complete", "incomplete", "inconsistent"]
24
+ },
25
+ "runLevelCodes": {
26
+ "type": "array",
27
+ "items": { "type": "string" }
28
+ },
29
+ "runLevelReasons": {
30
+ "type": "array",
31
+ "items": {
32
+ "$ref": "https://agentskeptic.com/schemas/workflow-engine-result.schema.json#/$defs/reason"
33
+ }
34
+ },
35
+ "verificationPolicy": {
36
+ "type": "object",
37
+ "additionalProperties": false,
38
+ "required": ["consistencyMode", "verificationWindowMs", "pollIntervalMs"],
39
+ "properties": {
40
+ "consistencyMode": { "type": "string", "enum": ["strong", "eventual"] },
41
+ "verificationWindowMs": { "type": "integer", "minimum": 0 },
42
+ "pollIntervalMs": { "type": "integer", "minimum": 0 }
43
+ }
44
+ },
45
+ "steps": {
46
+ "type": "array",
47
+ "items": {
48
+ "$ref": "https://agentskeptic.com/schemas/workflow-engine-result.schema.json#/$defs/step"
49
+ }
50
+ },
51
+ "eventSequenceIntegrity": {
52
+ "oneOf": [
53
+ {
54
+ "type": "object",
55
+ "additionalProperties": false,
56
+ "required": ["kind"],
57
+ "properties": {
58
+ "kind": { "const": "normal" }
59
+ }
60
+ },
61
+ {
62
+ "type": "object",
63
+ "additionalProperties": false,
64
+ "required": ["kind", "reasons"],
65
+ "properties": {
66
+ "kind": { "const": "irregular" },
67
+ "reasons": {
68
+ "type": "array",
69
+ "minItems": 1,
70
+ "items": {
71
+ "$ref": "https://agentskeptic.com/schemas/workflow-engine-result.schema.json#/$defs/reason"
72
+ }
73
+ }
74
+ }
75
+ }
76
+ ]
77
+ },
78
+ "verificationRunContext": {
79
+ "$ref": "https://agentskeptic.com/schemas/workflow-engine-result.schema.json#/$defs/verificationRunContext"
80
+ },
81
+ "workflowTruthReport": {
82
+ "$ref": "https://agentskeptic.com/schemas/workflow-truth-report.schema.json"
83
+ }
84
+ }
85
+ }
@@ -1,80 +1,80 @@
1
- {
2
- "$id": "https://agentskeptic.com/schemas/workflow-result.schema.json",
3
- "title": "WorkflowResult",
4
- "type": "object",
5
- "additionalProperties": false,
6
- "required": [
7
- "schemaVersion",
8
- "workflowId",
9
- "status",
10
- "steps",
11
- "runLevelReasons",
12
- "verificationPolicy",
13
- "eventSequenceIntegrity",
14
- "verificationRunContext",
15
- "workflowTruthReport"
16
- ],
17
- "properties": {
18
- "schemaVersion": { "const": 15 },
19
- "workflowId": { "type": "string" },
20
- "status": {
21
- "type": "string",
22
- "enum": ["complete", "incomplete", "inconsistent"]
23
- },
24
- "runLevelReasons": {
25
- "type": "array",
26
- "items": {
27
- "$ref": "https://agentskeptic.com/schemas/workflow-engine-result.schema.json#/$defs/reason"
28
- }
29
- },
30
- "verificationPolicy": {
31
- "type": "object",
32
- "additionalProperties": false,
33
- "required": ["consistencyMode", "verificationWindowMs", "pollIntervalMs"],
34
- "properties": {
35
- "consistencyMode": { "type": "string", "enum": ["strong", "eventual"] },
36
- "verificationWindowMs": { "type": "integer", "minimum": 0 },
37
- "pollIntervalMs": { "type": "integer", "minimum": 0 }
38
- }
39
- },
40
- "steps": {
41
- "type": "array",
42
- "items": {
43
- "$ref": "https://agentskeptic.com/schemas/workflow-engine-result.schema.json#/$defs/step"
44
- }
45
- },
46
- "eventSequenceIntegrity": {
47
- "oneOf": [
48
- {
49
- "type": "object",
50
- "additionalProperties": false,
51
- "required": ["kind"],
52
- "properties": {
53
- "kind": { "const": "normal" }
54
- }
55
- },
56
- {
57
- "type": "object",
58
- "additionalProperties": false,
59
- "required": ["kind", "reasons"],
60
- "properties": {
61
- "kind": { "const": "irregular" },
62
- "reasons": {
63
- "type": "array",
64
- "minItems": 1,
65
- "items": {
66
- "$ref": "https://agentskeptic.com/schemas/workflow-engine-result.schema.json#/$defs/reason"
67
- }
68
- }
69
- }
70
- }
71
- ]
72
- },
73
- "verificationRunContext": {
74
- "$ref": "https://agentskeptic.com/schemas/workflow-engine-result.schema.json#/$defs/verificationRunContext"
75
- },
76
- "workflowTruthReport": {
77
- "$ref": "https://agentskeptic.com/schemas/workflow-truth-report.schema.json"
78
- }
79
- }
80
- }
1
+ {
2
+ "$id": "https://agentskeptic.com/schemas/workflow-result.schema.json",
3
+ "title": "WorkflowResult",
4
+ "type": "object",
5
+ "additionalProperties": false,
6
+ "required": [
7
+ "schemaVersion",
8
+ "workflowId",
9
+ "status",
10
+ "steps",
11
+ "runLevelReasons",
12
+ "verificationPolicy",
13
+ "eventSequenceIntegrity",
14
+ "verificationRunContext",
15
+ "workflowTruthReport"
16
+ ],
17
+ "properties": {
18
+ "schemaVersion": { "const": 15 },
19
+ "workflowId": { "type": "string" },
20
+ "status": {
21
+ "type": "string",
22
+ "enum": ["complete", "incomplete", "inconsistent"]
23
+ },
24
+ "runLevelReasons": {
25
+ "type": "array",
26
+ "items": {
27
+ "$ref": "https://agentskeptic.com/schemas/workflow-engine-result.schema.json#/$defs/reason"
28
+ }
29
+ },
30
+ "verificationPolicy": {
31
+ "type": "object",
32
+ "additionalProperties": false,
33
+ "required": ["consistencyMode", "verificationWindowMs", "pollIntervalMs"],
34
+ "properties": {
35
+ "consistencyMode": { "type": "string", "enum": ["strong", "eventual"] },
36
+ "verificationWindowMs": { "type": "integer", "minimum": 0 },
37
+ "pollIntervalMs": { "type": "integer", "minimum": 0 }
38
+ }
39
+ },
40
+ "steps": {
41
+ "type": "array",
42
+ "items": {
43
+ "$ref": "https://agentskeptic.com/schemas/workflow-engine-result.schema.json#/$defs/step"
44
+ }
45
+ },
46
+ "eventSequenceIntegrity": {
47
+ "oneOf": [
48
+ {
49
+ "type": "object",
50
+ "additionalProperties": false,
51
+ "required": ["kind"],
52
+ "properties": {
53
+ "kind": { "const": "normal" }
54
+ }
55
+ },
56
+ {
57
+ "type": "object",
58
+ "additionalProperties": false,
59
+ "required": ["kind", "reasons"],
60
+ "properties": {
61
+ "kind": { "const": "irregular" },
62
+ "reasons": {
63
+ "type": "array",
64
+ "minItems": 1,
65
+ "items": {
66
+ "$ref": "https://agentskeptic.com/schemas/workflow-engine-result.schema.json#/$defs/reason"
67
+ }
68
+ }
69
+ }
70
+ }
71
+ ]
72
+ },
73
+ "verificationRunContext": {
74
+ "$ref": "https://agentskeptic.com/schemas/workflow-engine-result.schema.json#/$defs/verificationRunContext"
75
+ },
76
+ "workflowTruthReport": {
77
+ "$ref": "https://agentskeptic.com/schemas/workflow-truth-report.schema.json"
78
+ }
79
+ }
80
+ }