@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,687 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://schemas.vibe-engineer.dev/artifacts/v1/evidence-packet.schema.json",
4
+ "title": "EvidencePacketV1",
5
+ "description": "Canonical DL-02 EvidencePacketV1 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": "evidence_packet",
19
+ "enum": [
20
+ "evidence_packet"
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
+ "passed",
90
+ "failed",
91
+ "blocked",
92
+ "advisory_warning",
93
+ "not_run",
94
+ "superseded"
95
+ ]
96
+ },
97
+ "ownership": {
98
+ "type": "object",
99
+ "additionalProperties": false,
100
+ "properties": {
101
+ "ownerLane": {
102
+ "type": "string",
103
+ "minLength": 1
104
+ },
105
+ "ownedWritePaths": {
106
+ "type": "array",
107
+ "items": {
108
+ "type": "string",
109
+ "minLength": 1,
110
+ "pattern": "^.+$"
111
+ },
112
+ "minItems": 1
113
+ },
114
+ "readOnlyPaths": {
115
+ "type": "array",
116
+ "items": {
117
+ "type": "string",
118
+ "minLength": 1,
119
+ "pattern": "^.+$"
120
+ }
121
+ },
122
+ "untouchablePaths": {
123
+ "type": "array",
124
+ "items": {
125
+ "type": "string",
126
+ "minLength": 1,
127
+ "pattern": "^.+$"
128
+ }
129
+ },
130
+ "concurrencyNotes": {
131
+ "type": "string",
132
+ "minLength": 1
133
+ },
134
+ "handoffPolicy": {
135
+ "type": "string",
136
+ "minLength": 1
137
+ }
138
+ },
139
+ "required": [
140
+ "ownerLane",
141
+ "ownedWritePaths",
142
+ "readOnlyPaths",
143
+ "untouchablePaths",
144
+ "concurrencyNotes"
145
+ ]
146
+ },
147
+ "links": {
148
+ "type": "array",
149
+ "items": {
150
+ "type": "object",
151
+ "additionalProperties": false,
152
+ "properties": {
153
+ "rel": {
154
+ "type": "string",
155
+ "minLength": 1,
156
+ "enum": [
157
+ "raw_intent",
158
+ "derived_from",
159
+ "supersedes",
160
+ "superseded_by",
161
+ "implements",
162
+ "verifies",
163
+ "evidence_for",
164
+ "consumed_by",
165
+ "produced_by",
166
+ "context_for",
167
+ "registry_entry_for",
168
+ "manifest_for",
169
+ "verification_delta_of",
170
+ "build_result_of",
171
+ "ship_packet_of"
172
+ ]
173
+ },
174
+ "artifactKind": {
175
+ "type": "string",
176
+ "minLength": 1,
177
+ "enum": [
178
+ "work_brief",
179
+ "implementation_plan",
180
+ "verification_delta",
181
+ "build_result",
182
+ "ship_packet",
183
+ "evidence_packet",
184
+ "agent_registry_entry",
185
+ "context_file_header",
186
+ "schematic_manifest",
187
+ "skill_manifest"
188
+ ]
189
+ },
190
+ "artifactId": {
191
+ "type": "string",
192
+ "minLength": 1,
193
+ "pattern": "^[a-z0-9][a-z0-9._:-]*$"
194
+ },
195
+ "path": {
196
+ "type": "string",
197
+ "minLength": 1,
198
+ "pattern": "^.+$"
199
+ },
200
+ "required": {
201
+ "type": "boolean"
202
+ },
203
+ "statusAtLinkTime": {
204
+ "type": "string",
205
+ "minLength": 1
206
+ }
207
+ },
208
+ "required": [
209
+ "rel",
210
+ "artifactKind",
211
+ "artifactId",
212
+ "path",
213
+ "required",
214
+ "statusAtLinkTime"
215
+ ]
216
+ },
217
+ "minItems": 1
218
+ },
219
+ "extensions": {
220
+ "type": "object",
221
+ "propertyNames": {
222
+ "pattern": "^[a-z][a-z0-9]*(\\.[a-z0-9][a-z0-9-]*)+$|^@[a-z0-9][a-z0-9-]*/[a-z0-9][a-z0-9-]*$"
223
+ },
224
+ "additionalProperties": {
225
+ "type": "object",
226
+ "required": [
227
+ "schemaVersion"
228
+ ],
229
+ "properties": {
230
+ "schemaVersion": {
231
+ "type": "string",
232
+ "minLength": 1,
233
+ "pattern": "^\\d+\\.\\d+\\.\\d+$"
234
+ }
235
+ },
236
+ "additionalProperties": true
237
+ }
238
+ },
239
+ "description": {
240
+ "type": "string"
241
+ },
242
+ "tags": {
243
+ "type": "array",
244
+ "items": {
245
+ "type": "string",
246
+ "minLength": 1
247
+ }
248
+ },
249
+ "sourceRefs": {
250
+ "type": "array",
251
+ "items": {
252
+ "type": "object",
253
+ "additionalProperties": false,
254
+ "properties": {
255
+ "kind": {
256
+ "type": "string",
257
+ "minLength": 1,
258
+ "enum": [
259
+ "source_doc",
260
+ "prompt",
261
+ "issue",
262
+ "url",
263
+ "artifact",
264
+ "raw_intent"
265
+ ]
266
+ },
267
+ "ref": {
268
+ "type": "string",
269
+ "minLength": 1
270
+ }
271
+ },
272
+ "required": [
273
+ "kind",
274
+ "ref"
275
+ ]
276
+ }
277
+ },
278
+ "approvedBy": {
279
+ "type": "object",
280
+ "additionalProperties": false,
281
+ "properties": {
282
+ "producer": {
283
+ "type": "object",
284
+ "additionalProperties": false,
285
+ "properties": {
286
+ "kind": {
287
+ "type": "string",
288
+ "minLength": 1,
289
+ "enum": [
290
+ "skill",
291
+ "agent",
292
+ "cli",
293
+ "schematic",
294
+ "verification_runner",
295
+ "human_operator",
296
+ "system"
297
+ ]
298
+ },
299
+ "id": {
300
+ "type": "string",
301
+ "minLength": 1,
302
+ "pattern": "^[a-z0-9][a-z0-9._:-]*$"
303
+ },
304
+ "name": {
305
+ "type": "string",
306
+ "minLength": 1
307
+ },
308
+ "version": {
309
+ "type": "string",
310
+ "minLength": 1,
311
+ "pattern": "^\\d+\\.\\d+\\.\\d+$"
312
+ },
313
+ "runId": {
314
+ "type": "string",
315
+ "minLength": 1,
316
+ "pattern": "^[a-z0-9][a-z0-9._:-]*$"
317
+ }
318
+ },
319
+ "required": [
320
+ "kind",
321
+ "id",
322
+ "name"
323
+ ]
324
+ },
325
+ "approvedAt": {
326
+ "type": "string",
327
+ "minLength": 1,
328
+ "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
+ }
330
+ },
331
+ "required": [
332
+ "producer",
333
+ "approvedAt"
334
+ ]
335
+ },
336
+ "supersessionReason": {
337
+ "type": "string"
338
+ },
339
+ "retention": {
340
+ "type": "object",
341
+ "additionalProperties": false,
342
+ "properties": {
343
+ "policy": {
344
+ "type": "string",
345
+ "minLength": 1
346
+ },
347
+ "reason": {
348
+ "type": "string",
349
+ "minLength": 1
350
+ }
351
+ },
352
+ "required": [
353
+ "policy",
354
+ "reason"
355
+ ]
356
+ },
357
+ "evidenceClass": {
358
+ "type": "string",
359
+ "minLength": 1,
360
+ "enum": [
361
+ "deterministic",
362
+ "advisory",
363
+ "informational"
364
+ ]
365
+ },
366
+ "layer": {
367
+ "type": "string",
368
+ "minLength": 1,
369
+ "enum": [
370
+ "safety_hooks",
371
+ "typecheck",
372
+ "lint_format",
373
+ "mechanical_gate",
374
+ "unit",
375
+ "integration",
376
+ "contract_adapter",
377
+ "e2e",
378
+ "ui_verification",
379
+ "ai_eval",
380
+ "build_package",
381
+ "context_drift",
382
+ "observability",
383
+ "advisory_review",
384
+ "final_dod",
385
+ "schema_validation"
386
+ ]
387
+ },
388
+ "subjectRefs": {
389
+ "type": "array",
390
+ "items": {
391
+ "type": "object",
392
+ "additionalProperties": false,
393
+ "properties": {
394
+ "rel": {
395
+ "type": "string",
396
+ "minLength": 1,
397
+ "enum": [
398
+ "raw_intent",
399
+ "derived_from",
400
+ "supersedes",
401
+ "superseded_by",
402
+ "implements",
403
+ "verifies",
404
+ "evidence_for",
405
+ "consumed_by",
406
+ "produced_by",
407
+ "context_for",
408
+ "registry_entry_for",
409
+ "manifest_for",
410
+ "verification_delta_of",
411
+ "build_result_of",
412
+ "ship_packet_of"
413
+ ]
414
+ },
415
+ "artifactKind": {
416
+ "type": "string",
417
+ "minLength": 1,
418
+ "enum": [
419
+ "work_brief",
420
+ "implementation_plan",
421
+ "verification_delta",
422
+ "build_result",
423
+ "ship_packet",
424
+ "evidence_packet",
425
+ "agent_registry_entry",
426
+ "context_file_header",
427
+ "schematic_manifest",
428
+ "skill_manifest"
429
+ ]
430
+ },
431
+ "artifactId": {
432
+ "type": "string",
433
+ "minLength": 1,
434
+ "pattern": "^[a-z0-9][a-z0-9._:-]*$"
435
+ },
436
+ "path": {
437
+ "type": "string",
438
+ "minLength": 1,
439
+ "pattern": "^.+$"
440
+ },
441
+ "required": {
442
+ "type": "boolean"
443
+ },
444
+ "statusAtLinkTime": {
445
+ "type": "string",
446
+ "minLength": 1
447
+ }
448
+ },
449
+ "required": [
450
+ "rel",
451
+ "artifactKind",
452
+ "artifactId",
453
+ "path",
454
+ "required",
455
+ "statusAtLinkTime"
456
+ ]
457
+ },
458
+ "minItems": 1
459
+ },
460
+ "commandOrTool": {
461
+ "type": "object",
462
+ "additionalProperties": false,
463
+ "properties": {
464
+ "kind": {
465
+ "type": "string",
466
+ "minLength": 1,
467
+ "enum": [
468
+ "command",
469
+ "tool",
470
+ "validator",
471
+ "agent",
472
+ "manual_operator"
473
+ ]
474
+ },
475
+ "name": {
476
+ "type": "string",
477
+ "minLength": 1
478
+ },
479
+ "argv": {
480
+ "type": "array",
481
+ "items": {
482
+ "type": "string",
483
+ "minLength": 1
484
+ }
485
+ },
486
+ "version": {
487
+ "type": "string",
488
+ "minLength": 1,
489
+ "pattern": "^\\d+\\.\\d+\\.\\d+$"
490
+ },
491
+ "workingDirectory": {
492
+ "type": "string",
493
+ "minLength": 1,
494
+ "pattern": "^.+$"
495
+ },
496
+ "environmentSummary": {
497
+ "type": "string",
498
+ "minLength": 1
499
+ }
500
+ },
501
+ "required": [
502
+ "kind",
503
+ "name",
504
+ "workingDirectory",
505
+ "environmentSummary"
506
+ ]
507
+ },
508
+ "startedAt": {
509
+ "type": "string",
510
+ "minLength": 1,
511
+ "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$"
512
+ },
513
+ "endedAt": {
514
+ "type": "string",
515
+ "minLength": 1,
516
+ "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$"
517
+ },
518
+ "exitStatus": {
519
+ "type": "object",
520
+ "additionalProperties": false,
521
+ "properties": {
522
+ "kind": {
523
+ "type": "string",
524
+ "minLength": 1,
525
+ "enum": [
526
+ "exit_code",
527
+ "tool_status",
528
+ "not_applicable"
529
+ ]
530
+ },
531
+ "code": {
532
+ "type": "integer"
533
+ },
534
+ "status": {
535
+ "type": "string",
536
+ "minLength": 1
537
+ }
538
+ },
539
+ "required": [
540
+ "kind"
541
+ ]
542
+ },
543
+ "result": {
544
+ "type": "string",
545
+ "minLength": 1,
546
+ "enum": [
547
+ "pass",
548
+ "fail",
549
+ "blocked",
550
+ "advisory",
551
+ "skipped"
552
+ ]
553
+ },
554
+ "blocking": {
555
+ "type": "boolean"
556
+ },
557
+ "artifacts": {
558
+ "type": "array",
559
+ "items": {
560
+ "type": "string",
561
+ "minLength": 1,
562
+ "pattern": "^.+$"
563
+ }
564
+ },
565
+ "warnings": {
566
+ "type": "array",
567
+ "items": {
568
+ "type": "string",
569
+ "minLength": 1
570
+ }
571
+ },
572
+ "failureDetails": {
573
+ "type": "object",
574
+ "additionalProperties": false,
575
+ "properties": {
576
+ "code": {
577
+ "type": "string",
578
+ "minLength": 1,
579
+ "pattern": "^[A-Z0-9_]+$"
580
+ },
581
+ "message": {
582
+ "type": "string",
583
+ "minLength": 1
584
+ },
585
+ "classification": {
586
+ "type": "string",
587
+ "minLength": 1,
588
+ "enum": [
589
+ "deterministic_product_or_code_failure",
590
+ "schema_or_contract_failure",
591
+ "safety_or_security_policy_failure",
592
+ "mechanical_gate_failure",
593
+ "test_assertion_failure",
594
+ "test_bug",
595
+ "environment_issue",
596
+ "timing_or_flaky_suspicion",
597
+ "external_dependency_drift",
598
+ "advisory_finding",
599
+ "missing_evidence",
600
+ "missing_runner_or_prerequisite",
601
+ "skipped_required_delta_category",
602
+ "blocked_prerequisite",
603
+ "runner_internal_error",
604
+ "classification_unknown"
605
+ ]
606
+ }
607
+ },
608
+ "required": [
609
+ "code",
610
+ "message",
611
+ "classification"
612
+ ]
613
+ },
614
+ "stdoutRef": {
615
+ "type": "string",
616
+ "minLength": 1,
617
+ "pattern": "^.+$"
618
+ },
619
+ "stderrRef": {
620
+ "type": "string",
621
+ "minLength": 1,
622
+ "pattern": "^.+$"
623
+ },
624
+ "logsRef": {
625
+ "type": "string",
626
+ "minLength": 1,
627
+ "pattern": "^.+$"
628
+ },
629
+ "screenshots": {
630
+ "type": "array",
631
+ "items": {
632
+ "type": "string",
633
+ "minLength": 1,
634
+ "pattern": "^.+$"
635
+ }
636
+ },
637
+ "traces": {
638
+ "type": "array",
639
+ "items": {
640
+ "type": "string",
641
+ "minLength": 1,
642
+ "pattern": "^.+$"
643
+ }
644
+ },
645
+ "metrics": {
646
+ "type": "array",
647
+ "items": {
648
+ "type": "string",
649
+ "minLength": 1,
650
+ "pattern": "^.+$"
651
+ }
652
+ },
653
+ "rerunOf": {
654
+ "type": "string",
655
+ "minLength": 1,
656
+ "pattern": "^[a-z0-9][a-z0-9._:-]*$"
657
+ },
658
+ "normalizationNotes": {
659
+ "type": "string",
660
+ "minLength": 1
661
+ }
662
+ },
663
+ "required": [
664
+ "schemaVersion",
665
+ "artifactKind",
666
+ "artifactId",
667
+ "title",
668
+ "createdAt",
669
+ "updatedAt",
670
+ "producer",
671
+ "status",
672
+ "ownership",
673
+ "links",
674
+ "extensions",
675
+ "evidenceClass",
676
+ "layer",
677
+ "subjectRefs",
678
+ "commandOrTool",
679
+ "startedAt",
680
+ "endedAt",
681
+ "exitStatus",
682
+ "result",
683
+ "blocking",
684
+ "artifacts",
685
+ "warnings"
686
+ ]
687
+ }