@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.
package/dist/types.d.ts CHANGED
@@ -262,6 +262,8 @@ export type BuildResultV1 = {
262
262
  "severity": "critical" | "major-local" | "minor-local" | "advisory";
263
263
  "blocking": boolean;
264
264
  "owner": string;
265
+ "summary"?: string;
266
+ "details"?: string;
265
267
  "evidenceRef": {
266
268
  "rel": "raw_intent" | "derived_from" | "supersedes" | "superseded_by" | "implements" | "verifies" | "evidence_for" | "consumed_by" | "produced_by" | "context_for" | "registry_entry_for" | "manifest_for" | "verification_delta_of" | "build_result_of" | "ship_packet_of";
267
269
  "artifactKind": "work_brief" | "implementation_plan" | "verification_delta" | "build_result" | "ship_packet" | "evidence_packet" | "agent_registry_entry" | "context_file_header" | "schematic_manifest" | "skill_manifest";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vibe-engineer/artifacts",
3
- "version": "0.1.0",
3
+ "version": "0.2.0",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "description": "Canonical artifact schemas, generated types, and fail-closed validators for vibe-engineer workflows.",
@@ -37,9 +37,9 @@
37
37
  },
38
38
  "vibeEngineer": {
39
39
  "implementationUnit": "I-01A-artifact-schemas",
40
- "implementationStatus": "v0.1-public-artifact-api",
40
+ "implementationStatus": "v0.2-public-artifact-api",
41
41
  "packageRole": "public-artifact-schema-package",
42
- "sourceStatus": "v0.1-schema-validation-api"
42
+ "sourceStatus": "v0.2-schema-validation-api"
43
43
  },
44
44
  "dependencies": {
45
45
  "ajv": "8.17.1"
@@ -16,9 +16,7 @@
16
16
  "type": "string",
17
17
  "minLength": 1,
18
18
  "const": "agent_registry_entry",
19
- "enum": [
20
- "agent_registry_entry"
21
- ]
19
+ "enum": ["agent_registry_entry"]
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
- "active",
90
- "disabled",
91
- "deprecated",
92
- "experimental"
93
- ]
82
+ "enum": ["active", "disabled", "deprecated", "experimental"]
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
  "agentId": {
356
316
  "type": "string",
@@ -393,10 +353,7 @@
393
353
  "minLength": 1
394
354
  }
395
355
  },
396
- "required": [
397
- "event",
398
- "description"
399
- ]
356
+ "required": ["event", "description"]
400
357
  },
401
358
  "minItems": 1
402
359
  },
@@ -434,11 +391,7 @@
434
391
  ]
435
392
  }
436
393
  },
437
- "required": [
438
- "schemaId",
439
- "schemaVersion",
440
- "artifactKind"
441
- ]
394
+ "required": ["schemaId", "schemaVersion", "artifactKind"]
442
395
  },
443
396
  "minItems": 1
444
397
  },
@@ -476,11 +429,7 @@
476
429
  ]
477
430
  }
478
431
  },
479
- "required": [
480
- "schemaId",
481
- "schemaVersion",
482
- "artifactKind"
483
- ]
432
+ "required": ["schemaId", "schemaVersion", "artifactKind"]
484
433
  },
485
434
  "minItems": 1
486
435
  },
@@ -536,11 +485,7 @@
536
485
  "type": "integer"
537
486
  }
538
487
  },
539
- "required": [
540
- "parallelSafe",
541
- "writesAllowed",
542
- "requiresApprovalFor"
543
- ]
488
+ "required": ["parallelSafe", "writesAllowed", "requiresApprovalFor"]
544
489
  },
545
490
  "validatorRefs": {
546
491
  "type": "array",
@@ -603,14 +548,7 @@
603
548
  "minLength": 1
604
549
  }
605
550
  },
606
- "required": [
607
- "rel",
608
- "artifactKind",
609
- "artifactId",
610
- "path",
611
- "required",
612
- "statusAtLinkTime"
613
- ]
551
+ "required": ["rel", "artifactKind", "artifactId", "path", "required", "statusAtLinkTime"]
614
552
  }
615
553
  },
616
554
  "fixerRefs": {
@@ -674,24 +612,13 @@
674
612
  "minLength": 1
675
613
  }
676
614
  },
677
- "required": [
678
- "rel",
679
- "artifactKind",
680
- "artifactId",
681
- "path",
682
- "required",
683
- "statusAtLinkTime"
684
- ]
615
+ "required": ["rel", "artifactKind", "artifactId", "path", "required", "statusAtLinkTime"]
685
616
  }
686
617
  },
687
618
  "maturity": {
688
619
  "type": "string",
689
620
  "minLength": 1,
690
- "enum": [
691
- "experimental",
692
- "stable",
693
- "core"
694
- ]
621
+ "enum": ["experimental", "stable", "core"]
695
622
  },
696
623
  "owner": {
697
624
  "type": "string",
@@ -763,21 +690,11 @@
763
690
  "minLength": 1
764
691
  }
765
692
  },
766
- "required": [
767
- "rel",
768
- "artifactKind",
769
- "artifactId",
770
- "path",
771
- "required",
772
- "statusAtLinkTime"
773
- ]
693
+ "required": ["rel", "artifactKind", "artifactId", "path", "required", "statusAtLinkTime"]
774
694
  }
775
695
  },
776
696
  "deprecation": {
777
- "type": [
778
- "object",
779
- "null"
780
- ],
697
+ "type": ["object", "null"],
781
698
  "additionalProperties": true
782
699
  },
783
700
  "runtimeCostClass": {
@@ -16,9 +16,7 @@
16
16
  "type": "string",
17
17
  "minLength": 1,
18
18
  "const": "build_result",
19
- "enum": [
20
- "build_result"
21
- ]
19
+ "enum": ["build_result"]
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
- "passed",
90
- "failed",
91
- "blocked",
92
- "superseded"
93
- ]
82
+ "enum": ["passed", "failed", "blocked", "superseded"]
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
  "implementationPlanRef": {
356
316
  "type": "object",
@@ -411,14 +371,7 @@
411
371
  "minLength": 1
412
372
  }
413
373
  },
414
- "required": [
415
- "rel",
416
- "artifactKind",
417
- "artifactId",
418
- "path",
419
- "required",
420
- "statusAtLinkTime"
421
- ]
374
+ "required": ["rel", "artifactKind", "artifactId", "path", "required", "statusAtLinkTime"]
422
375
  },
423
376
  "implementationSummary": {
424
377
  "type": "string",
@@ -438,13 +391,7 @@
438
391
  "changeKind": {
439
392
  "type": "string",
440
393
  "minLength": 1,
441
- "enum": [
442
- "created",
443
- "modified",
444
- "deleted",
445
- "moved",
446
- "unchanged_validated"
447
- ]
394
+ "enum": ["created", "modified", "deleted", "moved", "unchanged_validated"]
448
395
  },
449
396
  "ownerLane": {
450
397
  "type": "string",
@@ -455,12 +402,7 @@
455
402
  "minLength": 1
456
403
  }
457
404
  },
458
- "required": [
459
- "path",
460
- "changeKind",
461
- "ownerLane",
462
- "summary"
463
- ]
405
+ "required": ["path", "changeKind", "ownerLane", "summary"]
464
406
  },
465
407
  "minItems": 1
466
408
  },
@@ -609,20 +551,12 @@
609
551
  "dryRunStatus": {
610
552
  "type": "string",
611
553
  "minLength": 1,
612
- "enum": [
613
- "passed",
614
- "failed",
615
- "not_run"
616
- ]
554
+ "enum": ["passed", "failed", "not_run"]
617
555
  },
618
556
  "conflictStatus": {
619
557
  "type": "string",
620
558
  "minLength": 1,
621
- "enum": [
622
- "none",
623
- "resolved",
624
- "blocked"
625
- ]
559
+ "enum": ["none", "resolved", "blocked"]
626
560
  },
627
561
  "outputPaths": {
628
562
  "type": "array",
@@ -656,11 +590,7 @@
656
590
  "changeKind": {
657
591
  "type": "string",
658
592
  "minLength": 1,
659
- "enum": [
660
- "added",
661
- "updated",
662
- "reused"
663
- ]
593
+ "enum": ["added", "updated", "reused"]
664
594
  },
665
595
  "evidenceRef": {
666
596
  "type": "object",
@@ -731,11 +661,7 @@
731
661
  ]
732
662
  }
733
663
  },
734
- "required": [
735
- "path",
736
- "changeKind",
737
- "evidenceRef"
738
- ]
664
+ "required": ["path", "changeKind", "evidenceRef"]
739
665
  }
740
666
  },
741
667
  "verificationRuns": {
@@ -819,24 +745,13 @@
819
745
  "result": {
820
746
  "type": "string",
821
747
  "minLength": 1,
822
- "enum": [
823
- "pass",
824
- "fail",
825
- "blocked",
826
- "advisory",
827
- "skipped"
828
- ]
748
+ "enum": ["pass", "fail", "blocked", "advisory", "skipped"]
829
749
  },
830
750
  "blocking": {
831
751
  "type": "boolean"
832
752
  }
833
753
  },
834
- "required": [
835
- "evidencePacketRef",
836
- "summary",
837
- "result",
838
- "blocking"
839
- ]
754
+ "required": ["evidencePacketRef", "summary", "result", "blocking"]
840
755
  },
841
756
  "minItems": 1
842
757
  },
@@ -849,12 +764,7 @@
849
764
  "severity": {
850
765
  "type": "string",
851
766
  "minLength": 1,
852
- "enum": [
853
- "critical",
854
- "major-local",
855
- "minor-local",
856
- "advisory"
857
- ]
767
+ "enum": ["critical", "major-local", "minor-local", "advisory"]
858
768
  },
859
769
  "blocking": {
860
770
  "type": "boolean"
@@ -863,6 +773,14 @@
863
773
  "type": "string",
864
774
  "minLength": 1
865
775
  },
776
+ "summary": {
777
+ "type": "string",
778
+ "minLength": 1
779
+ },
780
+ "details": {
781
+ "type": "string",
782
+ "minLength": 1
783
+ },
866
784
  "evidenceRef": {
867
785
  "type": "object",
868
786
  "additionalProperties": false,
@@ -932,12 +850,7 @@
932
850
  ]
933
851
  }
934
852
  },
935
- "required": [
936
- "severity",
937
- "blocking",
938
- "owner",
939
- "evidenceRef"
940
- ]
853
+ "required": ["severity", "blocking", "owner", "evidenceRef"]
941
854
  }
942
855
  },
943
856
  "contextDocsUpdates": {
@@ -1017,22 +930,14 @@
1017
930
  "updateStatus": {
1018
931
  "type": "string",
1019
932
  "minLength": 1,
1020
- "enum": [
1021
- "updated",
1022
- "not_needed",
1023
- "blocked"
1024
- ]
933
+ "enum": ["updated", "not_needed", "blocked"]
1025
934
  },
1026
935
  "summary": {
1027
936
  "type": "string",
1028
937
  "minLength": 1
1029
938
  }
1030
939
  },
1031
- "required": [
1032
- "ref",
1033
- "updateStatus",
1034
- "summary"
1035
- ]
940
+ "required": ["ref", "updateStatus", "summary"]
1036
941
  }
1037
942
  },
1038
943
  "finalStatusReason": {