owlrunkit 0.20.0 → 0.22.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/CHANGELOG.md +88 -0
- package/README.md +102 -10
- package/docs/architecture/OWLCODA_RUNKIT_0201_RELEASE_TRUTH_AND_PROFILE_NORMALIZATION_PATCH_DECISION_20260813.md +95 -0
- package/docs/architecture/OWLCODA_RUNKIT_021_TEAM_DELIVERY_PHASE2_PRODUCT_DECISION_20260813.md +249 -0
- package/integrations/codex/skills/owlcoda-runkit/SKILL.md +117 -12
- package/integrations/codex/skills/owlcoda-runkit/assets/templates/config.json +3 -3
- package/package.json +1 -1
- package/packages/attest/README.md +7 -1
- package/packages/attest/consumer-surface-v3.json +275 -0
- package/packages/attest/distribution-manifest-v1.json +24 -0
- package/packages/attest/schemas/canonical-candidate-identity-v1.schema.json +112 -0
- package/packages/attest/schemas/foreign-workspace-filesystem-identity-v1.schema.json +32 -0
- package/packages/attest/schemas/quick-verification-receipt-v4.schema.json +226 -0
- package/packages/attest/src/candidate-identity.mjs +454 -0
- package/packages/attest/src/index.mjs +11 -0
- package/packages/attest/src/quick-receipt-contract.mjs +126 -5
- package/packages/attest/src/quick.mjs +53 -8
- package/{registry-release-policy-v1.json → registry-release-policy-v2.json} +8 -9
- package/sbom.spdx.json +4 -4
- package/scripts/runkit-contract/core-contract.mjs +19 -1
- package/scripts/runkit-contract/fleet-skill-plan.mjs +223 -0
- package/scripts/runkit-contract/formal-workflow.mjs +3 -1
- package/scripts/runkit-contract/hook-recovery.mjs +496 -0
- package/scripts/runkit-contract/inspect-presentation.mjs +187 -0
- package/scripts/runkit-contract/install-codex-skill.mjs +1 -0
- package/scripts/runkit-contract/onboarding-bootstrap.mjs +15 -0
- package/scripts/runkit-contract/onboarding-doctor.mjs +378 -9
- package/scripts/runkit-contract/profile-onboarding.mjs +6 -0
- package/scripts/runkit-contract/project-cli-resolver.mjs +17 -1
- package/scripts/runkit-contract/quick-metrics.mjs +9 -5
- package/scripts/runkit-contract/quick-verify.mjs +108 -24
- package/scripts/runkit-contract/registry-adoption-gate.mjs +12 -3
- package/scripts/runkit-contract/registry-adoption.mjs +10 -5
- package/scripts/runkit-contract/runkit-bootstrap.mjs +1 -0
- package/scripts/runkit-contract/runkit-cli.mjs +332 -30
- package/scripts/runkit-contract/schemas/delivery-lifecycle-v1.schema.json +91 -0
- package/scripts/runkit-contract/schemas/external-gate-v1.schema.json +68 -0
- package/scripts/runkit-contract/schemas/fleet-skill-upgrade-plan-v1.schema.json +140 -0
- package/scripts/runkit-contract/schemas/hook-recovery-v1.schema.json +592 -0
- package/scripts/runkit-contract/schemas/inspect-compact-v1.schema.json +93 -0
- package/scripts/runkit-contract/schemas/inspect-compact-v2.schema.json +122 -0
- package/scripts/runkit-contract/schemas/team-delivery-status-v2.schema.json +219 -0
- package/scripts/runkit-contract/schemas/team-delivery-status-v3.schema.json +113 -0
- package/scripts/runkit-contract/schemas/team-project-event-v6.schema.json +82 -0
- package/scripts/runkit-contract/schemas/team-project-event-v7.schema.json +80 -0
- package/scripts/runkit-contract/schemas/team-project-status-v4.schema.json +208 -0
- package/scripts/runkit-contract/schemas/team-recommendation-v2.schema.json +120 -0
- package/scripts/runkit-contract/sync-release-identity.mjs +87 -0
- package/scripts/runkit-contract/team-delivery.mjs +203 -3
- package/scripts/runkit-contract/team-project.mjs +1032 -11
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://owlcoda.com/schemas/runkit/inspect-compact-v2.schema.json",
|
|
4
|
+
"title": "OwlCoda RunKit Inspect Compact V2",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"additionalProperties": false,
|
|
7
|
+
"required": [
|
|
8
|
+
"schemaVersion", "status", "exitCode", "projectTruthHash", "progress",
|
|
9
|
+
"dominantGap", "ownerAgentId", "nextAction", "lifecycleNextAction",
|
|
10
|
+
"projectNextAction", "maintenanceNextAction", "projectWarnings",
|
|
11
|
+
"maintenanceWarnings", "skillDriftWarnings", "advisorySummary",
|
|
12
|
+
"warningSummary", "execution", "authorityBoundary", "authorizationGranted"
|
|
13
|
+
],
|
|
14
|
+
"properties": {
|
|
15
|
+
"schemaVersion": { "const": "OwlCodaRunKitInspectCompactV2" },
|
|
16
|
+
"status": { "const": "inspected_compact" },
|
|
17
|
+
"exitCode": { "enum": [0, 2] },
|
|
18
|
+
"projectTruthHash": { "oneOf": [{ "type": "null" }, { "$ref": "#/$defs/hash" }] },
|
|
19
|
+
"progress": {
|
|
20
|
+
"type": "object",
|
|
21
|
+
"additionalProperties": false,
|
|
22
|
+
"required": ["overall", "completedWorkItems", "totalWorkItems"],
|
|
23
|
+
"properties": {
|
|
24
|
+
"overall": { "$ref": "#/$defs/nullableText" },
|
|
25
|
+
"completedWorkItems": { "$ref": "#/$defs/nullableCount" },
|
|
26
|
+
"totalWorkItems": { "$ref": "#/$defs/nullableCount" }
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
"dominantGap": {
|
|
30
|
+
"type": "object",
|
|
31
|
+
"additionalProperties": false,
|
|
32
|
+
"required": ["code", "reason"],
|
|
33
|
+
"properties": {
|
|
34
|
+
"code": { "$ref": "#/$defs/text" },
|
|
35
|
+
"reason": { "$ref": "#/$defs/nullableText" }
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
"ownerAgentId": { "$ref": "#/$defs/nullableText" },
|
|
39
|
+
"nextAction": { "$ref": "#/$defs/text" },
|
|
40
|
+
"lifecycleNextAction": { "$ref": "#/$defs/text" },
|
|
41
|
+
"projectNextAction": { "$ref": "#/$defs/nullableText" },
|
|
42
|
+
"maintenanceNextAction": { "$ref": "#/$defs/nullableText" },
|
|
43
|
+
"projectWarnings": { "$ref": "#/$defs/warningSummary" },
|
|
44
|
+
"maintenanceWarnings": { "$ref": "#/$defs/warningSummary" },
|
|
45
|
+
"skillDriftWarnings": { "$ref": "#/$defs/warningSummary" },
|
|
46
|
+
"advisorySummary": { "$ref": "#/$defs/warningSummary" },
|
|
47
|
+
"warningSummary": { "$ref": "#/$defs/warningSummary" },
|
|
48
|
+
"execution": {
|
|
49
|
+
"type": "object",
|
|
50
|
+
"additionalProperties": false,
|
|
51
|
+
"required": ["state", "openCount", "activeLeaseCount"],
|
|
52
|
+
"properties": {
|
|
53
|
+
"state": { "$ref": "#/$defs/text" },
|
|
54
|
+
"openCount": { "type": "integer", "minimum": 0 },
|
|
55
|
+
"activeLeaseCount": { "type": "integer", "minimum": 0 }
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
"authorityBoundary": { "$ref": "#/$defs/authorityBoundary" },
|
|
59
|
+
"authorizationGranted": { "const": false }
|
|
60
|
+
},
|
|
61
|
+
"$defs": {
|
|
62
|
+
"text": { "type": "string", "minLength": 1 },
|
|
63
|
+
"nullableText": { "oneOf": [{ "type": "null" }, { "$ref": "#/$defs/text" }] },
|
|
64
|
+
"nullableCount": { "oneOf": [{ "type": "null" }, { "type": "integer", "minimum": 0 }] },
|
|
65
|
+
"hash": { "type": "string", "pattern": "^[a-f0-9]{64}$" },
|
|
66
|
+
"warningSummary": {
|
|
67
|
+
"type": "object",
|
|
68
|
+
"additionalProperties": false,
|
|
69
|
+
"required": ["count", "groups"],
|
|
70
|
+
"properties": {
|
|
71
|
+
"count": { "type": "integer", "minimum": 0 },
|
|
72
|
+
"groups": {
|
|
73
|
+
"type": "array",
|
|
74
|
+
"items": {
|
|
75
|
+
"type": "object",
|
|
76
|
+
"additionalProperties": false,
|
|
77
|
+
"required": ["code", "count", "blocking", "recommendedAction"],
|
|
78
|
+
"properties": {
|
|
79
|
+
"code": { "$ref": "#/$defs/text" },
|
|
80
|
+
"count": { "type": "integer", "minimum": 1 },
|
|
81
|
+
"blocking": { "type": "boolean" },
|
|
82
|
+
"recommendedAction": { "$ref": "#/$defs/text" }
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
},
|
|
88
|
+
"authorityBoundary": {
|
|
89
|
+
"type": "object",
|
|
90
|
+
"additionalProperties": false,
|
|
91
|
+
"required": ["git", "release", "deployment", "production", "business"],
|
|
92
|
+
"properties": {
|
|
93
|
+
"git": { "const": false },
|
|
94
|
+
"release": { "const": false },
|
|
95
|
+
"deployment": { "const": false },
|
|
96
|
+
"production": { "const": false },
|
|
97
|
+
"business": { "const": false }
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
},
|
|
101
|
+
"examples": [{
|
|
102
|
+
"schemaVersion": "OwlCodaRunKitInspectCompactV2",
|
|
103
|
+
"status": "inspected_compact",
|
|
104
|
+
"exitCode": 0,
|
|
105
|
+
"projectTruthHash": null,
|
|
106
|
+
"progress": { "overall": null, "completedWorkItems": null, "totalWorkItems": null },
|
|
107
|
+
"dominantGap": { "code": "plan_new_execution", "reason": null },
|
|
108
|
+
"ownerAgentId": null,
|
|
109
|
+
"nextAction": "plan_new_execution",
|
|
110
|
+
"lifecycleNextAction": "plan_new_execution",
|
|
111
|
+
"projectNextAction": null,
|
|
112
|
+
"maintenanceNextAction": null,
|
|
113
|
+
"projectWarnings": { "count": 0, "groups": [] },
|
|
114
|
+
"maintenanceWarnings": { "count": 0, "groups": [] },
|
|
115
|
+
"skillDriftWarnings": { "count": 0, "groups": [] },
|
|
116
|
+
"advisorySummary": { "count": 0, "groups": [] },
|
|
117
|
+
"warningSummary": { "count": 0, "groups": [] },
|
|
118
|
+
"execution": { "state": "no_active_execution", "openCount": 0, "activeLeaseCount": 0 },
|
|
119
|
+
"authorityBoundary": { "git": false, "release": false, "deployment": false, "production": false, "business": false },
|
|
120
|
+
"authorizationGranted": false
|
|
121
|
+
}]
|
|
122
|
+
}
|
|
@@ -0,0 +1,219 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://owlcoda.com/schemas/runkit/team-delivery-status-v2.schema.json",
|
|
4
|
+
"title": "OwlCoda RunKit Team Delivery Status V2",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"additionalProperties": false,
|
|
7
|
+
"required": [
|
|
8
|
+
"schemaVersion", "status", "graphSource", "persistedTeamGraph", "projectId",
|
|
9
|
+
"projectTruthHash", "projectOverall", "recommendation", "lanes", "pathConflicts",
|
|
10
|
+
"acceptanceGaps", "ownerTransitions", "externalGates", "deliveryLifecycle",
|
|
11
|
+
"unmodeledCandidateLanes", "warnings", "warningSummary", "nextAction", "dispatch",
|
|
12
|
+
"authorityBoundary", "authorizationGranted", "exitCode"
|
|
13
|
+
],
|
|
14
|
+
"properties": {
|
|
15
|
+
"schemaVersion": { "const": "OwlCodaRunKitTeamDeliveryStatusV2" },
|
|
16
|
+
"status": { "const": "team_delivery_status" },
|
|
17
|
+
"graphSource": { "const": "project_driver" },
|
|
18
|
+
"persistedTeamGraph": { "const": false },
|
|
19
|
+
"projectId": { "$ref": "#/$defs/nullableText" },
|
|
20
|
+
"projectTruthHash": { "oneOf": [{ "type": "null" }, { "type": "string", "pattern": "^[a-f0-9]{64}$" }] },
|
|
21
|
+
"projectOverall": { "$ref": "#/$defs/text" },
|
|
22
|
+
"recommendation": {
|
|
23
|
+
"type": "object",
|
|
24
|
+
"additionalProperties": false,
|
|
25
|
+
"required": ["recommendedMode", "coordination", "reasonCodes"],
|
|
26
|
+
"properties": {
|
|
27
|
+
"recommendedMode": { "enum": ["off", "team"] },
|
|
28
|
+
"coordination": { "enum": ["none", "project_driver_team"] },
|
|
29
|
+
"reasonCodes": { "$ref": "#/$defs/strings" }
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
"lanes": { "type": "array", "items": { "$ref": "#/$defs/lane" } },
|
|
33
|
+
"pathConflicts": { "type": "array", "items": { "$ref": "#/$defs/pathConflict" } },
|
|
34
|
+
"acceptanceGaps": { "type": "array", "items": { "$ref": "#/$defs/acceptanceGap" } },
|
|
35
|
+
"ownerTransitions": { "type": "array", "items": { "$ref": "#/$defs/ownerTransition" } },
|
|
36
|
+
"externalGates": { "type": "array", "items": { "$ref": "#/$defs/externalGate" } },
|
|
37
|
+
"deliveryLifecycle": { "oneOf": [{ "type": "null" }, { "$ref": "#/$defs/deliveryLifecycle" }] },
|
|
38
|
+
"unmodeledCandidateLanes": { "type": "array", "items": { "$ref": "#/$defs/candidateLane" } },
|
|
39
|
+
"warnings": { "type": "array", "items": { "$ref": "#/$defs/warning" } },
|
|
40
|
+
"warningSummary": {
|
|
41
|
+
"type": "object",
|
|
42
|
+
"additionalProperties": false,
|
|
43
|
+
"required": ["count", "groups"],
|
|
44
|
+
"properties": {
|
|
45
|
+
"count": { "type": "integer", "minimum": 0 },
|
|
46
|
+
"groups": { "type": "array", "items": { "$ref": "#/$defs/warningGroup" } }
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
"nextAction": { "$ref": "#/$defs/nullableText" },
|
|
50
|
+
"dispatch": { "$ref": "#/$defs/dispatch" },
|
|
51
|
+
"authorityBoundary": { "$ref": "#/$defs/authorityBoundary" },
|
|
52
|
+
"authorizationGranted": { "const": false },
|
|
53
|
+
"exitCode": { "const": 0 }
|
|
54
|
+
},
|
|
55
|
+
"examples": [
|
|
56
|
+
{
|
|
57
|
+
"schemaVersion": "OwlCodaRunKitTeamDeliveryStatusV2",
|
|
58
|
+
"status": "team_delivery_status",
|
|
59
|
+
"graphSource": "project_driver",
|
|
60
|
+
"persistedTeamGraph": false,
|
|
61
|
+
"projectId": null,
|
|
62
|
+
"projectTruthHash": null,
|
|
63
|
+
"projectOverall": "not_initialized",
|
|
64
|
+
"recommendation": {
|
|
65
|
+
"recommendedMode": "off",
|
|
66
|
+
"coordination": "none",
|
|
67
|
+
"reasonCodes": ["project_driver_not_initialized"]
|
|
68
|
+
},
|
|
69
|
+
"lanes": [],
|
|
70
|
+
"pathConflicts": [],
|
|
71
|
+
"acceptanceGaps": [],
|
|
72
|
+
"ownerTransitions": [],
|
|
73
|
+
"externalGates": [],
|
|
74
|
+
"deliveryLifecycle": null,
|
|
75
|
+
"unmodeledCandidateLanes": [],
|
|
76
|
+
"warnings": [],
|
|
77
|
+
"warningSummary": { "count": 0, "groups": [] },
|
|
78
|
+
"nextAction": null,
|
|
79
|
+
"dispatch": { "mode": "none", "permitted": false, "nextCommand": null },
|
|
80
|
+
"authorityBoundary": {
|
|
81
|
+
"agentDispatch": false,
|
|
82
|
+
"git": false,
|
|
83
|
+
"release": false,
|
|
84
|
+
"deployment": false,
|
|
85
|
+
"production": false,
|
|
86
|
+
"business": false,
|
|
87
|
+
"automation": false,
|
|
88
|
+
"money": false
|
|
89
|
+
},
|
|
90
|
+
"authorizationGranted": false,
|
|
91
|
+
"exitCode": 0
|
|
92
|
+
}
|
|
93
|
+
],
|
|
94
|
+
"$defs": {
|
|
95
|
+
"text": { "type": "string", "minLength": 1 },
|
|
96
|
+
"nullableText": { "oneOf": [{ "type": "null" }, { "$ref": "#/$defs/text" }] },
|
|
97
|
+
"strings": { "type": "array", "uniqueItems": true, "items": { "$ref": "#/$defs/text" } },
|
|
98
|
+
"nonemptyStrings": { "type": "array", "minItems": 1, "uniqueItems": true, "items": { "$ref": "#/$defs/text" } },
|
|
99
|
+
"stageName": { "enum": ["source", "integration", "materialization", "deployment", "live_readback", "product_acceptance"] },
|
|
100
|
+
"nullableStage": { "oneOf": [{ "type": "null" }, { "$ref": "#/$defs/stageName" }] },
|
|
101
|
+
"lane": {
|
|
102
|
+
"type": "object",
|
|
103
|
+
"additionalProperties": false,
|
|
104
|
+
"required": ["workItemId", "title", "status", "agentId", "dependencies", "unresolvedDependencies", "ownedPaths", "actionable", "parallelEligible", "coordinationFacts"],
|
|
105
|
+
"properties": {
|
|
106
|
+
"workItemId": { "$ref": "#/$defs/text" },
|
|
107
|
+
"title": { "$ref": "#/$defs/text" },
|
|
108
|
+
"status": { "$ref": "#/$defs/text" },
|
|
109
|
+
"agentId": { "$ref": "#/$defs/nullableText" },
|
|
110
|
+
"dependencies": { "$ref": "#/$defs/strings" },
|
|
111
|
+
"unresolvedDependencies": { "$ref": "#/$defs/strings" },
|
|
112
|
+
"ownedPaths": { "$ref": "#/$defs/nonemptyStrings" },
|
|
113
|
+
"actionable": { "type": "boolean" },
|
|
114
|
+
"parallelEligible": { "type": "boolean" },
|
|
115
|
+
"coordinationFacts": { "$ref": "#/$defs/strings" }
|
|
116
|
+
}
|
|
117
|
+
},
|
|
118
|
+
"pathConflict": { "type": "object", "additionalProperties": false, "required": ["leftWorkItemId", "leftPath", "rightWorkItemId", "rightPath"], "properties": { "leftWorkItemId": { "$ref": "#/$defs/text" }, "leftPath": { "$ref": "#/$defs/text" }, "rightWorkItemId": { "$ref": "#/$defs/text" }, "rightPath": { "$ref": "#/$defs/text" } } },
|
|
119
|
+
"acceptanceGap": { "type": "object", "additionalProperties": false, "required": ["workItemId", "code", "message"], "properties": { "workItemId": { "$ref": "#/$defs/text" }, "code": { "const": "verification_model_family_unbound" }, "message": { "$ref": "#/$defs/text" } } },
|
|
120
|
+
"ownerTransition": { "type": "object", "additionalProperties": false, "required": ["workItemId", "facts"], "properties": { "workItemId": { "$ref": "#/$defs/text" }, "facts": { "$ref": "#/$defs/nonemptyStrings" } } },
|
|
121
|
+
"externalGate": {
|
|
122
|
+
"type": "object",
|
|
123
|
+
"additionalProperties": false,
|
|
124
|
+
"required": ["schemaVersion", "gateId", "title", "requiredFor", "gateStatus", "blocking", "ownerAgentId", "source", "summary", "evidenceRefs", "occurredAt", "truthRefs", "authorizationGranted"],
|
|
125
|
+
"properties": {
|
|
126
|
+
"schemaVersion": { "const": "OwlCodaRunKitExternalGateV1" },
|
|
127
|
+
"gateId": { "$ref": "#/$defs/text" },
|
|
128
|
+
"title": { "$ref": "#/$defs/text" },
|
|
129
|
+
"requiredFor": { "$ref": "#/$defs/stageName" },
|
|
130
|
+
"gateStatus": { "enum": ["pending", "passed", "blocked", "deferred"] },
|
|
131
|
+
"blocking": { "type": "boolean" },
|
|
132
|
+
"ownerAgentId": { "$ref": "#/$defs/text" },
|
|
133
|
+
"source": { "type": "object", "additionalProperties": false, "required": ["adapterId", "ref", "sha256"], "properties": { "adapterId": { "$ref": "#/$defs/text" }, "ref": { "$ref": "#/$defs/text" }, "sha256": { "type": "string", "pattern": "^sha256:[a-f0-9]{64}$" } } },
|
|
134
|
+
"summary": { "$ref": "#/$defs/text" },
|
|
135
|
+
"evidenceRefs": { "$ref": "#/$defs/nonemptyStrings" },
|
|
136
|
+
"occurredAt": { "type": "string", "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$" },
|
|
137
|
+
"truthRefs": { "$ref": "#/$defs/nonemptyStrings" },
|
|
138
|
+
"authorizationGranted": { "const": false }
|
|
139
|
+
}
|
|
140
|
+
},
|
|
141
|
+
"deliveryStage": {
|
|
142
|
+
"type": "object",
|
|
143
|
+
"additionalProperties": false,
|
|
144
|
+
"required": ["stage", "status", "recordId", "ownerAgentId", "summary", "evidenceRefs", "externalGateIds", "occurredAt", "truthRef"],
|
|
145
|
+
"properties": {
|
|
146
|
+
"stage": { "$ref": "#/$defs/stageName" },
|
|
147
|
+
"status": { "enum": ["pending", "accepted", "rejected", "integrated", "materialized", "deployed", "failed", "rolled_back", "passed", "deferred"] },
|
|
148
|
+
"recordId": { "$ref": "#/$defs/nullableText" },
|
|
149
|
+
"ownerAgentId": { "$ref": "#/$defs/nullableText" },
|
|
150
|
+
"summary": { "$ref": "#/$defs/nullableText" },
|
|
151
|
+
"evidenceRefs": { "$ref": "#/$defs/strings" },
|
|
152
|
+
"externalGateIds": { "$ref": "#/$defs/strings" },
|
|
153
|
+
"occurredAt": { "oneOf": [{ "type": "null" }, { "type": "string", "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$" }] },
|
|
154
|
+
"truthRef": { "$ref": "#/$defs/nullableText" }
|
|
155
|
+
}
|
|
156
|
+
},
|
|
157
|
+
"deliveryLifecycle": {
|
|
158
|
+
"type": "object",
|
|
159
|
+
"additionalProperties": false,
|
|
160
|
+
"required": ["schemaVersion", "lifecycleStatus", "currentStage", "nextRequiredStage", "blockingStage", "blockingExternalGateIds", "stages", "authorizationGranted"],
|
|
161
|
+
"properties": {
|
|
162
|
+
"schemaVersion": { "const": "OwlCodaRunKitDeliveryLifecycleV1" },
|
|
163
|
+
"lifecycleStatus": { "enum": ["in_progress", "blocked", "completed"] },
|
|
164
|
+
"currentStage": { "enum": ["work_ledger_incomplete", "work_ledger_complete", "source_accepted", "integrated", "materialized", "deployed", "live_readback_passed", "product_accepted"] },
|
|
165
|
+
"nextRequiredStage": { "$ref": "#/$defs/nullableStage" },
|
|
166
|
+
"blockingStage": { "$ref": "#/$defs/nullableStage" },
|
|
167
|
+
"blockingExternalGateIds": { "$ref": "#/$defs/strings" },
|
|
168
|
+
"stages": { "type": "array", "minItems": 6, "maxItems": 6, "items": { "$ref": "#/$defs/deliveryStage" } },
|
|
169
|
+
"authorizationGranted": { "const": false }
|
|
170
|
+
}
|
|
171
|
+
},
|
|
172
|
+
"candidateLane": {
|
|
173
|
+
"type": "object",
|
|
174
|
+
"additionalProperties": false,
|
|
175
|
+
"required": ["laneId", "kind", "artifactId", "status", "sourceRef", "actionable", "modeledWorkItemId", "truthRefs"],
|
|
176
|
+
"properties": {
|
|
177
|
+
"laneId": { "$ref": "#/$defs/text" },
|
|
178
|
+
"kind": { "enum": ["data_candidate", "external_gate", "target_snapshot", "source_delivery"] },
|
|
179
|
+
"artifactId": { "$ref": "#/$defs/text" },
|
|
180
|
+
"status": { "$ref": "#/$defs/text" },
|
|
181
|
+
"sourceRef": { "$ref": "#/$defs/text" },
|
|
182
|
+
"actionable": { "type": "boolean" },
|
|
183
|
+
"modeledWorkItemId": { "$ref": "#/$defs/nullableText" },
|
|
184
|
+
"truthRefs": { "$ref": "#/$defs/nonemptyStrings" }
|
|
185
|
+
}
|
|
186
|
+
},
|
|
187
|
+
"warning": {
|
|
188
|
+
"type": "object",
|
|
189
|
+
"additionalProperties": false,
|
|
190
|
+
"required": ["code", "workItemId", "message", "truthRefs", "severity", "blocking", "requiredAtGate", "recommendedAction"],
|
|
191
|
+
"properties": {
|
|
192
|
+
"code": { "const": "no_bound_verification_receipt" },
|
|
193
|
+
"workItemId": { "$ref": "#/$defs/text" },
|
|
194
|
+
"message": { "$ref": "#/$defs/text" },
|
|
195
|
+
"truthRefs": { "$ref": "#/$defs/nonemptyStrings" },
|
|
196
|
+
"severity": { "const": "warning" },
|
|
197
|
+
"blocking": { "const": false },
|
|
198
|
+
"requiredAtGate": { "const": false },
|
|
199
|
+
"recommendedAction": { "enum": ["no_retroactive_action_required", "bind_quick_or_formal_receipt_if_reusable_evidence_is_required"] }
|
|
200
|
+
}
|
|
201
|
+
},
|
|
202
|
+
"warningGroup": {
|
|
203
|
+
"type": "object",
|
|
204
|
+
"additionalProperties": false,
|
|
205
|
+
"required": ["code", "severity", "blocking", "count", "workItemIds", "requiredAtGate", "recommendedAction"],
|
|
206
|
+
"properties": {
|
|
207
|
+
"code": { "const": "no_bound_verification_receipt" },
|
|
208
|
+
"severity": { "const": "warning" },
|
|
209
|
+
"blocking": { "const": false },
|
|
210
|
+
"count": { "type": "integer", "minimum": 1 },
|
|
211
|
+
"workItemIds": { "$ref": "#/$defs/nonemptyStrings" },
|
|
212
|
+
"requiredAtGate": { "const": false },
|
|
213
|
+
"recommendedAction": { "enum": ["no_retroactive_action_required", "bind_quick_or_formal_receipt_if_reusable_evidence_is_required", "review_individual_warning_actions"] }
|
|
214
|
+
}
|
|
215
|
+
},
|
|
216
|
+
"dispatch": { "type": "object", "additionalProperties": false, "required": ["mode", "permitted", "nextCommand"], "properties": { "mode": { "const": "none" }, "permitted": { "const": false }, "nextCommand": { "type": "null" } } },
|
|
217
|
+
"authorityBoundary": { "type": "object", "additionalProperties": false, "required": ["agentDispatch", "git", "release", "deployment", "production", "business", "automation", "money"], "properties": { "agentDispatch": { "const": false }, "git": { "const": false }, "release": { "const": false }, "deployment": { "const": false }, "production": { "const": false }, "business": { "const": false }, "automation": { "const": false }, "money": { "const": false } } }
|
|
218
|
+
}
|
|
219
|
+
}
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://owlcoda.com/schemas/runkit/team-delivery-status-v3.schema.json",
|
|
4
|
+
"title": "OwlCoda RunKit Team Delivery Status V3",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"additionalProperties": false,
|
|
7
|
+
"required": [
|
|
8
|
+
"schemaVersion", "status", "graphSource", "persistedTeamGraph", "projectId",
|
|
9
|
+
"projectTruthHash", "projectOverall", "recommendation", "lanes", "pathConflicts",
|
|
10
|
+
"acceptanceGaps", "ownerTransitions", "externalGates", "deliveryLifecycle",
|
|
11
|
+
"unmodeledCandidateLanes", "warnings", "warningSummary", "advisorySummary",
|
|
12
|
+
"nextAction", "dispatch", "authorityBoundary", "authorizationGranted", "exitCode"
|
|
13
|
+
],
|
|
14
|
+
"properties": {
|
|
15
|
+
"schemaVersion": { "const": "OwlCodaRunKitTeamDeliveryStatusV3" },
|
|
16
|
+
"status": { "const": "team_delivery_status" },
|
|
17
|
+
"graphSource": { "const": "project_driver" },
|
|
18
|
+
"persistedTeamGraph": { "const": false },
|
|
19
|
+
"projectId": { "$ref": "#/$defs/nullableText" },
|
|
20
|
+
"projectTruthHash": { "oneOf": [{ "type": "null" }, { "type": "string", "pattern": "^[a-f0-9]{64}$" }] },
|
|
21
|
+
"projectOverall": { "$ref": "#/$defs/text" },
|
|
22
|
+
"recommendation": {
|
|
23
|
+
"type": "object", "additionalProperties": false,
|
|
24
|
+
"required": ["teamCoordinationMode", "coordination", "reasonCodes"],
|
|
25
|
+
"properties": {
|
|
26
|
+
"teamCoordinationMode": { "enum": ["off", "team"] },
|
|
27
|
+
"coordination": { "enum": ["none", "project_driver_team"] },
|
|
28
|
+
"reasonCodes": { "$ref": "#/$defs/strings" }
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
"lanes": { "type": "array", "items": { "$ref": "team-delivery-status-v2.schema.json#/$defs/lane" } },
|
|
32
|
+
"pathConflicts": { "type": "array", "items": { "$ref": "team-delivery-status-v2.schema.json#/$defs/pathConflict" } },
|
|
33
|
+
"acceptanceGaps": { "type": "array", "items": { "$ref": "team-delivery-status-v2.schema.json#/$defs/acceptanceGap" } },
|
|
34
|
+
"ownerTransitions": { "type": "array", "items": { "$ref": "team-delivery-status-v2.schema.json#/$defs/ownerTransition" } },
|
|
35
|
+
"externalGates": { "type": "array", "items": { "$ref": "team-delivery-status-v2.schema.json#/$defs/externalGate" } },
|
|
36
|
+
"deliveryLifecycle": { "oneOf": [{ "type": "null" }, { "$ref": "team-delivery-status-v2.schema.json#/$defs/deliveryLifecycle" }] },
|
|
37
|
+
"unmodeledCandidateLanes": { "type": "array", "items": { "$ref": "team-delivery-status-v2.schema.json#/$defs/candidateLane" } },
|
|
38
|
+
"warnings": { "type": "array", "items": { "$ref": "#/$defs/advisory" } },
|
|
39
|
+
"warningSummary": { "$ref": "#/$defs/emptySummary" },
|
|
40
|
+
"advisorySummary": { "$ref": "#/$defs/advisorySummary" },
|
|
41
|
+
"nextAction": { "$ref": "#/$defs/nullableText" },
|
|
42
|
+
"dispatch": { "$ref": "team-delivery-status-v2.schema.json#/$defs/dispatch" },
|
|
43
|
+
"authorityBoundary": { "$ref": "team-delivery-status-v2.schema.json#/$defs/authorityBoundary" },
|
|
44
|
+
"authorizationGranted": { "const": false },
|
|
45
|
+
"exitCode": { "const": 0 }
|
|
46
|
+
},
|
|
47
|
+
"$defs": {
|
|
48
|
+
"text": { "type": "string", "minLength": 1 },
|
|
49
|
+
"nullableText": { "oneOf": [{ "type": "null" }, { "$ref": "#/$defs/text" }] },
|
|
50
|
+
"strings": { "type": "array", "uniqueItems": true, "items": { "$ref": "#/$defs/text" } },
|
|
51
|
+
"nonemptyStrings": { "type": "array", "minItems": 1, "uniqueItems": true, "items": { "$ref": "#/$defs/text" } },
|
|
52
|
+
"advisory": {
|
|
53
|
+
"type": "object", "additionalProperties": false,
|
|
54
|
+
"required": ["code", "workItemId", "message", "truthRefs", "severity", "blocking", "requiredAtGate", "recommendedAction"],
|
|
55
|
+
"properties": {
|
|
56
|
+
"code": { "const": "no_bound_verification_receipt" },
|
|
57
|
+
"workItemId": { "$ref": "#/$defs/text" },
|
|
58
|
+
"message": { "$ref": "#/$defs/text" },
|
|
59
|
+
"truthRefs": { "$ref": "#/$defs/nonemptyStrings" },
|
|
60
|
+
"severity": { "const": "advisory" },
|
|
61
|
+
"blocking": { "const": false },
|
|
62
|
+
"requiredAtGate": { "const": false },
|
|
63
|
+
"recommendedAction": { "enum": ["no_retroactive_action_required", "bind_quick_or_formal_receipt_if_reusable_evidence_is_required"] }
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
"advisoryGroup": {
|
|
67
|
+
"type": "object", "additionalProperties": false,
|
|
68
|
+
"required": ["code", "severity", "blocking", "count", "workItemIds", "requiredAtGate", "recommendedAction"],
|
|
69
|
+
"properties": {
|
|
70
|
+
"code": { "const": "no_bound_verification_receipt" },
|
|
71
|
+
"severity": { "const": "advisory" },
|
|
72
|
+
"blocking": { "const": false },
|
|
73
|
+
"count": { "type": "integer", "minimum": 1 },
|
|
74
|
+
"workItemIds": { "$ref": "#/$defs/nonemptyStrings" },
|
|
75
|
+
"requiredAtGate": { "const": false },
|
|
76
|
+
"recommendedAction": { "enum": ["no_retroactive_action_required", "bind_quick_or_formal_receipt_if_reusable_evidence_is_required", "review_individual_warning_actions"] }
|
|
77
|
+
}
|
|
78
|
+
},
|
|
79
|
+
"emptySummary": {
|
|
80
|
+
"type": "object", "additionalProperties": false,
|
|
81
|
+
"required": ["count", "groups"],
|
|
82
|
+
"properties": {
|
|
83
|
+
"count": { "const": 0 },
|
|
84
|
+
"groups": { "type": "array", "maxItems": 0 }
|
|
85
|
+
}
|
|
86
|
+
},
|
|
87
|
+
"advisorySummary": {
|
|
88
|
+
"type": "object", "additionalProperties": false,
|
|
89
|
+
"required": ["count", "groups"],
|
|
90
|
+
"properties": {
|
|
91
|
+
"count": { "type": "integer", "minimum": 0 },
|
|
92
|
+
"groups": { "type": "array", "items": { "$ref": "#/$defs/advisoryGroup" } }
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
},
|
|
96
|
+
"examples": [{
|
|
97
|
+
"schemaVersion": "OwlCodaRunKitTeamDeliveryStatusV3",
|
|
98
|
+
"status": "team_delivery_status",
|
|
99
|
+
"graphSource": "project_driver",
|
|
100
|
+
"persistedTeamGraph": false,
|
|
101
|
+
"projectId": null,
|
|
102
|
+
"projectTruthHash": null,
|
|
103
|
+
"projectOverall": "not_initialized",
|
|
104
|
+
"recommendation": { "teamCoordinationMode": "off", "coordination": "none", "reasonCodes": ["project_driver_not_initialized"] },
|
|
105
|
+
"lanes": [], "pathConflicts": [], "acceptanceGaps": [], "ownerTransitions": [],
|
|
106
|
+
"externalGates": [], "deliveryLifecycle": null, "unmodeledCandidateLanes": [],
|
|
107
|
+
"warnings": [], "warningSummary": { "count": 0, "groups": [] },
|
|
108
|
+
"advisorySummary": { "count": 0, "groups": [] }, "nextAction": null,
|
|
109
|
+
"dispatch": { "mode": "none", "permitted": false, "nextCommand": null },
|
|
110
|
+
"authorityBoundary": { "agentDispatch": false, "git": false, "release": false, "deployment": false, "production": false, "business": false, "automation": false, "money": false },
|
|
111
|
+
"authorizationGranted": false, "exitCode": 0
|
|
112
|
+
}]
|
|
113
|
+
}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://owlcoda.com/schemas/runkit/team-project-event-v6.schema.json",
|
|
4
|
+
"title": "OwlCoda RunKit Team Project Event V6",
|
|
5
|
+
"oneOf": [
|
|
6
|
+
{
|
|
7
|
+
"type": "object",
|
|
8
|
+
"additionalProperties": false,
|
|
9
|
+
"required": [
|
|
10
|
+
"schemaVersion", "eventId", "type", "occurredAt", "reconciliationId",
|
|
11
|
+
"gateId", "title", "requiredFor", "gateStatus", "ownerAgentId",
|
|
12
|
+
"sourceAdapterId", "sourceRef", "sourceSha256", "summary",
|
|
13
|
+
"evidenceRefs", "authorizationGranted"
|
|
14
|
+
],
|
|
15
|
+
"properties": {
|
|
16
|
+
"schemaVersion": { "const": "OwlCodaRunKitTeamProjectEventV6" },
|
|
17
|
+
"eventId": { "$ref": "#/$defs/id" },
|
|
18
|
+
"type": { "const": "external_gate_reconciled" },
|
|
19
|
+
"occurredAt": { "$ref": "#/$defs/timestamp" },
|
|
20
|
+
"reconciliationId": { "$ref": "#/$defs/id" },
|
|
21
|
+
"supersedesReconciliationId": { "$ref": "#/$defs/id" },
|
|
22
|
+
"gateId": { "$ref": "#/$defs/id" },
|
|
23
|
+
"title": { "$ref": "#/$defs/text" },
|
|
24
|
+
"requiredFor": { "$ref": "#/$defs/stage" },
|
|
25
|
+
"gateStatus": { "enum": ["pending", "passed", "blocked", "deferred"] },
|
|
26
|
+
"ownerAgentId": { "$ref": "#/$defs/id" },
|
|
27
|
+
"sourceAdapterId": { "$ref": "#/$defs/id" },
|
|
28
|
+
"sourceRef": { "$ref": "#/$defs/text" },
|
|
29
|
+
"sourceSha256": { "$ref": "#/$defs/sha256" },
|
|
30
|
+
"summary": { "$ref": "#/$defs/text" },
|
|
31
|
+
"evidenceRefs": { "$ref": "#/$defs/nonemptyStrings" },
|
|
32
|
+
"authorizationGranted": { "const": false }
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"type": "object",
|
|
37
|
+
"additionalProperties": false,
|
|
38
|
+
"required": [
|
|
39
|
+
"schemaVersion", "eventId", "type", "occurredAt", "recordId",
|
|
40
|
+
"stage", "stageStatus", "ownerAgentId", "summary", "evidenceRefs",
|
|
41
|
+
"externalGateIds", "authorizationGranted"
|
|
42
|
+
],
|
|
43
|
+
"properties": {
|
|
44
|
+
"schemaVersion": { "const": "OwlCodaRunKitTeamProjectEventV6" },
|
|
45
|
+
"eventId": { "$ref": "#/$defs/id" },
|
|
46
|
+
"type": { "const": "delivery_lifecycle_recorded" },
|
|
47
|
+
"occurredAt": { "$ref": "#/$defs/timestamp" },
|
|
48
|
+
"recordId": { "$ref": "#/$defs/id" },
|
|
49
|
+
"supersedesRecordId": { "$ref": "#/$defs/id" },
|
|
50
|
+
"stage": { "$ref": "#/$defs/stage" },
|
|
51
|
+
"stageStatus": {
|
|
52
|
+
"enum": [
|
|
53
|
+
"accepted", "rejected", "integrated", "materialized", "deployed", "failed",
|
|
54
|
+
"rolled_back", "passed", "deferred"
|
|
55
|
+
]
|
|
56
|
+
},
|
|
57
|
+
"ownerAgentId": { "$ref": "#/$defs/id" },
|
|
58
|
+
"summary": { "$ref": "#/$defs/text" },
|
|
59
|
+
"evidenceRefs": { "$ref": "#/$defs/nonemptyStrings" },
|
|
60
|
+
"externalGateIds": { "$ref": "#/$defs/strings" },
|
|
61
|
+
"authorizationGranted": { "const": false }
|
|
62
|
+
},
|
|
63
|
+
"allOf": [
|
|
64
|
+
{ "if": { "properties": { "stage": { "const": "source" } }, "required": ["stage"] }, "then": { "properties": { "stageStatus": { "enum": ["accepted", "rejected"] } } } },
|
|
65
|
+
{ "if": { "properties": { "stage": { "const": "integration" } }, "required": ["stage"] }, "then": { "properties": { "stageStatus": { "enum": ["integrated", "rejected"] } } } },
|
|
66
|
+
{ "if": { "properties": { "stage": { "const": "materialization" } }, "required": ["stage"] }, "then": { "properties": { "stageStatus": { "enum": ["materialized", "failed"] } } } },
|
|
67
|
+
{ "if": { "properties": { "stage": { "const": "deployment" } }, "required": ["stage"] }, "then": { "properties": { "stageStatus": { "enum": ["deployed", "failed", "rolled_back"] } } } },
|
|
68
|
+
{ "if": { "properties": { "stage": { "const": "live_readback" } }, "required": ["stage"] }, "then": { "properties": { "stageStatus": { "enum": ["passed", "failed"] } } } },
|
|
69
|
+
{ "if": { "properties": { "stage": { "const": "product_acceptance" } }, "required": ["stage"] }, "then": { "properties": { "stageStatus": { "enum": ["accepted", "rejected", "deferred"] } } } }
|
|
70
|
+
]
|
|
71
|
+
}
|
|
72
|
+
],
|
|
73
|
+
"$defs": {
|
|
74
|
+
"id": { "type": "string", "pattern": "^[A-Za-z0-9][A-Za-z0-9._-]*$" },
|
|
75
|
+
"text": { "type": "string", "minLength": 1 },
|
|
76
|
+
"timestamp": { "type": "string", "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$" },
|
|
77
|
+
"sha256": { "type": "string", "pattern": "^sha256:[a-f0-9]{64}$" },
|
|
78
|
+
"stage": { "enum": ["source", "integration", "materialization", "deployment", "live_readback", "product_acceptance"] },
|
|
79
|
+
"strings": { "type": "array", "uniqueItems": true, "items": { "$ref": "#/$defs/text" } },
|
|
80
|
+
"nonemptyStrings": { "type": "array", "minItems": 1, "uniqueItems": true, "items": { "$ref": "#/$defs/text" } }
|
|
81
|
+
}
|
|
82
|
+
}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://owlcoda.com/schemas/runkit/team-project-event-v7.schema.json",
|
|
4
|
+
"title": "OwlCoda RunKit Team Project Event V7",
|
|
5
|
+
"oneOf": [
|
|
6
|
+
{
|
|
7
|
+
"type": "object",
|
|
8
|
+
"additionalProperties": false,
|
|
9
|
+
"required": [
|
|
10
|
+
"schemaVersion", "eventId", "type", "occurredAt", "policyId",
|
|
11
|
+
"workItemId", "ownerAgentId", "requirement", "reason",
|
|
12
|
+
"evidenceRefs", "authorizationGranted"
|
|
13
|
+
],
|
|
14
|
+
"properties": {
|
|
15
|
+
"schemaVersion": { "const": "OwlCodaRunKitTeamProjectEventV7" },
|
|
16
|
+
"eventId": { "$ref": "#/$defs/id" },
|
|
17
|
+
"type": { "const": "work_item_evidence_requirement_set" },
|
|
18
|
+
"occurredAt": { "$ref": "#/$defs/timestamp" },
|
|
19
|
+
"policyId": { "$ref": "#/$defs/id" },
|
|
20
|
+
"supersedesPolicyId": { "$ref": "#/$defs/id" },
|
|
21
|
+
"workItemId": { "$ref": "#/$defs/id" },
|
|
22
|
+
"ownerAgentId": { "$ref": "#/$defs/id" },
|
|
23
|
+
"requirement": { "enum": ["none", "quick"] },
|
|
24
|
+
"reason": { "$ref": "#/$defs/text" },
|
|
25
|
+
"evidenceRefs": { "$ref": "#/$defs/nonemptyStrings" },
|
|
26
|
+
"authorizationGranted": { "const": false }
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"type": "object",
|
|
31
|
+
"additionalProperties": false,
|
|
32
|
+
"required": [
|
|
33
|
+
"schemaVersion", "eventId", "type", "occurredAt", "checkpointId",
|
|
34
|
+
"assignmentId", "workItemId", "state", "summary", "evidenceRefs",
|
|
35
|
+
"blockerRefs", "decisionRefs", "nextAction", "sourceFingerprint",
|
|
36
|
+
"receiptBinding", "authorizationGranted"
|
|
37
|
+
],
|
|
38
|
+
"properties": {
|
|
39
|
+
"schemaVersion": { "const": "OwlCodaRunKitTeamProjectEventV7" },
|
|
40
|
+
"eventId": { "$ref": "#/$defs/id" },
|
|
41
|
+
"type": { "const": "checkpoint_receipt_bound" },
|
|
42
|
+
"occurredAt": { "$ref": "#/$defs/timestamp" },
|
|
43
|
+
"checkpointId": { "$ref": "#/$defs/id" },
|
|
44
|
+
"assignmentId": { "$ref": "#/$defs/id" },
|
|
45
|
+
"workItemId": { "$ref": "#/$defs/id" },
|
|
46
|
+
"state": { "enum": ["active", "waiting_dependency", "waiting_decision", "verifying", "ready_to_integrate", "completed", "failed"] },
|
|
47
|
+
"summary": { "$ref": "#/$defs/text" },
|
|
48
|
+
"completedUnits": { "type": "integer", "minimum": 0 },
|
|
49
|
+
"evidenceRefs": { "$ref": "#/$defs/strings" },
|
|
50
|
+
"blockerRefs": { "$ref": "#/$defs/strings" },
|
|
51
|
+
"decisionRefs": { "$ref": "#/$defs/strings" },
|
|
52
|
+
"nextAction": { "oneOf": [{ "type": "null" }, { "$ref": "#/$defs/text" }] },
|
|
53
|
+
"sourceFingerprint": { "$ref": "#/$defs/sha256" },
|
|
54
|
+
"receiptBinding": {
|
|
55
|
+
"type": "object",
|
|
56
|
+
"additionalProperties": false,
|
|
57
|
+
"required": ["kind", "receiptId", "receiptRef", "receiptSha256", "sourceFingerprint", "attestationDecision", "issueCodes"],
|
|
58
|
+
"properties": {
|
|
59
|
+
"kind": { "const": "quick" },
|
|
60
|
+
"receiptId": { "$ref": "#/$defs/id" },
|
|
61
|
+
"receiptRef": { "$ref": "#/$defs/text" },
|
|
62
|
+
"receiptSha256": { "$ref": "#/$defs/sha256" },
|
|
63
|
+
"sourceFingerprint": { "$ref": "#/$defs/sha256" },
|
|
64
|
+
"attestationDecision": { "const": "GO" },
|
|
65
|
+
"issueCodes": { "$ref": "#/$defs/strings" }
|
|
66
|
+
}
|
|
67
|
+
},
|
|
68
|
+
"authorizationGranted": { "const": false }
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
],
|
|
72
|
+
"$defs": {
|
|
73
|
+
"id": { "type": "string", "pattern": "^[A-Za-z0-9][A-Za-z0-9._-]*$" },
|
|
74
|
+
"text": { "type": "string", "minLength": 1 },
|
|
75
|
+
"timestamp": { "type": "string", "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$" },
|
|
76
|
+
"sha256": { "type": "string", "pattern": "^sha256:[a-f0-9]{64}$" },
|
|
77
|
+
"strings": { "type": "array", "uniqueItems": true, "items": { "$ref": "#/$defs/text" } },
|
|
78
|
+
"nonemptyStrings": { "type": "array", "minItems": 1, "uniqueItems": true, "items": { "$ref": "#/$defs/text" } }
|
|
79
|
+
}
|
|
80
|
+
}
|