@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,810 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://schemas.vibe-engineer.dev/artifacts/v1/schematic-manifest.schema.json",
4
+ "title": "SchematicManifestV1",
5
+ "description": "Canonical DL-02 SchematicManifestV1 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": "schematic_manifest",
19
+ "enum": [
20
+ "schematic_manifest"
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
+ "active",
90
+ "deprecated",
91
+ "experimental",
92
+ "disabled"
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
+ "schematicId": {
356
+ "type": "string",
357
+ "minLength": 1,
358
+ "pattern": "^[a-z0-9][a-z0-9._:-]*$"
359
+ },
360
+ "schematicVersion": {
361
+ "type": "string",
362
+ "minLength": 1,
363
+ "pattern": "^\\d+\\.\\d+\\.\\d+$"
364
+ },
365
+ "purpose": {
366
+ "type": "string",
367
+ "minLength": 1
368
+ },
369
+ "inputs": {
370
+ "type": "array",
371
+ "items": {
372
+ "type": "object",
373
+ "additionalProperties": false,
374
+ "properties": {
375
+ "name": {
376
+ "type": "string",
377
+ "minLength": 1,
378
+ "pattern": "^[A-Za-z_][A-Za-z0-9_-]*$"
379
+ },
380
+ "schema": {
381
+ "type": "object",
382
+ "additionalProperties": false,
383
+ "properties": {
384
+ "schemaId": {
385
+ "type": "string",
386
+ "minLength": 1,
387
+ "pattern": "^https://schemas\\.vibe-engineer\\.dev/.+\\.schema\\.json$"
388
+ },
389
+ "schemaVersion": {
390
+ "type": "string",
391
+ "minLength": 1,
392
+ "const": "1.0.0",
393
+ "pattern": "^\\d+\\.\\d+\\.\\d+$"
394
+ },
395
+ "artifactKind": {
396
+ "type": "string",
397
+ "minLength": 1,
398
+ "enum": [
399
+ "work_brief",
400
+ "implementation_plan",
401
+ "verification_delta",
402
+ "build_result",
403
+ "ship_packet",
404
+ "evidence_packet",
405
+ "agent_registry_entry",
406
+ "context_file_header",
407
+ "schematic_manifest",
408
+ "skill_manifest"
409
+ ]
410
+ }
411
+ },
412
+ "required": [
413
+ "schemaId",
414
+ "schemaVersion",
415
+ "artifactKind"
416
+ ]
417
+ },
418
+ "required": {
419
+ "type": "boolean"
420
+ },
421
+ "defaultsPolicy": {
422
+ "type": "string",
423
+ "minLength": 1,
424
+ "enum": [
425
+ "no_default",
426
+ "domain_neutral_default",
427
+ "user_supplied_only"
428
+ ]
429
+ },
430
+ "domainNeutralityClassification": {
431
+ "type": "string",
432
+ "minLength": 1,
433
+ "enum": [
434
+ "core_generic",
435
+ "sample_demo",
436
+ "project_extension"
437
+ ]
438
+ }
439
+ },
440
+ "required": [
441
+ "name",
442
+ "schema",
443
+ "required",
444
+ "defaultsPolicy",
445
+ "domainNeutralityClassification"
446
+ ]
447
+ },
448
+ "minItems": 1
449
+ },
450
+ "generatedPaths": {
451
+ "type": "array",
452
+ "items": {
453
+ "type": "object",
454
+ "additionalProperties": false,
455
+ "properties": {
456
+ "pathTemplate": {
457
+ "type": "string",
458
+ "minLength": 1
459
+ },
460
+ "ownership": {
461
+ "type": "string",
462
+ "minLength": 1
463
+ },
464
+ "conflictPolicy": {
465
+ "type": "string",
466
+ "minLength": 1,
467
+ "enum": [
468
+ "fail",
469
+ "merge_with_typed_strategy",
470
+ "skip_if_identical"
471
+ ]
472
+ },
473
+ "classification": {
474
+ "type": "string",
475
+ "minLength": 1,
476
+ "enum": [
477
+ "generated",
478
+ "vendor",
479
+ "operator_owned"
480
+ ]
481
+ }
482
+ },
483
+ "required": [
484
+ "pathTemplate",
485
+ "ownership",
486
+ "conflictPolicy",
487
+ "classification"
488
+ ]
489
+ },
490
+ "minItems": 1
491
+ },
492
+ "idempotency": {
493
+ "type": "object",
494
+ "additionalProperties": false,
495
+ "properties": {
496
+ "strategy": {
497
+ "type": "string",
498
+ "minLength": 1
499
+ },
500
+ "stableIdentifiers": {
501
+ "type": "array",
502
+ "items": {
503
+ "type": "string",
504
+ "minLength": 1
505
+ }
506
+ },
507
+ "rerunBehavior": {
508
+ "type": "string",
509
+ "minLength": 1
510
+ }
511
+ },
512
+ "required": [
513
+ "strategy",
514
+ "stableIdentifiers",
515
+ "rerunBehavior"
516
+ ]
517
+ },
518
+ "conflictBehavior": {
519
+ "type": "string",
520
+ "minLength": 1,
521
+ "enum": [
522
+ "fail",
523
+ "merge_with_typed_strategy",
524
+ "skip_if_identical"
525
+ ]
526
+ },
527
+ "dryRunBehavior": {
528
+ "type": "object",
529
+ "additionalProperties": false,
530
+ "properties": {
531
+ "reportsPlannedChanges": {
532
+ "type": "boolean"
533
+ },
534
+ "writesFiles": {
535
+ "type": "boolean",
536
+ "const": false
537
+ }
538
+ },
539
+ "required": [
540
+ "reportsPlannedChanges",
541
+ "writesFiles"
542
+ ]
543
+ },
544
+ "requiredTests": {
545
+ "type": "array",
546
+ "items": {
547
+ "type": "object",
548
+ "additionalProperties": false,
549
+ "properties": {
550
+ "evidencePacketRef": {
551
+ "type": "object",
552
+ "additionalProperties": false,
553
+ "properties": {
554
+ "rel": {
555
+ "type": "string",
556
+ "minLength": 1,
557
+ "enum": [
558
+ "raw_intent",
559
+ "derived_from",
560
+ "supersedes",
561
+ "superseded_by",
562
+ "implements",
563
+ "verifies",
564
+ "evidence_for",
565
+ "consumed_by",
566
+ "produced_by",
567
+ "context_for",
568
+ "registry_entry_for",
569
+ "manifest_for",
570
+ "verification_delta_of",
571
+ "build_result_of",
572
+ "ship_packet_of"
573
+ ]
574
+ },
575
+ "artifactKind": {
576
+ "type": "string",
577
+ "minLength": 1,
578
+ "enum": [
579
+ "work_brief",
580
+ "implementation_plan",
581
+ "verification_delta",
582
+ "build_result",
583
+ "ship_packet",
584
+ "evidence_packet",
585
+ "agent_registry_entry",
586
+ "context_file_header",
587
+ "schematic_manifest",
588
+ "skill_manifest"
589
+ ]
590
+ },
591
+ "artifactId": {
592
+ "type": "string",
593
+ "minLength": 1,
594
+ "pattern": "^[a-z0-9][a-z0-9._:-]*$"
595
+ },
596
+ "path": {
597
+ "type": "string",
598
+ "minLength": 1,
599
+ "pattern": "^.+$"
600
+ },
601
+ "required": {
602
+ "type": "boolean"
603
+ },
604
+ "statusAtLinkTime": {
605
+ "type": "string",
606
+ "minLength": 1
607
+ }
608
+ },
609
+ "required": [
610
+ "rel",
611
+ "artifactKind",
612
+ "artifactId",
613
+ "path",
614
+ "required",
615
+ "statusAtLinkTime"
616
+ ]
617
+ },
618
+ "summary": {
619
+ "type": "string",
620
+ "minLength": 1
621
+ },
622
+ "result": {
623
+ "type": "string",
624
+ "minLength": 1,
625
+ "enum": [
626
+ "pass",
627
+ "fail",
628
+ "blocked",
629
+ "advisory",
630
+ "skipped"
631
+ ]
632
+ },
633
+ "blocking": {
634
+ "type": "boolean"
635
+ }
636
+ },
637
+ "required": [
638
+ "evidencePacketRef",
639
+ "summary",
640
+ "result",
641
+ "blocking"
642
+ ]
643
+ }
644
+ },
645
+ "contextUpdates": {
646
+ "type": "array",
647
+ "items": {
648
+ "type": "object",
649
+ "additionalProperties": false,
650
+ "properties": {
651
+ "rel": {
652
+ "type": "string",
653
+ "minLength": 1,
654
+ "enum": [
655
+ "raw_intent",
656
+ "derived_from",
657
+ "supersedes",
658
+ "superseded_by",
659
+ "implements",
660
+ "verifies",
661
+ "evidence_for",
662
+ "consumed_by",
663
+ "produced_by",
664
+ "context_for",
665
+ "registry_entry_for",
666
+ "manifest_for",
667
+ "verification_delta_of",
668
+ "build_result_of",
669
+ "ship_packet_of"
670
+ ]
671
+ },
672
+ "artifactKind": {
673
+ "type": "string",
674
+ "minLength": 1,
675
+ "enum": [
676
+ "work_brief",
677
+ "implementation_plan",
678
+ "verification_delta",
679
+ "build_result",
680
+ "ship_packet",
681
+ "evidence_packet",
682
+ "agent_registry_entry",
683
+ "context_file_header",
684
+ "schematic_manifest",
685
+ "skill_manifest"
686
+ ]
687
+ },
688
+ "artifactId": {
689
+ "type": "string",
690
+ "minLength": 1,
691
+ "pattern": "^[a-z0-9][a-z0-9._:-]*$"
692
+ },
693
+ "path": {
694
+ "type": "string",
695
+ "minLength": 1,
696
+ "pattern": "^.+$"
697
+ },
698
+ "required": {
699
+ "type": "boolean"
700
+ },
701
+ "statusAtLinkTime": {
702
+ "type": "string",
703
+ "minLength": 1
704
+ }
705
+ },
706
+ "required": [
707
+ "rel",
708
+ "artifactKind",
709
+ "artifactId",
710
+ "path",
711
+ "required",
712
+ "statusAtLinkTime"
713
+ ]
714
+ }
715
+ },
716
+ "domainNeutrality": {
717
+ "type": "object",
718
+ "additionalProperties": false,
719
+ "properties": {
720
+ "coreSurface": {
721
+ "type": "boolean"
722
+ },
723
+ "allowedGenericTerms": {
724
+ "type": "array",
725
+ "items": {
726
+ "type": "string",
727
+ "minLength": 1
728
+ }
729
+ },
730
+ "extensionBoundaries": {
731
+ "type": "array",
732
+ "items": {
733
+ "type": "string",
734
+ "minLength": 1
735
+ }
736
+ }
737
+ },
738
+ "required": [
739
+ "coreSurface",
740
+ "allowedGenericTerms",
741
+ "extensionBoundaries"
742
+ ]
743
+ },
744
+ "owner": {
745
+ "type": "string",
746
+ "minLength": 1
747
+ },
748
+ "examples": {
749
+ "type": "array",
750
+ "items": {
751
+ "type": "string",
752
+ "minLength": 1
753
+ }
754
+ },
755
+ "fixtures": {
756
+ "type": "array",
757
+ "items": {
758
+ "type": "string",
759
+ "minLength": 1,
760
+ "pattern": "^.+$"
761
+ }
762
+ },
763
+ "deprecation": {
764
+ "type": [
765
+ "object",
766
+ "null"
767
+ ],
768
+ "additionalProperties": true
769
+ },
770
+ "changelog": {
771
+ "type": "array",
772
+ "items": {
773
+ "type": "string",
774
+ "minLength": 1
775
+ }
776
+ },
777
+ "adapterRequirements": {
778
+ "type": "array",
779
+ "items": {
780
+ "type": "string",
781
+ "minLength": 1
782
+ }
783
+ }
784
+ },
785
+ "required": [
786
+ "schemaVersion",
787
+ "artifactKind",
788
+ "artifactId",
789
+ "title",
790
+ "createdAt",
791
+ "updatedAt",
792
+ "producer",
793
+ "status",
794
+ "ownership",
795
+ "links",
796
+ "extensions",
797
+ "schematicId",
798
+ "schematicVersion",
799
+ "purpose",
800
+ "inputs",
801
+ "generatedPaths",
802
+ "idempotency",
803
+ "conflictBehavior",
804
+ "dryRunBehavior",
805
+ "requiredTests",
806
+ "contextUpdates",
807
+ "domainNeutrality",
808
+ "owner"
809
+ ]
810
+ }