@rvdbreemen/adr-kit-opencode 0.52.0 → 0.52.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.
- package/.claude-plugin/plugin.json +29 -29
- package/README.md +861 -850
- package/bin/adr +0 -0
- package/bin/adr-audit +0 -0
- package/bin/adr-context +0 -0
- package/bin/adr-discover +0 -0
- package/bin/adr-doctor +0 -0
- package/bin/adr-generate-scripts +0 -0
- package/bin/adr-grill-signal +0 -0
- package/bin/adr-guardian +0 -0
- package/bin/adr-index +0 -0
- package/bin/adr-judge +0 -0
- package/bin/adr-judge-precommit +0 -0
- package/bin/adr-lint +0 -0
- package/bin/adr-mcp +0 -0
- package/bin/adr-migrate +0 -0
- package/bin/adr-quality +0 -0
- package/bin/adr-readiness +0 -0
- package/bin/adr-readiness-ci +0 -0
- package/bin/adr-related +0 -0
- package/bin/adr-renumber +254 -254
- package/bin/adr-retire +0 -0
- package/bin/adr-settings +0 -0
- package/bin/adr-status +0 -0
- package/bin/adr-suggest +0 -0
- package/bin/adr-watch +0 -0
- package/bin/bump-version +0 -0
- package/clients/workflows.json +229 -229
- package/hooks/__init__.py +1 -1
- package/hooks/adapters/__init__.py +13 -13
- package/hooks/adapters/claude.py +27 -27
- package/hooks/adapters/codex.py +26 -26
- package/hooks/adapters/copilot.py +11 -11
- package/hooks/adr-hook.py +128 -128
- package/hooks/adr_hook_core.py +843 -843
- package/hooks/adr_pr_guard.py +367 -367
- package/instructions/ADR-guide.md +48 -48
- package/instructions/adr.coding.md +82 -82
- package/instructions/adr.review.md +182 -182
- package/opencode/plugin.ts +1 -4
- package/package.json +5 -2
- package/schemas/adr-context-probes.schema.json +56 -56
- package/schemas/adr-enforcement.schema.json +57 -57
- package/schemas/adr-frontmatter.schema.json +144 -144
- package/schemas/adr-index.schema.json +276 -276
- package/schemas/adr-kit-config.schema.json +371 -371
- package/schemas/adr-readiness.schema.json +41 -41
- package/schemas/client-capabilities.schema.json +503 -503
- package/schemas/client-certification.schema.json +101 -101
- package/schemas/doctor-output.schema.json +92 -92
- package/skills/adr/SKILL.md +780 -780
- package/skills/audit/SKILL.md +103 -103
- package/skills/context/SKILL.md +77 -77
- package/skills/grill/SKILL.md +84 -84
- package/skills/grill/agents/openai.yaml +4 -4
- package/skills/guardian/SKILL.md +316 -316
- package/skills/init/SKILL.md +499 -499
- package/skills/install-hooks/SKILL.md +154 -154
- package/skills/judge/SKILL.md +168 -168
- package/skills/lint/SKILL.md +321 -321
- package/skills/migrate/SKILL.md +313 -313
- package/skills/related/SKILL.md +62 -62
- package/skills/retire/SKILL.md +41 -41
- package/skills/review/SKILL.md +167 -167
- package/skills/settings/SKILL.md +73 -73
- package/skills/setup/SKILL.md +128 -128
- package/skills/supersede/SKILL.md +136 -136
- package/skills/upgrade/SKILL.md +273 -273
- package/templates/adr-kit-guide.md +354 -354
- package/templates/adr-template.canonical.md +115 -115
- package/templates/adr-template.madr.md +131 -131
- package/templates/adr-template.md +131 -131
- package/templates/adr-template.nygard.md +111 -111
- package/templates/cc-settings/guardian-hook-entry.json +9 -9
- package/templates/githooks/pre-commit +1 -1
- package/templates/github-workflows/adr-audit.yml +58 -58
- package/templates/github-workflows/adr-guardian-audit.yml +133 -133
- package/templates/github-workflows/adr-index-check.yml +30 -30
- package/templates/github-workflows/adr-judge.yml +31 -31
- package/templates/github-workflows/adr-readiness.yml +18 -18
- package/templates/validate_adr_template.py +38 -38
- package/templates/validate_adr_template.sh +74 -74
|
@@ -1,503 +1,503 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
-
"$id": "https://github.com/rvdbreemen/adr-kit/schemas/client-capabilities.schema.json",
|
|
4
|
-
"title": "ADR Kit three-client capability registry",
|
|
5
|
-
"description": "Versioned capability and evidence references for Claude Code CLI, Codex CLI, and GitHub Copilot CLI.",
|
|
6
|
-
"type": "object",
|
|
7
|
-
"additionalProperties": false,
|
|
8
|
-
"required": [
|
|
9
|
-
"$schema",
|
|
10
|
-
"schema_version",
|
|
11
|
-
"program_scope",
|
|
12
|
-
"ownership",
|
|
13
|
-
"settings",
|
|
14
|
-
"clients",
|
|
15
|
-
"certification"
|
|
16
|
-
],
|
|
17
|
-
"properties": {
|
|
18
|
-
"$schema": {
|
|
19
|
-
"type": "string",
|
|
20
|
-
"minLength": 1
|
|
21
|
-
},
|
|
22
|
-
"schema_version": {
|
|
23
|
-
"const": 1
|
|
24
|
-
},
|
|
25
|
-
"program_scope": {
|
|
26
|
-
"type": "object",
|
|
27
|
-
"additionalProperties": false,
|
|
28
|
-
"required": [
|
|
29
|
-
"first_class_clients",
|
|
30
|
-
"future_epic"
|
|
31
|
-
],
|
|
32
|
-
"properties": {
|
|
33
|
-
"first_class_clients": {
|
|
34
|
-
"const": [
|
|
35
|
-
"claude-code-cli",
|
|
36
|
-
"codex-cli",
|
|
37
|
-
"github-copilot-cli"
|
|
38
|
-
]
|
|
39
|
-
},
|
|
40
|
-
"future_epic": {
|
|
41
|
-
"const": "TASK-43"
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
},
|
|
45
|
-
"ownership": {
|
|
46
|
-
"type": "object",
|
|
47
|
-
"additionalProperties": false,
|
|
48
|
-
"required": [
|
|
49
|
-
"canonical",
|
|
50
|
-
"generated",
|
|
51
|
-
"hand_authored_validated"
|
|
52
|
-
],
|
|
53
|
-
"properties": {
|
|
54
|
-
"canonical": {
|
|
55
|
-
"$ref": "#/$defs/artifactPatterns"
|
|
56
|
-
},
|
|
57
|
-
"generated": {
|
|
58
|
-
"$ref": "#/$defs/artifactPatterns"
|
|
59
|
-
},
|
|
60
|
-
"hand_authored_validated": {
|
|
61
|
-
"$ref": "#/$defs/artifactPatterns"
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
},
|
|
65
|
-
"settings": {
|
|
66
|
-
"type": "object",
|
|
67
|
-
"additionalProperties": false,
|
|
68
|
-
"required": [
|
|
69
|
-
"precedence",
|
|
70
|
-
"definitions"
|
|
71
|
-
],
|
|
72
|
-
"properties": {
|
|
73
|
-
"precedence": {
|
|
74
|
-
"const": [
|
|
75
|
-
"project",
|
|
76
|
-
"global",
|
|
77
|
-
"detected-default"
|
|
78
|
-
]
|
|
79
|
-
},
|
|
80
|
-
"definitions": {
|
|
81
|
-
"type": "array",
|
|
82
|
-
"items": {
|
|
83
|
-
"$ref": "#/$defs/setting"
|
|
84
|
-
},
|
|
85
|
-
"uniqueItems": true
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
},
|
|
89
|
-
"clients": {
|
|
90
|
-
"type": "array",
|
|
91
|
-
"minItems": 3,
|
|
92
|
-
"maxItems": 3,
|
|
93
|
-
"uniqueItems": true,
|
|
94
|
-
"items": {
|
|
95
|
-
"$ref": "#/$defs/client"
|
|
96
|
-
},
|
|
97
|
-
"allOf": [
|
|
98
|
-
{
|
|
99
|
-
"contains": {
|
|
100
|
-
"type": "object",
|
|
101
|
-
"required": [
|
|
102
|
-
"id"
|
|
103
|
-
],
|
|
104
|
-
"properties": {
|
|
105
|
-
"id": {
|
|
106
|
-
"const": "claude-code-cli"
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
},
|
|
110
|
-
"minContains": 1,
|
|
111
|
-
"maxContains": 1
|
|
112
|
-
},
|
|
113
|
-
{
|
|
114
|
-
"contains": {
|
|
115
|
-
"type": "object",
|
|
116
|
-
"required": [
|
|
117
|
-
"id"
|
|
118
|
-
],
|
|
119
|
-
"properties": {
|
|
120
|
-
"id": {
|
|
121
|
-
"const": "codex-cli"
|
|
122
|
-
}
|
|
123
|
-
}
|
|
124
|
-
},
|
|
125
|
-
"minContains": 1,
|
|
126
|
-
"maxContains": 1
|
|
127
|
-
},
|
|
128
|
-
{
|
|
129
|
-
"contains": {
|
|
130
|
-
"type": "object",
|
|
131
|
-
"required": [
|
|
132
|
-
"id"
|
|
133
|
-
],
|
|
134
|
-
"properties": {
|
|
135
|
-
"id": {
|
|
136
|
-
"const": "github-copilot-cli"
|
|
137
|
-
}
|
|
138
|
-
}
|
|
139
|
-
},
|
|
140
|
-
"minContains": 1,
|
|
141
|
-
"maxContains": 1
|
|
142
|
-
}
|
|
143
|
-
]
|
|
144
|
-
},
|
|
145
|
-
"certification": {
|
|
146
|
-
"type": "object",
|
|
147
|
-
"additionalProperties": false,
|
|
148
|
-
"required": [
|
|
149
|
-
"windows_native_required",
|
|
150
|
-
"best_effort_platforms",
|
|
151
|
-
"all_clients_block_release",
|
|
152
|
-
"evidence_schema"
|
|
153
|
-
],
|
|
154
|
-
"properties": {
|
|
155
|
-
"windows_native_required": {
|
|
156
|
-
"const": true
|
|
157
|
-
},
|
|
158
|
-
"best_effort_platforms": {
|
|
159
|
-
"const": [
|
|
160
|
-
"macos",
|
|
161
|
-
"linux"
|
|
162
|
-
]
|
|
163
|
-
},
|
|
164
|
-
"all_clients_block_release": {
|
|
165
|
-
"const": true
|
|
166
|
-
},
|
|
167
|
-
"evidence_schema": {
|
|
168
|
-
"type": "string",
|
|
169
|
-
"minLength": 1
|
|
170
|
-
}
|
|
171
|
-
}
|
|
172
|
-
},
|
|
173
|
-
"exceptions": {
|
|
174
|
-
"type": "array",
|
|
175
|
-
"items": {
|
|
176
|
-
"$ref": "#/$defs/exception"
|
|
177
|
-
},
|
|
178
|
-
"uniqueItems": true
|
|
179
|
-
}
|
|
180
|
-
},
|
|
181
|
-
"$defs": {
|
|
182
|
-
"artifactPatterns": {
|
|
183
|
-
"type": "array",
|
|
184
|
-
"minItems": 1,
|
|
185
|
-
"items": {
|
|
186
|
-
"type": "string",
|
|
187
|
-
"minLength": 1
|
|
188
|
-
},
|
|
189
|
-
"uniqueItems": true
|
|
190
|
-
},
|
|
191
|
-
"setting": {
|
|
192
|
-
"type": "object",
|
|
193
|
-
"additionalProperties": false,
|
|
194
|
-
"required": [
|
|
195
|
-
"key",
|
|
196
|
-
"value_type",
|
|
197
|
-
"scopes"
|
|
198
|
-
],
|
|
199
|
-
"properties": {
|
|
200
|
-
"key": {
|
|
201
|
-
"type": "string",
|
|
202
|
-
"minLength": 1
|
|
203
|
-
},
|
|
204
|
-
"value_type": {
|
|
205
|
-
"enum": [
|
|
206
|
-
"boolean",
|
|
207
|
-
"string",
|
|
208
|
-
"integer"
|
|
209
|
-
]
|
|
210
|
-
},
|
|
211
|
-
"scopes": {
|
|
212
|
-
"type": "array",
|
|
213
|
-
"minItems": 1,
|
|
214
|
-
"items": {
|
|
215
|
-
"enum": [
|
|
216
|
-
"global",
|
|
217
|
-
"project"
|
|
218
|
-
]
|
|
219
|
-
},
|
|
220
|
-
"uniqueItems": true
|
|
221
|
-
}
|
|
222
|
-
}
|
|
223
|
-
},
|
|
224
|
-
"outcome": {
|
|
225
|
-
"enum": [
|
|
226
|
-
"workflow-discovery",
|
|
227
|
-
"task-context",
|
|
228
|
-
"edit-governance",
|
|
229
|
-
"mcp",
|
|
230
|
-
"pre-commit",
|
|
231
|
-
"lifecycle",
|
|
232
|
-
"doctor"
|
|
233
|
-
]
|
|
234
|
-
},
|
|
235
|
-
"platformScope": {
|
|
236
|
-
"type": "object",
|
|
237
|
-
"additionalProperties": false,
|
|
238
|
-
"required": [
|
|
239
|
-
"windows",
|
|
240
|
-
"macos",
|
|
241
|
-
"linux"
|
|
242
|
-
],
|
|
243
|
-
"properties": {
|
|
244
|
-
"windows": {
|
|
245
|
-
"const": "release-required"
|
|
246
|
-
},
|
|
247
|
-
"macos": {
|
|
248
|
-
"const": "best-effort"
|
|
249
|
-
},
|
|
250
|
-
"linux": {
|
|
251
|
-
"const": "best-effort"
|
|
252
|
-
}
|
|
253
|
-
}
|
|
254
|
-
},
|
|
255
|
-
"eventMapping": {
|
|
256
|
-
"type": "object",
|
|
257
|
-
"additionalProperties": false,
|
|
258
|
-
"required": [
|
|
259
|
-
"outcome",
|
|
260
|
-
"mode"
|
|
261
|
-
],
|
|
262
|
-
"properties": {
|
|
263
|
-
"outcome": {
|
|
264
|
-
"$ref": "#/$defs/outcome"
|
|
265
|
-
},
|
|
266
|
-
"mode": {
|
|
267
|
-
"enum": [
|
|
268
|
-
"native",
|
|
269
|
-
"backstop",
|
|
270
|
-
"unsupported"
|
|
271
|
-
]
|
|
272
|
-
},
|
|
273
|
-
"native_event": {
|
|
274
|
-
"type": [
|
|
275
|
-
"string",
|
|
276
|
-
"null"
|
|
277
|
-
]
|
|
278
|
-
},
|
|
279
|
-
"degradation_id": {
|
|
280
|
-
"type": [
|
|
281
|
-
"string",
|
|
282
|
-
"null"
|
|
283
|
-
]
|
|
284
|
-
}
|
|
285
|
-
}
|
|
286
|
-
},
|
|
287
|
-
"degradation": {
|
|
288
|
-
"type": "object",
|
|
289
|
-
"additionalProperties": false,
|
|
290
|
-
"required": [
|
|
291
|
-
"id",
|
|
292
|
-
"outcome",
|
|
293
|
-
"reason",
|
|
294
|
-
"user_effect",
|
|
295
|
-
"backstop",
|
|
296
|
-
"blocks_certification"
|
|
297
|
-
],
|
|
298
|
-
"properties": {
|
|
299
|
-
"id": {
|
|
300
|
-
"type": "string",
|
|
301
|
-
"minLength": 1
|
|
302
|
-
},
|
|
303
|
-
"outcome": {
|
|
304
|
-
"$ref": "#/$defs/outcome"
|
|
305
|
-
},
|
|
306
|
-
"reason": {
|
|
307
|
-
"type": "string",
|
|
308
|
-
"minLength": 1
|
|
309
|
-
},
|
|
310
|
-
"user_effect": {
|
|
311
|
-
"type": "string",
|
|
312
|
-
"minLength": 1
|
|
313
|
-
},
|
|
314
|
-
"backstop": {
|
|
315
|
-
"type": "string",
|
|
316
|
-
"minLength": 1
|
|
317
|
-
},
|
|
318
|
-
"blocks_certification": {
|
|
319
|
-
"type": "boolean"
|
|
320
|
-
}
|
|
321
|
-
}
|
|
322
|
-
},
|
|
323
|
-
"exception": {
|
|
324
|
-
"type": "object",
|
|
325
|
-
"additionalProperties": false,
|
|
326
|
-
"required": [
|
|
327
|
-
"id",
|
|
328
|
-
"fixture",
|
|
329
|
-
"rationale",
|
|
330
|
-
"user_effect"
|
|
331
|
-
],
|
|
332
|
-
"properties": {
|
|
333
|
-
"id": {
|
|
334
|
-
"type": "string",
|
|
335
|
-
"minLength": 1
|
|
336
|
-
},
|
|
337
|
-
"fixture": {
|
|
338
|
-
"type": "string",
|
|
339
|
-
"minLength": 1
|
|
340
|
-
},
|
|
341
|
-
"rationale": {
|
|
342
|
-
"type": "string",
|
|
343
|
-
"minLength": 1
|
|
344
|
-
},
|
|
345
|
-
"user_effect": {
|
|
346
|
-
"type": "string",
|
|
347
|
-
"minLength": 1
|
|
348
|
-
}
|
|
349
|
-
}
|
|
350
|
-
},
|
|
351
|
-
"probes": {
|
|
352
|
-
"type": "object",
|
|
353
|
-
"additionalProperties": false,
|
|
354
|
-
"required": [
|
|
355
|
-
"detect",
|
|
356
|
-
"install",
|
|
357
|
-
"update",
|
|
358
|
-
"rollback",
|
|
359
|
-
"disable",
|
|
360
|
-
"remove",
|
|
361
|
-
"doctor"
|
|
362
|
-
],
|
|
363
|
-
"properties": {
|
|
364
|
-
"detect": {
|
|
365
|
-
"type": "string",
|
|
366
|
-
"minLength": 1
|
|
367
|
-
},
|
|
368
|
-
"install": {
|
|
369
|
-
"type": "string",
|
|
370
|
-
"minLength": 1
|
|
371
|
-
},
|
|
372
|
-
"update": {
|
|
373
|
-
"type": "string",
|
|
374
|
-
"minLength": 1
|
|
375
|
-
},
|
|
376
|
-
"rollback": {
|
|
377
|
-
"type": "string",
|
|
378
|
-
"minLength": 1
|
|
379
|
-
},
|
|
380
|
-
"disable": {
|
|
381
|
-
"type": "string",
|
|
382
|
-
"minLength": 1
|
|
383
|
-
},
|
|
384
|
-
"remove": {
|
|
385
|
-
"type": "string",
|
|
386
|
-
"minLength": 1
|
|
387
|
-
},
|
|
388
|
-
"doctor": {
|
|
389
|
-
"type": "string",
|
|
390
|
-
"minLength": 1
|
|
391
|
-
}
|
|
392
|
-
}
|
|
393
|
-
},
|
|
394
|
-
"client": {
|
|
395
|
-
"type": "object",
|
|
396
|
-
"additionalProperties": false,
|
|
397
|
-
"required": [
|
|
398
|
-
"id",
|
|
399
|
-
"surface",
|
|
400
|
-
"platforms",
|
|
401
|
-
"required_outcomes",
|
|
402
|
-
"event_mappings",
|
|
403
|
-
"degradations",
|
|
404
|
-
"probes",
|
|
405
|
-
"settings_keys",
|
|
406
|
-
"certification_ref"
|
|
407
|
-
],
|
|
408
|
-
"properties": {
|
|
409
|
-
"id": {
|
|
410
|
-
"enum": [
|
|
411
|
-
"claude-code-cli",
|
|
412
|
-
"codex-cli",
|
|
413
|
-
"github-copilot-cli"
|
|
414
|
-
]
|
|
415
|
-
},
|
|
416
|
-
"surface": {
|
|
417
|
-
"const": "cli"
|
|
418
|
-
},
|
|
419
|
-
"platforms": {
|
|
420
|
-
"$ref": "#/$defs/platformScope"
|
|
421
|
-
},
|
|
422
|
-
"required_outcomes": {
|
|
423
|
-
"type": "array",
|
|
424
|
-
"minItems": 7,
|
|
425
|
-
"maxItems": 7,
|
|
426
|
-
"uniqueItems": true,
|
|
427
|
-
"items": {
|
|
428
|
-
"$ref": "#/$defs/outcome"
|
|
429
|
-
},
|
|
430
|
-
"allOf": [
|
|
431
|
-
{
|
|
432
|
-
"contains": {
|
|
433
|
-
"const": "workflow-discovery"
|
|
434
|
-
}
|
|
435
|
-
},
|
|
436
|
-
{
|
|
437
|
-
"contains": {
|
|
438
|
-
"const": "task-context"
|
|
439
|
-
}
|
|
440
|
-
},
|
|
441
|
-
{
|
|
442
|
-
"contains": {
|
|
443
|
-
"const": "edit-governance"
|
|
444
|
-
}
|
|
445
|
-
},
|
|
446
|
-
{
|
|
447
|
-
"contains": {
|
|
448
|
-
"const": "mcp"
|
|
449
|
-
}
|
|
450
|
-
},
|
|
451
|
-
{
|
|
452
|
-
"contains": {
|
|
453
|
-
"const": "pre-commit"
|
|
454
|
-
}
|
|
455
|
-
},
|
|
456
|
-
{
|
|
457
|
-
"contains": {
|
|
458
|
-
"const": "lifecycle"
|
|
459
|
-
}
|
|
460
|
-
},
|
|
461
|
-
{
|
|
462
|
-
"contains": {
|
|
463
|
-
"const": "doctor"
|
|
464
|
-
}
|
|
465
|
-
}
|
|
466
|
-
]
|
|
467
|
-
},
|
|
468
|
-
"event_mappings": {
|
|
469
|
-
"type": "object",
|
|
470
|
-
"propertyNames": {
|
|
471
|
-
"minLength": 1
|
|
472
|
-
},
|
|
473
|
-
"additionalProperties": {
|
|
474
|
-
"$ref": "#/$defs/eventMapping"
|
|
475
|
-
}
|
|
476
|
-
},
|
|
477
|
-
"degradations": {
|
|
478
|
-
"type": "array",
|
|
479
|
-
"items": {
|
|
480
|
-
"$ref": "#/$defs/degradation"
|
|
481
|
-
},
|
|
482
|
-
"uniqueItems": true
|
|
483
|
-
},
|
|
484
|
-
"probes": {
|
|
485
|
-
"$ref": "#/$defs/probes"
|
|
486
|
-
},
|
|
487
|
-
"settings_keys": {
|
|
488
|
-
"type": "array",
|
|
489
|
-
"minItems": 1,
|
|
490
|
-
"items": {
|
|
491
|
-
"type": "string",
|
|
492
|
-
"minLength": 1
|
|
493
|
-
},
|
|
494
|
-
"uniqueItems": true
|
|
495
|
-
},
|
|
496
|
-
"certification_ref": {
|
|
497
|
-
"type": "string",
|
|
498
|
-
"minLength": 1
|
|
499
|
-
}
|
|
500
|
-
}
|
|
501
|
-
}
|
|
502
|
-
}
|
|
503
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://github.com/rvdbreemen/adr-kit/schemas/client-capabilities.schema.json",
|
|
4
|
+
"title": "ADR Kit three-client capability registry",
|
|
5
|
+
"description": "Versioned capability and evidence references for Claude Code CLI, Codex CLI, and GitHub Copilot CLI.",
|
|
6
|
+
"type": "object",
|
|
7
|
+
"additionalProperties": false,
|
|
8
|
+
"required": [
|
|
9
|
+
"$schema",
|
|
10
|
+
"schema_version",
|
|
11
|
+
"program_scope",
|
|
12
|
+
"ownership",
|
|
13
|
+
"settings",
|
|
14
|
+
"clients",
|
|
15
|
+
"certification"
|
|
16
|
+
],
|
|
17
|
+
"properties": {
|
|
18
|
+
"$schema": {
|
|
19
|
+
"type": "string",
|
|
20
|
+
"minLength": 1
|
|
21
|
+
},
|
|
22
|
+
"schema_version": {
|
|
23
|
+
"const": 1
|
|
24
|
+
},
|
|
25
|
+
"program_scope": {
|
|
26
|
+
"type": "object",
|
|
27
|
+
"additionalProperties": false,
|
|
28
|
+
"required": [
|
|
29
|
+
"first_class_clients",
|
|
30
|
+
"future_epic"
|
|
31
|
+
],
|
|
32
|
+
"properties": {
|
|
33
|
+
"first_class_clients": {
|
|
34
|
+
"const": [
|
|
35
|
+
"claude-code-cli",
|
|
36
|
+
"codex-cli",
|
|
37
|
+
"github-copilot-cli"
|
|
38
|
+
]
|
|
39
|
+
},
|
|
40
|
+
"future_epic": {
|
|
41
|
+
"const": "TASK-43"
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
"ownership": {
|
|
46
|
+
"type": "object",
|
|
47
|
+
"additionalProperties": false,
|
|
48
|
+
"required": [
|
|
49
|
+
"canonical",
|
|
50
|
+
"generated",
|
|
51
|
+
"hand_authored_validated"
|
|
52
|
+
],
|
|
53
|
+
"properties": {
|
|
54
|
+
"canonical": {
|
|
55
|
+
"$ref": "#/$defs/artifactPatterns"
|
|
56
|
+
},
|
|
57
|
+
"generated": {
|
|
58
|
+
"$ref": "#/$defs/artifactPatterns"
|
|
59
|
+
},
|
|
60
|
+
"hand_authored_validated": {
|
|
61
|
+
"$ref": "#/$defs/artifactPatterns"
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
"settings": {
|
|
66
|
+
"type": "object",
|
|
67
|
+
"additionalProperties": false,
|
|
68
|
+
"required": [
|
|
69
|
+
"precedence",
|
|
70
|
+
"definitions"
|
|
71
|
+
],
|
|
72
|
+
"properties": {
|
|
73
|
+
"precedence": {
|
|
74
|
+
"const": [
|
|
75
|
+
"project",
|
|
76
|
+
"global",
|
|
77
|
+
"detected-default"
|
|
78
|
+
]
|
|
79
|
+
},
|
|
80
|
+
"definitions": {
|
|
81
|
+
"type": "array",
|
|
82
|
+
"items": {
|
|
83
|
+
"$ref": "#/$defs/setting"
|
|
84
|
+
},
|
|
85
|
+
"uniqueItems": true
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
},
|
|
89
|
+
"clients": {
|
|
90
|
+
"type": "array",
|
|
91
|
+
"minItems": 3,
|
|
92
|
+
"maxItems": 3,
|
|
93
|
+
"uniqueItems": true,
|
|
94
|
+
"items": {
|
|
95
|
+
"$ref": "#/$defs/client"
|
|
96
|
+
},
|
|
97
|
+
"allOf": [
|
|
98
|
+
{
|
|
99
|
+
"contains": {
|
|
100
|
+
"type": "object",
|
|
101
|
+
"required": [
|
|
102
|
+
"id"
|
|
103
|
+
],
|
|
104
|
+
"properties": {
|
|
105
|
+
"id": {
|
|
106
|
+
"const": "claude-code-cli"
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
},
|
|
110
|
+
"minContains": 1,
|
|
111
|
+
"maxContains": 1
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
"contains": {
|
|
115
|
+
"type": "object",
|
|
116
|
+
"required": [
|
|
117
|
+
"id"
|
|
118
|
+
],
|
|
119
|
+
"properties": {
|
|
120
|
+
"id": {
|
|
121
|
+
"const": "codex-cli"
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
},
|
|
125
|
+
"minContains": 1,
|
|
126
|
+
"maxContains": 1
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
"contains": {
|
|
130
|
+
"type": "object",
|
|
131
|
+
"required": [
|
|
132
|
+
"id"
|
|
133
|
+
],
|
|
134
|
+
"properties": {
|
|
135
|
+
"id": {
|
|
136
|
+
"const": "github-copilot-cli"
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
},
|
|
140
|
+
"minContains": 1,
|
|
141
|
+
"maxContains": 1
|
|
142
|
+
}
|
|
143
|
+
]
|
|
144
|
+
},
|
|
145
|
+
"certification": {
|
|
146
|
+
"type": "object",
|
|
147
|
+
"additionalProperties": false,
|
|
148
|
+
"required": [
|
|
149
|
+
"windows_native_required",
|
|
150
|
+
"best_effort_platforms",
|
|
151
|
+
"all_clients_block_release",
|
|
152
|
+
"evidence_schema"
|
|
153
|
+
],
|
|
154
|
+
"properties": {
|
|
155
|
+
"windows_native_required": {
|
|
156
|
+
"const": true
|
|
157
|
+
},
|
|
158
|
+
"best_effort_platforms": {
|
|
159
|
+
"const": [
|
|
160
|
+
"macos",
|
|
161
|
+
"linux"
|
|
162
|
+
]
|
|
163
|
+
},
|
|
164
|
+
"all_clients_block_release": {
|
|
165
|
+
"const": true
|
|
166
|
+
},
|
|
167
|
+
"evidence_schema": {
|
|
168
|
+
"type": "string",
|
|
169
|
+
"minLength": 1
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
},
|
|
173
|
+
"exceptions": {
|
|
174
|
+
"type": "array",
|
|
175
|
+
"items": {
|
|
176
|
+
"$ref": "#/$defs/exception"
|
|
177
|
+
},
|
|
178
|
+
"uniqueItems": true
|
|
179
|
+
}
|
|
180
|
+
},
|
|
181
|
+
"$defs": {
|
|
182
|
+
"artifactPatterns": {
|
|
183
|
+
"type": "array",
|
|
184
|
+
"minItems": 1,
|
|
185
|
+
"items": {
|
|
186
|
+
"type": "string",
|
|
187
|
+
"minLength": 1
|
|
188
|
+
},
|
|
189
|
+
"uniqueItems": true
|
|
190
|
+
},
|
|
191
|
+
"setting": {
|
|
192
|
+
"type": "object",
|
|
193
|
+
"additionalProperties": false,
|
|
194
|
+
"required": [
|
|
195
|
+
"key",
|
|
196
|
+
"value_type",
|
|
197
|
+
"scopes"
|
|
198
|
+
],
|
|
199
|
+
"properties": {
|
|
200
|
+
"key": {
|
|
201
|
+
"type": "string",
|
|
202
|
+
"minLength": 1
|
|
203
|
+
},
|
|
204
|
+
"value_type": {
|
|
205
|
+
"enum": [
|
|
206
|
+
"boolean",
|
|
207
|
+
"string",
|
|
208
|
+
"integer"
|
|
209
|
+
]
|
|
210
|
+
},
|
|
211
|
+
"scopes": {
|
|
212
|
+
"type": "array",
|
|
213
|
+
"minItems": 1,
|
|
214
|
+
"items": {
|
|
215
|
+
"enum": [
|
|
216
|
+
"global",
|
|
217
|
+
"project"
|
|
218
|
+
]
|
|
219
|
+
},
|
|
220
|
+
"uniqueItems": true
|
|
221
|
+
}
|
|
222
|
+
}
|
|
223
|
+
},
|
|
224
|
+
"outcome": {
|
|
225
|
+
"enum": [
|
|
226
|
+
"workflow-discovery",
|
|
227
|
+
"task-context",
|
|
228
|
+
"edit-governance",
|
|
229
|
+
"mcp",
|
|
230
|
+
"pre-commit",
|
|
231
|
+
"lifecycle",
|
|
232
|
+
"doctor"
|
|
233
|
+
]
|
|
234
|
+
},
|
|
235
|
+
"platformScope": {
|
|
236
|
+
"type": "object",
|
|
237
|
+
"additionalProperties": false,
|
|
238
|
+
"required": [
|
|
239
|
+
"windows",
|
|
240
|
+
"macos",
|
|
241
|
+
"linux"
|
|
242
|
+
],
|
|
243
|
+
"properties": {
|
|
244
|
+
"windows": {
|
|
245
|
+
"const": "release-required"
|
|
246
|
+
},
|
|
247
|
+
"macos": {
|
|
248
|
+
"const": "best-effort"
|
|
249
|
+
},
|
|
250
|
+
"linux": {
|
|
251
|
+
"const": "best-effort"
|
|
252
|
+
}
|
|
253
|
+
}
|
|
254
|
+
},
|
|
255
|
+
"eventMapping": {
|
|
256
|
+
"type": "object",
|
|
257
|
+
"additionalProperties": false,
|
|
258
|
+
"required": [
|
|
259
|
+
"outcome",
|
|
260
|
+
"mode"
|
|
261
|
+
],
|
|
262
|
+
"properties": {
|
|
263
|
+
"outcome": {
|
|
264
|
+
"$ref": "#/$defs/outcome"
|
|
265
|
+
},
|
|
266
|
+
"mode": {
|
|
267
|
+
"enum": [
|
|
268
|
+
"native",
|
|
269
|
+
"backstop",
|
|
270
|
+
"unsupported"
|
|
271
|
+
]
|
|
272
|
+
},
|
|
273
|
+
"native_event": {
|
|
274
|
+
"type": [
|
|
275
|
+
"string",
|
|
276
|
+
"null"
|
|
277
|
+
]
|
|
278
|
+
},
|
|
279
|
+
"degradation_id": {
|
|
280
|
+
"type": [
|
|
281
|
+
"string",
|
|
282
|
+
"null"
|
|
283
|
+
]
|
|
284
|
+
}
|
|
285
|
+
}
|
|
286
|
+
},
|
|
287
|
+
"degradation": {
|
|
288
|
+
"type": "object",
|
|
289
|
+
"additionalProperties": false,
|
|
290
|
+
"required": [
|
|
291
|
+
"id",
|
|
292
|
+
"outcome",
|
|
293
|
+
"reason",
|
|
294
|
+
"user_effect",
|
|
295
|
+
"backstop",
|
|
296
|
+
"blocks_certification"
|
|
297
|
+
],
|
|
298
|
+
"properties": {
|
|
299
|
+
"id": {
|
|
300
|
+
"type": "string",
|
|
301
|
+
"minLength": 1
|
|
302
|
+
},
|
|
303
|
+
"outcome": {
|
|
304
|
+
"$ref": "#/$defs/outcome"
|
|
305
|
+
},
|
|
306
|
+
"reason": {
|
|
307
|
+
"type": "string",
|
|
308
|
+
"minLength": 1
|
|
309
|
+
},
|
|
310
|
+
"user_effect": {
|
|
311
|
+
"type": "string",
|
|
312
|
+
"minLength": 1
|
|
313
|
+
},
|
|
314
|
+
"backstop": {
|
|
315
|
+
"type": "string",
|
|
316
|
+
"minLength": 1
|
|
317
|
+
},
|
|
318
|
+
"blocks_certification": {
|
|
319
|
+
"type": "boolean"
|
|
320
|
+
}
|
|
321
|
+
}
|
|
322
|
+
},
|
|
323
|
+
"exception": {
|
|
324
|
+
"type": "object",
|
|
325
|
+
"additionalProperties": false,
|
|
326
|
+
"required": [
|
|
327
|
+
"id",
|
|
328
|
+
"fixture",
|
|
329
|
+
"rationale",
|
|
330
|
+
"user_effect"
|
|
331
|
+
],
|
|
332
|
+
"properties": {
|
|
333
|
+
"id": {
|
|
334
|
+
"type": "string",
|
|
335
|
+
"minLength": 1
|
|
336
|
+
},
|
|
337
|
+
"fixture": {
|
|
338
|
+
"type": "string",
|
|
339
|
+
"minLength": 1
|
|
340
|
+
},
|
|
341
|
+
"rationale": {
|
|
342
|
+
"type": "string",
|
|
343
|
+
"minLength": 1
|
|
344
|
+
},
|
|
345
|
+
"user_effect": {
|
|
346
|
+
"type": "string",
|
|
347
|
+
"minLength": 1
|
|
348
|
+
}
|
|
349
|
+
}
|
|
350
|
+
},
|
|
351
|
+
"probes": {
|
|
352
|
+
"type": "object",
|
|
353
|
+
"additionalProperties": false,
|
|
354
|
+
"required": [
|
|
355
|
+
"detect",
|
|
356
|
+
"install",
|
|
357
|
+
"update",
|
|
358
|
+
"rollback",
|
|
359
|
+
"disable",
|
|
360
|
+
"remove",
|
|
361
|
+
"doctor"
|
|
362
|
+
],
|
|
363
|
+
"properties": {
|
|
364
|
+
"detect": {
|
|
365
|
+
"type": "string",
|
|
366
|
+
"minLength": 1
|
|
367
|
+
},
|
|
368
|
+
"install": {
|
|
369
|
+
"type": "string",
|
|
370
|
+
"minLength": 1
|
|
371
|
+
},
|
|
372
|
+
"update": {
|
|
373
|
+
"type": "string",
|
|
374
|
+
"minLength": 1
|
|
375
|
+
},
|
|
376
|
+
"rollback": {
|
|
377
|
+
"type": "string",
|
|
378
|
+
"minLength": 1
|
|
379
|
+
},
|
|
380
|
+
"disable": {
|
|
381
|
+
"type": "string",
|
|
382
|
+
"minLength": 1
|
|
383
|
+
},
|
|
384
|
+
"remove": {
|
|
385
|
+
"type": "string",
|
|
386
|
+
"minLength": 1
|
|
387
|
+
},
|
|
388
|
+
"doctor": {
|
|
389
|
+
"type": "string",
|
|
390
|
+
"minLength": 1
|
|
391
|
+
}
|
|
392
|
+
}
|
|
393
|
+
},
|
|
394
|
+
"client": {
|
|
395
|
+
"type": "object",
|
|
396
|
+
"additionalProperties": false,
|
|
397
|
+
"required": [
|
|
398
|
+
"id",
|
|
399
|
+
"surface",
|
|
400
|
+
"platforms",
|
|
401
|
+
"required_outcomes",
|
|
402
|
+
"event_mappings",
|
|
403
|
+
"degradations",
|
|
404
|
+
"probes",
|
|
405
|
+
"settings_keys",
|
|
406
|
+
"certification_ref"
|
|
407
|
+
],
|
|
408
|
+
"properties": {
|
|
409
|
+
"id": {
|
|
410
|
+
"enum": [
|
|
411
|
+
"claude-code-cli",
|
|
412
|
+
"codex-cli",
|
|
413
|
+
"github-copilot-cli"
|
|
414
|
+
]
|
|
415
|
+
},
|
|
416
|
+
"surface": {
|
|
417
|
+
"const": "cli"
|
|
418
|
+
},
|
|
419
|
+
"platforms": {
|
|
420
|
+
"$ref": "#/$defs/platformScope"
|
|
421
|
+
},
|
|
422
|
+
"required_outcomes": {
|
|
423
|
+
"type": "array",
|
|
424
|
+
"minItems": 7,
|
|
425
|
+
"maxItems": 7,
|
|
426
|
+
"uniqueItems": true,
|
|
427
|
+
"items": {
|
|
428
|
+
"$ref": "#/$defs/outcome"
|
|
429
|
+
},
|
|
430
|
+
"allOf": [
|
|
431
|
+
{
|
|
432
|
+
"contains": {
|
|
433
|
+
"const": "workflow-discovery"
|
|
434
|
+
}
|
|
435
|
+
},
|
|
436
|
+
{
|
|
437
|
+
"contains": {
|
|
438
|
+
"const": "task-context"
|
|
439
|
+
}
|
|
440
|
+
},
|
|
441
|
+
{
|
|
442
|
+
"contains": {
|
|
443
|
+
"const": "edit-governance"
|
|
444
|
+
}
|
|
445
|
+
},
|
|
446
|
+
{
|
|
447
|
+
"contains": {
|
|
448
|
+
"const": "mcp"
|
|
449
|
+
}
|
|
450
|
+
},
|
|
451
|
+
{
|
|
452
|
+
"contains": {
|
|
453
|
+
"const": "pre-commit"
|
|
454
|
+
}
|
|
455
|
+
},
|
|
456
|
+
{
|
|
457
|
+
"contains": {
|
|
458
|
+
"const": "lifecycle"
|
|
459
|
+
}
|
|
460
|
+
},
|
|
461
|
+
{
|
|
462
|
+
"contains": {
|
|
463
|
+
"const": "doctor"
|
|
464
|
+
}
|
|
465
|
+
}
|
|
466
|
+
]
|
|
467
|
+
},
|
|
468
|
+
"event_mappings": {
|
|
469
|
+
"type": "object",
|
|
470
|
+
"propertyNames": {
|
|
471
|
+
"minLength": 1
|
|
472
|
+
},
|
|
473
|
+
"additionalProperties": {
|
|
474
|
+
"$ref": "#/$defs/eventMapping"
|
|
475
|
+
}
|
|
476
|
+
},
|
|
477
|
+
"degradations": {
|
|
478
|
+
"type": "array",
|
|
479
|
+
"items": {
|
|
480
|
+
"$ref": "#/$defs/degradation"
|
|
481
|
+
},
|
|
482
|
+
"uniqueItems": true
|
|
483
|
+
},
|
|
484
|
+
"probes": {
|
|
485
|
+
"$ref": "#/$defs/probes"
|
|
486
|
+
},
|
|
487
|
+
"settings_keys": {
|
|
488
|
+
"type": "array",
|
|
489
|
+
"minItems": 1,
|
|
490
|
+
"items": {
|
|
491
|
+
"type": "string",
|
|
492
|
+
"minLength": 1
|
|
493
|
+
},
|
|
494
|
+
"uniqueItems": true
|
|
495
|
+
},
|
|
496
|
+
"certification_ref": {
|
|
497
|
+
"type": "string",
|
|
498
|
+
"minLength": 1
|
|
499
|
+
}
|
|
500
|
+
}
|
|
501
|
+
}
|
|
502
|
+
}
|
|
503
|
+
}
|