@webex/internal-plugin-call-ai-summary 3.12.0-next.59 → 3.12.0-next.60

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,796 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "$id": "https://github.com/WebexTools/repo-standards/blob/main/schemas/repo-context.schema.json",
4
+ "title": "Repository Operational Context Manifest",
5
+ "description": "Schema for .repo-context.json manifests that encode source-of-truth, validation, ownership, fallback guidance, task playbooks, public interfaces, and change impact for agents.",
6
+ "type": "object",
7
+ "additionalProperties": false,
8
+ "required": [
9
+ "$schema",
10
+ "version",
11
+ "repository",
12
+ "commands",
13
+ "source_of_truth",
14
+ "generated_artifacts",
15
+ "validation_matrix",
16
+ "surface_owners",
17
+ "do_not_edit",
18
+ "marker_scopes",
19
+ "fallback_rules",
20
+ "downstream_context_pack"
21
+ ],
22
+ "properties": {
23
+ "$schema": {
24
+ "type": "string",
25
+ "const": "./schemas/repo-context.schema.json"
26
+ },
27
+ "version": {
28
+ "type": "integer",
29
+ "minimum": 1
30
+ },
31
+ "repository": {
32
+ "type": "object",
33
+ "additionalProperties": false,
34
+ "required": ["name", "purpose"],
35
+ "properties": {
36
+ "name": {
37
+ "type": "string",
38
+ "minLength": 1
39
+ },
40
+ "purpose": {
41
+ "type": "string",
42
+ "minLength": 1
43
+ }
44
+ }
45
+ },
46
+ "commands": {
47
+ "type": "object",
48
+ "minProperties": 1,
49
+ "additionalProperties": {
50
+ "type": "string",
51
+ "minLength": 1
52
+ }
53
+ },
54
+ "task_playbooks": {
55
+ "type": "array",
56
+ "minItems": 1,
57
+ "items": {
58
+ "type": "object",
59
+ "additionalProperties": false,
60
+ "required": [
61
+ "task",
62
+ "reference",
63
+ "when_to_use",
64
+ "start_with",
65
+ "evidence_required",
66
+ "allowed_edits",
67
+ "validate_with",
68
+ "fallback"
69
+ ],
70
+ "properties": {
71
+ "task": {
72
+ "type": "string",
73
+ "minLength": 1
74
+ },
75
+ "reference": {
76
+ "type": "string",
77
+ "minLength": 1
78
+ },
79
+ "when_to_use": {
80
+ "type": "string",
81
+ "minLength": 1
82
+ },
83
+ "start_with": {
84
+ "type": "array",
85
+ "minItems": 1,
86
+ "uniqueItems": true,
87
+ "items": {
88
+ "type": "string",
89
+ "minLength": 1
90
+ }
91
+ },
92
+ "evidence_required": {
93
+ "type": "array",
94
+ "minItems": 1,
95
+ "uniqueItems": true,
96
+ "items": {
97
+ "type": "string",
98
+ "minLength": 1
99
+ }
100
+ },
101
+ "allowed_edits": {
102
+ "type": "array",
103
+ "minItems": 1,
104
+ "uniqueItems": true,
105
+ "items": {
106
+ "type": "string",
107
+ "minLength": 1
108
+ }
109
+ },
110
+ "refresh_with": {
111
+ "type": "array",
112
+ "uniqueItems": true,
113
+ "items": {
114
+ "type": "string",
115
+ "minLength": 1
116
+ }
117
+ },
118
+ "validate_with": {
119
+ "type": "array",
120
+ "minItems": 1,
121
+ "uniqueItems": true,
122
+ "items": {
123
+ "type": "string",
124
+ "minLength": 1
125
+ }
126
+ },
127
+ "fallback": {
128
+ "type": "string",
129
+ "minLength": 1
130
+ }
131
+ }
132
+ }
133
+ },
134
+ "public_interfaces": {
135
+ "type": "array",
136
+ "minItems": 1,
137
+ "items": {
138
+ "type": "object",
139
+ "additionalProperties": false,
140
+ "required": [
141
+ "name",
142
+ "kind",
143
+ "source",
144
+ "entrypoints",
145
+ "audience",
146
+ "notes"
147
+ ],
148
+ "properties": {
149
+ "name": {
150
+ "type": "string",
151
+ "minLength": 1
152
+ },
153
+ "kind": {
154
+ "type": "string",
155
+ "minLength": 1
156
+ },
157
+ "source": {
158
+ "type": "string",
159
+ "minLength": 1
160
+ },
161
+ "entrypoints": {
162
+ "type": "array",
163
+ "minItems": 1,
164
+ "uniqueItems": true,
165
+ "items": {
166
+ "type": "string",
167
+ "minLength": 1
168
+ }
169
+ },
170
+ "audience": {
171
+ "type": "string",
172
+ "minLength": 1
173
+ },
174
+ "notes": {
175
+ "type": "string",
176
+ "minLength": 1
177
+ }
178
+ }
179
+ }
180
+ },
181
+ "source_of_truth": {
182
+ "type": "array",
183
+ "minItems": 1,
184
+ "items": {
185
+ "type": "object",
186
+ "additionalProperties": false,
187
+ "required": [
188
+ "surface",
189
+ "paths",
190
+ "generated_artifacts",
191
+ "refresh_with",
192
+ "validate_with"
193
+ ],
194
+ "properties": {
195
+ "surface": {
196
+ "type": "string",
197
+ "minLength": 1
198
+ },
199
+ "paths": {
200
+ "type": "array",
201
+ "minItems": 1,
202
+ "uniqueItems": true,
203
+ "items": {
204
+ "type": "string",
205
+ "minLength": 1
206
+ }
207
+ },
208
+ "generated_artifacts": {
209
+ "type": "array",
210
+ "uniqueItems": true,
211
+ "items": {
212
+ "type": "string",
213
+ "minLength": 1
214
+ }
215
+ },
216
+ "refresh_with": {
217
+ "type": "array",
218
+ "uniqueItems": true,
219
+ "items": {
220
+ "type": "string",
221
+ "minLength": 1
222
+ }
223
+ },
224
+ "validate_with": {
225
+ "type": "array",
226
+ "minItems": 1,
227
+ "uniqueItems": true,
228
+ "items": {
229
+ "type": "string",
230
+ "minLength": 1
231
+ }
232
+ }
233
+ }
234
+ }
235
+ },
236
+ "generated_artifacts": {
237
+ "type": "array",
238
+ "minItems": 1,
239
+ "items": {
240
+ "type": "object",
241
+ "additionalProperties": false,
242
+ "required": ["path", "generated_from", "refresh_with"],
243
+ "properties": {
244
+ "path": {
245
+ "type": "string",
246
+ "minLength": 1
247
+ },
248
+ "generated_from": {
249
+ "type": "string",
250
+ "minLength": 1
251
+ },
252
+ "refresh_with": {
253
+ "type": "string",
254
+ "minLength": 1
255
+ }
256
+ }
257
+ }
258
+ },
259
+ "validation_matrix": {
260
+ "type": "array",
261
+ "minItems": 1,
262
+ "items": {
263
+ "type": "object",
264
+ "additionalProperties": false,
265
+ "required": ["paths", "minimum", "recommended"],
266
+ "properties": {
267
+ "paths": {
268
+ "type": "array",
269
+ "minItems": 1,
270
+ "uniqueItems": true,
271
+ "items": {
272
+ "type": "string",
273
+ "minLength": 1
274
+ }
275
+ },
276
+ "minimum": {
277
+ "type": "array",
278
+ "minItems": 1,
279
+ "uniqueItems": true,
280
+ "items": {
281
+ "type": "string",
282
+ "minLength": 1
283
+ }
284
+ },
285
+ "recommended": {
286
+ "type": "array",
287
+ "uniqueItems": true,
288
+ "items": {
289
+ "type": "string",
290
+ "minLength": 1
291
+ }
292
+ }
293
+ }
294
+ }
295
+ },
296
+ "change_impact": {
297
+ "type": "array",
298
+ "minItems": 1,
299
+ "items": {
300
+ "type": "object",
301
+ "additionalProperties": false,
302
+ "required": ["paths", "affects", "validate_with", "avoid_direct_edits"],
303
+ "properties": {
304
+ "paths": {
305
+ "type": "array",
306
+ "minItems": 1,
307
+ "uniqueItems": true,
308
+ "items": {
309
+ "type": "string",
310
+ "minLength": 1
311
+ }
312
+ },
313
+ "affects": {
314
+ "type": "array",
315
+ "minItems": 1,
316
+ "uniqueItems": true,
317
+ "items": {
318
+ "type": "string",
319
+ "minLength": 1
320
+ }
321
+ },
322
+ "refresh_with": {
323
+ "type": "array",
324
+ "uniqueItems": true,
325
+ "items": {
326
+ "type": "string",
327
+ "minLength": 1
328
+ }
329
+ },
330
+ "validate_with": {
331
+ "type": "array",
332
+ "minItems": 1,
333
+ "uniqueItems": true,
334
+ "items": {
335
+ "type": "string",
336
+ "minLength": 1
337
+ }
338
+ },
339
+ "avoid_direct_edits": {
340
+ "type": "array",
341
+ "minItems": 1,
342
+ "uniqueItems": true,
343
+ "items": {
344
+ "type": "string",
345
+ "minLength": 1
346
+ }
347
+ },
348
+ "notes": {
349
+ "type": "string",
350
+ "minLength": 1
351
+ }
352
+ }
353
+ }
354
+ },
355
+ "glossary": {
356
+ "type": "array",
357
+ "minItems": 1,
358
+ "items": {
359
+ "type": "object",
360
+ "additionalProperties": false,
361
+ "required": ["term", "definition"],
362
+ "properties": {
363
+ "term": {
364
+ "type": "string",
365
+ "minLength": 1
366
+ },
367
+ "definition": {
368
+ "type": "string",
369
+ "minLength": 1
370
+ },
371
+ "notes": {
372
+ "type": "string",
373
+ "minLength": 1
374
+ }
375
+ }
376
+ }
377
+ },
378
+ "evidence_rules": {
379
+ "type": "array",
380
+ "minItems": 1,
381
+ "items": {
382
+ "type": "object",
383
+ "additionalProperties": false,
384
+ "required": ["claim_category", "sources", "requirement"],
385
+ "properties": {
386
+ "claim_category": {
387
+ "type": "string",
388
+ "minLength": 1
389
+ },
390
+ "sources": {
391
+ "type": "array",
392
+ "minItems": 1,
393
+ "uniqueItems": true,
394
+ "items": {
395
+ "type": "string",
396
+ "minLength": 1
397
+ }
398
+ },
399
+ "requirement": {
400
+ "type": "string",
401
+ "minLength": 1
402
+ },
403
+ "notes": {
404
+ "type": "string",
405
+ "minLength": 1
406
+ }
407
+ }
408
+ }
409
+ },
410
+ "negative_guidance": {
411
+ "type": "array",
412
+ "minItems": 1,
413
+ "items": {
414
+ "type": "object",
415
+ "additionalProperties": false,
416
+ "required": ["rule", "why"],
417
+ "properties": {
418
+ "rule": {
419
+ "type": "string",
420
+ "minLength": 1
421
+ },
422
+ "why": {
423
+ "type": "string",
424
+ "minLength": 1
425
+ }
426
+ }
427
+ }
428
+ },
429
+ "confidence_policy": {
430
+ "type": "object",
431
+ "additionalProperties": false,
432
+ "required": ["high", "medium", "low"],
433
+ "properties": {
434
+ "high": {
435
+ "$ref": "#/definitions/confidenceLevel"
436
+ },
437
+ "medium": {
438
+ "$ref": "#/definitions/confidenceLevel"
439
+ },
440
+ "low": {
441
+ "$ref": "#/definitions/confidenceLevel"
442
+ }
443
+ }
444
+ },
445
+ "repository_topology": {
446
+ "type": "object",
447
+ "additionalProperties": false,
448
+ "required": [
449
+ "main_entrypoints",
450
+ "workspace_packages",
451
+ "source_surfaces",
452
+ "generated_surfaces",
453
+ "sync_paths",
454
+ "validation_entrypoints"
455
+ ],
456
+ "properties": {
457
+ "main_entrypoints": {
458
+ "type": "array",
459
+ "minItems": 1,
460
+ "items": {
461
+ "$ref": "#/definitions/topologyItem"
462
+ }
463
+ },
464
+ "workspace_packages": {
465
+ "type": "array",
466
+ "minItems": 1,
467
+ "items": {
468
+ "$ref": "#/definitions/topologyPathsItem"
469
+ }
470
+ },
471
+ "source_surfaces": {
472
+ "type": "array",
473
+ "minItems": 1,
474
+ "items": {
475
+ "$ref": "#/definitions/topologyPathsItem"
476
+ }
477
+ },
478
+ "generated_surfaces": {
479
+ "type": "array",
480
+ "minItems": 1,
481
+ "items": {
482
+ "type": "object",
483
+ "additionalProperties": false,
484
+ "required": ["name", "paths", "generated_from", "refresh_with"],
485
+ "properties": {
486
+ "name": {
487
+ "type": "string",
488
+ "minLength": 1
489
+ },
490
+ "paths": {
491
+ "type": "array",
492
+ "minItems": 1,
493
+ "uniqueItems": true,
494
+ "items": {
495
+ "type": "string",
496
+ "minLength": 1
497
+ }
498
+ },
499
+ "generated_from": {
500
+ "type": "string",
501
+ "minLength": 1
502
+ },
503
+ "refresh_with": {
504
+ "type": "string",
505
+ "minLength": 1
506
+ },
507
+ "notes": {
508
+ "type": "string",
509
+ "minLength": 1
510
+ }
511
+ }
512
+ }
513
+ },
514
+ "sync_paths": {
515
+ "type": "array",
516
+ "minItems": 1,
517
+ "items": {
518
+ "type": "object",
519
+ "additionalProperties": false,
520
+ "required": ["source", "targets", "mechanism"],
521
+ "properties": {
522
+ "source": {
523
+ "type": "string",
524
+ "minLength": 1
525
+ },
526
+ "targets": {
527
+ "type": "array",
528
+ "minItems": 1,
529
+ "uniqueItems": true,
530
+ "items": {
531
+ "type": "string",
532
+ "minLength": 1
533
+ }
534
+ },
535
+ "mechanism": {
536
+ "type": "string",
537
+ "minLength": 1
538
+ },
539
+ "notes": {
540
+ "type": "string",
541
+ "minLength": 1
542
+ }
543
+ }
544
+ }
545
+ },
546
+ "validation_entrypoints": {
547
+ "type": "array",
548
+ "minItems": 1,
549
+ "items": {
550
+ "type": "object",
551
+ "additionalProperties": false,
552
+ "required": ["name", "command", "scope"],
553
+ "properties": {
554
+ "name": {
555
+ "type": "string",
556
+ "minLength": 1
557
+ },
558
+ "command": {
559
+ "type": "string",
560
+ "minLength": 1
561
+ },
562
+ "scope": {
563
+ "type": "string",
564
+ "minLength": 1
565
+ },
566
+ "notes": {
567
+ "type": "string",
568
+ "minLength": 1
569
+ }
570
+ }
571
+ }
572
+ }
573
+ }
574
+ },
575
+ "folder_readme_contract": {
576
+ "type": "object",
577
+ "additionalProperties": false,
578
+ "required": ["required_sections", "rules", "example_policy", "fallback"],
579
+ "properties": {
580
+ "required_sections": {
581
+ "type": "array",
582
+ "minItems": 1,
583
+ "uniqueItems": true,
584
+ "items": {
585
+ "type": "string",
586
+ "minLength": 1
587
+ }
588
+ },
589
+ "rules": {
590
+ "type": "array",
591
+ "minItems": 1,
592
+ "uniqueItems": true,
593
+ "items": {
594
+ "type": "string",
595
+ "minLength": 1
596
+ }
597
+ },
598
+ "example_policy": {
599
+ "type": "string",
600
+ "minLength": 1
601
+ },
602
+ "fallback": {
603
+ "type": "string",
604
+ "minLength": 1
605
+ }
606
+ }
607
+ },
608
+ "regression_feedback_rules": {
609
+ "type": "array",
610
+ "minItems": 1,
611
+ "items": {
612
+ "type": "object",
613
+ "additionalProperties": false,
614
+ "required": ["trigger", "required_followups"],
615
+ "properties": {
616
+ "trigger": {
617
+ "type": "string",
618
+ "minLength": 1
619
+ },
620
+ "required_followups": {
621
+ "type": "array",
622
+ "minItems": 1,
623
+ "uniqueItems": true,
624
+ "items": {
625
+ "type": "string",
626
+ "minLength": 1
627
+ }
628
+ },
629
+ "notes": {
630
+ "type": "string",
631
+ "minLength": 1
632
+ }
633
+ }
634
+ }
635
+ },
636
+ "surface_owners": {
637
+ "type": "array",
638
+ "minItems": 1,
639
+ "items": {
640
+ "type": "object",
641
+ "additionalProperties": false,
642
+ "required": ["surface", "owner", "edit_boundary"],
643
+ "properties": {
644
+ "surface": {
645
+ "type": "string",
646
+ "minLength": 1
647
+ },
648
+ "owner": {
649
+ "type": "string",
650
+ "minLength": 1
651
+ },
652
+ "edit_boundary": {
653
+ "type": "string",
654
+ "minLength": 1
655
+ }
656
+ }
657
+ }
658
+ },
659
+ "do_not_edit": {
660
+ "type": "array",
661
+ "minItems": 1,
662
+ "uniqueItems": true,
663
+ "items": {
664
+ "type": "string",
665
+ "minLength": 1
666
+ }
667
+ },
668
+ "marker_scopes": {
669
+ "type": "object",
670
+ "minProperties": 1,
671
+ "additionalProperties": {
672
+ "type": "array",
673
+ "minItems": 1,
674
+ "uniqueItems": true,
675
+ "items": {
676
+ "type": "string",
677
+ "minLength": 1
678
+ }
679
+ }
680
+ },
681
+ "fallback_rules": {
682
+ "type": "array",
683
+ "minItems": 1,
684
+ "uniqueItems": true,
685
+ "items": {
686
+ "type": "string",
687
+ "minLength": 1
688
+ }
689
+ },
690
+ "downstream_context_pack": {
691
+ "type": "object",
692
+ "additionalProperties": false,
693
+ "required": [
694
+ "required_human_surfaces",
695
+ "required_agent_operational_surfaces",
696
+ "required_machine_readable_surface"
697
+ ],
698
+ "properties": {
699
+ "required_human_surfaces": {
700
+ "type": "array",
701
+ "minItems": 1,
702
+ "uniqueItems": true,
703
+ "items": {
704
+ "type": "string",
705
+ "minLength": 1
706
+ }
707
+ },
708
+ "required_agent_operational_surfaces": {
709
+ "type": "array",
710
+ "minItems": 1,
711
+ "uniqueItems": true,
712
+ "items": {
713
+ "type": "string",
714
+ "minLength": 1
715
+ }
716
+ },
717
+ "required_machine_readable_surface": {
718
+ "type": "string",
719
+ "minLength": 1
720
+ },
721
+ "recommended_machine_readable_sections": {
722
+ "type": "array",
723
+ "uniqueItems": true,
724
+ "items": {
725
+ "type": "string",
726
+ "minLength": 1
727
+ }
728
+ }
729
+ }
730
+ }
731
+ },
732
+ "definitions": {
733
+ "confidenceLevel": {
734
+ "type": "object",
735
+ "additionalProperties": false,
736
+ "required": ["action", "expectation"],
737
+ "properties": {
738
+ "action": {
739
+ "type": "string",
740
+ "minLength": 1
741
+ },
742
+ "expectation": {
743
+ "type": "string",
744
+ "minLength": 1
745
+ }
746
+ }
747
+ },
748
+ "topologyItem": {
749
+ "type": "object",
750
+ "additionalProperties": false,
751
+ "required": ["name", "path", "purpose"],
752
+ "properties": {
753
+ "name": {
754
+ "type": "string",
755
+ "minLength": 1
756
+ },
757
+ "path": {
758
+ "type": "string",
759
+ "minLength": 1
760
+ },
761
+ "purpose": {
762
+ "type": "string",
763
+ "minLength": 1
764
+ },
765
+ "notes": {
766
+ "type": "string",
767
+ "minLength": 1
768
+ }
769
+ }
770
+ },
771
+ "topologyPathsItem": {
772
+ "type": "object",
773
+ "additionalProperties": false,
774
+ "required": ["name", "paths", "notes"],
775
+ "properties": {
776
+ "name": {
777
+ "type": "string",
778
+ "minLength": 1
779
+ },
780
+ "paths": {
781
+ "type": "array",
782
+ "minItems": 1,
783
+ "uniqueItems": true,
784
+ "items": {
785
+ "type": "string",
786
+ "minLength": 1
787
+ }
788
+ },
789
+ "notes": {
790
+ "type": "string",
791
+ "minLength": 1
792
+ }
793
+ }
794
+ }
795
+ }
796
+ }