@vibe-engineer/artifacts 0.1.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.
@@ -0,0 +1,1693 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://schemas.vibe-engineer.dev/artifacts/v1/implementation-plan.schema.json",
4
+ "title": "ImplementationPlanV1",
5
+ "description": "Canonical DL-02 ImplementationPlanV1 artifact schema.",
6
+ "type": "object",
7
+ "additionalProperties": false,
8
+ "properties": {
9
+ "schemaVersion": {
10
+ "type": "string",
11
+ "minLength": 1,
12
+ "const": "1.0.0",
13
+ "pattern": "^\\d+\\.\\d+\\.\\d+$"
14
+ },
15
+ "artifactKind": {
16
+ "type": "string",
17
+ "minLength": 1,
18
+ "const": "implementation_plan",
19
+ "enum": [
20
+ "implementation_plan"
21
+ ]
22
+ },
23
+ "artifactId": {
24
+ "type": "string",
25
+ "minLength": 1,
26
+ "pattern": "^[a-z0-9][a-z0-9._:-]*$"
27
+ },
28
+ "title": {
29
+ "type": "string",
30
+ "minLength": 1
31
+ },
32
+ "createdAt": {
33
+ "type": "string",
34
+ "minLength": 1,
35
+ "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$|^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}Z$"
36
+ },
37
+ "updatedAt": {
38
+ "type": "string",
39
+ "minLength": 1,
40
+ "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$|^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}Z$"
41
+ },
42
+ "producer": {
43
+ "type": "object",
44
+ "additionalProperties": false,
45
+ "properties": {
46
+ "kind": {
47
+ "type": "string",
48
+ "minLength": 1,
49
+ "enum": [
50
+ "skill",
51
+ "agent",
52
+ "cli",
53
+ "schematic",
54
+ "verification_runner",
55
+ "human_operator",
56
+ "system"
57
+ ]
58
+ },
59
+ "id": {
60
+ "type": "string",
61
+ "minLength": 1,
62
+ "pattern": "^[a-z0-9][a-z0-9._:-]*$"
63
+ },
64
+ "name": {
65
+ "type": "string",
66
+ "minLength": 1
67
+ },
68
+ "version": {
69
+ "type": "string",
70
+ "minLength": 1,
71
+ "pattern": "^\\d+\\.\\d+\\.\\d+$"
72
+ },
73
+ "runId": {
74
+ "type": "string",
75
+ "minLength": 1,
76
+ "pattern": "^[a-z0-9][a-z0-9._:-]*$"
77
+ }
78
+ },
79
+ "required": [
80
+ "kind",
81
+ "id",
82
+ "name"
83
+ ]
84
+ },
85
+ "status": {
86
+ "type": "string",
87
+ "minLength": 1,
88
+ "enum": [
89
+ "draft",
90
+ "approved",
91
+ "blocked",
92
+ "superseded"
93
+ ]
94
+ },
95
+ "ownership": {
96
+ "type": "object",
97
+ "additionalProperties": false,
98
+ "properties": {
99
+ "ownerLane": {
100
+ "type": "string",
101
+ "minLength": 1
102
+ },
103
+ "ownedWritePaths": {
104
+ "type": "array",
105
+ "items": {
106
+ "type": "string",
107
+ "minLength": 1,
108
+ "pattern": "^.+$"
109
+ },
110
+ "minItems": 1
111
+ },
112
+ "readOnlyPaths": {
113
+ "type": "array",
114
+ "items": {
115
+ "type": "string",
116
+ "minLength": 1,
117
+ "pattern": "^.+$"
118
+ }
119
+ },
120
+ "untouchablePaths": {
121
+ "type": "array",
122
+ "items": {
123
+ "type": "string",
124
+ "minLength": 1,
125
+ "pattern": "^.+$"
126
+ }
127
+ },
128
+ "concurrencyNotes": {
129
+ "type": "string",
130
+ "minLength": 1
131
+ },
132
+ "handoffPolicy": {
133
+ "type": "string",
134
+ "minLength": 1
135
+ }
136
+ },
137
+ "required": [
138
+ "ownerLane",
139
+ "ownedWritePaths",
140
+ "readOnlyPaths",
141
+ "untouchablePaths",
142
+ "concurrencyNotes"
143
+ ]
144
+ },
145
+ "links": {
146
+ "type": "array",
147
+ "items": {
148
+ "type": "object",
149
+ "additionalProperties": false,
150
+ "properties": {
151
+ "rel": {
152
+ "type": "string",
153
+ "minLength": 1,
154
+ "enum": [
155
+ "raw_intent",
156
+ "derived_from",
157
+ "supersedes",
158
+ "superseded_by",
159
+ "implements",
160
+ "verifies",
161
+ "evidence_for",
162
+ "consumed_by",
163
+ "produced_by",
164
+ "context_for",
165
+ "registry_entry_for",
166
+ "manifest_for",
167
+ "verification_delta_of",
168
+ "build_result_of",
169
+ "ship_packet_of"
170
+ ]
171
+ },
172
+ "artifactKind": {
173
+ "type": "string",
174
+ "minLength": 1,
175
+ "enum": [
176
+ "work_brief",
177
+ "implementation_plan",
178
+ "verification_delta",
179
+ "build_result",
180
+ "ship_packet",
181
+ "evidence_packet",
182
+ "agent_registry_entry",
183
+ "context_file_header",
184
+ "schematic_manifest",
185
+ "skill_manifest"
186
+ ]
187
+ },
188
+ "artifactId": {
189
+ "type": "string",
190
+ "minLength": 1,
191
+ "pattern": "^[a-z0-9][a-z0-9._:-]*$"
192
+ },
193
+ "path": {
194
+ "type": "string",
195
+ "minLength": 1,
196
+ "pattern": "^.+$"
197
+ },
198
+ "required": {
199
+ "type": "boolean"
200
+ },
201
+ "statusAtLinkTime": {
202
+ "type": "string",
203
+ "minLength": 1
204
+ }
205
+ },
206
+ "required": [
207
+ "rel",
208
+ "artifactKind",
209
+ "artifactId",
210
+ "path",
211
+ "required",
212
+ "statusAtLinkTime"
213
+ ]
214
+ },
215
+ "minItems": 1
216
+ },
217
+ "extensions": {
218
+ "type": "object",
219
+ "propertyNames": {
220
+ "pattern": "^[a-z][a-z0-9]*(\\.[a-z0-9][a-z0-9-]*)+$|^@[a-z0-9][a-z0-9-]*/[a-z0-9][a-z0-9-]*$"
221
+ },
222
+ "additionalProperties": {
223
+ "type": "object",
224
+ "required": [
225
+ "schemaVersion"
226
+ ],
227
+ "properties": {
228
+ "schemaVersion": {
229
+ "type": "string",
230
+ "minLength": 1,
231
+ "pattern": "^\\d+\\.\\d+\\.\\d+$"
232
+ }
233
+ },
234
+ "additionalProperties": true
235
+ }
236
+ },
237
+ "description": {
238
+ "type": "string"
239
+ },
240
+ "tags": {
241
+ "type": "array",
242
+ "items": {
243
+ "type": "string",
244
+ "minLength": 1
245
+ }
246
+ },
247
+ "sourceRefs": {
248
+ "type": "array",
249
+ "items": {
250
+ "type": "object",
251
+ "additionalProperties": false,
252
+ "properties": {
253
+ "kind": {
254
+ "type": "string",
255
+ "minLength": 1,
256
+ "enum": [
257
+ "source_doc",
258
+ "prompt",
259
+ "issue",
260
+ "url",
261
+ "artifact",
262
+ "raw_intent"
263
+ ]
264
+ },
265
+ "ref": {
266
+ "type": "string",
267
+ "minLength": 1
268
+ }
269
+ },
270
+ "required": [
271
+ "kind",
272
+ "ref"
273
+ ]
274
+ }
275
+ },
276
+ "approvedBy": {
277
+ "type": "object",
278
+ "additionalProperties": false,
279
+ "properties": {
280
+ "producer": {
281
+ "type": "object",
282
+ "additionalProperties": false,
283
+ "properties": {
284
+ "kind": {
285
+ "type": "string",
286
+ "minLength": 1,
287
+ "enum": [
288
+ "skill",
289
+ "agent",
290
+ "cli",
291
+ "schematic",
292
+ "verification_runner",
293
+ "human_operator",
294
+ "system"
295
+ ]
296
+ },
297
+ "id": {
298
+ "type": "string",
299
+ "minLength": 1,
300
+ "pattern": "^[a-z0-9][a-z0-9._:-]*$"
301
+ },
302
+ "name": {
303
+ "type": "string",
304
+ "minLength": 1
305
+ },
306
+ "version": {
307
+ "type": "string",
308
+ "minLength": 1,
309
+ "pattern": "^\\d+\\.\\d+\\.\\d+$"
310
+ },
311
+ "runId": {
312
+ "type": "string",
313
+ "minLength": 1,
314
+ "pattern": "^[a-z0-9][a-z0-9._:-]*$"
315
+ }
316
+ },
317
+ "required": [
318
+ "kind",
319
+ "id",
320
+ "name"
321
+ ]
322
+ },
323
+ "approvedAt": {
324
+ "type": "string",
325
+ "minLength": 1,
326
+ "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$|^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}Z$"
327
+ }
328
+ },
329
+ "required": [
330
+ "producer",
331
+ "approvedAt"
332
+ ]
333
+ },
334
+ "supersessionReason": {
335
+ "type": "string"
336
+ },
337
+ "retention": {
338
+ "type": "object",
339
+ "additionalProperties": false,
340
+ "properties": {
341
+ "policy": {
342
+ "type": "string",
343
+ "minLength": 1
344
+ },
345
+ "reason": {
346
+ "type": "string",
347
+ "minLength": 1
348
+ }
349
+ },
350
+ "required": [
351
+ "policy",
352
+ "reason"
353
+ ]
354
+ },
355
+ "workBriefRef": {
356
+ "type": "object",
357
+ "additionalProperties": false,
358
+ "properties": {
359
+ "rel": {
360
+ "type": "string",
361
+ "minLength": 1,
362
+ "enum": [
363
+ "raw_intent",
364
+ "derived_from",
365
+ "supersedes",
366
+ "superseded_by",
367
+ "implements",
368
+ "verifies",
369
+ "evidence_for",
370
+ "consumed_by",
371
+ "produced_by",
372
+ "context_for",
373
+ "registry_entry_for",
374
+ "manifest_for",
375
+ "verification_delta_of",
376
+ "build_result_of",
377
+ "ship_packet_of"
378
+ ]
379
+ },
380
+ "artifactKind": {
381
+ "type": "string",
382
+ "minLength": 1,
383
+ "enum": [
384
+ "work_brief",
385
+ "implementation_plan",
386
+ "verification_delta",
387
+ "build_result",
388
+ "ship_packet",
389
+ "evidence_packet",
390
+ "agent_registry_entry",
391
+ "context_file_header",
392
+ "schematic_manifest",
393
+ "skill_manifest"
394
+ ]
395
+ },
396
+ "artifactId": {
397
+ "type": "string",
398
+ "minLength": 1,
399
+ "pattern": "^[a-z0-9][a-z0-9._:-]*$"
400
+ },
401
+ "path": {
402
+ "type": "string",
403
+ "minLength": 1,
404
+ "pattern": "^.+$"
405
+ },
406
+ "required": {
407
+ "type": "boolean"
408
+ },
409
+ "statusAtLinkTime": {
410
+ "type": "string",
411
+ "minLength": 1
412
+ }
413
+ },
414
+ "required": [
415
+ "rel",
416
+ "artifactKind",
417
+ "artifactId",
418
+ "path",
419
+ "required",
420
+ "statusAtLinkTime"
421
+ ]
422
+ },
423
+ "objective": {
424
+ "type": "string",
425
+ "minLength": 1
426
+ },
427
+ "scope": {
428
+ "type": "array",
429
+ "items": {
430
+ "type": "string",
431
+ "minLength": 1
432
+ },
433
+ "minItems": 1
434
+ },
435
+ "nonScope": {
436
+ "type": "array",
437
+ "items": {
438
+ "type": "string",
439
+ "minLength": 1
440
+ }
441
+ },
442
+ "contextClosure": {
443
+ "type": "array",
444
+ "items": {
445
+ "type": "object",
446
+ "additionalProperties": false,
447
+ "properties": {
448
+ "rel": {
449
+ "type": "string",
450
+ "minLength": 1,
451
+ "enum": [
452
+ "raw_intent",
453
+ "derived_from",
454
+ "supersedes",
455
+ "superseded_by",
456
+ "implements",
457
+ "verifies",
458
+ "evidence_for",
459
+ "consumed_by",
460
+ "produced_by",
461
+ "context_for",
462
+ "registry_entry_for",
463
+ "manifest_for",
464
+ "verification_delta_of",
465
+ "build_result_of",
466
+ "ship_packet_of"
467
+ ]
468
+ },
469
+ "artifactKind": {
470
+ "type": "string",
471
+ "minLength": 1,
472
+ "enum": [
473
+ "work_brief",
474
+ "implementation_plan",
475
+ "verification_delta",
476
+ "build_result",
477
+ "ship_packet",
478
+ "evidence_packet",
479
+ "agent_registry_entry",
480
+ "context_file_header",
481
+ "schematic_manifest",
482
+ "skill_manifest"
483
+ ]
484
+ },
485
+ "artifactId": {
486
+ "type": "string",
487
+ "minLength": 1,
488
+ "pattern": "^[a-z0-9][a-z0-9._:-]*$"
489
+ },
490
+ "path": {
491
+ "type": "string",
492
+ "minLength": 1,
493
+ "pattern": "^.+$"
494
+ },
495
+ "required": {
496
+ "type": "boolean"
497
+ },
498
+ "statusAtLinkTime": {
499
+ "type": "string",
500
+ "minLength": 1
501
+ }
502
+ },
503
+ "required": [
504
+ "rel",
505
+ "artifactKind",
506
+ "artifactId",
507
+ "path",
508
+ "required",
509
+ "statusAtLinkTime"
510
+ ]
511
+ },
512
+ "minItems": 1
513
+ },
514
+ "affectedAreas": {
515
+ "type": "array",
516
+ "items": {
517
+ "type": "object",
518
+ "additionalProperties": false,
519
+ "properties": {
520
+ "kind": {
521
+ "type": "string",
522
+ "minLength": 1,
523
+ "enum": [
524
+ "app",
525
+ "package",
526
+ "module",
527
+ "contract",
528
+ "adapter",
529
+ "test",
530
+ "docs",
531
+ "context",
532
+ "schematic",
533
+ "skill",
534
+ "other"
535
+ ]
536
+ },
537
+ "path": {
538
+ "type": "string",
539
+ "minLength": 1,
540
+ "pattern": "^.+$"
541
+ },
542
+ "reason": {
543
+ "type": "string",
544
+ "minLength": 1
545
+ }
546
+ },
547
+ "required": [
548
+ "kind",
549
+ "path",
550
+ "reason"
551
+ ]
552
+ },
553
+ "minItems": 1
554
+ },
555
+ "schematics": {
556
+ "type": "array",
557
+ "items": {
558
+ "type": "object",
559
+ "additionalProperties": false,
560
+ "properties": {
561
+ "schematicRef": {
562
+ "type": "object",
563
+ "additionalProperties": false,
564
+ "properties": {
565
+ "rel": {
566
+ "type": "string",
567
+ "minLength": 1,
568
+ "enum": [
569
+ "raw_intent",
570
+ "derived_from",
571
+ "supersedes",
572
+ "superseded_by",
573
+ "implements",
574
+ "verifies",
575
+ "evidence_for",
576
+ "consumed_by",
577
+ "produced_by",
578
+ "context_for",
579
+ "registry_entry_for",
580
+ "manifest_for",
581
+ "verification_delta_of",
582
+ "build_result_of",
583
+ "ship_packet_of"
584
+ ]
585
+ },
586
+ "artifactKind": {
587
+ "type": "string",
588
+ "minLength": 1,
589
+ "enum": [
590
+ "work_brief",
591
+ "implementation_plan",
592
+ "verification_delta",
593
+ "build_result",
594
+ "ship_packet",
595
+ "evidence_packet",
596
+ "agent_registry_entry",
597
+ "context_file_header",
598
+ "schematic_manifest",
599
+ "skill_manifest"
600
+ ]
601
+ },
602
+ "artifactId": {
603
+ "type": "string",
604
+ "minLength": 1,
605
+ "pattern": "^[a-z0-9][a-z0-9._:-]*$"
606
+ },
607
+ "path": {
608
+ "type": "string",
609
+ "minLength": 1,
610
+ "pattern": "^.+$"
611
+ },
612
+ "required": {
613
+ "type": "boolean"
614
+ },
615
+ "statusAtLinkTime": {
616
+ "type": "string",
617
+ "minLength": 1
618
+ }
619
+ },
620
+ "required": [
621
+ "rel",
622
+ "artifactKind",
623
+ "artifactId",
624
+ "path",
625
+ "required",
626
+ "statusAtLinkTime"
627
+ ]
628
+ },
629
+ "plannedInputsRef": {
630
+ "type": "object",
631
+ "additionalProperties": false,
632
+ "properties": {
633
+ "rel": {
634
+ "type": "string",
635
+ "minLength": 1,
636
+ "enum": [
637
+ "raw_intent",
638
+ "derived_from",
639
+ "supersedes",
640
+ "superseded_by",
641
+ "implements",
642
+ "verifies",
643
+ "evidence_for",
644
+ "consumed_by",
645
+ "produced_by",
646
+ "context_for",
647
+ "registry_entry_for",
648
+ "manifest_for",
649
+ "verification_delta_of",
650
+ "build_result_of",
651
+ "ship_packet_of"
652
+ ]
653
+ },
654
+ "artifactKind": {
655
+ "type": "string",
656
+ "minLength": 1,
657
+ "enum": [
658
+ "work_brief",
659
+ "implementation_plan",
660
+ "verification_delta",
661
+ "build_result",
662
+ "ship_packet",
663
+ "evidence_packet",
664
+ "agent_registry_entry",
665
+ "context_file_header",
666
+ "schematic_manifest",
667
+ "skill_manifest"
668
+ ]
669
+ },
670
+ "artifactId": {
671
+ "type": "string",
672
+ "minLength": 1,
673
+ "pattern": "^[a-z0-9][a-z0-9._:-]*$"
674
+ },
675
+ "path": {
676
+ "type": "string",
677
+ "minLength": 1,
678
+ "pattern": "^.+$"
679
+ },
680
+ "required": {
681
+ "type": "boolean"
682
+ },
683
+ "statusAtLinkTime": {
684
+ "type": "string",
685
+ "minLength": 1
686
+ }
687
+ },
688
+ "required": [
689
+ "rel",
690
+ "artifactKind",
691
+ "artifactId",
692
+ "path",
693
+ "required",
694
+ "statusAtLinkTime"
695
+ ]
696
+ },
697
+ "purpose": {
698
+ "type": "string",
699
+ "minLength": 1
700
+ }
701
+ },
702
+ "required": [
703
+ "schematicRef",
704
+ "plannedInputsRef",
705
+ "purpose"
706
+ ]
707
+ }
708
+ },
709
+ "implementationSteps": {
710
+ "type": "array",
711
+ "items": {
712
+ "type": "object",
713
+ "additionalProperties": false,
714
+ "properties": {
715
+ "id": {
716
+ "type": "string",
717
+ "minLength": 1,
718
+ "pattern": "^[a-z0-9][a-z0-9._:-]*$"
719
+ },
720
+ "description": {
721
+ "type": "string",
722
+ "minLength": 1
723
+ },
724
+ "dependsOn": {
725
+ "type": "array",
726
+ "items": {
727
+ "type": "string",
728
+ "minLength": 1,
729
+ "pattern": "^[a-z0-9][a-z0-9._:-]*$"
730
+ }
731
+ },
732
+ "expectedTouchedAreas": {
733
+ "type": "array",
734
+ "items": {
735
+ "type": "object",
736
+ "additionalProperties": false,
737
+ "properties": {
738
+ "kind": {
739
+ "type": "string",
740
+ "minLength": 1,
741
+ "enum": [
742
+ "app",
743
+ "package",
744
+ "module",
745
+ "contract",
746
+ "adapter",
747
+ "test",
748
+ "docs",
749
+ "context",
750
+ "schematic",
751
+ "skill",
752
+ "other"
753
+ ]
754
+ },
755
+ "path": {
756
+ "type": "string",
757
+ "minLength": 1,
758
+ "pattern": "^.+$"
759
+ },
760
+ "reason": {
761
+ "type": "string",
762
+ "minLength": 1
763
+ }
764
+ },
765
+ "required": [
766
+ "kind",
767
+ "path",
768
+ "reason"
769
+ ]
770
+ }
771
+ },
772
+ "acceptanceLinks": {
773
+ "type": "array",
774
+ "items": {
775
+ "type": "string",
776
+ "minLength": 1,
777
+ "pattern": "^[a-z0-9][a-z0-9._:-]*$"
778
+ }
779
+ }
780
+ },
781
+ "required": [
782
+ "id",
783
+ "description",
784
+ "expectedTouchedAreas",
785
+ "acceptanceLinks"
786
+ ]
787
+ },
788
+ "minItems": 1
789
+ },
790
+ "acceptanceCriteria": {
791
+ "type": "array",
792
+ "items": {
793
+ "type": "object",
794
+ "additionalProperties": false,
795
+ "properties": {
796
+ "id": {
797
+ "type": "string",
798
+ "minLength": 1,
799
+ "pattern": "^[a-z0-9][a-z0-9._:-]*$"
800
+ },
801
+ "description": {
802
+ "type": "string",
803
+ "minLength": 1
804
+ }
805
+ },
806
+ "required": [
807
+ "id",
808
+ "description"
809
+ ]
810
+ },
811
+ "minItems": 1
812
+ },
813
+ "definitionOfDone": {
814
+ "type": "array",
815
+ "items": {
816
+ "type": "object",
817
+ "additionalProperties": false,
818
+ "properties": {
819
+ "id": {
820
+ "type": "string",
821
+ "minLength": 1,
822
+ "pattern": "^[a-z0-9][a-z0-9._:-]*$"
823
+ },
824
+ "description": {
825
+ "type": "string",
826
+ "minLength": 1
827
+ },
828
+ "blocking": {
829
+ "type": "boolean"
830
+ }
831
+ },
832
+ "required": [
833
+ "id",
834
+ "description",
835
+ "blocking"
836
+ ]
837
+ },
838
+ "minItems": 1
839
+ },
840
+ "risks": {
841
+ "type": "array",
842
+ "items": {
843
+ "type": "object",
844
+ "additionalProperties": false,
845
+ "properties": {
846
+ "id": {
847
+ "type": "string",
848
+ "minLength": 1,
849
+ "pattern": "^[a-z0-9][a-z0-9._:-]*$"
850
+ },
851
+ "description": {
852
+ "type": "string",
853
+ "minLength": 1
854
+ },
855
+ "sensitiveArea": {
856
+ "type": "string",
857
+ "minLength": 1
858
+ },
859
+ "mitigation": {
860
+ "type": "string",
861
+ "minLength": 1
862
+ }
863
+ },
864
+ "required": [
865
+ "id",
866
+ "description",
867
+ "sensitiveArea",
868
+ "mitigation"
869
+ ]
870
+ }
871
+ },
872
+ "openBlockers": {
873
+ "type": "array",
874
+ "items": {
875
+ "type": "object",
876
+ "additionalProperties": false,
877
+ "properties": {
878
+ "id": {
879
+ "type": "string",
880
+ "minLength": 1,
881
+ "pattern": "^[a-z0-9][a-z0-9._:-]*$"
882
+ },
883
+ "description": {
884
+ "type": "string",
885
+ "minLength": 1
886
+ },
887
+ "blocking": {
888
+ "type": "boolean"
889
+ },
890
+ "owner": {
891
+ "type": "string",
892
+ "minLength": 1
893
+ }
894
+ },
895
+ "required": [
896
+ "id",
897
+ "description",
898
+ "blocking",
899
+ "owner"
900
+ ]
901
+ }
902
+ },
903
+ "verificationDelta": {
904
+ "type": "object",
905
+ "additionalProperties": false,
906
+ "properties": {
907
+ "schemaVersion": {
908
+ "type": "string",
909
+ "minLength": 1,
910
+ "const": "1.0.0",
911
+ "pattern": "^\\d+\\.\\d+\\.\\d+$"
912
+ },
913
+ "artifactKind": {
914
+ "type": "string",
915
+ "minLength": 1,
916
+ "const": "verification_delta",
917
+ "enum": [
918
+ "verification_delta"
919
+ ]
920
+ },
921
+ "artifactId": {
922
+ "type": "string",
923
+ "minLength": 1,
924
+ "pattern": "^[a-z0-9][a-z0-9._:-]*$"
925
+ },
926
+ "title": {
927
+ "type": "string",
928
+ "minLength": 1
929
+ },
930
+ "createdAt": {
931
+ "type": "string",
932
+ "minLength": 1,
933
+ "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$|^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}Z$"
934
+ },
935
+ "updatedAt": {
936
+ "type": "string",
937
+ "minLength": 1,
938
+ "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$|^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}Z$"
939
+ },
940
+ "producer": {
941
+ "type": "object",
942
+ "additionalProperties": false,
943
+ "properties": {
944
+ "kind": {
945
+ "type": "string",
946
+ "minLength": 1,
947
+ "enum": [
948
+ "skill",
949
+ "agent",
950
+ "cli",
951
+ "schematic",
952
+ "verification_runner",
953
+ "human_operator",
954
+ "system"
955
+ ]
956
+ },
957
+ "id": {
958
+ "type": "string",
959
+ "minLength": 1,
960
+ "pattern": "^[a-z0-9][a-z0-9._:-]*$"
961
+ },
962
+ "name": {
963
+ "type": "string",
964
+ "minLength": 1
965
+ },
966
+ "version": {
967
+ "type": "string",
968
+ "minLength": 1,
969
+ "pattern": "^\\d+\\.\\d+\\.\\d+$"
970
+ },
971
+ "runId": {
972
+ "type": "string",
973
+ "minLength": 1,
974
+ "pattern": "^[a-z0-9][a-z0-9._:-]*$"
975
+ }
976
+ },
977
+ "required": [
978
+ "kind",
979
+ "id",
980
+ "name"
981
+ ]
982
+ },
983
+ "status": {
984
+ "type": "string",
985
+ "minLength": 1,
986
+ "enum": [
987
+ "complete",
988
+ "blocked",
989
+ "superseded"
990
+ ]
991
+ },
992
+ "ownership": {
993
+ "type": "object",
994
+ "additionalProperties": false,
995
+ "properties": {
996
+ "ownerLane": {
997
+ "type": "string",
998
+ "minLength": 1
999
+ },
1000
+ "ownedWritePaths": {
1001
+ "type": "array",
1002
+ "items": {
1003
+ "type": "string",
1004
+ "minLength": 1,
1005
+ "pattern": "^.+$"
1006
+ },
1007
+ "minItems": 1
1008
+ },
1009
+ "readOnlyPaths": {
1010
+ "type": "array",
1011
+ "items": {
1012
+ "type": "string",
1013
+ "minLength": 1,
1014
+ "pattern": "^.+$"
1015
+ }
1016
+ },
1017
+ "untouchablePaths": {
1018
+ "type": "array",
1019
+ "items": {
1020
+ "type": "string",
1021
+ "minLength": 1,
1022
+ "pattern": "^.+$"
1023
+ }
1024
+ },
1025
+ "concurrencyNotes": {
1026
+ "type": "string",
1027
+ "minLength": 1
1028
+ },
1029
+ "handoffPolicy": {
1030
+ "type": "string",
1031
+ "minLength": 1
1032
+ }
1033
+ },
1034
+ "required": [
1035
+ "ownerLane",
1036
+ "ownedWritePaths",
1037
+ "readOnlyPaths",
1038
+ "untouchablePaths",
1039
+ "concurrencyNotes"
1040
+ ]
1041
+ },
1042
+ "links": {
1043
+ "type": "array",
1044
+ "items": {
1045
+ "type": "object",
1046
+ "additionalProperties": false,
1047
+ "properties": {
1048
+ "rel": {
1049
+ "type": "string",
1050
+ "minLength": 1,
1051
+ "enum": [
1052
+ "raw_intent",
1053
+ "derived_from",
1054
+ "supersedes",
1055
+ "superseded_by",
1056
+ "implements",
1057
+ "verifies",
1058
+ "evidence_for",
1059
+ "consumed_by",
1060
+ "produced_by",
1061
+ "context_for",
1062
+ "registry_entry_for",
1063
+ "manifest_for",
1064
+ "verification_delta_of",
1065
+ "build_result_of",
1066
+ "ship_packet_of"
1067
+ ]
1068
+ },
1069
+ "artifactKind": {
1070
+ "type": "string",
1071
+ "minLength": 1,
1072
+ "enum": [
1073
+ "work_brief",
1074
+ "implementation_plan",
1075
+ "verification_delta",
1076
+ "build_result",
1077
+ "ship_packet",
1078
+ "evidence_packet",
1079
+ "agent_registry_entry",
1080
+ "context_file_header",
1081
+ "schematic_manifest",
1082
+ "skill_manifest"
1083
+ ]
1084
+ },
1085
+ "artifactId": {
1086
+ "type": "string",
1087
+ "minLength": 1,
1088
+ "pattern": "^[a-z0-9][a-z0-9._:-]*$"
1089
+ },
1090
+ "path": {
1091
+ "type": "string",
1092
+ "minLength": 1,
1093
+ "pattern": "^.+$"
1094
+ },
1095
+ "required": {
1096
+ "type": "boolean"
1097
+ },
1098
+ "statusAtLinkTime": {
1099
+ "type": "string",
1100
+ "minLength": 1
1101
+ }
1102
+ },
1103
+ "required": [
1104
+ "rel",
1105
+ "artifactKind",
1106
+ "artifactId",
1107
+ "path",
1108
+ "required",
1109
+ "statusAtLinkTime"
1110
+ ]
1111
+ },
1112
+ "minItems": 1
1113
+ },
1114
+ "extensions": {
1115
+ "type": "object",
1116
+ "propertyNames": {
1117
+ "pattern": "^[a-z][a-z0-9]*(\\.[a-z0-9][a-z0-9-]*)+$|^@[a-z0-9][a-z0-9-]*/[a-z0-9][a-z0-9-]*$"
1118
+ },
1119
+ "additionalProperties": {
1120
+ "type": "object",
1121
+ "required": [
1122
+ "schemaVersion"
1123
+ ],
1124
+ "properties": {
1125
+ "schemaVersion": {
1126
+ "type": "string",
1127
+ "minLength": 1,
1128
+ "pattern": "^\\d+\\.\\d+\\.\\d+$"
1129
+ }
1130
+ },
1131
+ "additionalProperties": true
1132
+ }
1133
+ },
1134
+ "description": {
1135
+ "type": "string"
1136
+ },
1137
+ "tags": {
1138
+ "type": "array",
1139
+ "items": {
1140
+ "type": "string",
1141
+ "minLength": 1
1142
+ }
1143
+ },
1144
+ "sourceRefs": {
1145
+ "type": "array",
1146
+ "items": {
1147
+ "type": "object",
1148
+ "additionalProperties": false,
1149
+ "properties": {
1150
+ "kind": {
1151
+ "type": "string",
1152
+ "minLength": 1,
1153
+ "enum": [
1154
+ "source_doc",
1155
+ "prompt",
1156
+ "issue",
1157
+ "url",
1158
+ "artifact",
1159
+ "raw_intent"
1160
+ ]
1161
+ },
1162
+ "ref": {
1163
+ "type": "string",
1164
+ "minLength": 1
1165
+ }
1166
+ },
1167
+ "required": [
1168
+ "kind",
1169
+ "ref"
1170
+ ]
1171
+ }
1172
+ },
1173
+ "approvedBy": {
1174
+ "type": "object",
1175
+ "additionalProperties": false,
1176
+ "properties": {
1177
+ "producer": {
1178
+ "type": "object",
1179
+ "additionalProperties": false,
1180
+ "properties": {
1181
+ "kind": {
1182
+ "type": "string",
1183
+ "minLength": 1,
1184
+ "enum": [
1185
+ "skill",
1186
+ "agent",
1187
+ "cli",
1188
+ "schematic",
1189
+ "verification_runner",
1190
+ "human_operator",
1191
+ "system"
1192
+ ]
1193
+ },
1194
+ "id": {
1195
+ "type": "string",
1196
+ "minLength": 1,
1197
+ "pattern": "^[a-z0-9][a-z0-9._:-]*$"
1198
+ },
1199
+ "name": {
1200
+ "type": "string",
1201
+ "minLength": 1
1202
+ },
1203
+ "version": {
1204
+ "type": "string",
1205
+ "minLength": 1,
1206
+ "pattern": "^\\d+\\.\\d+\\.\\d+$"
1207
+ },
1208
+ "runId": {
1209
+ "type": "string",
1210
+ "minLength": 1,
1211
+ "pattern": "^[a-z0-9][a-z0-9._:-]*$"
1212
+ }
1213
+ },
1214
+ "required": [
1215
+ "kind",
1216
+ "id",
1217
+ "name"
1218
+ ]
1219
+ },
1220
+ "approvedAt": {
1221
+ "type": "string",
1222
+ "minLength": 1,
1223
+ "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$|^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}Z$"
1224
+ }
1225
+ },
1226
+ "required": [
1227
+ "producer",
1228
+ "approvedAt"
1229
+ ]
1230
+ },
1231
+ "supersessionReason": {
1232
+ "type": "string"
1233
+ },
1234
+ "retention": {
1235
+ "type": "object",
1236
+ "additionalProperties": false,
1237
+ "properties": {
1238
+ "policy": {
1239
+ "type": "string",
1240
+ "minLength": 1
1241
+ },
1242
+ "reason": {
1243
+ "type": "string",
1244
+ "minLength": 1
1245
+ }
1246
+ },
1247
+ "required": [
1248
+ "policy",
1249
+ "reason"
1250
+ ]
1251
+ },
1252
+ "summary": {
1253
+ "type": "string",
1254
+ "minLength": 1
1255
+ },
1256
+ "implementationPlanRef": {
1257
+ "type": "object",
1258
+ "additionalProperties": false,
1259
+ "properties": {
1260
+ "rel": {
1261
+ "type": "string",
1262
+ "minLength": 1,
1263
+ "enum": [
1264
+ "raw_intent",
1265
+ "derived_from",
1266
+ "supersedes",
1267
+ "superseded_by",
1268
+ "implements",
1269
+ "verifies",
1270
+ "evidence_for",
1271
+ "consumed_by",
1272
+ "produced_by",
1273
+ "context_for",
1274
+ "registry_entry_for",
1275
+ "manifest_for",
1276
+ "verification_delta_of",
1277
+ "build_result_of",
1278
+ "ship_packet_of"
1279
+ ]
1280
+ },
1281
+ "artifactKind": {
1282
+ "type": "string",
1283
+ "minLength": 1,
1284
+ "enum": [
1285
+ "work_brief",
1286
+ "implementation_plan",
1287
+ "verification_delta",
1288
+ "build_result",
1289
+ "ship_packet",
1290
+ "evidence_packet",
1291
+ "agent_registry_entry",
1292
+ "context_file_header",
1293
+ "schematic_manifest",
1294
+ "skill_manifest"
1295
+ ]
1296
+ },
1297
+ "artifactId": {
1298
+ "type": "string",
1299
+ "minLength": 1,
1300
+ "pattern": "^[a-z0-9][a-z0-9._:-]*$"
1301
+ },
1302
+ "path": {
1303
+ "type": "string",
1304
+ "minLength": 1,
1305
+ "pattern": "^.+$"
1306
+ },
1307
+ "required": {
1308
+ "type": "boolean"
1309
+ },
1310
+ "statusAtLinkTime": {
1311
+ "type": "string",
1312
+ "minLength": 1
1313
+ }
1314
+ },
1315
+ "required": [
1316
+ "rel",
1317
+ "artifactKind",
1318
+ "artifactId",
1319
+ "path",
1320
+ "required",
1321
+ "statusAtLinkTime"
1322
+ ]
1323
+ },
1324
+ "sensitiveAreas": {
1325
+ "type": "array",
1326
+ "items": {
1327
+ "type": "string",
1328
+ "minLength": 1
1329
+ },
1330
+ "minItems": 1
1331
+ },
1332
+ "catalogVersion": {
1333
+ "type": "string",
1334
+ "minLength": 1,
1335
+ "pattern": "^\\d+\\.\\d+\\.\\d+$"
1336
+ },
1337
+ "requiredItems": {
1338
+ "type": "array",
1339
+ "items": {
1340
+ "type": "object",
1341
+ "additionalProperties": false,
1342
+ "properties": {
1343
+ "id": {
1344
+ "type": "string",
1345
+ "minLength": 1,
1346
+ "pattern": "^[a-z0-9][a-z0-9._:-]*$"
1347
+ },
1348
+ "layer": {
1349
+ "type": "string",
1350
+ "minLength": 1,
1351
+ "enum": [
1352
+ "safety_hooks",
1353
+ "typecheck",
1354
+ "lint_format",
1355
+ "mechanical_gate",
1356
+ "unit",
1357
+ "integration",
1358
+ "contract_adapter",
1359
+ "e2e",
1360
+ "ui_verification",
1361
+ "ai_eval",
1362
+ "build_package",
1363
+ "context_drift",
1364
+ "observability",
1365
+ "advisory_review",
1366
+ "final_dod",
1367
+ "schema_validation"
1368
+ ]
1369
+ },
1370
+ "action": {
1371
+ "type": "string",
1372
+ "minLength": 1,
1373
+ "enum": [
1374
+ "add",
1375
+ "update",
1376
+ "reuse",
1377
+ "not_applicable",
1378
+ "blocked"
1379
+ ]
1380
+ },
1381
+ "rationale": {
1382
+ "type": "string",
1383
+ "minLength": 1
1384
+ },
1385
+ "expectedArtifacts": {
1386
+ "type": "array",
1387
+ "items": {
1388
+ "type": "string",
1389
+ "minLength": 1,
1390
+ "pattern": "^.+$"
1391
+ },
1392
+ "minItems": 1
1393
+ },
1394
+ "blocking": {
1395
+ "type": "boolean"
1396
+ },
1397
+ "validationOwner": {
1398
+ "type": "string",
1399
+ "minLength": 1
1400
+ },
1401
+ "fixerOwner": {
1402
+ "type": "string",
1403
+ "minLength": 1
1404
+ },
1405
+ "evidenceRequired": {
1406
+ "type": "array",
1407
+ "items": {
1408
+ "type": "object",
1409
+ "additionalProperties": false,
1410
+ "properties": {
1411
+ "kind": {
1412
+ "type": "string",
1413
+ "minLength": 1,
1414
+ "enum": [
1415
+ "evidence_packet",
1416
+ "test_report",
1417
+ "command_log",
1418
+ "screenshot",
1419
+ "trace",
1420
+ "metric",
1421
+ "context_header"
1422
+ ]
1423
+ },
1424
+ "description": {
1425
+ "type": "string",
1426
+ "minLength": 1
1427
+ },
1428
+ "blocking": {
1429
+ "type": "boolean"
1430
+ }
1431
+ },
1432
+ "required": [
1433
+ "kind",
1434
+ "description",
1435
+ "blocking"
1436
+ ]
1437
+ },
1438
+ "minItems": 1
1439
+ },
1440
+ "blockedBy": {
1441
+ "type": "string",
1442
+ "minLength": 1
1443
+ },
1444
+ "unblockCondition": {
1445
+ "type": "string",
1446
+ "minLength": 1
1447
+ }
1448
+ },
1449
+ "required": [
1450
+ "id",
1451
+ "layer",
1452
+ "action",
1453
+ "rationale",
1454
+ "expectedArtifacts",
1455
+ "blocking",
1456
+ "validationOwner",
1457
+ "fixerOwner",
1458
+ "evidenceRequired"
1459
+ ]
1460
+ },
1461
+ "minItems": 1
1462
+ },
1463
+ "mechanicalGateImpacts": {
1464
+ "type": "array",
1465
+ "items": {
1466
+ "type": "string",
1467
+ "minLength": 1
1468
+ }
1469
+ },
1470
+ "advisoryReviewItems": {
1471
+ "type": "array",
1472
+ "items": {
1473
+ "type": "string",
1474
+ "minLength": 1
1475
+ }
1476
+ },
1477
+ "rerunHints": {
1478
+ "type": "array",
1479
+ "items": {
1480
+ "type": "string",
1481
+ "minLength": 1
1482
+ }
1483
+ },
1484
+ "riskLinks": {
1485
+ "type": "array",
1486
+ "items": {
1487
+ "type": "object",
1488
+ "additionalProperties": false,
1489
+ "properties": {
1490
+ "rel": {
1491
+ "type": "string",
1492
+ "minLength": 1,
1493
+ "enum": [
1494
+ "raw_intent",
1495
+ "derived_from",
1496
+ "supersedes",
1497
+ "superseded_by",
1498
+ "implements",
1499
+ "verifies",
1500
+ "evidence_for",
1501
+ "consumed_by",
1502
+ "produced_by",
1503
+ "context_for",
1504
+ "registry_entry_for",
1505
+ "manifest_for",
1506
+ "verification_delta_of",
1507
+ "build_result_of",
1508
+ "ship_packet_of"
1509
+ ]
1510
+ },
1511
+ "artifactKind": {
1512
+ "type": "string",
1513
+ "minLength": 1,
1514
+ "enum": [
1515
+ "work_brief",
1516
+ "implementation_plan",
1517
+ "verification_delta",
1518
+ "build_result",
1519
+ "ship_packet",
1520
+ "evidence_packet",
1521
+ "agent_registry_entry",
1522
+ "context_file_header",
1523
+ "schematic_manifest",
1524
+ "skill_manifest"
1525
+ ]
1526
+ },
1527
+ "artifactId": {
1528
+ "type": "string",
1529
+ "minLength": 1,
1530
+ "pattern": "^[a-z0-9][a-z0-9._:-]*$"
1531
+ },
1532
+ "path": {
1533
+ "type": "string",
1534
+ "minLength": 1,
1535
+ "pattern": "^.+$"
1536
+ },
1537
+ "required": {
1538
+ "type": "boolean"
1539
+ },
1540
+ "statusAtLinkTime": {
1541
+ "type": "string",
1542
+ "minLength": 1
1543
+ }
1544
+ },
1545
+ "required": [
1546
+ "rel",
1547
+ "artifactKind",
1548
+ "artifactId",
1549
+ "path",
1550
+ "required",
1551
+ "statusAtLinkTime"
1552
+ ]
1553
+ }
1554
+ }
1555
+ },
1556
+ "required": [
1557
+ "schemaVersion",
1558
+ "artifactKind",
1559
+ "artifactId",
1560
+ "title",
1561
+ "createdAt",
1562
+ "updatedAt",
1563
+ "producer",
1564
+ "status",
1565
+ "ownership",
1566
+ "links",
1567
+ "extensions",
1568
+ "summary",
1569
+ "implementationPlanRef",
1570
+ "sensitiveAreas",
1571
+ "catalogVersion",
1572
+ "requiredItems"
1573
+ ]
1574
+ },
1575
+ "workDecompositionHints": {
1576
+ "type": "array",
1577
+ "items": {
1578
+ "type": "string",
1579
+ "minLength": 1
1580
+ }
1581
+ },
1582
+ "parallelismHints": {
1583
+ "type": "array",
1584
+ "items": {
1585
+ "type": "string",
1586
+ "minLength": 1
1587
+ }
1588
+ },
1589
+ "docsContextUpdatesExpected": {
1590
+ "type": "array",
1591
+ "items": {
1592
+ "type": "string",
1593
+ "minLength": 1
1594
+ }
1595
+ },
1596
+ "approval": {
1597
+ "type": "object",
1598
+ "additionalProperties": false,
1599
+ "properties": {
1600
+ "approvedBy": {
1601
+ "type": "object",
1602
+ "additionalProperties": false,
1603
+ "properties": {
1604
+ "kind": {
1605
+ "type": "string",
1606
+ "minLength": 1,
1607
+ "enum": [
1608
+ "skill",
1609
+ "agent",
1610
+ "cli",
1611
+ "schematic",
1612
+ "verification_runner",
1613
+ "human_operator",
1614
+ "system"
1615
+ ]
1616
+ },
1617
+ "id": {
1618
+ "type": "string",
1619
+ "minLength": 1,
1620
+ "pattern": "^[a-z0-9][a-z0-9._:-]*$"
1621
+ },
1622
+ "name": {
1623
+ "type": "string",
1624
+ "minLength": 1
1625
+ },
1626
+ "version": {
1627
+ "type": "string",
1628
+ "minLength": 1,
1629
+ "pattern": "^\\d+\\.\\d+\\.\\d+$"
1630
+ },
1631
+ "runId": {
1632
+ "type": "string",
1633
+ "minLength": 1,
1634
+ "pattern": "^[a-z0-9][a-z0-9._:-]*$"
1635
+ }
1636
+ },
1637
+ "required": [
1638
+ "kind",
1639
+ "id",
1640
+ "name"
1641
+ ]
1642
+ },
1643
+ "approvedAt": {
1644
+ "type": "string",
1645
+ "minLength": 1,
1646
+ "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$|^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}Z$"
1647
+ },
1648
+ "notes": {
1649
+ "type": "string",
1650
+ "minLength": 1
1651
+ }
1652
+ },
1653
+ "required": [
1654
+ "approvedBy",
1655
+ "approvedAt",
1656
+ "notes"
1657
+ ]
1658
+ },
1659
+ "reviewNotes": {
1660
+ "type": "array",
1661
+ "items": {
1662
+ "type": "string",
1663
+ "minLength": 1
1664
+ }
1665
+ }
1666
+ },
1667
+ "required": [
1668
+ "schemaVersion",
1669
+ "artifactKind",
1670
+ "artifactId",
1671
+ "title",
1672
+ "createdAt",
1673
+ "updatedAt",
1674
+ "producer",
1675
+ "status",
1676
+ "ownership",
1677
+ "links",
1678
+ "extensions",
1679
+ "workBriefRef",
1680
+ "objective",
1681
+ "scope",
1682
+ "nonScope",
1683
+ "contextClosure",
1684
+ "affectedAreas",
1685
+ "schematics",
1686
+ "implementationSteps",
1687
+ "acceptanceCriteria",
1688
+ "definitionOfDone",
1689
+ "risks",
1690
+ "openBlockers",
1691
+ "verificationDelta"
1692
+ ]
1693
+ }