owlrunkit 0.19.2 → 0.20.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 +15 -0
- package/README.md +38 -5
- package/docs/architecture/OWLCODA_RUNKIT_020_TEAM_DELIVERY_PHASE1_PRODUCT_DECISION_20260813.md +296 -0
- package/integrations/codex/skills/owlcoda-runkit/SKILL.md +28 -6
- package/integrations/codex/skills/owlcoda-runkit/assets/templates/config.json +3 -3
- package/package.json +1 -1
- package/packages/attest/distribution-manifest-v1.json +5 -0
- package/packages/attest/src/quick.mjs +5 -0
- package/registry-release-policy-v1.json +5 -5
- package/sbom.spdx.json +4 -4
- package/scripts/runkit-contract/core-contract.mjs +8 -1
- package/scripts/runkit-contract/formal-workflow.mjs +1 -1
- package/scripts/runkit-contract/project-cli-resolver.mjs +4 -1
- package/scripts/runkit-contract/runkit-cli.mjs +80 -3
- package/scripts/runkit-contract/schemas/candidate-transfer-packet-v1.schema.json +98 -0
- package/scripts/runkit-contract/schemas/team-acceptance-packet-v2.schema.json +109 -0
- package/scripts/runkit-contract/schemas/team-delivery-status-v1.schema.json +72 -0
- package/scripts/runkit-contract/schemas/team-packet-validation-v1.schema.json +33 -0
- package/scripts/runkit-contract/schemas/team-recommendation-v1.schema.json +121 -0
- package/scripts/runkit-contract/schemas/team-task-packet-v2.schema.json +228 -0
- package/scripts/runkit-contract/team-delivery.mjs +906 -0
|
@@ -0,0 +1,228 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://owlcoda.com/schemas/runkit/team-task-packet-v2.schema.json",
|
|
4
|
+
"title": "OwlCoda RunKit Team Task Packet V2",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"additionalProperties": false,
|
|
7
|
+
"required": [
|
|
8
|
+
"schemaVersion", "packetId", "projectBinding", "gateId", "observableSuccess",
|
|
9
|
+
"workItem", "actor", "risk", "acceptance", "entry", "scope", "evidence",
|
|
10
|
+
"verificationCadence", "handoff", "escalationBudget", "stop",
|
|
11
|
+
"authorityBoundary", "authorizationGranted"
|
|
12
|
+
],
|
|
13
|
+
"properties": {
|
|
14
|
+
"schemaVersion": { "const": "OwlCodaRunKitTeamTaskPacketV2" },
|
|
15
|
+
"packetId": { "$ref": "#/$defs/id" },
|
|
16
|
+
"projectBinding": { "$ref": "#/$defs/projectBinding" },
|
|
17
|
+
"gateId": { "$ref": "#/$defs/id" },
|
|
18
|
+
"observableSuccess": { "$ref": "#/$defs/text" },
|
|
19
|
+
"workItem": {
|
|
20
|
+
"type": "object",
|
|
21
|
+
"additionalProperties": false,
|
|
22
|
+
"required": ["workItemId", "title", "dependencies", "ownedPaths"],
|
|
23
|
+
"properties": {
|
|
24
|
+
"workItemId": { "$ref": "#/$defs/id" },
|
|
25
|
+
"title": { "$ref": "#/$defs/text" },
|
|
26
|
+
"dependencies": { "$ref": "#/$defs/strings" },
|
|
27
|
+
"ownedPaths": { "$ref": "#/$defs/nonemptyStrings" }
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
"actor": {
|
|
31
|
+
"type": "object",
|
|
32
|
+
"additionalProperties": false,
|
|
33
|
+
"required": ["executingAgent", "modelFamily", "modelVersion", "role"],
|
|
34
|
+
"properties": {
|
|
35
|
+
"executingAgent": { "$ref": "#/$defs/id" },
|
|
36
|
+
"modelFamily": { "$ref": "#/$defs/text" },
|
|
37
|
+
"modelVersion": { "$ref": "#/$defs/text" },
|
|
38
|
+
"role": { "$ref": "#/$defs/text" }
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
"risk": {
|
|
42
|
+
"type": "object",
|
|
43
|
+
"additionalProperties": false,
|
|
44
|
+
"required": [
|
|
45
|
+
"productJudgment", "semanticAmbiguity", "contextDepth", "surfaceWidth",
|
|
46
|
+
"determinism", "secondOrderRisk", "authoritySpan"
|
|
47
|
+
],
|
|
48
|
+
"properties": {
|
|
49
|
+
"productJudgment": { "enum": ["low", "medium", "high"] },
|
|
50
|
+
"semanticAmbiguity": { "enum": ["low", "medium", "high"] },
|
|
51
|
+
"contextDepth": { "enum": ["local", "cross-module", "product-wide"] },
|
|
52
|
+
"surfaceWidth": { "enum": ["narrow", "multi-module", "product-wide"] },
|
|
53
|
+
"determinism": { "enum": ["deterministic", "mixed", "exploratory"] },
|
|
54
|
+
"secondOrderRisk": { "enum": ["low", "medium", "high"] },
|
|
55
|
+
"authoritySpan": { "enum": ["source-only", "integration", "runtime", "production"] }
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
"acceptance": {
|
|
59
|
+
"type": "object",
|
|
60
|
+
"additionalProperties": false,
|
|
61
|
+
"required": [
|
|
62
|
+
"requiredLevel", "implementationModelFamily", "implementationModelVersion",
|
|
63
|
+
"verificationModelFamily", "verificationModelVersion", "sameFamilyAllowed",
|
|
64
|
+
"freshAdversarialFamilies"
|
|
65
|
+
],
|
|
66
|
+
"properties": {
|
|
67
|
+
"requiredLevel": { "$ref": "#/$defs/acceptanceLevel" },
|
|
68
|
+
"implementationModelFamily": { "$ref": "#/$defs/text" },
|
|
69
|
+
"implementationModelVersion": { "$ref": "#/$defs/text" },
|
|
70
|
+
"verificationModelFamily": { "$ref": "#/$defs/text" },
|
|
71
|
+
"verificationModelVersion": { "$ref": "#/$defs/text" },
|
|
72
|
+
"sameFamilyAllowed": { "type": "boolean" },
|
|
73
|
+
"freshAdversarialFamilies": { "$ref": "#/$defs/strings" }
|
|
74
|
+
}
|
|
75
|
+
},
|
|
76
|
+
"entry": {
|
|
77
|
+
"type": "object",
|
|
78
|
+
"additionalProperties": false,
|
|
79
|
+
"required": [
|
|
80
|
+
"worktreeMode", "worktree", "branch", "baseSha", "candidateIdentity",
|
|
81
|
+
"dirtyStateManifest", "soleWriter", "upstreamAcceptedPackets"
|
|
82
|
+
],
|
|
83
|
+
"properties": {
|
|
84
|
+
"worktreeMode": { "enum": ["new_clean_worktree", "existing_dirty_candidate"] },
|
|
85
|
+
"worktree": { "$ref": "#/$defs/absolutePath" },
|
|
86
|
+
"branch": { "$ref": "#/$defs/text" },
|
|
87
|
+
"baseSha": { "$ref": "#/$defs/gitRef" },
|
|
88
|
+
"candidateIdentity": { "$ref": "#/$defs/sha256Ref" },
|
|
89
|
+
"dirtyStateManifest": { "$ref": "#/$defs/sha256Ref" },
|
|
90
|
+
"soleWriter": { "$ref": "#/$defs/id" },
|
|
91
|
+
"upstreamAcceptedPackets": { "$ref": "#/$defs/strings" }
|
|
92
|
+
}
|
|
93
|
+
},
|
|
94
|
+
"scope": {
|
|
95
|
+
"type": "object",
|
|
96
|
+
"additionalProperties": false,
|
|
97
|
+
"required": ["allowedChangedPaths", "prohibitedPathsAndActions", "protectedArtifactsAndAuthority"],
|
|
98
|
+
"properties": {
|
|
99
|
+
"allowedChangedPaths": { "$ref": "#/$defs/nonemptyStrings" },
|
|
100
|
+
"prohibitedPathsAndActions": { "$ref": "#/$defs/strings" },
|
|
101
|
+
"protectedArtifactsAndAuthority": { "$ref": "#/$defs/strings" }
|
|
102
|
+
}
|
|
103
|
+
},
|
|
104
|
+
"evidence": {
|
|
105
|
+
"type": "object",
|
|
106
|
+
"additionalProperties": false,
|
|
107
|
+
"required": ["positiveEvidence", "negativeAndSecondOrderTests", "deliveryPacketFields"],
|
|
108
|
+
"properties": {
|
|
109
|
+
"positiveEvidence": { "$ref": "#/$defs/strings" },
|
|
110
|
+
"negativeAndSecondOrderTests": { "$ref": "#/$defs/strings" },
|
|
111
|
+
"deliveryPacketFields": { "$ref": "#/$defs/strings" }
|
|
112
|
+
}
|
|
113
|
+
},
|
|
114
|
+
"verificationCadence": {
|
|
115
|
+
"type": "object",
|
|
116
|
+
"additionalProperties": false,
|
|
117
|
+
"required": [
|
|
118
|
+
"microBatchId", "closureHypothesis", "includedChanges", "implementationSmoke",
|
|
119
|
+
"frozenCandidateFocusedGate", "candidateCloseoutChecks", "independentAdversarialDelta",
|
|
120
|
+
"deferredTransitionGates", "trustedReceipts", "receiptInvalidationTriggers"
|
|
121
|
+
],
|
|
122
|
+
"properties": {
|
|
123
|
+
"microBatchId": { "$ref": "#/$defs/id" },
|
|
124
|
+
"closureHypothesis": { "$ref": "#/$defs/text" },
|
|
125
|
+
"includedChanges": { "$ref": "#/$defs/strings" },
|
|
126
|
+
"implementationSmoke": { "$ref": "#/$defs/strings" },
|
|
127
|
+
"frozenCandidateFocusedGate": { "$ref": "#/$defs/strings" },
|
|
128
|
+
"candidateCloseoutChecks": { "$ref": "#/$defs/strings" },
|
|
129
|
+
"independentAdversarialDelta": { "$ref": "#/$defs/strings" },
|
|
130
|
+
"deferredTransitionGates": { "$ref": "#/$defs/strings" },
|
|
131
|
+
"trustedReceipts": { "$ref": "#/$defs/strings" },
|
|
132
|
+
"receiptInvalidationTriggers": { "$ref": "#/$defs/strings" }
|
|
133
|
+
}
|
|
134
|
+
},
|
|
135
|
+
"handoff": {
|
|
136
|
+
"type": "object",
|
|
137
|
+
"additionalProperties": false,
|
|
138
|
+
"required": ["required", "nextOwner"],
|
|
139
|
+
"properties": {
|
|
140
|
+
"required": { "type": "boolean" },
|
|
141
|
+
"nextOwner": { "$ref": "#/$defs/nullableText" }
|
|
142
|
+
}
|
|
143
|
+
},
|
|
144
|
+
"escalationBudget": {
|
|
145
|
+
"type": "object",
|
|
146
|
+
"additionalProperties": false,
|
|
147
|
+
"required": ["implementationAttempts", "narrowRework", "harnessFailure", "controllerIntervention", "semanticEscape"],
|
|
148
|
+
"properties": {
|
|
149
|
+
"implementationAttempts": { "type": "integer", "minimum": 1 },
|
|
150
|
+
"narrowRework": { "type": "integer", "minimum": 0 },
|
|
151
|
+
"harnessFailure": { "type": "integer", "minimum": 0 },
|
|
152
|
+
"controllerIntervention": { "type": "integer", "minimum": 0 },
|
|
153
|
+
"semanticEscape": { "const": 0 }
|
|
154
|
+
}
|
|
155
|
+
},
|
|
156
|
+
"stop": {
|
|
157
|
+
"type": "object",
|
|
158
|
+
"additionalProperties": false,
|
|
159
|
+
"required": ["exactStopPoint", "nextGateProhibited"],
|
|
160
|
+
"properties": {
|
|
161
|
+
"exactStopPoint": { "$ref": "#/$defs/text" },
|
|
162
|
+
"nextGateProhibited": { "$ref": "#/$defs/nullableText" }
|
|
163
|
+
}
|
|
164
|
+
},
|
|
165
|
+
"authorityBoundary": { "$ref": "#/$defs/authorityBoundary" },
|
|
166
|
+
"authorizationGranted": { "const": false }
|
|
167
|
+
},
|
|
168
|
+
"$defs": {
|
|
169
|
+
"id": { "type": "string", "pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]*$" },
|
|
170
|
+
"text": { "type": "string", "minLength": 1 },
|
|
171
|
+
"nullableText": { "oneOf": [{ "type": "null" }, { "$ref": "#/$defs/text" }] },
|
|
172
|
+
"strings": { "type": "array", "uniqueItems": true, "items": { "$ref": "#/$defs/text" } },
|
|
173
|
+
"nonemptyStrings": { "type": "array", "minItems": 1, "uniqueItems": true, "items": { "$ref": "#/$defs/text" } },
|
|
174
|
+
"sha256Ref": { "type": "string", "pattern": "^sha256:[a-f0-9]{64}$" },
|
|
175
|
+
"gitRef": { "type": "string", "pattern": "^git:[a-f0-9]{40}([a-f0-9]{24})?$" },
|
|
176
|
+
"absolutePath": { "type": "string", "pattern": "^(?:/|[A-Za-z]:[\\\\/]|\\\\\\\\)" },
|
|
177
|
+
"acceptanceLevel": { "enum": ["L0", "L1", "L2", "L3"] },
|
|
178
|
+
"projectBinding": {
|
|
179
|
+
"type": "object",
|
|
180
|
+
"additionalProperties": false,
|
|
181
|
+
"required": ["projectId", "projectTruthHash"],
|
|
182
|
+
"properties": {
|
|
183
|
+
"projectId": { "$ref": "#/$defs/id" },
|
|
184
|
+
"projectTruthHash": { "type": "string", "pattern": "^[a-f0-9]{64}$" }
|
|
185
|
+
}
|
|
186
|
+
},
|
|
187
|
+
"authorityBoundary": {
|
|
188
|
+
"type": "object",
|
|
189
|
+
"additionalProperties": false,
|
|
190
|
+
"required": ["agentDispatch", "git", "release", "deployment", "production", "business", "automation", "money"],
|
|
191
|
+
"properties": {
|
|
192
|
+
"agentDispatch": { "const": false }, "git": { "const": false },
|
|
193
|
+
"release": { "const": false }, "deployment": { "const": false },
|
|
194
|
+
"production": { "const": false }, "business": { "const": false },
|
|
195
|
+
"automation": { "const": false }, "money": { "const": false }
|
|
196
|
+
}
|
|
197
|
+
}
|
|
198
|
+
},
|
|
199
|
+
"allOf": [{
|
|
200
|
+
"if": {
|
|
201
|
+
"properties": { "risk": { "properties": { "secondOrderRisk": { "enum": ["medium", "high"] } } } },
|
|
202
|
+
"required": ["risk"]
|
|
203
|
+
},
|
|
204
|
+
"then": {
|
|
205
|
+
"properties": { "acceptance": { "properties": { "sameFamilyAllowed": { "const": false } } } }
|
|
206
|
+
}
|
|
207
|
+
}],
|
|
208
|
+
"examples": [{
|
|
209
|
+
"schemaVersion": "OwlCodaRunKitTeamTaskPacketV2",
|
|
210
|
+
"packetId": "task-packet-001",
|
|
211
|
+
"projectBinding": { "projectId": "team-phase1", "projectTruthHash": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" },
|
|
212
|
+
"gateId": "ready",
|
|
213
|
+
"observableSuccess": "One source candidate is ready for independent acceptance.",
|
|
214
|
+
"workItem": { "workItemId": "work-1", "title": "Implement Team Delivery", "dependencies": [], "ownedPaths": ["scripts/runkit-contract/**"] },
|
|
215
|
+
"actor": { "executingAgent": "agent-a", "modelFamily": "provider:family-a", "modelVersion": "model-a-1", "role": "implementation" },
|
|
216
|
+
"risk": { "productJudgment": "medium", "semanticAmbiguity": "medium", "contextDepth": "cross-module", "surfaceWidth": "narrow", "determinism": "deterministic", "secondOrderRisk": "medium", "authoritySpan": "source-only" },
|
|
217
|
+
"acceptance": { "requiredLevel": "L1", "implementationModelFamily": "provider:family-a", "implementationModelVersion": "model-a-1", "verificationModelFamily": "provider:family-b", "verificationModelVersion": "model-b-1", "sameFamilyAllowed": false, "freshAdversarialFamilies": ["authority boundary"] },
|
|
218
|
+
"entry": { "worktreeMode": "new_clean_worktree", "worktree": "/workspace/team-a", "branch": "codex/team-a", "baseSha": "git:1111111111111111111111111111111111111111", "candidateIdentity": "sha256:2222222222222222222222222222222222222222222222222222222222222222", "dirtyStateManifest": "sha256:3333333333333333333333333333333333333333333333333333333333333333", "soleWriter": "agent-a", "upstreamAcceptedPackets": [] },
|
|
219
|
+
"scope": { "allowedChangedPaths": ["scripts/runkit-contract/**"], "prohibitedPathsAndActions": ["git push", "deploy"], "protectedArtifactsAndAuthority": ["release", "production"] },
|
|
220
|
+
"evidence": { "positiveEvidence": ["focused contract tests"], "negativeAndSecondOrderTests": ["authority boundary"], "deliveryPacketFields": ["candidate identity"] },
|
|
221
|
+
"verificationCadence": { "microBatchId": "team-contract", "closureHypothesis": "Portable contracts retain project truth.", "includedChanges": ["TeamTaskPacketV2"], "implementationSmoke": ["focused test"], "frozenCandidateFocusedGate": ["runtime validation"], "candidateCloseoutChecks": ["schema parity"], "independentAdversarialDelta": ["authority boundary"], "deferredTransitionGates": ["L2 package consumer"], "trustedReceipts": [], "receiptInvalidationTriggers": ["project truth drift"] },
|
|
222
|
+
"handoff": { "required": true, "nextOwner": "control-tower" },
|
|
223
|
+
"escalationBudget": { "implementationAttempts": 2, "narrowRework": 1, "harnessFailure": 1, "controllerIntervention": 1, "semanticEscape": 0 },
|
|
224
|
+
"stop": { "exactStopPoint": "Source candidate ready for independent acceptance.", "nextGateProhibited": "release" },
|
|
225
|
+
"authorityBoundary": { "agentDispatch": false, "git": false, "release": false, "deployment": false, "production": false, "business": false, "automation": false, "money": false },
|
|
226
|
+
"authorizationGranted": false
|
|
227
|
+
}]
|
|
228
|
+
}
|