@jevitate/cli 0.23.0 → 0.25.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.
Files changed (82) hide show
  1. package/contracts/jevitate-catalog/v1/README.md +10 -0
  2. package/contracts/jevitate-catalog/v1/approval-hash-vectors.json +64 -0
  3. package/contracts/jevitate-catalog/v1/fixtures/invalid/jobs-unknown-field.json +12 -0
  4. package/contracts/jevitate-catalog/v1/fixtures/invalid/journey-unknown-field.json +15 -0
  5. package/contracts/jevitate-catalog/v1/fixtures/valid/jobs.json +11 -0
  6. package/contracts/jevitate-catalog/v1/fixtures/valid/journey.json +14 -0
  7. package/contracts/jevitate-catalog/v1/fixtures/valid/personas.json +7 -0
  8. package/contracts/jevitate-catalog/v1/manifest.json +69 -0
  9. package/contracts/jevitate-catalog/v1/schemas/job.schema.json +605 -0
  10. package/contracts/jevitate-catalog/v1/schemas/jobs.schema.json +28 -0
  11. package/contracts/jevitate-catalog/v1/schemas/journey.schema.json +10871 -0
  12. package/contracts/jevitate-catalog/v1/schemas/personas.schema.json +223 -0
  13. package/contracts/jevitate-catalog/v2/README.md +18 -0
  14. package/contracts/jevitate-catalog/v2/approval-hash-vectors.json +75 -0
  15. package/contracts/jevitate-catalog/v2/fixtures/invalid/jobs-unknown-field.json +12 -0
  16. package/contracts/jevitate-catalog/v2/fixtures/invalid/journey-unknown-field.json +15 -0
  17. package/contracts/jevitate-catalog/v2/fixtures/valid/jobs.json +11 -0
  18. package/contracts/jevitate-catalog/v2/fixtures/valid/journey.json +14 -0
  19. package/contracts/jevitate-catalog/v2/fixtures/valid/personas.json +7 -0
  20. package/contracts/jevitate-catalog/v2/manifest.json +78 -0
  21. package/contracts/jevitate-catalog/v2/schemas/job.schema.json +605 -0
  22. package/contracts/jevitate-catalog/v2/schemas/jobs.schema.json +28 -0
  23. package/contracts/jevitate-catalog/v2/schemas/journey.schema.json +10871 -0
  24. package/contracts/jevitate-catalog/v2/schemas/personas.schema.json +223 -0
  25. package/dist/acceptance-audit-approval-script.d.ts +6 -0
  26. package/dist/acceptance-audit-approval-script.js +20 -0
  27. package/dist/acceptance-audit-approval-script.js.map +1 -0
  28. package/dist/acceptance-audit-cli.d.ts +2 -0
  29. package/dist/acceptance-audit-cli.js +34 -0
  30. package/dist/acceptance-audit-cli.js.map +1 -0
  31. package/dist/acceptance-audit-render.d.ts +4 -0
  32. package/dist/acceptance-audit-render.js +12 -0
  33. package/dist/acceptance-audit-render.js.map +1 -0
  34. package/dist/acceptance-audit-schema.d.ts +32 -0
  35. package/dist/acceptance-audit-schema.js +19 -0
  36. package/dist/acceptance-audit-schema.js.map +1 -0
  37. package/dist/acceptance-audit-suite.d.ts +14 -0
  38. package/dist/acceptance-audit-suite.js +34 -0
  39. package/dist/acceptance-audit-suite.js.map +1 -0
  40. package/dist/acceptance-audit.d.ts +16 -0
  41. package/dist/acceptance-audit.js +36 -0
  42. package/dist/acceptance-audit.js.map +1 -0
  43. package/dist/bin.js +1155 -509
  44. package/dist/build-info.generated.js +3 -3
  45. package/dist/catalog-bundle.d.ts +4 -2
  46. package/dist/catalog-bundle.js +8 -6
  47. package/dist/catalog-bundle.js.map +1 -1
  48. package/dist/catalog-contract-identity.d.ts +5 -0
  49. package/dist/catalog-contract-identity.js +7 -0
  50. package/dist/catalog-contract-identity.js.map +1 -0
  51. package/dist/catalog.js +18 -7
  52. package/dist/catalog.js.map +1 -1
  53. package/dist/explore-goal.d.ts +3 -1
  54. package/dist/explore-goal.js +1 -0
  55. package/dist/explore-goal.js.map +1 -1
  56. package/dist/goal-run-flags.js +2 -2
  57. package/dist/goal-run-flags.js.map +1 -1
  58. package/dist/journeeze-hint.d.ts +35 -0
  59. package/dist/journeeze-hint.js +77 -0
  60. package/dist/journeeze-hint.js.map +1 -0
  61. package/dist/journey-cli/review.js +16 -2
  62. package/dist/journey-cli/review.js.map +1 -1
  63. package/dist/journey-cli/verify.js +33 -7
  64. package/dist/journey-cli/verify.js.map +1 -1
  65. package/dist/journey-review.d.ts +3 -0
  66. package/dist/journey-review.js +13 -2
  67. package/dist/journey-review.js.map +1 -1
  68. package/dist/journey-stale-api.js +4 -4
  69. package/dist/journey-stale-api.js.map +1 -1
  70. package/dist/journey-verify.d.ts +23 -0
  71. package/dist/journey-verify.js +34 -0
  72. package/dist/journey-verify.js.map +1 -1
  73. package/dist/mcp-cli-tools.js +2 -1
  74. package/dist/mcp-cli-tools.js.map +1 -1
  75. package/dist/program.js +2 -0
  76. package/dist/program.js.map +1 -1
  77. package/dist/report-cli.js +21 -2
  78. package/dist/report-cli.js.map +1 -1
  79. package/dist/ux-usability/done-adjudication.d.ts +2 -2
  80. package/package.json +14 -11
  81. package/skills/jevitate-promotion-ready/SKILL.md +5 -1
  82. package/skills/jevitate-record/SKILL.md +3 -2
@@ -0,0 +1,605 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "id": {
6
+ "type": "string",
7
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9._-]{0,63}$"
8
+ },
9
+ "trigger": {
10
+ "type": "string",
11
+ "maxLength": 500
12
+ },
13
+ "motivation": {
14
+ "type": "string",
15
+ "maxLength": 500
16
+ },
17
+ "outcome": {
18
+ "type": "string",
19
+ "maxLength": 500
20
+ },
21
+ "personas": {
22
+ "maxItems": 50,
23
+ "type": "array",
24
+ "items": {
25
+ "type": "string",
26
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9._-]{0,63}$"
27
+ }
28
+ },
29
+ "priority": {
30
+ "type": "string",
31
+ "enum": [
32
+ "high",
33
+ "medium",
34
+ "low"
35
+ ]
36
+ },
37
+ "approval": {
38
+ "type": "object",
39
+ "properties": {
40
+ "contentHash": {
41
+ "type": "string",
42
+ "pattern": "^[0-9a-f]{64}$"
43
+ },
44
+ "at": {
45
+ "type": "string",
46
+ "minLength": 1
47
+ },
48
+ "provenance": {
49
+ "type": "object",
50
+ "properties": {
51
+ "channel": {
52
+ "type": "string",
53
+ "enum": [
54
+ "tty",
55
+ "non-interactive",
56
+ "mcp",
57
+ "ci",
58
+ "pr-review"
59
+ ]
60
+ },
61
+ "agentSignals": {
62
+ "maxItems": 50,
63
+ "type": "array",
64
+ "items": {
65
+ "type": "string",
66
+ "pattern": "^[A-Za-z0-9_-]{1,64}$"
67
+ }
68
+ },
69
+ "user": {
70
+ "type": "string",
71
+ "minLength": 1,
72
+ "maxLength": 256
73
+ },
74
+ "reason": {
75
+ "type": "string",
76
+ "minLength": 1,
77
+ "maxLength": 2000
78
+ },
79
+ "pr": {
80
+ "type": "object",
81
+ "properties": {
82
+ "forge": {
83
+ "type": "string",
84
+ "enum": [
85
+ "github"
86
+ ]
87
+ },
88
+ "number": {
89
+ "type": "integer",
90
+ "exclusiveMinimum": 0,
91
+ "maximum": 9007199254740991
92
+ },
93
+ "url": {
94
+ "type": "string",
95
+ "maxLength": 2000,
96
+ "format": "uri"
97
+ },
98
+ "mergedSha": {
99
+ "type": "string",
100
+ "pattern": "^[0-9a-f]{40}([0-9a-f]{24})?$"
101
+ },
102
+ "author": {
103
+ "type": "string",
104
+ "minLength": 1,
105
+ "maxLength": 256
106
+ },
107
+ "reviewer": {
108
+ "type": "string",
109
+ "minLength": 1,
110
+ "maxLength": 256
111
+ },
112
+ "reviewedAt": {
113
+ "type": "string",
114
+ "minLength": 1
115
+ },
116
+ "codeOwner": {
117
+ "type": "boolean"
118
+ }
119
+ },
120
+ "required": [
121
+ "number",
122
+ "mergedSha",
123
+ "reviewer"
124
+ ],
125
+ "additionalProperties": false
126
+ }
127
+ },
128
+ "required": [
129
+ "channel",
130
+ "agentSignals"
131
+ ],
132
+ "additionalProperties": false
133
+ },
134
+ "acceptedFindings": {
135
+ "type": "object",
136
+ "properties": {
137
+ "reason": {
138
+ "type": "string",
139
+ "minLength": 1
140
+ },
141
+ "findings": {
142
+ "maxItems": 200,
143
+ "type": "array",
144
+ "items": {
145
+ "type": "string"
146
+ }
147
+ },
148
+ "provenance": {
149
+ "type": "object",
150
+ "properties": {
151
+ "channel": {
152
+ "type": "string",
153
+ "enum": [
154
+ "tty",
155
+ "non-interactive",
156
+ "mcp",
157
+ "ci",
158
+ "pr-review"
159
+ ]
160
+ },
161
+ "agentSignals": {
162
+ "maxItems": 50,
163
+ "type": "array",
164
+ "items": {
165
+ "type": "string",
166
+ "pattern": "^[A-Za-z0-9_-]{1,64}$"
167
+ }
168
+ },
169
+ "user": {
170
+ "type": "string",
171
+ "minLength": 1,
172
+ "maxLength": 256
173
+ },
174
+ "reason": {
175
+ "type": "string",
176
+ "minLength": 1,
177
+ "maxLength": 2000
178
+ },
179
+ "pr": {
180
+ "type": "object",
181
+ "properties": {
182
+ "forge": {
183
+ "type": "string",
184
+ "enum": [
185
+ "github"
186
+ ]
187
+ },
188
+ "number": {
189
+ "type": "integer",
190
+ "exclusiveMinimum": 0,
191
+ "maximum": 9007199254740991
192
+ },
193
+ "url": {
194
+ "type": "string",
195
+ "maxLength": 2000,
196
+ "format": "uri"
197
+ },
198
+ "mergedSha": {
199
+ "type": "string",
200
+ "pattern": "^[0-9a-f]{40}([0-9a-f]{24})?$"
201
+ },
202
+ "author": {
203
+ "type": "string",
204
+ "minLength": 1,
205
+ "maxLength": 256
206
+ },
207
+ "reviewer": {
208
+ "type": "string",
209
+ "minLength": 1,
210
+ "maxLength": 256
211
+ },
212
+ "reviewedAt": {
213
+ "type": "string",
214
+ "minLength": 1
215
+ },
216
+ "codeOwner": {
217
+ "type": "boolean"
218
+ }
219
+ },
220
+ "required": [
221
+ "number",
222
+ "mergedSha",
223
+ "reviewer"
224
+ ],
225
+ "additionalProperties": false
226
+ }
227
+ },
228
+ "required": [
229
+ "channel",
230
+ "agentSignals"
231
+ ],
232
+ "additionalProperties": false
233
+ }
234
+ },
235
+ "required": [
236
+ "reason",
237
+ "findings"
238
+ ],
239
+ "additionalProperties": false
240
+ }
241
+ },
242
+ "required": [
243
+ "contentHash",
244
+ "at"
245
+ ],
246
+ "additionalProperties": false
247
+ },
248
+ "persona": {
249
+ "type": "string",
250
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9._-]{0,63}$"
251
+ },
252
+ "storageState": {
253
+ "type": "string",
254
+ "maxLength": 1000
255
+ },
256
+ "goal": {
257
+ "type": "string",
258
+ "maxLength": 2000
259
+ },
260
+ "success": {
261
+ "maxItems": 50,
262
+ "type": "array",
263
+ "items": {
264
+ "type": "string",
265
+ "maxLength": 1000
266
+ }
267
+ },
268
+ "preconditions": {
269
+ "maxItems": 50,
270
+ "type": "array",
271
+ "items": {
272
+ "type": "string",
273
+ "maxLength": 1000
274
+ }
275
+ },
276
+ "mutates": {
277
+ "type": "boolean"
278
+ },
279
+ "order": {
280
+ "type": "integer",
281
+ "minimum": -9007199254740991,
282
+ "maximum": 9007199254740991
283
+ },
284
+ "kind": {
285
+ "type": "string",
286
+ "enum": [
287
+ "core",
288
+ "setup",
289
+ "related"
290
+ ]
291
+ },
292
+ "parent": {
293
+ "type": "string",
294
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9._-]{0,63}$"
295
+ },
296
+ "context": {
297
+ "maxItems": 20,
298
+ "type": "array",
299
+ "items": {
300
+ "type": "string",
301
+ "minLength": 1,
302
+ "maxLength": 300
303
+ }
304
+ },
305
+ "steps": {
306
+ "maxItems": 30,
307
+ "type": "array",
308
+ "items": {
309
+ "type": "object",
310
+ "properties": {
311
+ "id": {
312
+ "type": "string",
313
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9._-]{0,63}$"
314
+ },
315
+ "name": {
316
+ "type": "string",
317
+ "minLength": 1,
318
+ "maxLength": 200
319
+ },
320
+ "stage": {
321
+ "type": "string",
322
+ "enum": [
323
+ "define",
324
+ "locate",
325
+ "prepare",
326
+ "confirm",
327
+ "execute",
328
+ "monitor",
329
+ "modify",
330
+ "resolve",
331
+ "conclude"
332
+ ]
333
+ }
334
+ },
335
+ "required": [
336
+ "id",
337
+ "name"
338
+ ],
339
+ "additionalProperties": false
340
+ }
341
+ },
342
+ "desiredOutcomes": {
343
+ "maxItems": 50,
344
+ "type": "array",
345
+ "items": {
346
+ "type": "object",
347
+ "properties": {
348
+ "id": {
349
+ "type": "string",
350
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9._-]{0,63}$"
351
+ },
352
+ "step": {
353
+ "type": "string",
354
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9._-]{0,63}$"
355
+ },
356
+ "direction": {
357
+ "type": "string",
358
+ "enum": [
359
+ "minimize",
360
+ "maximize"
361
+ ]
362
+ },
363
+ "measure": {
364
+ "type": "string",
365
+ "enum": [
366
+ "time",
367
+ "likelihood",
368
+ "effort",
369
+ "count"
370
+ ]
371
+ },
372
+ "object": {
373
+ "type": "string",
374
+ "minLength": 1,
375
+ "maxLength": 300
376
+ },
377
+ "clarifier": {
378
+ "type": "string",
379
+ "minLength": 1,
380
+ "maxLength": 500
381
+ },
382
+ "gulf": {
383
+ "type": "string",
384
+ "enum": [
385
+ "execution",
386
+ "evaluation"
387
+ ]
388
+ },
389
+ "metric": {
390
+ "oneOf": [
391
+ {
392
+ "type": "object",
393
+ "properties": {
394
+ "kind": {
395
+ "type": "string",
396
+ "const": "duration"
397
+ },
398
+ "from": {
399
+ "type": "string",
400
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9._-]{0,63}$"
401
+ },
402
+ "to": {
403
+ "type": "string",
404
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9._-]{0,63}$"
405
+ },
406
+ "stat": {
407
+ "type": "string",
408
+ "enum": [
409
+ "p50",
410
+ "p75",
411
+ "share_under"
412
+ ]
413
+ },
414
+ "threshold": {
415
+ "type": "integer",
416
+ "minimum": 1,
417
+ "maximum": 86400
418
+ }
419
+ },
420
+ "required": [
421
+ "kind",
422
+ "from",
423
+ "to",
424
+ "stat"
425
+ ],
426
+ "additionalProperties": false
427
+ },
428
+ {
429
+ "type": "object",
430
+ "properties": {
431
+ "kind": {
432
+ "type": "string",
433
+ "const": "completion"
434
+ },
435
+ "from": {
436
+ "type": "string",
437
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9._-]{0,63}$"
438
+ },
439
+ "to": {
440
+ "type": "string",
441
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9._-]{0,63}$"
442
+ }
443
+ },
444
+ "required": [
445
+ "kind",
446
+ "from",
447
+ "to"
448
+ ],
449
+ "additionalProperties": false
450
+ },
451
+ {
452
+ "type": "object",
453
+ "properties": {
454
+ "kind": {
455
+ "type": "string",
456
+ "enum": [
457
+ "abandon",
458
+ "repeat",
459
+ "error",
460
+ "assisted"
461
+ ]
462
+ },
463
+ "at": {
464
+ "type": "string",
465
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9._-]{0,63}$"
466
+ }
467
+ },
468
+ "required": [
469
+ "kind",
470
+ "at"
471
+ ],
472
+ "additionalProperties": false
473
+ },
474
+ {
475
+ "type": "object",
476
+ "properties": {
477
+ "kind": {
478
+ "type": "string",
479
+ "const": "answer"
480
+ },
481
+ "question": {
482
+ "type": "string",
483
+ "enum": [
484
+ "got_it_done",
485
+ "harder_than_expected",
486
+ "understood"
487
+ ]
488
+ },
489
+ "value": {
490
+ "type": "string",
491
+ "enum": [
492
+ "yes",
493
+ "partly",
494
+ "no"
495
+ ]
496
+ }
497
+ },
498
+ "required": [
499
+ "kind",
500
+ "question",
501
+ "value"
502
+ ],
503
+ "additionalProperties": false
504
+ }
505
+ ]
506
+ },
507
+ "target": {
508
+ "type": "object",
509
+ "properties": {
510
+ "op": {
511
+ "type": "string",
512
+ "enum": [
513
+ "<",
514
+ "<=",
515
+ ">",
516
+ ">="
517
+ ]
518
+ },
519
+ "value": {
520
+ "type": "number",
521
+ "minimum": 0
522
+ },
523
+ "unit": {
524
+ "type": "string",
525
+ "enum": [
526
+ "s",
527
+ "percent",
528
+ "count"
529
+ ]
530
+ }
531
+ },
532
+ "required": [
533
+ "op",
534
+ "value",
535
+ "unit"
536
+ ],
537
+ "additionalProperties": false
538
+ },
539
+ "guardrail": {
540
+ "type": "boolean"
541
+ },
542
+ "priority": {
543
+ "type": "string",
544
+ "enum": [
545
+ "high",
546
+ "medium",
547
+ "low"
548
+ ]
549
+ }
550
+ },
551
+ "required": [
552
+ "id",
553
+ "direction",
554
+ "measure",
555
+ "object"
556
+ ],
557
+ "additionalProperties": false
558
+ }
559
+ },
560
+ "constraints": {
561
+ "maxItems": 20,
562
+ "type": "array",
563
+ "items": {
564
+ "type": "string",
565
+ "minLength": 1,
566
+ "maxLength": 300
567
+ }
568
+ },
569
+ "provenance": {
570
+ "type": "string",
571
+ "enum": [
572
+ "ai_draft",
573
+ "team_hypothesis",
574
+ "customer_evidenced",
575
+ "behaviour_validated"
576
+ ]
577
+ },
578
+ "revision": {
579
+ "type": "integer",
580
+ "minimum": 0,
581
+ "maximum": 4294967295
582
+ },
583
+ "lastValidated": {
584
+ "type": "string",
585
+ "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$"
586
+ },
587
+ "extensions": {
588
+ "type": "object",
589
+ "propertyNames": {
590
+ "type": "string",
591
+ "pattern": "^[a-z][a-z0-9-]{0,31}$"
592
+ },
593
+ "additionalProperties": {}
594
+ }
595
+ },
596
+ "required": [
597
+ "id",
598
+ "trigger",
599
+ "motivation",
600
+ "outcome"
601
+ ],
602
+ "additionalProperties": false,
603
+ "$id": "https://jevitate.com/schemas/catalog/v1/job.schema.json",
604
+ "title": "Jevitate job v1"
605
+ }
@@ -0,0 +1,28 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://jevitate.com/schemas/catalog/v1/jobs.schema.json",
4
+ "title": "Jevitate jobs.json v1",
5
+ "oneOf": [
6
+ {
7
+ "type": "array",
8
+ "items": {
9
+ "$ref": "job.schema.json"
10
+ }
11
+ },
12
+ {
13
+ "type": "object",
14
+ "additionalProperties": false,
15
+ "required": [
16
+ "jobs"
17
+ ],
18
+ "properties": {
19
+ "jobs": {
20
+ "type": "array",
21
+ "items": {
22
+ "$ref": "job.schema.json"
23
+ }
24
+ }
25
+ }
26
+ }
27
+ ]
28
+ }