@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,1056 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://schemas.vibe-engineer.dev/artifacts/v1/context-file-header.schema.json",
4
+ "title": "ContextFileHeaderV1",
5
+ "description": "Canonical DL-02 ContextFileHeaderV1 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": "context_file_header",
19
+ "enum": [
20
+ "context_file_header"
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
+ "current",
90
+ "stale",
91
+ "needs_review",
92
+ "deprecated"
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
+ "contextId": {
356
+ "type": "string",
357
+ "minLength": 1,
358
+ "pattern": "^[a-z0-9][a-z0-9._:-]*$"
359
+ },
360
+ "scope": {
361
+ "type": "object",
362
+ "additionalProperties": false,
363
+ "properties": {
364
+ "kind": {
365
+ "type": "string",
366
+ "minLength": 1,
367
+ "enum": [
368
+ "repo",
369
+ "app",
370
+ "package",
371
+ "module",
372
+ "contract",
373
+ "adapter",
374
+ "test",
375
+ "standard",
376
+ "skill",
377
+ "schematic",
378
+ "decision",
379
+ "work_item",
380
+ "other"
381
+ ]
382
+ },
383
+ "paths": {
384
+ "type": "array",
385
+ "items": {
386
+ "type": "string",
387
+ "minLength": 1,
388
+ "pattern": "^.+$"
389
+ },
390
+ "minItems": 1
391
+ },
392
+ "description": {
393
+ "type": "string",
394
+ "minLength": 1
395
+ }
396
+ },
397
+ "required": [
398
+ "kind",
399
+ "paths",
400
+ "description"
401
+ ]
402
+ },
403
+ "owner": {
404
+ "type": "string",
405
+ "minLength": 1
406
+ },
407
+ "dependencies": {
408
+ "type": "array",
409
+ "items": {
410
+ "type": "object",
411
+ "additionalProperties": false,
412
+ "properties": {
413
+ "rel": {
414
+ "type": "string",
415
+ "minLength": 1,
416
+ "enum": [
417
+ "raw_intent",
418
+ "derived_from",
419
+ "supersedes",
420
+ "superseded_by",
421
+ "implements",
422
+ "verifies",
423
+ "evidence_for",
424
+ "consumed_by",
425
+ "produced_by",
426
+ "context_for",
427
+ "registry_entry_for",
428
+ "manifest_for",
429
+ "verification_delta_of",
430
+ "build_result_of",
431
+ "ship_packet_of"
432
+ ]
433
+ },
434
+ "artifactKind": {
435
+ "type": "string",
436
+ "minLength": 1,
437
+ "enum": [
438
+ "work_brief",
439
+ "implementation_plan",
440
+ "verification_delta",
441
+ "build_result",
442
+ "ship_packet",
443
+ "evidence_packet",
444
+ "agent_registry_entry",
445
+ "context_file_header",
446
+ "schematic_manifest",
447
+ "skill_manifest"
448
+ ]
449
+ },
450
+ "artifactId": {
451
+ "type": "string",
452
+ "minLength": 1,
453
+ "pattern": "^[a-z0-9][a-z0-9._:-]*$"
454
+ },
455
+ "path": {
456
+ "type": "string",
457
+ "minLength": 1,
458
+ "pattern": "^.+$"
459
+ },
460
+ "required": {
461
+ "type": "boolean"
462
+ },
463
+ "statusAtLinkTime": {
464
+ "type": "string",
465
+ "minLength": 1
466
+ }
467
+ },
468
+ "required": [
469
+ "rel",
470
+ "artifactKind",
471
+ "artifactId",
472
+ "path",
473
+ "required",
474
+ "statusAtLinkTime"
475
+ ]
476
+ }
477
+ },
478
+ "dependents": {
479
+ "type": "array",
480
+ "items": {
481
+ "type": "object",
482
+ "additionalProperties": false,
483
+ "properties": {
484
+ "rel": {
485
+ "type": "string",
486
+ "minLength": 1,
487
+ "enum": [
488
+ "raw_intent",
489
+ "derived_from",
490
+ "supersedes",
491
+ "superseded_by",
492
+ "implements",
493
+ "verifies",
494
+ "evidence_for",
495
+ "consumed_by",
496
+ "produced_by",
497
+ "context_for",
498
+ "registry_entry_for",
499
+ "manifest_for",
500
+ "verification_delta_of",
501
+ "build_result_of",
502
+ "ship_packet_of"
503
+ ]
504
+ },
505
+ "artifactKind": {
506
+ "type": "string",
507
+ "minLength": 1,
508
+ "enum": [
509
+ "work_brief",
510
+ "implementation_plan",
511
+ "verification_delta",
512
+ "build_result",
513
+ "ship_packet",
514
+ "evidence_packet",
515
+ "agent_registry_entry",
516
+ "context_file_header",
517
+ "schematic_manifest",
518
+ "skill_manifest"
519
+ ]
520
+ },
521
+ "artifactId": {
522
+ "type": "string",
523
+ "minLength": 1,
524
+ "pattern": "^[a-z0-9][a-z0-9._:-]*$"
525
+ },
526
+ "path": {
527
+ "type": "string",
528
+ "minLength": 1,
529
+ "pattern": "^.+$"
530
+ },
531
+ "required": {
532
+ "type": "boolean"
533
+ },
534
+ "statusAtLinkTime": {
535
+ "type": "string",
536
+ "minLength": 1
537
+ }
538
+ },
539
+ "required": [
540
+ "rel",
541
+ "artifactKind",
542
+ "artifactId",
543
+ "path",
544
+ "required",
545
+ "statusAtLinkTime"
546
+ ]
547
+ }
548
+ },
549
+ "relatedDecisions": {
550
+ "type": "array",
551
+ "items": {
552
+ "type": "string",
553
+ "minLength": 1
554
+ }
555
+ },
556
+ "relatedPlansArtifacts": {
557
+ "type": "array",
558
+ "items": {
559
+ "type": "object",
560
+ "additionalProperties": false,
561
+ "properties": {
562
+ "rel": {
563
+ "type": "string",
564
+ "minLength": 1,
565
+ "enum": [
566
+ "raw_intent",
567
+ "derived_from",
568
+ "supersedes",
569
+ "superseded_by",
570
+ "implements",
571
+ "verifies",
572
+ "evidence_for",
573
+ "consumed_by",
574
+ "produced_by",
575
+ "context_for",
576
+ "registry_entry_for",
577
+ "manifest_for",
578
+ "verification_delta_of",
579
+ "build_result_of",
580
+ "ship_packet_of"
581
+ ]
582
+ },
583
+ "artifactKind": {
584
+ "type": "string",
585
+ "minLength": 1,
586
+ "enum": [
587
+ "work_brief",
588
+ "implementation_plan",
589
+ "verification_delta",
590
+ "build_result",
591
+ "ship_packet",
592
+ "evidence_packet",
593
+ "agent_registry_entry",
594
+ "context_file_header",
595
+ "schematic_manifest",
596
+ "skill_manifest"
597
+ ]
598
+ },
599
+ "artifactId": {
600
+ "type": "string",
601
+ "minLength": 1,
602
+ "pattern": "^[a-z0-9][a-z0-9._:-]*$"
603
+ },
604
+ "path": {
605
+ "type": "string",
606
+ "minLength": 1,
607
+ "pattern": "^.+$"
608
+ },
609
+ "required": {
610
+ "type": "boolean"
611
+ },
612
+ "statusAtLinkTime": {
613
+ "type": "string",
614
+ "minLength": 1
615
+ }
616
+ },
617
+ "required": [
618
+ "rel",
619
+ "artifactKind",
620
+ "artifactId",
621
+ "path",
622
+ "required",
623
+ "statusAtLinkTime"
624
+ ]
625
+ }
626
+ },
627
+ "verificationMetadata": {
628
+ "type": "object",
629
+ "additionalProperties": false,
630
+ "properties": {
631
+ "lastValidationEvidenceRefs": {
632
+ "type": "array",
633
+ "items": {
634
+ "type": "object",
635
+ "additionalProperties": false,
636
+ "properties": {
637
+ "rel": {
638
+ "type": "string",
639
+ "minLength": 1,
640
+ "enum": [
641
+ "raw_intent",
642
+ "derived_from",
643
+ "supersedes",
644
+ "superseded_by",
645
+ "implements",
646
+ "verifies",
647
+ "evidence_for",
648
+ "consumed_by",
649
+ "produced_by",
650
+ "context_for",
651
+ "registry_entry_for",
652
+ "manifest_for",
653
+ "verification_delta_of",
654
+ "build_result_of",
655
+ "ship_packet_of"
656
+ ]
657
+ },
658
+ "artifactKind": {
659
+ "type": "string",
660
+ "minLength": 1,
661
+ "enum": [
662
+ "work_brief",
663
+ "implementation_plan",
664
+ "verification_delta",
665
+ "build_result",
666
+ "ship_packet",
667
+ "evidence_packet",
668
+ "agent_registry_entry",
669
+ "context_file_header",
670
+ "schematic_manifest",
671
+ "skill_manifest"
672
+ ]
673
+ },
674
+ "artifactId": {
675
+ "type": "string",
676
+ "minLength": 1,
677
+ "pattern": "^[a-z0-9][a-z0-9._:-]*$"
678
+ },
679
+ "path": {
680
+ "type": "string",
681
+ "minLength": 1,
682
+ "pattern": "^.+$"
683
+ },
684
+ "required": {
685
+ "type": "boolean"
686
+ },
687
+ "statusAtLinkTime": {
688
+ "type": "string",
689
+ "minLength": 1
690
+ }
691
+ },
692
+ "required": [
693
+ "rel",
694
+ "artifactKind",
695
+ "artifactId",
696
+ "path",
697
+ "required",
698
+ "statusAtLinkTime"
699
+ ]
700
+ }
701
+ },
702
+ "status": {
703
+ "type": "string",
704
+ "minLength": 1,
705
+ "enum": [
706
+ "valid",
707
+ "invalid",
708
+ "blocked",
709
+ "unknown"
710
+ ]
711
+ }
712
+ },
713
+ "required": [
714
+ "lastValidationEvidenceRefs",
715
+ "status"
716
+ ]
717
+ },
718
+ "updateMetadata": {
719
+ "type": "object",
720
+ "additionalProperties": false,
721
+ "properties": {
722
+ "lastReviewedAt": {
723
+ "type": "string",
724
+ "minLength": 1,
725
+ "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$"
726
+ },
727
+ "lastUpdatedBy": {
728
+ "type": "object",
729
+ "additionalProperties": false,
730
+ "properties": {
731
+ "kind": {
732
+ "type": "string",
733
+ "minLength": 1,
734
+ "enum": [
735
+ "skill",
736
+ "agent",
737
+ "cli",
738
+ "schematic",
739
+ "verification_runner",
740
+ "human_operator",
741
+ "system"
742
+ ]
743
+ },
744
+ "id": {
745
+ "type": "string",
746
+ "minLength": 1,
747
+ "pattern": "^[a-z0-9][a-z0-9._:-]*$"
748
+ },
749
+ "name": {
750
+ "type": "string",
751
+ "minLength": 1
752
+ },
753
+ "version": {
754
+ "type": "string",
755
+ "minLength": 1,
756
+ "pattern": "^\\d+\\.\\d+\\.\\d+$"
757
+ },
758
+ "runId": {
759
+ "type": "string",
760
+ "minLength": 1,
761
+ "pattern": "^[a-z0-9][a-z0-9._:-]*$"
762
+ }
763
+ },
764
+ "required": [
765
+ "kind",
766
+ "id",
767
+ "name"
768
+ ]
769
+ },
770
+ "updateReason": {
771
+ "type": "string",
772
+ "minLength": 1
773
+ }
774
+ },
775
+ "required": [
776
+ "lastReviewedAt",
777
+ "lastUpdatedBy",
778
+ "updateReason"
779
+ ]
780
+ },
781
+ "driftMetadata": {
782
+ "type": "object",
783
+ "additionalProperties": false,
784
+ "properties": {
785
+ "driftStatus": {
786
+ "type": "string",
787
+ "minLength": 1,
788
+ "enum": [
789
+ "unknown",
790
+ "clean",
791
+ "suspected",
792
+ "confirmed"
793
+ ]
794
+ },
795
+ "lastDriftCheckAt": {
796
+ "type": "string",
797
+ "minLength": 1,
798
+ "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$"
799
+ },
800
+ "evidenceRefs": {
801
+ "type": "array",
802
+ "items": {
803
+ "type": "object",
804
+ "additionalProperties": false,
805
+ "properties": {
806
+ "rel": {
807
+ "type": "string",
808
+ "minLength": 1,
809
+ "enum": [
810
+ "raw_intent",
811
+ "derived_from",
812
+ "supersedes",
813
+ "superseded_by",
814
+ "implements",
815
+ "verifies",
816
+ "evidence_for",
817
+ "consumed_by",
818
+ "produced_by",
819
+ "context_for",
820
+ "registry_entry_for",
821
+ "manifest_for",
822
+ "verification_delta_of",
823
+ "build_result_of",
824
+ "ship_packet_of"
825
+ ]
826
+ },
827
+ "artifactKind": {
828
+ "type": "string",
829
+ "minLength": 1,
830
+ "enum": [
831
+ "work_brief",
832
+ "implementation_plan",
833
+ "verification_delta",
834
+ "build_result",
835
+ "ship_packet",
836
+ "evidence_packet",
837
+ "agent_registry_entry",
838
+ "context_file_header",
839
+ "schematic_manifest",
840
+ "skill_manifest"
841
+ ]
842
+ },
843
+ "artifactId": {
844
+ "type": "string",
845
+ "minLength": 1,
846
+ "pattern": "^[a-z0-9][a-z0-9._:-]*$"
847
+ },
848
+ "path": {
849
+ "type": "string",
850
+ "minLength": 1,
851
+ "pattern": "^.+$"
852
+ },
853
+ "required": {
854
+ "type": "boolean"
855
+ },
856
+ "statusAtLinkTime": {
857
+ "type": "string",
858
+ "minLength": 1
859
+ }
860
+ },
861
+ "required": [
862
+ "rel",
863
+ "artifactKind",
864
+ "artifactId",
865
+ "path",
866
+ "required",
867
+ "statusAtLinkTime"
868
+ ]
869
+ }
870
+ }
871
+ },
872
+ "required": [
873
+ "driftStatus",
874
+ "lastDriftCheckAt",
875
+ "evidenceRefs"
876
+ ]
877
+ },
878
+ "retrievalHints": {
879
+ "type": "array",
880
+ "items": {
881
+ "type": "string",
882
+ "minLength": 1
883
+ }
884
+ },
885
+ "summary": {
886
+ "type": "string",
887
+ "minLength": 1
888
+ },
889
+ "standardsRefs": {
890
+ "type": "array",
891
+ "items": {
892
+ "type": "object",
893
+ "additionalProperties": false,
894
+ "properties": {
895
+ "rel": {
896
+ "type": "string",
897
+ "minLength": 1,
898
+ "enum": [
899
+ "raw_intent",
900
+ "derived_from",
901
+ "supersedes",
902
+ "superseded_by",
903
+ "implements",
904
+ "verifies",
905
+ "evidence_for",
906
+ "consumed_by",
907
+ "produced_by",
908
+ "context_for",
909
+ "registry_entry_for",
910
+ "manifest_for",
911
+ "verification_delta_of",
912
+ "build_result_of",
913
+ "ship_packet_of"
914
+ ]
915
+ },
916
+ "artifactKind": {
917
+ "type": "string",
918
+ "minLength": 1,
919
+ "enum": [
920
+ "work_brief",
921
+ "implementation_plan",
922
+ "verification_delta",
923
+ "build_result",
924
+ "ship_packet",
925
+ "evidence_packet",
926
+ "agent_registry_entry",
927
+ "context_file_header",
928
+ "schematic_manifest",
929
+ "skill_manifest"
930
+ ]
931
+ },
932
+ "artifactId": {
933
+ "type": "string",
934
+ "minLength": 1,
935
+ "pattern": "^[a-z0-9][a-z0-9._:-]*$"
936
+ },
937
+ "path": {
938
+ "type": "string",
939
+ "minLength": 1,
940
+ "pattern": "^.+$"
941
+ },
942
+ "required": {
943
+ "type": "boolean"
944
+ },
945
+ "statusAtLinkTime": {
946
+ "type": "string",
947
+ "minLength": 1
948
+ }
949
+ },
950
+ "required": [
951
+ "rel",
952
+ "artifactKind",
953
+ "artifactId",
954
+ "path",
955
+ "required",
956
+ "statusAtLinkTime"
957
+ ]
958
+ }
959
+ },
960
+ "ttl": {
961
+ "type": "string",
962
+ "minLength": 1
963
+ },
964
+ "replacementRef": {
965
+ "type": "object",
966
+ "additionalProperties": false,
967
+ "properties": {
968
+ "rel": {
969
+ "type": "string",
970
+ "minLength": 1,
971
+ "enum": [
972
+ "raw_intent",
973
+ "derived_from",
974
+ "supersedes",
975
+ "superseded_by",
976
+ "implements",
977
+ "verifies",
978
+ "evidence_for",
979
+ "consumed_by",
980
+ "produced_by",
981
+ "context_for",
982
+ "registry_entry_for",
983
+ "manifest_for",
984
+ "verification_delta_of",
985
+ "build_result_of",
986
+ "ship_packet_of"
987
+ ]
988
+ },
989
+ "artifactKind": {
990
+ "type": "string",
991
+ "minLength": 1,
992
+ "enum": [
993
+ "work_brief",
994
+ "implementation_plan",
995
+ "verification_delta",
996
+ "build_result",
997
+ "ship_packet",
998
+ "evidence_packet",
999
+ "agent_registry_entry",
1000
+ "context_file_header",
1001
+ "schematic_manifest",
1002
+ "skill_manifest"
1003
+ ]
1004
+ },
1005
+ "artifactId": {
1006
+ "type": "string",
1007
+ "minLength": 1,
1008
+ "pattern": "^[a-z0-9][a-z0-9._:-]*$"
1009
+ },
1010
+ "path": {
1011
+ "type": "string",
1012
+ "minLength": 1,
1013
+ "pattern": "^.+$"
1014
+ },
1015
+ "required": {
1016
+ "type": "boolean"
1017
+ },
1018
+ "statusAtLinkTime": {
1019
+ "type": "string",
1020
+ "minLength": 1
1021
+ }
1022
+ },
1023
+ "required": [
1024
+ "rel",
1025
+ "artifactKind",
1026
+ "artifactId",
1027
+ "path",
1028
+ "required",
1029
+ "statusAtLinkTime"
1030
+ ]
1031
+ }
1032
+ },
1033
+ "required": [
1034
+ "schemaVersion",
1035
+ "artifactKind",
1036
+ "artifactId",
1037
+ "title",
1038
+ "createdAt",
1039
+ "updatedAt",
1040
+ "producer",
1041
+ "status",
1042
+ "ownership",
1043
+ "links",
1044
+ "extensions",
1045
+ "contextId",
1046
+ "scope",
1047
+ "owner",
1048
+ "dependencies",
1049
+ "dependents",
1050
+ "relatedDecisions",
1051
+ "relatedPlansArtifacts",
1052
+ "verificationMetadata",
1053
+ "updateMetadata",
1054
+ "driftMetadata"
1055
+ ]
1056
+ }