@vibe-engineer/artifacts 0.1.0 → 0.2.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.
@@ -16,9 +16,7 @@
16
16
  "type": "string",
17
17
  "minLength": 1,
18
18
  "const": "context_file_header",
19
- "enum": [
20
- "context_file_header"
21
- ]
19
+ "enum": ["context_file_header"]
22
20
  },
23
21
  "artifactId": {
24
22
  "type": "string",
@@ -76,21 +74,12 @@
76
74
  "pattern": "^[a-z0-9][a-z0-9._:-]*$"
77
75
  }
78
76
  },
79
- "required": [
80
- "kind",
81
- "id",
82
- "name"
83
- ]
77
+ "required": ["kind", "id", "name"]
84
78
  },
85
79
  "status": {
86
80
  "type": "string",
87
81
  "minLength": 1,
88
- "enum": [
89
- "current",
90
- "stale",
91
- "needs_review",
92
- "deprecated"
93
- ]
82
+ "enum": ["current", "stale", "needs_review", "deprecated"]
94
83
  },
95
84
  "ownership": {
96
85
  "type": "object",
@@ -203,14 +192,7 @@
203
192
  "minLength": 1
204
193
  }
205
194
  },
206
- "required": [
207
- "rel",
208
- "artifactKind",
209
- "artifactId",
210
- "path",
211
- "required",
212
- "statusAtLinkTime"
213
- ]
195
+ "required": ["rel", "artifactKind", "artifactId", "path", "required", "statusAtLinkTime"]
214
196
  },
215
197
  "minItems": 1
216
198
  },
@@ -221,9 +203,7 @@
221
203
  },
222
204
  "additionalProperties": {
223
205
  "type": "object",
224
- "required": [
225
- "schemaVersion"
226
- ],
206
+ "required": ["schemaVersion"],
227
207
  "properties": {
228
208
  "schemaVersion": {
229
209
  "type": "string",
@@ -253,24 +233,14 @@
253
233
  "kind": {
254
234
  "type": "string",
255
235
  "minLength": 1,
256
- "enum": [
257
- "source_doc",
258
- "prompt",
259
- "issue",
260
- "url",
261
- "artifact",
262
- "raw_intent"
263
- ]
236
+ "enum": ["source_doc", "prompt", "issue", "url", "artifact", "raw_intent"]
264
237
  },
265
238
  "ref": {
266
239
  "type": "string",
267
240
  "minLength": 1
268
241
  }
269
242
  },
270
- "required": [
271
- "kind",
272
- "ref"
273
- ]
243
+ "required": ["kind", "ref"]
274
244
  }
275
245
  },
276
246
  "approvedBy": {
@@ -314,11 +284,7 @@
314
284
  "pattern": "^[a-z0-9][a-z0-9._:-]*$"
315
285
  }
316
286
  },
317
- "required": [
318
- "kind",
319
- "id",
320
- "name"
321
- ]
287
+ "required": ["kind", "id", "name"]
322
288
  },
323
289
  "approvedAt": {
324
290
  "type": "string",
@@ -326,10 +292,7 @@
326
292
  "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
293
  }
328
294
  },
329
- "required": [
330
- "producer",
331
- "approvedAt"
332
- ]
295
+ "required": ["producer", "approvedAt"]
333
296
  },
334
297
  "supersessionReason": {
335
298
  "type": "string"
@@ -347,10 +310,7 @@
347
310
  "minLength": 1
348
311
  }
349
312
  },
350
- "required": [
351
- "policy",
352
- "reason"
353
- ]
313
+ "required": ["policy", "reason"]
354
314
  },
355
315
  "contextId": {
356
316
  "type": "string",
@@ -394,11 +354,7 @@
394
354
  "minLength": 1
395
355
  }
396
356
  },
397
- "required": [
398
- "kind",
399
- "paths",
400
- "description"
401
- ]
357
+ "required": ["kind", "paths", "description"]
402
358
  },
403
359
  "owner": {
404
360
  "type": "string",
@@ -465,14 +421,7 @@
465
421
  "minLength": 1
466
422
  }
467
423
  },
468
- "required": [
469
- "rel",
470
- "artifactKind",
471
- "artifactId",
472
- "path",
473
- "required",
474
- "statusAtLinkTime"
475
- ]
424
+ "required": ["rel", "artifactKind", "artifactId", "path", "required", "statusAtLinkTime"]
476
425
  }
477
426
  },
478
427
  "dependents": {
@@ -536,14 +485,7 @@
536
485
  "minLength": 1
537
486
  }
538
487
  },
539
- "required": [
540
- "rel",
541
- "artifactKind",
542
- "artifactId",
543
- "path",
544
- "required",
545
- "statusAtLinkTime"
546
- ]
488
+ "required": ["rel", "artifactKind", "artifactId", "path", "required", "statusAtLinkTime"]
547
489
  }
548
490
  },
549
491
  "relatedDecisions": {
@@ -614,14 +556,7 @@
614
556
  "minLength": 1
615
557
  }
616
558
  },
617
- "required": [
618
- "rel",
619
- "artifactKind",
620
- "artifactId",
621
- "path",
622
- "required",
623
- "statusAtLinkTime"
624
- ]
559
+ "required": ["rel", "artifactKind", "artifactId", "path", "required", "statusAtLinkTime"]
625
560
  }
626
561
  },
627
562
  "verificationMetadata": {
@@ -702,18 +637,10 @@
702
637
  "status": {
703
638
  "type": "string",
704
639
  "minLength": 1,
705
- "enum": [
706
- "valid",
707
- "invalid",
708
- "blocked",
709
- "unknown"
710
- ]
640
+ "enum": ["valid", "invalid", "blocked", "unknown"]
711
641
  }
712
642
  },
713
- "required": [
714
- "lastValidationEvidenceRefs",
715
- "status"
716
- ]
643
+ "required": ["lastValidationEvidenceRefs", "status"]
717
644
  },
718
645
  "updateMetadata": {
719
646
  "type": "object",
@@ -761,22 +688,14 @@
761
688
  "pattern": "^[a-z0-9][a-z0-9._:-]*$"
762
689
  }
763
690
  },
764
- "required": [
765
- "kind",
766
- "id",
767
- "name"
768
- ]
691
+ "required": ["kind", "id", "name"]
769
692
  },
770
693
  "updateReason": {
771
694
  "type": "string",
772
695
  "minLength": 1
773
696
  }
774
697
  },
775
- "required": [
776
- "lastReviewedAt",
777
- "lastUpdatedBy",
778
- "updateReason"
779
- ]
698
+ "required": ["lastReviewedAt", "lastUpdatedBy", "updateReason"]
780
699
  },
781
700
  "driftMetadata": {
782
701
  "type": "object",
@@ -785,12 +704,7 @@
785
704
  "driftStatus": {
786
705
  "type": "string",
787
706
  "minLength": 1,
788
- "enum": [
789
- "unknown",
790
- "clean",
791
- "suspected",
792
- "confirmed"
793
- ]
707
+ "enum": ["unknown", "clean", "suspected", "confirmed"]
794
708
  },
795
709
  "lastDriftCheckAt": {
796
710
  "type": "string",
@@ -869,11 +783,7 @@
869
783
  }
870
784
  }
871
785
  },
872
- "required": [
873
- "driftStatus",
874
- "lastDriftCheckAt",
875
- "evidenceRefs"
876
- ]
786
+ "required": ["driftStatus", "lastDriftCheckAt", "evidenceRefs"]
877
787
  },
878
788
  "retrievalHints": {
879
789
  "type": "array",
@@ -947,14 +857,7 @@
947
857
  "minLength": 1
948
858
  }
949
859
  },
950
- "required": [
951
- "rel",
952
- "artifactKind",
953
- "artifactId",
954
- "path",
955
- "required",
956
- "statusAtLinkTime"
957
- ]
860
+ "required": ["rel", "artifactKind", "artifactId", "path", "required", "statusAtLinkTime"]
958
861
  }
959
862
  },
960
863
  "ttl": {
@@ -1020,14 +923,7 @@
1020
923
  "minLength": 1
1021
924
  }
1022
925
  },
1023
- "required": [
1024
- "rel",
1025
- "artifactKind",
1026
- "artifactId",
1027
- "path",
1028
- "required",
1029
- "statusAtLinkTime"
1030
- ]
926
+ "required": ["rel", "artifactKind", "artifactId", "path", "required", "statusAtLinkTime"]
1031
927
  }
1032
928
  },
1033
929
  "required": [
@@ -16,9 +16,7 @@
16
16
  "type": "string",
17
17
  "minLength": 1,
18
18
  "const": "evidence_packet",
19
- "enum": [
20
- "evidence_packet"
21
- ]
19
+ "enum": ["evidence_packet"]
22
20
  },
23
21
  "artifactId": {
24
22
  "type": "string",
@@ -76,23 +74,12 @@
76
74
  "pattern": "^[a-z0-9][a-z0-9._:-]*$"
77
75
  }
78
76
  },
79
- "required": [
80
- "kind",
81
- "id",
82
- "name"
83
- ]
77
+ "required": ["kind", "id", "name"]
84
78
  },
85
79
  "status": {
86
80
  "type": "string",
87
81
  "minLength": 1,
88
- "enum": [
89
- "passed",
90
- "failed",
91
- "blocked",
92
- "advisory_warning",
93
- "not_run",
94
- "superseded"
95
- ]
82
+ "enum": ["passed", "failed", "blocked", "advisory_warning", "not_run", "superseded"]
96
83
  },
97
84
  "ownership": {
98
85
  "type": "object",
@@ -205,14 +192,7 @@
205
192
  "minLength": 1
206
193
  }
207
194
  },
208
- "required": [
209
- "rel",
210
- "artifactKind",
211
- "artifactId",
212
- "path",
213
- "required",
214
- "statusAtLinkTime"
215
- ]
195
+ "required": ["rel", "artifactKind", "artifactId", "path", "required", "statusAtLinkTime"]
216
196
  },
217
197
  "minItems": 1
218
198
  },
@@ -223,9 +203,7 @@
223
203
  },
224
204
  "additionalProperties": {
225
205
  "type": "object",
226
- "required": [
227
- "schemaVersion"
228
- ],
206
+ "required": ["schemaVersion"],
229
207
  "properties": {
230
208
  "schemaVersion": {
231
209
  "type": "string",
@@ -255,24 +233,14 @@
255
233
  "kind": {
256
234
  "type": "string",
257
235
  "minLength": 1,
258
- "enum": [
259
- "source_doc",
260
- "prompt",
261
- "issue",
262
- "url",
263
- "artifact",
264
- "raw_intent"
265
- ]
236
+ "enum": ["source_doc", "prompt", "issue", "url", "artifact", "raw_intent"]
266
237
  },
267
238
  "ref": {
268
239
  "type": "string",
269
240
  "minLength": 1
270
241
  }
271
242
  },
272
- "required": [
273
- "kind",
274
- "ref"
275
- ]
243
+ "required": ["kind", "ref"]
276
244
  }
277
245
  },
278
246
  "approvedBy": {
@@ -316,11 +284,7 @@
316
284
  "pattern": "^[a-z0-9][a-z0-9._:-]*$"
317
285
  }
318
286
  },
319
- "required": [
320
- "kind",
321
- "id",
322
- "name"
323
- ]
287
+ "required": ["kind", "id", "name"]
324
288
  },
325
289
  "approvedAt": {
326
290
  "type": "string",
@@ -328,10 +292,7 @@
328
292
  "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$"
329
293
  }
330
294
  },
331
- "required": [
332
- "producer",
333
- "approvedAt"
334
- ]
295
+ "required": ["producer", "approvedAt"]
335
296
  },
336
297
  "supersessionReason": {
337
298
  "type": "string"
@@ -349,19 +310,12 @@
349
310
  "minLength": 1
350
311
  }
351
312
  },
352
- "required": [
353
- "policy",
354
- "reason"
355
- ]
313
+ "required": ["policy", "reason"]
356
314
  },
357
315
  "evidenceClass": {
358
316
  "type": "string",
359
317
  "minLength": 1,
360
- "enum": [
361
- "deterministic",
362
- "advisory",
363
- "informational"
364
- ]
318
+ "enum": ["deterministic", "advisory", "informational"]
365
319
  },
366
320
  "layer": {
367
321
  "type": "string",
@@ -446,14 +400,7 @@
446
400
  "minLength": 1
447
401
  }
448
402
  },
449
- "required": [
450
- "rel",
451
- "artifactKind",
452
- "artifactId",
453
- "path",
454
- "required",
455
- "statusAtLinkTime"
456
- ]
403
+ "required": ["rel", "artifactKind", "artifactId", "path", "required", "statusAtLinkTime"]
457
404
  },
458
405
  "minItems": 1
459
406
  },
@@ -464,13 +411,7 @@
464
411
  "kind": {
465
412
  "type": "string",
466
413
  "minLength": 1,
467
- "enum": [
468
- "command",
469
- "tool",
470
- "validator",
471
- "agent",
472
- "manual_operator"
473
- ]
414
+ "enum": ["command", "tool", "validator", "agent", "manual_operator"]
474
415
  },
475
416
  "name": {
476
417
  "type": "string",
@@ -498,11 +439,22 @@
498
439
  "minLength": 1
499
440
  }
500
441
  },
501
- "required": [
502
- "kind",
503
- "name",
504
- "workingDirectory",
505
- "environmentSummary"
442
+ "required": ["kind", "name", "workingDirectory", "environmentSummary"],
443
+ "allOf": [
444
+ {
445
+ "if": {
446
+ "properties": {
447
+ "kind": { "const": "command" }
448
+ },
449
+ "required": ["kind"]
450
+ },
451
+ "then": {
452
+ "required": ["argv"],
453
+ "properties": {
454
+ "argv": { "type": "array", "minItems": 1 }
455
+ }
456
+ }
457
+ }
506
458
  ]
507
459
  },
508
460
  "startedAt": {
@@ -522,11 +474,7 @@
522
474
  "kind": {
523
475
  "type": "string",
524
476
  "minLength": 1,
525
- "enum": [
526
- "exit_code",
527
- "tool_status",
528
- "not_applicable"
529
- ]
477
+ "enum": ["exit_code", "tool_status", "not_applicable"]
530
478
  },
531
479
  "code": {
532
480
  "type": "integer"
@@ -536,20 +484,12 @@
536
484
  "minLength": 1
537
485
  }
538
486
  },
539
- "required": [
540
- "kind"
541
- ]
487
+ "required": ["kind"]
542
488
  },
543
489
  "result": {
544
490
  "type": "string",
545
491
  "minLength": 1,
546
- "enum": [
547
- "pass",
548
- "fail",
549
- "blocked",
550
- "advisory",
551
- "skipped"
552
- ]
492
+ "enum": ["pass", "fail", "blocked", "advisory", "skipped"]
553
493
  },
554
494
  "blocking": {
555
495
  "type": "boolean"
@@ -605,11 +545,7 @@
605
545
  ]
606
546
  }
607
547
  },
608
- "required": [
609
- "code",
610
- "message",
611
- "classification"
612
- ]
548
+ "required": ["code", "message", "classification"]
613
549
  },
614
550
  "stdoutRef": {
615
551
  "type": "string",