opencode-swarm 7.170.2 → 7.171.1

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 (90) hide show
  1. package/binaries/win32-arm64/swarm-sandbox-runner.exe +0 -0
  2. package/binaries/win32-x64/swarm-sandbox-runner.exe +0 -0
  3. package/dist/background/delegation-lifecycle.d.ts +5 -0
  4. package/dist/cli/{coder-settlement-rrm3ngsa.js → coder-settlement-vxpmxk46.js} +7 -7
  5. package/dist/cli/{config-doctor-rnfyv55m.js → config-doctor-vwy3c9g9.js} +2 -2
  6. package/dist/cli/{core-b161yfjy.js → core-2znms60v.js} +1 -1
  7. package/dist/cli/{curation-policy-tg84dnnd.js → curation-policy-fakrpw5t.js} +4 -4
  8. package/dist/cli/{curator-drift-3ssjr0nx.js → curator-drift-r9r8gepb.js} +2 -2
  9. package/dist/cli/{curator-dfcpzqwr.js → curator-kc80aj6d.js} +32 -32
  10. package/dist/cli/{curator-llm-factory-cjrh0sa3.js → curator-llm-factory-exke3rag.js} +32 -32
  11. package/dist/cli/{evidence-summary-service-7jfq6dax.js → evidence-summary-service-g3gr1pfs.js} +13 -13
  12. package/dist/cli/{gate-evidence-0e70dqjg.js → gate-evidence-8mwsj2b7.js} +4 -4
  13. package/dist/cli/{guardrail-explain-a40pmzzc.js → guardrail-explain-pkbjswtd.js} +33 -33
  14. package/dist/cli/{guardrail-log-71wvwyd0.js → guardrail-log-qx1tpeda.js} +6 -6
  15. package/dist/cli/{guardrail-reset-znw5636e.js → guardrail-reset-v91p8ca6.js} +32 -32
  16. package/dist/cli/{hive-promoter-pznn5yfn.js → hive-promoter-02vxb018.js} +32 -32
  17. package/dist/cli/{index-zr6ev5kt.js → index-0caqxnby.js} +1 -1
  18. package/dist/cli/{index-7pgzjj3z.js → index-2j0pd6sj.js} +32 -32
  19. package/dist/cli/{index-4say55ww.js → index-3jcp3zb6.js} +1 -1
  20. package/dist/cli/{index-2q6qj0vw.js → index-3jwamrzw.js} +3 -3
  21. package/dist/cli/{index-j1tjd6aq.js → index-3zzyxs7q.js} +5 -5
  22. package/dist/cli/{index-9g3c0w22.js → index-4rq1d5k5.js} +2 -1
  23. package/dist/cli/{index-g2sc35qk.js → index-4sf357vj.js} +3 -3
  24. package/dist/cli/{index-x067zyvp.js → index-5134766r.js} +6 -6
  25. package/dist/cli/{index-we9jztxd.js → index-5vgd9st3.js} +6 -6
  26. package/dist/cli/{index-p6zt0qm1.js → index-6k5aq7b9.js} +2 -2
  27. package/dist/cli/{index-z4ewmn1h.js → index-6mjtptnb.js} +1 -1
  28. package/dist/cli/{index-dbg2g834.js → index-7pae558g.js} +6 -6
  29. package/dist/cli/{index-70avfxnw.js → index-7qqwx64h.js} +5 -5
  30. package/dist/cli/{index-45x6meqp.js → index-8nbzfbjg.js} +5 -5
  31. package/dist/cli/{index-g0q47r3r.js → index-95e3a9en.js} +1 -1
  32. package/dist/cli/{index-4m9hfbhe.js → index-9cp6bhx9.js} +3 -3
  33. package/dist/cli/{index-7sz2rkx3.js → index-9dz2ee2g.js} +74 -52
  34. package/dist/cli/{index-br3mvbsa.js → index-aa2eyfvr.js} +2 -2
  35. package/dist/cli/{index-1kt9xbrt.js → index-cdee25pp.js} +2 -2
  36. package/dist/cli/{index-efkxjmdb.js → index-d5pk5b95.js} +2 -2
  37. package/dist/cli/{index-d1sdve0x.js → index-d6bs0p6d.js} +7 -7
  38. package/dist/cli/{index-3q7bb7qz.js → index-dr1ym009.js} +9 -9
  39. package/dist/cli/{index-a0vggadp.js → index-er6sk4e6.js} +1 -1
  40. package/dist/cli/{index-sf32ny5w.js → index-evxd1art.js} +1 -1
  41. package/dist/cli/{index-bernkwgf.js → index-g6nen3gt.js} +1 -1
  42. package/dist/cli/{index-cgpwjctj.js → index-kb66he4e.js} +1 -1
  43. package/dist/cli/{index-29gnavqx.js → index-m1j1rth6.js} +1 -1
  44. package/dist/cli/{index-5y7kqjyt.js → index-nfs78aqj.js} +1 -1
  45. package/dist/cli/{index-9vxaf499.js → index-rdjmbeex.js} +1 -1
  46. package/dist/cli/{index-gs4m1dxw.js → index-rkj71ej6.js} +3 -3
  47. package/dist/cli/{index-24pamt0h.js → index-s7h6txsk.js} +2 -2
  48. package/dist/cli/{index-8v2k9xqv.js → index-vs7b2pqm.js} +4 -4
  49. package/dist/cli/{index-19xctk9g.js → index-wn9gf91x.js} +1 -1
  50. package/dist/cli/{index-7htmxmjp.js → index-xefajbqv.js} +2734 -1698
  51. package/dist/cli/{index-w79t20a6.js → index-xm0131fx.js} +5 -5
  52. package/dist/cli/{index-dvbf6fpn.js → index-yqbnsmmv.js} +39 -0
  53. package/dist/cli/{index-7a180w76.js → index-ztxh3nmf.js} +34 -34
  54. package/dist/cli/index.js +32 -32
  55. package/dist/cli/{knowledge-escalator-95gqgg8e.js → knowledge-escalator-4j6xgcvj.js} +10 -10
  56. package/dist/cli/{knowledge-events-hcx770h3.js → knowledge-events-5ax1g356.js} +8 -8
  57. package/dist/cli/{knowledge-link-twmzh8cf.js → knowledge-link-vh9pfnb9.js} +3 -3
  58. package/dist/cli/{knowledge-store-ppmrqs41.js → knowledge-store-2nrtfb5x.js} +4 -4
  59. package/dist/cli/{knowledge-validator-63rfvqmw.js → knowledge-validator-efcax8g9.js} +6 -6
  60. package/dist/cli/{pending-delegations-dqdetx92.js → pending-delegations-29qj2kya.js} +9 -9
  61. package/dist/cli/{pr-subscriptions-z9t7f7m0.js → pr-subscriptions-t51vcrvd.js} +9 -9
  62. package/dist/cli/{pr-workflow-gate-wqrcb5m8.js → pr-workflow-gate-03367gvd.js} +32 -32
  63. package/dist/cli/{runner-2r5j33tm.js → runner-8m8qhngm.js} +4 -4
  64. package/dist/cli/{scan-cursor-xzmmf7r4.js → scan-cursor-nhxpv6tj.js} +5 -5
  65. package/dist/cli/{schema-6bn7mj29.js → schema-ht5hmsce.js} +1 -1
  66. package/dist/cli/{scope-persistence-wyg0rb07.js → scope-persistence-6qebaksv.js} +13 -13
  67. package/dist/cli/{skill-generator-kwnwapfn.js → skill-generator-tfm4kawf.js} +12 -12
  68. package/dist/cli/{snapshot-coordination-init-ajvmd1z6.js → snapshot-coordination-init-zgfjjv9p.js} +32 -32
  69. package/dist/cli/{telemetry-yst95z2f.js → telemetry-0mz37v3h.js} +1 -1
  70. package/dist/cli/{worktree-collision-ownership-dm6nq9yw.js → worktree-collision-ownership-6mgm8p9g.js} +9 -9
  71. package/dist/cli/{worktree-isolation-b10h20sv.js → worktree-isolation-02rr7t21.js} +32 -32
  72. package/dist/commands/dataset.d.ts +20 -0
  73. package/dist/commands/registry.d.ts +39 -0
  74. package/dist/db/observability-event-store.d.ts +17 -1
  75. package/dist/index.js +356 -338
  76. package/dist/observability/catalog.d.ts +3 -3
  77. package/dist/observability/index.d.ts +1 -1
  78. package/dist/observability/observe.d.ts +6 -0
  79. package/dist/pr-review/reducer.d.ts +18 -10
  80. package/dist/pr-review/types.d.ts +43 -47
  81. package/dist/telemetry.d.ts +23 -3
  82. package/dist/tools/repo-map.d.ts +5 -0
  83. package/dist/training/capture.d.ts +37 -0
  84. package/dist/training/consent.d.ts +96 -0
  85. package/dist/training/disk.d.ts +16 -0
  86. package/dist/training/exporter.d.ts +88 -0
  87. package/dist/training/paths.d.ts +20 -0
  88. package/dist/training/redact.d.ts +29 -0
  89. package/dist/training/vault.d.ts +177 -0
  90. package/package.json +2 -1
@@ -53,7 +53,7 @@ var CONSUMER_COST_JOIN = Object.freeze([
53
53
  "src/services/cost-accounting.ts:415"
54
54
  ]);
55
55
  var CONSUMER_GATE_STATS = Object.freeze(["src/evaluation/gate-stats.ts:99"]);
56
- var CONSUMER_HEARTBEAT_LISTENER = Object.freeze(["src/telemetry.ts:255"]);
56
+ var CONSUMER_HEARTBEAT_LISTENER = Object.freeze(["src/telemetry.ts:268"]);
57
57
  function defineEntry(kind, input) {
58
58
  const entry = {
59
59
  kind,
@@ -86,7 +86,7 @@ var CATALOG_SOURCE = [
86
86
  category: "lifecycle",
87
87
  severity: "info",
88
88
  privacyClass: "pseudonymous",
89
- producer: "src/telemetry.ts:639",
89
+ producer: "src/telemetry.ts:654",
90
90
  consumers: NO_CONSUMERS,
91
91
  futureOwnerIssue: ISSUE_SINK,
92
92
  retentionOwnerIssue: ISSUE_LIFECYCLE_RETENTION,
@@ -100,7 +100,7 @@ var CATALOG_SOURCE = [
100
100
  category: "lifecycle",
101
101
  severity: "info",
102
102
  privacyClass: "pseudonymous",
103
- producer: "src/telemetry.ts:643",
103
+ producer: "src/telemetry.ts:658",
104
104
  consumers: NO_CONSUMERS,
105
105
  futureOwnerIssue: ISSUE_SINK,
106
106
  retentionOwnerIssue: ISSUE_LIFECYCLE_RETENTION,
@@ -114,7 +114,7 @@ var CATALOG_SOURCE = [
114
114
  category: "lifecycle",
115
115
  severity: "info",
116
116
  privacyClass: "pseudonymous",
117
- producer: "src/telemetry.ts:647",
117
+ producer: "src/telemetry.ts:662",
118
118
  consumers: NO_CONSUMERS,
119
119
  futureOwnerIssue: ISSUE_SINK,
120
120
  retentionOwnerIssue: ISSUE_LIFECYCLE_RETENTION,
@@ -128,7 +128,7 @@ var CATALOG_SOURCE = [
128
128
  category: "lifecycle",
129
129
  severity: "info",
130
130
  privacyClass: "pseudonymous",
131
- producer: "src/telemetry.ts:685",
131
+ producer: "src/telemetry.ts:700",
132
132
  consumers: NO_CONSUMERS,
133
133
  futureOwnerIssue: ISSUE_SINK,
134
134
  retentionOwnerIssue: ISSUE_LIFECYCLE_RETENTION,
@@ -142,7 +142,7 @@ var CATALOG_SOURCE = [
142
142
  category: "lifecycle",
143
143
  severity: "info",
144
144
  privacyClass: "pseudonymous",
145
- producer: "src/telemetry.ts:733",
145
+ producer: "src/telemetry.ts:748",
146
146
  consumers: NO_CONSUMERS,
147
147
  futureOwnerIssue: ISSUE_SINK,
148
148
  retentionOwnerIssue: ISSUE_LIFECYCLE_RETENTION,
@@ -156,7 +156,7 @@ var CATALOG_SOURCE = [
156
156
  category: "lifecycle",
157
157
  severity: "debug",
158
158
  privacyClass: "pseudonymous",
159
- producer: "src/telemetry.ts:915",
159
+ producer: "src/telemetry.ts:930",
160
160
  consumers: CONSUMER_HEARTBEAT_LISTENER,
161
161
  retentionOwnerIssue: ISSUE_LIFECYCLE_RETENTION,
162
162
  requiredWorkflowIds: REQUIRE_SESSION,
@@ -169,7 +169,7 @@ var CATALOG_SOURCE = [
169
169
  category: "lifecycle",
170
170
  severity: "info",
171
171
  privacyClass: "pseudonymous",
172
- producer: "src/telemetry.ts:923",
172
+ producer: "src/telemetry.ts:938",
173
173
  consumers: NO_CONSUMERS,
174
174
  futureOwnerIssue: ISSUE_SINK,
175
175
  retentionOwnerIssue: ISSUE_LIFECYCLE_RETENTION,
@@ -182,7 +182,7 @@ var CATALOG_SOURCE = [
182
182
  category: "lifecycle",
183
183
  severity: "info",
184
184
  privacyClass: "pseudonymous",
185
- producer: "src/telemetry.ts:948",
185
+ producer: "src/telemetry.ts:963",
186
186
  consumers: NO_CONSUMERS,
187
187
  futureOwnerIssue: ISSUE_SINK,
188
188
  retentionOwnerIssue: ISSUE_LIFECYCLE_RETENTION,
@@ -196,7 +196,7 @@ var CATALOG_SOURCE = [
196
196
  category: "delegation",
197
197
  severity: "info",
198
198
  privacyClass: "pseudonymous",
199
- producer: "src/telemetry.ts:651",
199
+ producer: "src/telemetry.ts:666",
200
200
  consumers: NO_CONSUMERS,
201
201
  futureOwnerIssue: ISSUE_SINK,
202
202
  retentionOwnerIssue: ISSUE_LIFECYCLE_RETENTION,
@@ -210,7 +210,7 @@ var CATALOG_SOURCE = [
210
210
  category: "delegation",
211
211
  severity: "info",
212
212
  privacyClass: "pseudonymous",
213
- producer: "src/telemetry.ts:661",
213
+ producer: "src/telemetry.ts:676",
214
214
  consumers: CONSUMER_COST_ACCOUNTING,
215
215
  retentionOwnerIssue: ISSUE_COST_RETENTION,
216
216
  requiredWorkflowIds: REQUIRE_SESSION_AND_TASK,
@@ -223,7 +223,7 @@ var CATALOG_SOURCE = [
223
223
  category: "delegation",
224
224
  severity: "info",
225
225
  privacyClass: "pseudonymous",
226
- producer: "src/index.ts:785",
226
+ producer: "src/index.ts:786",
227
227
  consumers: CONSUMER_COST_CORRECTION,
228
228
  retentionOwnerIssue: ISSUE_COST_RETENTION,
229
229
  requiredWorkflowIds: REQUIRE_SESSION_AND_TASK,
@@ -236,7 +236,7 @@ var CATALOG_SOURCE = [
236
236
  category: "delegation",
237
237
  severity: "info",
238
238
  privacyClass: "pseudonymous",
239
- producer: "src/index.ts:1802",
239
+ producer: "src/index.ts:1803",
240
240
  consumers: NO_CONSUMERS,
241
241
  futureOwnerIssue: ISSUE_SINK,
242
242
  retentionOwnerIssue: ISSUE_COST_RETENTION,
@@ -250,7 +250,7 @@ var CATALOG_SOURCE = [
250
250
  category: "delegation",
251
251
  severity: "notice",
252
252
  privacyClass: "pseudonymous",
253
- producer: "src/index.ts:1822",
253
+ producer: "src/index.ts:1823",
254
254
  consumers: CONSUMER_COST_JOIN,
255
255
  retentionOwnerIssue: ISSUE_COST_RETENTION,
256
256
  requiredWorkflowIds: REQUIRE_SESSION,
@@ -263,7 +263,7 @@ var CATALOG_SOURCE = [
263
263
  category: "delegation",
264
264
  severity: "notice",
265
265
  privacyClass: "pseudonymous",
266
- producer: "src/telemetry.ts:766",
266
+ producer: "src/telemetry.ts:781",
267
267
  consumers: NO_CONSUMERS,
268
268
  futureOwnerIssue: ISSUE_SINK,
269
269
  retentionOwnerIssue: ISSUE_LIFECYCLE_RETENTION,
@@ -277,7 +277,7 @@ var CATALOG_SOURCE = [
277
277
  category: "delegation",
278
278
  severity: "warning",
279
279
  privacyClass: "pseudonymous",
280
- producer: "src/telemetry.ts:780",
280
+ producer: "src/telemetry.ts:795",
281
281
  consumers: NO_CONSUMERS,
282
282
  futureOwnerIssue: ISSUE_SINK,
283
283
  retentionOwnerIssue: ISSUE_LIFECYCLE_RETENTION,
@@ -291,7 +291,7 @@ var CATALOG_SOURCE = [
291
291
  category: "gate",
292
292
  severity: "info",
293
293
  privacyClass: "pseudonymous",
294
- producer: "src/telemetry.ts:694",
294
+ producer: "src/telemetry.ts:709",
295
295
  consumers: NO_CONSUMERS,
296
296
  futureOwnerIssue: ISSUE_SINK,
297
297
  retentionOwnerIssue: ISSUE_LIFECYCLE_RETENTION,
@@ -304,7 +304,7 @@ var CATALOG_SOURCE = [
304
304
  category: "gate",
305
305
  severity: "warning",
306
306
  privacyClass: "pseudonymous",
307
- producer: "src/telemetry.ts:711",
307
+ producer: "src/telemetry.ts:726",
308
308
  consumers: NO_CONSUMERS,
309
309
  futureOwnerIssue: ISSUE_SINK,
310
310
  retentionOwnerIssue: ISSUE_LIFECYCLE_RETENTION,
@@ -317,7 +317,7 @@ var CATALOG_SOURCE = [
317
317
  category: "gate",
318
318
  severity: "warning",
319
319
  privacyClass: "sensitive",
320
- producer: "src/telemetry.ts:698",
320
+ producer: "src/telemetry.ts:713",
321
321
  consumers: NO_CONSUMERS,
322
322
  futureOwnerIssue: ISSUE_SINK,
323
323
  retentionOwnerIssue: ISSUE_LIFECYCLE_RETENTION,
@@ -331,7 +331,7 @@ var CATALOG_SOURCE = [
331
331
  category: "gate",
332
332
  severity: "info",
333
333
  privacyClass: "pseudonymous",
334
- producer: "src/telemetry.ts:721",
334
+ producer: "src/telemetry.ts:736",
335
335
  consumers: CONSUMER_GATE_STATS,
336
336
  retentionOwnerIssue: ISSUE_LIFECYCLE_RETENTION,
337
337
  requiredWorkflowIds: REQUIRE_SESSION_AND_TASK
@@ -401,13 +401,26 @@ var CATALOG_SOURCE = [
401
401
  retentionOwnerIssue: ISSUE_LIFECYCLE_RETENTION
402
402
  }
403
403
  ],
404
+ [
405
+ "training_vault_health",
406
+ {
407
+ category: "guardrail",
408
+ severity: "notice",
409
+ privacyClass: "pseudonymous",
410
+ producer: "src/telemetry.ts:1107",
411
+ consumers: NO_CONSUMERS,
412
+ futureOwnerIssue: ISSUE_SINK,
413
+ retentionOwnerIssue: ISSUE_LIFECYCLE_RETENTION,
414
+ requiredWorkflowIds: NO_WORKFLOW_IDS
415
+ }
416
+ ],
404
417
  [
405
418
  "budget_updated",
406
419
  {
407
420
  category: "cost",
408
421
  severity: "info",
409
422
  privacyClass: "pseudonymous",
410
- producer: "src/telemetry.ts:737",
423
+ producer: "src/telemetry.ts:752",
411
424
  consumers: NO_CONSUMERS,
412
425
  futureOwnerIssue: ISSUE_SINK,
413
426
  retentionOwnerIssue: ISSUE_COST_RETENTION,
@@ -420,7 +433,7 @@ var CATALOG_SOURCE = [
420
433
  category: "guardrail",
421
434
  severity: "notice",
422
435
  privacyClass: "pseudonymous",
423
- producer: "src/telemetry.ts:756",
436
+ producer: "src/telemetry.ts:771",
424
437
  consumers: NO_CONSUMERS,
425
438
  futureOwnerIssue: ISSUE_SINK,
426
439
  retentionOwnerIssue: ISSUE_SINK,
@@ -433,7 +446,7 @@ var CATALOG_SOURCE = [
433
446
  category: "guardrail",
434
447
  severity: "info",
435
448
  privacyClass: "pseudonymous",
436
- producer: "src/telemetry.ts:1305",
449
+ producer: "src/telemetry.ts:1340",
437
450
  consumers: NO_CONSUMERS,
438
451
  futureOwnerIssue: ISSUE_SINK,
439
452
  retentionOwnerIssue: ISSUE_SINK,
@@ -446,7 +459,7 @@ var CATALOG_SOURCE = [
446
459
  category: "guardrail",
447
460
  severity: "error",
448
461
  privacyClass: "pseudonymous",
449
- producer: "src/telemetry.ts:794",
462
+ producer: "src/telemetry.ts:809",
450
463
  consumers: NO_CONSUMERS,
451
464
  futureOwnerIssue: ISSUE_SINK,
452
465
  retentionOwnerIssue: ISSUE_SINK,
@@ -459,7 +472,7 @@ var CATALOG_SOURCE = [
459
472
  category: "guardrail",
460
473
  severity: "warning",
461
474
  privacyClass: "pseudonymous",
462
- producer: "src/telemetry.ts:803",
475
+ producer: "src/telemetry.ts:818",
463
476
  consumers: NO_CONSUMERS,
464
477
  futureOwnerIssue: ISSUE_SINK,
465
478
  retentionOwnerIssue: ISSUE_SINK,
@@ -472,7 +485,7 @@ var CATALOG_SOURCE = [
472
485
  category: "guardrail",
473
486
  severity: "warning",
474
487
  privacyClass: "sensitive",
475
- producer: "src/telemetry.ts:807",
488
+ producer: "src/telemetry.ts:822",
476
489
  consumers: NO_CONSUMERS,
477
490
  futureOwnerIssue: ISSUE_SINK,
478
491
  retentionOwnerIssue: ISSUE_SINK,
@@ -485,7 +498,7 @@ var CATALOG_SOURCE = [
485
498
  category: "guardrail",
486
499
  severity: "error",
487
500
  privacyClass: "sensitive",
488
- producer: "src/telemetry.ts:903",
501
+ producer: "src/telemetry.ts:918",
489
502
  consumers: NO_CONSUMERS,
490
503
  futureOwnerIssue: ISSUE_SINK,
491
504
  retentionOwnerIssue: ISSUE_SINK,
@@ -498,7 +511,7 @@ var CATALOG_SOURCE = [
498
511
  category: "guardrail",
499
512
  severity: "warning",
500
513
  privacyClass: "pseudonymous",
501
- producer: "src/telemetry.ts:911",
514
+ producer: "src/telemetry.ts:926",
502
515
  consumers: NO_CONSUMERS,
503
516
  futureOwnerIssue: ISSUE_SINK,
504
517
  retentionOwnerIssue: ISSUE_SINK,
@@ -511,7 +524,7 @@ var CATALOG_SOURCE = [
511
524
  category: "guardrail",
512
525
  severity: "warning",
513
526
  privacyClass: "pseudonymous",
514
- producer: "src/telemetry.ts:933",
527
+ producer: "src/telemetry.ts:948",
515
528
  consumers: NO_CONSUMERS,
516
529
  futureOwnerIssue: ISSUE_SINK,
517
530
  retentionOwnerIssue: ISSUE_SINK,
@@ -524,7 +537,7 @@ var CATALOG_SOURCE = [
524
537
  category: "guardrail",
525
538
  severity: "warning",
526
539
  privacyClass: "pseudonymous",
527
- producer: "src/telemetry.ts:821",
540
+ producer: "src/telemetry.ts:836",
528
541
  consumers: NO_CONSUMERS,
529
542
  futureOwnerIssue: ISSUE_SINK,
530
543
  retentionOwnerIssue: ISSUE_SINK,
@@ -537,7 +550,7 @@ var CATALOG_SOURCE = [
537
550
  category: "guardrail",
538
551
  severity: "warning",
539
552
  privacyClass: "pseudonymous",
540
- producer: "src/telemetry.ts:842",
553
+ producer: "src/telemetry.ts:857",
541
554
  consumers: NO_CONSUMERS,
542
555
  futureOwnerIssue: ISSUE_SINK,
543
556
  retentionOwnerIssue: ISSUE_SINK,
@@ -550,7 +563,7 @@ var CATALOG_SOURCE = [
550
563
  category: "guardrail",
551
564
  severity: "warning",
552
565
  privacyClass: "pseudonymous",
553
- producer: "src/telemetry.ts:856",
566
+ producer: "src/telemetry.ts:871",
554
567
  consumers: NO_CONSUMERS,
555
568
  futureOwnerIssue: ISSUE_SINK,
556
569
  retentionOwnerIssue: ISSUE_SINK,
@@ -563,7 +576,7 @@ var CATALOG_SOURCE = [
563
576
  category: "guardrail",
564
577
  severity: "error",
565
578
  privacyClass: "pseudonymous",
566
- producer: "src/telemetry.ts:873",
579
+ producer: "src/telemetry.ts:888",
567
580
  consumers: NO_CONSUMERS,
568
581
  futureOwnerIssue: ISSUE_SINK,
569
582
  retentionOwnerIssue: ISSUE_SINK,
@@ -576,7 +589,7 @@ var CATALOG_SOURCE = [
576
589
  category: "guardrail",
577
590
  severity: "error",
578
591
  privacyClass: "sensitive",
579
- producer: "src/telemetry.ts:890",
592
+ producer: "src/telemetry.ts:905",
580
593
  consumers: NO_CONSUMERS,
581
594
  futureOwnerIssue: ISSUE_SINK,
582
595
  retentionOwnerIssue: ISSUE_SINK,
@@ -589,7 +602,7 @@ var CATALOG_SOURCE = [
589
602
  category: "prm",
590
603
  severity: "error",
591
604
  privacyClass: "pseudonymous",
592
- producer: "src/telemetry.ts:1286",
605
+ producer: "src/telemetry.ts:1321",
593
606
  consumers: NO_CONSUMERS,
594
607
  futureOwnerIssue: ISSUE_SINK,
595
608
  retentionOwnerIssue: ISSUE_SINK,
@@ -602,7 +615,7 @@ var CATALOG_SOURCE = [
602
615
  category: "prm",
603
616
  severity: "notice",
604
617
  privacyClass: "pseudonymous",
605
- producer: "src/telemetry.ts:963",
618
+ producer: "src/telemetry.ts:978",
606
619
  consumers: NO_CONSUMERS,
607
620
  futureOwnerIssue: ISSUE_SINK,
608
621
  retentionOwnerIssue: ISSUE_SINK,
@@ -615,7 +628,7 @@ var CATALOG_SOURCE = [
615
628
  category: "prm",
616
629
  severity: "notice",
617
630
  privacyClass: "pseudonymous",
618
- producer: "src/telemetry.ts:977",
631
+ producer: "src/telemetry.ts:992",
619
632
  consumers: NO_CONSUMERS,
620
633
  futureOwnerIssue: ISSUE_SINK,
621
634
  retentionOwnerIssue: ISSUE_SINK,
@@ -628,7 +641,7 @@ var CATALOG_SOURCE = [
628
641
  category: "prm",
629
642
  severity: "warning",
630
643
  privacyClass: "pseudonymous",
631
- producer: "src/telemetry.ts:990",
644
+ producer: "src/telemetry.ts:1005",
632
645
  consumers: NO_CONSUMERS,
633
646
  futureOwnerIssue: ISSUE_SINK,
634
647
  retentionOwnerIssue: ISSUE_SINK,
@@ -641,7 +654,7 @@ var CATALOG_SOURCE = [
641
654
  category: "prm",
642
655
  severity: "critical",
643
656
  privacyClass: "pseudonymous",
644
- producer: "src/telemetry.ts:1004",
657
+ producer: "src/telemetry.ts:1019",
645
658
  consumers: NO_CONSUMERS,
646
659
  futureOwnerIssue: ISSUE_SINK,
647
660
  retentionOwnerIssue: ISSUE_SINK,
@@ -751,7 +764,7 @@ var CATALOG_SOURCE = [
751
764
  category: "lifecycle",
752
765
  severity: "notice",
753
766
  privacyClass: "operational",
754
- producer: "src/telemetry.ts:1041",
767
+ producer: "src/telemetry.ts:1056",
755
768
  consumers: NO_CONSUMERS,
756
769
  futureOwnerIssue: ISSUE_SINK,
757
770
  retentionOwnerIssue: ISSUE_SINK
@@ -791,7 +804,7 @@ var CATALOG_SOURCE = [
791
804
  category: "lifecycle",
792
805
  severity: "notice",
793
806
  privacyClass: "operational",
794
- producer: "src/telemetry.ts:1063",
807
+ producer: "src/telemetry.ts:1078",
795
808
  consumers: NO_CONSUMERS,
796
809
  futureOwnerIssue: ISSUE_SINK,
797
810
  retentionOwnerIssue: ISSUE_SINK,
@@ -805,7 +818,7 @@ var CATALOG_SOURCE = [
805
818
  category: "lifecycle",
806
819
  severity: "notice",
807
820
  privacyClass: "operational",
808
- producer: "src/telemetry.ts:1087",
821
+ producer: "src/telemetry.ts:1122",
809
822
  consumers: NO_CONSUMERS,
810
823
  futureOwnerIssue: ISSUE_SINK,
811
824
  retentionOwnerIssue: ISSUE_SINK,
@@ -819,7 +832,7 @@ var CATALOG_SOURCE = [
819
832
  category: "lifecycle",
820
833
  severity: "notice",
821
834
  privacyClass: "operational",
822
- producer: "src/telemetry.ts:1124",
835
+ producer: "src/telemetry.ts:1159",
823
836
  consumers: NO_CONSUMERS,
824
837
  futureOwnerIssue: ISSUE_SINK,
825
838
  retentionOwnerIssue: ISSUE_SINK,
@@ -833,7 +846,7 @@ var CATALOG_SOURCE = [
833
846
  category: "lifecycle",
834
847
  severity: "notice",
835
848
  privacyClass: "operational",
836
- producer: "src/telemetry.ts:1150",
849
+ producer: "src/telemetry.ts:1185",
837
850
  consumers: NO_CONSUMERS,
838
851
  futureOwnerIssue: ISSUE_SINK,
839
852
  retentionOwnerIssue: ISSUE_SINK,
@@ -847,7 +860,7 @@ var CATALOG_SOURCE = [
847
860
  category: "lifecycle",
848
861
  severity: "notice",
849
862
  privacyClass: "operational",
850
- producer: "src/telemetry.ts:1174",
863
+ producer: "src/telemetry.ts:1209",
851
864
  consumers: NO_CONSUMERS,
852
865
  futureOwnerIssue: ISSUE_SINK,
853
866
  retentionOwnerIssue: ISSUE_SINK,
@@ -861,7 +874,7 @@ var CATALOG_SOURCE = [
861
874
  category: "lifecycle",
862
875
  severity: "notice",
863
876
  privacyClass: "operational",
864
- producer: "src/telemetry.ts:1197",
877
+ producer: "src/telemetry.ts:1232",
865
878
  consumers: NO_CONSUMERS,
866
879
  futureOwnerIssue: ISSUE_SINK,
867
880
  retentionOwnerIssue: ISSUE_SINK,
@@ -875,7 +888,7 @@ var CATALOG_SOURCE = [
875
888
  category: "lifecycle",
876
889
  severity: "notice",
877
890
  privacyClass: "operational",
878
- producer: "src/telemetry.ts:1226",
891
+ producer: "src/telemetry.ts:1261",
879
892
  consumers: NO_CONSUMERS,
880
893
  futureOwnerIssue: ISSUE_SINK,
881
894
  retentionOwnerIssue: ISSUE_SINK,
@@ -889,7 +902,7 @@ var CATALOG_SOURCE = [
889
902
  category: "lifecycle",
890
903
  severity: "warning",
891
904
  privacyClass: "operational",
892
- producer: "src/telemetry.ts:1270",
905
+ producer: "src/telemetry.ts:1305",
893
906
  consumers: NO_CONSUMERS,
894
907
  futureOwnerIssue: ISSUE_SINK,
895
908
  retentionOwnerIssue: 2044,
@@ -1363,6 +1376,7 @@ var KNOWN_TELEMETRY_KEYS = Object.freeze({
1363
1376
  "oldest_age_ms",
1364
1377
  "grammar_counts"
1365
1378
  ]),
1379
+ training_vault_health: Object.freeze(["project_ref", "reason", "count"]),
1366
1380
  context_telemetry_health: Object.freeze([
1367
1381
  "trigger",
1368
1382
  "accepted_count",
@@ -1845,6 +1859,9 @@ function toLegacyTelemetryLine(event) {
1845
1859
  ...event.legacy.raw
1846
1860
  };
1847
1861
  }
1862
+ function canonicalLineContent(event) {
1863
+ return JSON.stringify(toLegacyTelemetryLine(event));
1864
+ }
1848
1865
  // src/observability/otel-mapping.ts
1849
1866
  var OTEL_GENAI_MAPPING_VERSION = "1.29.0";
1850
1867
  var OPENINFERENCE_MAPPING_VERSION = "0.1.14";
@@ -1984,7 +2001,8 @@ function emit(event, data) {
1984
2001
  return;
1985
2002
  }
1986
2003
  const canonical = _internals.createObservation(event, data);
1987
- const line = JSON.stringify(_internals.toLegacyTelemetryLine(canonical)) + os.EOL;
2004
+ const content = _internals.canonicalLineContent(canonical);
2005
+ const line = content + os.EOL;
1988
2006
  const stream = _writeStream;
1989
2007
  stream.write(line, (err) => {
1990
2008
  if (err && _writeStream === stream) {
@@ -1994,7 +2012,7 @@ function emit(event, data) {
1994
2012
  });
1995
2013
  for (const listener of _listeners) {
1996
2014
  try {
1997
- listener(event, data, canonical);
2015
+ listener(event, data, canonical, content);
1998
2016
  } catch {}
1999
2017
  }
2000
2018
  _emitCount++;
@@ -2268,6 +2286,9 @@ var telemetry = {
2268
2286
  residueHealth(data) {
2269
2287
  _internals.emit("residue_health", data);
2270
2288
  },
2289
+ trainingVaultHealth(data) {
2290
+ _internals.emit("training_vault_health", data);
2291
+ },
2271
2292
  contextTelemetryHealth(data) {
2272
2293
  _internals.emit("context_telemetry_health", data);
2273
2294
  },
@@ -2308,7 +2329,8 @@ var _internals = {
2308
2329
  flushAndDrainTelemetry,
2309
2330
  heartbeatListenerCount: () => _heartbeatListener !== null ? 1 : 0,
2310
2331
  createObservation,
2311
- toLegacyTelemetryLine
2332
+ toLegacyTelemetryLine,
2333
+ canonicalLineContent
2312
2334
  };
2313
2335
 
2314
- export { resolveLineageSalt, pseudonymousRef, extractWorkflowIds, OTEL_GENAI_MAPPING_VERSION, OPENINFERENCE_MAPPING_VERSION, startHeartbeatTracking, getLastHeartbeat, stopHeartbeatTracking, resetHeartbeatTrackingForTesting, ROTATION_CHECK_INTERVAL, resetTelemetryForTesting, initTelemetry, emit, addTelemetryListener, removeTelemetryListener, rotateTelemetryIfNeeded, flushAndDrainTelemetry, telemetry, _internals };
2336
+ export { resolveLineageSalt, pseudonymousRef, extractWorkflowIds, canonicalLineContent, OTEL_GENAI_MAPPING_VERSION, OPENINFERENCE_MAPPING_VERSION, startHeartbeatTracking, getLastHeartbeat, stopHeartbeatTracking, resetHeartbeatTrackingForTesting, ROTATION_CHECK_INTERVAL, resetTelemetryForTesting, initTelemetry, emit, addTelemetryListener, removeTelemetryListener, rotateTelemetryIfNeeded, flushAndDrainTelemetry, telemetry, _internals };
@@ -2,13 +2,13 @@
2
2
  import {
3
3
  derivePlanId,
4
4
  derivePlanIdentityHash
5
- } from "./index-bernkwgf.js";
5
+ } from "./index-g6nen3gt.js";
6
6
  import {
7
7
  DURABILITY_CLASSES,
8
8
  getProjectDb,
9
9
  projectDbExists,
10
10
  withImmediateTransaction
11
- } from "./index-dvbf6fpn.js";
11
+ } from "./index-yqbnsmmv.js";
12
12
  import {
13
13
  init_logger,
14
14
  warn
@@ -2,10 +2,10 @@
2
2
  import {
3
3
  readKnowledge,
4
4
  transactKnowledge
5
- } from "./index-x067zyvp.js";
5
+ } from "./index-5134766r.js";
6
6
  import {
7
7
  resolveKnowledgeStoreDir
8
- } from "./index-g0q47r3r.js";
8
+ } from "./index-95e3a9en.js";
9
9
  import {
10
10
  init_git_executable,
11
11
  resolveGitExecutableAsync
@@ -14,14 +14,14 @@ import {
14
14
  detectWindowsWrites,
15
15
  getSharedClassifierGuardrailBlock,
16
16
  resolveWriteTargets
17
- } from "./index-7htmxmjp.js";
17
+ } from "./index-xefajbqv.js";
18
18
  import {
19
19
  checkFileAuthority,
20
20
  classifyFile,
21
21
  isInDeclaredScope,
22
22
  redactPath,
23
23
  redactShellCommand
24
- } from "./index-g2sc35qk.js";
24
+ } from "./index-4sf357vj.js";
25
25
 
26
26
  // src/services/guardrail-explain-service.ts
27
27
  import path from "path";
@@ -4,33 +4,33 @@ import {
4
4
  } from "./index-b3pmzbh1.js";
5
5
  import {
6
6
  observeReceiptTransition
7
- } from "./index-5y7kqjyt.js";
7
+ } from "./index-nfs78aqj.js";
8
8
  import {
9
9
  resolveHiveEventsPath
10
10
  } from "./index-ae75rja9.js";
11
11
  import {
12
12
  resolveKnowledgeStoreDir
13
- } from "./index-g0q47r3r.js";
13
+ } from "./index-95e3a9en.js";
14
14
  import {
15
15
  assertProjectRoot,
16
16
  atomicWriteFile
17
- } from "./index-sf32ny5w.js";
17
+ } from "./index-evxd1art.js";
18
18
  import {
19
19
  require_proper_lockfile
20
20
  } from "./index-7g4c7s5r.js";
21
21
  import {
22
22
  emit
23
- } from "./index-7sz2rkx3.js";
23
+ } from "./index-9dz2ee2g.js";
24
24
  import {
25
25
  canonicalRootKey
26
26
  } from "./index-1xnse449.js";
27
27
  import {
28
28
  loadPluginConfigWithMeta
29
- } from "./index-29gnavqx.js";
29
+ } from "./index-m1j1rth6.js";
30
30
  import {
31
31
  KnowledgeConfigSchema,
32
32
  init_schema
33
- } from "./index-9g3c0w22.js";
33
+ } from "./index-4rq1d5k5.js";
34
34
  import {
35
35
  init_logger,
36
36
  warn
@@ -2813,7 +2813,7 @@ async function applyKnowledgeVerdictFeedback(directory, options) {
2813
2813
  }
2814
2814
  let bumps = 0;
2815
2815
  if (deltas.length > 0) {
2816
- const { bumpKnowledgeConfidenceBatch } = await import("./knowledge-store-ppmrqs41.js");
2816
+ const { bumpKnowledgeConfidenceBatch } = await import("./knowledge-store-2nrtfb5x.js");
2817
2817
  bumps = await bumpKnowledgeConfidenceBatch(directory, deltas, options?.floorOptions);
2818
2818
  }
2819
2819
  return {
@@ -3,7 +3,7 @@ import {
3
3
  EvaluationRunV1Schema,
4
4
  GateAuditResultV1Schema,
5
5
  getProtectedEvaluationRunIds
6
- } from "./index-4say55ww.js";
6
+ } from "./index-3jcp3zb6.js";
7
7
  import {
8
8
  readEffectiveSpecSync
9
9
  } from "./index-9br68j86.js";
@@ -23,7 +23,7 @@ import {
23
23
  readTaskEvidence,
24
24
  readTaskEvidenceRaw,
25
25
  sanitizeTaskId
26
- } from "./index-2q6qj0vw.js";
26
+ } from "./index-3jwamrzw.js";
27
27
  import {
28
28
  estimateCharsForTokens,
29
29
  estimateTokens,
@@ -58,10 +58,10 @@ import {
58
58
  replayFromLedgerWithStatus,
59
59
  takeSnapshotEvent,
60
60
  takeSnapshotWithRetry
61
- } from "./index-dbg2g834.js";
61
+ } from "./index-7pae558g.js";
62
62
  import {
63
63
  appendCoreEventSync
64
- } from "./index-p6zt0qm1.js";
64
+ } from "./index-6k5aq7b9.js";
65
65
  import {
66
66
  derivePlanId,
67
67
  derivePlanIdentityHash,
@@ -69,21 +69,21 @@ import {
69
69
  importCoordinationOnce,
70
70
  listCoordinationStates,
71
71
  transitionCoordinationState
72
- } from "./index-bernkwgf.js";
72
+ } from "./index-g6nen3gt.js";
73
73
  import {
74
74
  DURABILITY_CLASSES,
75
75
  getProjectDb,
76
76
  projectDbExists,
77
77
  withDurabilityClass
78
- } from "./index-dvbf6fpn.js";
78
+ } from "./index-yqbnsmmv.js";
79
79
  import {
80
80
  assertProjectRoot,
81
81
  tryAcquireLock,
82
82
  withEvidenceLock
83
- } from "./index-sf32ny5w.js";
83
+ } from "./index-evxd1art.js";
84
84
  import {
85
85
  emit
86
- } from "./index-7sz2rkx3.js";
86
+ } from "./index-9dz2ee2g.js";
87
87
  import {
88
88
  atomicWriteSwarmFileSync,
89
89
  invalidateCachedArtifact,
@@ -94,7 +94,7 @@ import {
94
94
  } from "./index-1xnse449.js";
95
95
  import {
96
96
  PlanSchema
97
- } from "./index-29gnavqx.js";
97
+ } from "./index-m1j1rth6.js";
98
98
  import {
99
99
  GIT_BINARY_ENV_VAR,
100
100
  describeGitResolution,
@@ -9,7 +9,7 @@ import {
9
9
  readEvaluationRun,
10
10
  saveEvaluationRun,
11
11
  saveTaskSetSnapshot
12
- } from "./index-4say55ww.js";
12
+ } from "./index-3jcp3zb6.js";
13
13
  import {
14
14
  canonicalHash,
15
15
  computeCandidateInputContentHash,
@@ -4,7 +4,7 @@ import {
4
4
  } from "./index-7g4c7s5r.js";
5
5
  import {
6
6
  emit
7
- } from "./index-7sz2rkx3.js";
7
+ } from "./index-9dz2ee2g.js";
8
8
  import {
9
9
  atomicWriteFileAnyRoot
10
10
  } from "./index-nbdmdyke.js";
@@ -4,7 +4,7 @@ import {
4
4
  getProjectDb,
5
5
  projectDbExists,
6
6
  withImmediateTransaction
7
- } from "./index-dvbf6fpn.js";
7
+ } from "./index-yqbnsmmv.js";
8
8
 
9
9
  // src/db/coordination-store.ts
10
10
  import { createHash } from "crypto";