pluribus-context 0.3.33 → 0.3.35

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 (43) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/README.md +7 -6
  3. package/docs/ai-pr-review-receipts.md +153 -0
  4. package/docs/canonical-output-receipts.md +107 -0
  5. package/docs/community-review-packet.md +11 -11
  6. package/docs/context-budget-receipts.md +22 -0
  7. package/docs/context-input-evidence.md +15 -0
  8. package/docs/dynamic-workflow-run-receipts.md +158 -0
  9. package/docs/install-plan-receipts.md +77 -0
  10. package/docs/mcp-tool-visibility-receipts.md +67 -0
  11. package/docs/review-primitive-gate.md +107 -0
  12. package/docs/skill-policy-receipts.md +87 -0
  13. package/docs/subagent-role-receipts.md +95 -0
  14. package/docs/temporal-context-receipts.md +123 -0
  15. package/examples/agent-skills/context-receipts/SKILL.md +21 -0
  16. package/examples/agent-skills/skill-policy-receipts/README.md +22 -0
  17. package/examples/agent-skills/skill-policy-receipts/SKILL.md +77 -0
  18. package/examples/ai-pr-review-receipts/.github/pull_request_template.md +31 -0
  19. package/examples/ai-pr-review-receipts/README.md +5 -0
  20. package/examples/canonical-output-receipts/canonical-output-receipt.json +55 -0
  21. package/examples/claude-code-review-hook/README.md +74 -0
  22. package/examples/claude-code-review-hook/check-review-receipt-hook.mjs +80 -0
  23. package/examples/claude-code-review-hook/sample-task-completed-event.json +6 -0
  24. package/examples/context-input-evidence/code-search-retrieval-otel-trace.json +879 -0
  25. package/examples/context-input-evidence/code-search-retrieval-receipt.ndjson +8 -0
  26. package/examples/context-input-evidence/convert-code-search-retrieval-log.mjs +280 -0
  27. package/examples/context-input-evidence/sample-code-search-retrieval-log.jsonl +5 -0
  28. package/examples/dynamic-workflow-run-receipts/README.md +18 -0
  29. package/examples/dynamic-workflow-run-receipts/workflow-run-receipt.json +112 -0
  30. package/examples/install-plan-receipts/README.md +34 -0
  31. package/examples/install-plan-receipts/agent-install-plan-receipt.json +56 -0
  32. package/examples/review-primitive-gate/README.md +19 -0
  33. package/examples/review-primitive-gate/check-review-receipt.mjs +100 -0
  34. package/examples/review-primitive-gate/fail-review-receipt.json +42 -0
  35. package/examples/review-primitive-gate/pass-review-receipt.json +54 -0
  36. package/examples/subagent-role-receipts/README.md +15 -0
  37. package/examples/subagent-role-receipts/agents.toml +36 -0
  38. package/examples/temporal-context-receipts/CURRENT_STATE.md +13 -0
  39. package/examples/temporal-context-receipts/specs/2025-checkout-rewrite.md +10 -0
  40. package/examples/temporal-context-receipts/specs/2026-checkout-risk-notes.md +10 -0
  41. package/examples/temporal-context-receipts/temporal-authority-receipt.json +27 -0
  42. package/package.json +1 -1
  43. package/src/utils/version.js +1 -1
@@ -0,0 +1,879 @@
1
+ {
2
+ "resourceSpans": [
3
+ {
4
+ "resource": {
5
+ "attributes": [
6
+ {
7
+ "key": "service.name",
8
+ "value": {
9
+ "stringValue": "pluribus-code-search-retrieval-receipt-demo"
10
+ }
11
+ },
12
+ {
13
+ "key": "service.version",
14
+ "value": {
15
+ "stringValue": "0.0.0-fixture"
16
+ }
17
+ },
18
+ {
19
+ "key": "deployment.environment.name",
20
+ "value": {
21
+ "stringValue": "local-fixture"
22
+ }
23
+ }
24
+ ]
25
+ },
26
+ "scopeSpans": [
27
+ {
28
+ "scope": {
29
+ "name": "pluribus.context_input_evidence.code_search_retrieval_demo",
30
+ "version": "0.0.0-fixture"
31
+ },
32
+ "spans": [
33
+ {
34
+ "traceId": "02c8df97e575ea76a89acf4fe9194925",
35
+ "spanId": "9568b542931d5d73",
36
+ "parentSpanId": "",
37
+ "name": "agent.session.code_search_retrieval",
38
+ "kind": 1,
39
+ "startTimeUnixNano": "1779804001000000000",
40
+ "endTimeUnixNano": "1779804006000000000",
41
+ "attributes": [
42
+ {
43
+ "key": "session.id",
44
+ "value": {
45
+ "stringValue": "session-code-search-demo-001"
46
+ }
47
+ },
48
+ {
49
+ "key": "gen_ai.conversation.id",
50
+ "value": {
51
+ "stringValue": "conv-code-search-demo-001"
52
+ }
53
+ },
54
+ {
55
+ "key": "agent.name",
56
+ "value": {
57
+ "stringValue": "claude-code"
58
+ }
59
+ },
60
+ {
61
+ "key": "workspace.name_hash",
62
+ "value": {
63
+ "stringValue": "sha256:102233ba4d12"
64
+ }
65
+ },
66
+ {
67
+ "key": "gen_ai.request.model",
68
+ "value": {
69
+ "stringValue": "claude-opus-4.6"
70
+ }
71
+ },
72
+ {
73
+ "key": "code_search.query_category",
74
+ "value": {
75
+ "stringValue": "auth_session_debug"
76
+ }
77
+ }
78
+ ],
79
+ "events": [
80
+ {
81
+ "name": "code.index.snapshot.used",
82
+ "timeUnixNano": "1779804001000000000",
83
+ "attributes": [
84
+ {
85
+ "key": "session.id",
86
+ "value": {
87
+ "stringValue": "session-code-search-demo-001"
88
+ }
89
+ },
90
+ {
91
+ "key": "gen_ai.conversation.id",
92
+ "value": {
93
+ "stringValue": "conv-code-search-demo-001"
94
+ }
95
+ },
96
+ {
97
+ "key": "agent.name",
98
+ "value": {
99
+ "stringValue": "claude-code"
100
+ }
101
+ },
102
+ {
103
+ "key": "code_search.index.snapshot_id_hash",
104
+ "value": {
105
+ "stringValue": "sha256:6a0d5bd7e10e"
106
+ }
107
+ },
108
+ {
109
+ "key": "code_search.codebase.path_hash",
110
+ "value": {
111
+ "stringValue": "sha256:747ff961f5c565013d2b43aa6393ee4f328ed3d6a82f28fc4ca06b417c47ebfb"
112
+ }
113
+ },
114
+ {
115
+ "key": "code_search.git.commit_hash",
116
+ "value": {
117
+ "stringValue": "sha256:87fe0690312cb4a86c9f9256ff9e1863118a67b44f286e3510c7816d430caae0"
118
+ }
119
+ },
120
+ {
121
+ "key": "code_search.indexed_file_count_bucket",
122
+ "value": {
123
+ "stringValue": "over_1k"
124
+ }
125
+ },
126
+ {
127
+ "key": "code_search.indexed_chunk_count_bucket",
128
+ "value": {
129
+ "stringValue": "over_1k"
130
+ }
131
+ },
132
+ {
133
+ "key": "code_search.embedding.provider_hash",
134
+ "value": {
135
+ "stringValue": "sha256:15c5b8267d43"
136
+ }
137
+ },
138
+ {
139
+ "key": "code_search.embedding.model_hash",
140
+ "value": {
141
+ "stringValue": "sha256:dbb48b3aa923"
142
+ }
143
+ },
144
+ {
145
+ "key": "code_search.snapshot.status",
146
+ "value": {
147
+ "stringValue": "fresh"
148
+ }
149
+ },
150
+ {
151
+ "key": "privacy.raw_codebase_path_recorded",
152
+ "value": {
153
+ "boolValue": false
154
+ }
155
+ },
156
+ {
157
+ "key": "privacy.raw_embedding_config_recorded",
158
+ "value": {
159
+ "boolValue": false
160
+ }
161
+ }
162
+ ]
163
+ },
164
+ {
165
+ "name": "code.search.performed",
166
+ "timeUnixNano": "1779804003000000000",
167
+ "attributes": [
168
+ {
169
+ "key": "session.id",
170
+ "value": {
171
+ "stringValue": "session-code-search-demo-001"
172
+ }
173
+ },
174
+ {
175
+ "key": "gen_ai.conversation.id",
176
+ "value": {
177
+ "stringValue": "conv-code-search-demo-001"
178
+ }
179
+ },
180
+ {
181
+ "key": "code_search.query_hash",
182
+ "value": {
183
+ "stringValue": "sha256:436d2a7ed0737815a485101149ac0b2f0257573dc4a7d65cc3f5d1495bdb001a"
184
+ }
185
+ },
186
+ {
187
+ "key": "code_search.query_category",
188
+ "value": {
189
+ "stringValue": "auth_session_debug"
190
+ }
191
+ },
192
+ {
193
+ "key": "code_search.filter_hash",
194
+ "value": {
195
+ "stringValue": "sha256:823b6b5cedb4858291cc68b8eeaccd69cd4a8e4f54cbe62c6ca99bc590847335"
196
+ }
197
+ },
198
+ {
199
+ "key": "code_search.top_k",
200
+ "value": {
201
+ "intValue": "8"
202
+ }
203
+ },
204
+ {
205
+ "key": "code_search.candidate_count_bucket",
206
+ "value": {
207
+ "stringValue": "over_1k"
208
+ }
209
+ },
210
+ {
211
+ "key": "code_search.index.snapshot_id_hash",
212
+ "value": {
213
+ "stringValue": "sha256:6a0d5bd7e10e"
214
+ }
215
+ },
216
+ {
217
+ "key": "privacy.raw_query_recorded",
218
+ "value": {
219
+ "boolValue": false
220
+ }
221
+ },
222
+ {
223
+ "key": "privacy.raw_filter_recorded",
224
+ "value": {
225
+ "boolValue": false
226
+ }
227
+ },
228
+ {
229
+ "key": "audit_gap",
230
+ "value": {
231
+ "stringValue": "proves search request identity and candidate scale, not semantic relevance"
232
+ }
233
+ }
234
+ ]
235
+ },
236
+ {
237
+ "name": "code.search.result.returned",
238
+ "timeUnixNano": "1779804004000000000",
239
+ "attributes": [
240
+ {
241
+ "key": "session.id",
242
+ "value": {
243
+ "stringValue": "session-code-search-demo-001"
244
+ }
245
+ },
246
+ {
247
+ "key": "gen_ai.conversation.id",
248
+ "value": {
249
+ "stringValue": "conv-code-search-demo-001"
250
+ }
251
+ },
252
+ {
253
+ "key": "code_search.index.snapshot_id_hash",
254
+ "value": {
255
+ "stringValue": "sha256:6a0d5bd7e10e"
256
+ }
257
+ },
258
+ {
259
+ "key": "code_search.result.rank",
260
+ "value": {
261
+ "intValue": "1"
262
+ }
263
+ },
264
+ {
265
+ "key": "code_search.result.score_bucket",
266
+ "value": {
267
+ "stringValue": "very_high"
268
+ }
269
+ },
270
+ {
271
+ "key": "code_search.result.chunk_id_hash",
272
+ "value": {
273
+ "stringValue": "sha256:9b5a0917012a"
274
+ }
275
+ },
276
+ {
277
+ "key": "code_search.result.chunk_text_hash",
278
+ "value": {
279
+ "stringValue": "sha256:89f80a544ab501d52eb4f3cb9ff1aefe496570db864b06011895db06009142ce"
280
+ }
281
+ },
282
+ {
283
+ "key": "code_search.result.path_hash",
284
+ "value": {
285
+ "stringValue": "sha256:d730007d6c0f93605282b288e74d7f544c7f6f341a3f3c4a38a82903df69766d"
286
+ }
287
+ },
288
+ {
289
+ "key": "code_search.result.path_extension",
290
+ "value": {
291
+ "stringValue": "ts"
292
+ }
293
+ },
294
+ {
295
+ "key": "code_search.result.line_range_bucket",
296
+ "value": {
297
+ "stringValue": "under_100_lines"
298
+ }
299
+ },
300
+ {
301
+ "key": "code_search.result.stale",
302
+ "value": {
303
+ "boolValue": false
304
+ }
305
+ },
306
+ {
307
+ "key": "code_search.result.duplicate_of_hash",
308
+ "value": {
309
+ "stringValue": ""
310
+ }
311
+ },
312
+ {
313
+ "key": "code_search.result.loaded_into_agent_context",
314
+ "value": {
315
+ "boolValue": true
316
+ }
317
+ },
318
+ {
319
+ "key": "code_search.result.suppressed_before_agent_context",
320
+ "value": {
321
+ "boolValue": false
322
+ }
323
+ },
324
+ {
325
+ "key": "code_search.result.suppression_reason",
326
+ "value": {
327
+ "stringValue": ""
328
+ }
329
+ },
330
+ {
331
+ "key": "privacy.raw_code_chunk_recorded",
332
+ "value": {
333
+ "boolValue": false
334
+ }
335
+ },
336
+ {
337
+ "key": "privacy.raw_path_recorded",
338
+ "value": {
339
+ "boolValue": false
340
+ }
341
+ }
342
+ ]
343
+ },
344
+ {
345
+ "name": "code.search.result.returned",
346
+ "timeUnixNano": "1779804004000000000",
347
+ "attributes": [
348
+ {
349
+ "key": "session.id",
350
+ "value": {
351
+ "stringValue": "session-code-search-demo-001"
352
+ }
353
+ },
354
+ {
355
+ "key": "gen_ai.conversation.id",
356
+ "value": {
357
+ "stringValue": "conv-code-search-demo-001"
358
+ }
359
+ },
360
+ {
361
+ "key": "code_search.index.snapshot_id_hash",
362
+ "value": {
363
+ "stringValue": "sha256:6a0d5bd7e10e"
364
+ }
365
+ },
366
+ {
367
+ "key": "code_search.result.rank",
368
+ "value": {
369
+ "intValue": "2"
370
+ }
371
+ },
372
+ {
373
+ "key": "code_search.result.score_bucket",
374
+ "value": {
375
+ "stringValue": "high"
376
+ }
377
+ },
378
+ {
379
+ "key": "code_search.result.chunk_id_hash",
380
+ "value": {
381
+ "stringValue": "sha256:813c55aef28e"
382
+ }
383
+ },
384
+ {
385
+ "key": "code_search.result.chunk_text_hash",
386
+ "value": {
387
+ "stringValue": "sha256:d73fdad68b67584cd00466261369d2c8bf41c7518ef39699c3962f6819a840b3"
388
+ }
389
+ },
390
+ {
391
+ "key": "code_search.result.path_hash",
392
+ "value": {
393
+ "stringValue": "sha256:74915fb212979bb303ee810c9190a0d316ab17f1946975e3d1af57ed3001f058"
394
+ }
395
+ },
396
+ {
397
+ "key": "code_search.result.path_extension",
398
+ "value": {
399
+ "stringValue": "ts"
400
+ }
401
+ },
402
+ {
403
+ "key": "code_search.result.line_range_bucket",
404
+ "value": {
405
+ "stringValue": "under_100_lines"
406
+ }
407
+ },
408
+ {
409
+ "key": "code_search.result.stale",
410
+ "value": {
411
+ "boolValue": false
412
+ }
413
+ },
414
+ {
415
+ "key": "code_search.result.duplicate_of_hash",
416
+ "value": {
417
+ "stringValue": ""
418
+ }
419
+ },
420
+ {
421
+ "key": "code_search.result.loaded_into_agent_context",
422
+ "value": {
423
+ "boolValue": true
424
+ }
425
+ },
426
+ {
427
+ "key": "code_search.result.suppressed_before_agent_context",
428
+ "value": {
429
+ "boolValue": false
430
+ }
431
+ },
432
+ {
433
+ "key": "code_search.result.suppression_reason",
434
+ "value": {
435
+ "stringValue": ""
436
+ }
437
+ },
438
+ {
439
+ "key": "privacy.raw_code_chunk_recorded",
440
+ "value": {
441
+ "boolValue": false
442
+ }
443
+ },
444
+ {
445
+ "key": "privacy.raw_path_recorded",
446
+ "value": {
447
+ "boolValue": false
448
+ }
449
+ }
450
+ ]
451
+ },
452
+ {
453
+ "name": "code.search.result.returned",
454
+ "timeUnixNano": "1779804004000000000",
455
+ "attributes": [
456
+ {
457
+ "key": "session.id",
458
+ "value": {
459
+ "stringValue": "session-code-search-demo-001"
460
+ }
461
+ },
462
+ {
463
+ "key": "gen_ai.conversation.id",
464
+ "value": {
465
+ "stringValue": "conv-code-search-demo-001"
466
+ }
467
+ },
468
+ {
469
+ "key": "code_search.index.snapshot_id_hash",
470
+ "value": {
471
+ "stringValue": "sha256:6a0d5bd7e10e"
472
+ }
473
+ },
474
+ {
475
+ "key": "code_search.result.rank",
476
+ "value": {
477
+ "intValue": "3"
478
+ }
479
+ },
480
+ {
481
+ "key": "code_search.result.score_bucket",
482
+ "value": {
483
+ "stringValue": "high"
484
+ }
485
+ },
486
+ {
487
+ "key": "code_search.result.chunk_id_hash",
488
+ "value": {
489
+ "stringValue": "sha256:0570aa4bf0e9"
490
+ }
491
+ },
492
+ {
493
+ "key": "code_search.result.chunk_text_hash",
494
+ "value": {
495
+ "stringValue": "sha256:39b430127a752702d78ec3180e183f90732310d13e15bcc1adf44cfba2861152"
496
+ }
497
+ },
498
+ {
499
+ "key": "code_search.result.path_hash",
500
+ "value": {
501
+ "stringValue": "sha256:504efd04322190f19e8d6268b79713d4f7ce890fe9279e76f69d8f18a1e20eb3"
502
+ }
503
+ },
504
+ {
505
+ "key": "code_search.result.path_extension",
506
+ "value": {
507
+ "stringValue": "ts"
508
+ }
509
+ },
510
+ {
511
+ "key": "code_search.result.line_range_bucket",
512
+ "value": {
513
+ "stringValue": "under_100_lines"
514
+ }
515
+ },
516
+ {
517
+ "key": "code_search.result.stale",
518
+ "value": {
519
+ "boolValue": false
520
+ }
521
+ },
522
+ {
523
+ "key": "code_search.result.duplicate_of_hash",
524
+ "value": {
525
+ "stringValue": ""
526
+ }
527
+ },
528
+ {
529
+ "key": "code_search.result.loaded_into_agent_context",
530
+ "value": {
531
+ "boolValue": true
532
+ }
533
+ },
534
+ {
535
+ "key": "code_search.result.suppressed_before_agent_context",
536
+ "value": {
537
+ "boolValue": false
538
+ }
539
+ },
540
+ {
541
+ "key": "code_search.result.suppression_reason",
542
+ "value": {
543
+ "stringValue": ""
544
+ }
545
+ },
546
+ {
547
+ "key": "privacy.raw_code_chunk_recorded",
548
+ "value": {
549
+ "boolValue": false
550
+ }
551
+ },
552
+ {
553
+ "key": "privacy.raw_path_recorded",
554
+ "value": {
555
+ "boolValue": false
556
+ }
557
+ }
558
+ ]
559
+ },
560
+ {
561
+ "name": "code.search.result.returned",
562
+ "timeUnixNano": "1779804004000000000",
563
+ "attributes": [
564
+ {
565
+ "key": "session.id",
566
+ "value": {
567
+ "stringValue": "session-code-search-demo-001"
568
+ }
569
+ },
570
+ {
571
+ "key": "gen_ai.conversation.id",
572
+ "value": {
573
+ "stringValue": "conv-code-search-demo-001"
574
+ }
575
+ },
576
+ {
577
+ "key": "code_search.index.snapshot_id_hash",
578
+ "value": {
579
+ "stringValue": "sha256:6a0d5bd7e10e"
580
+ }
581
+ },
582
+ {
583
+ "key": "code_search.result.rank",
584
+ "value": {
585
+ "intValue": "4"
586
+ }
587
+ },
588
+ {
589
+ "key": "code_search.result.score_bucket",
590
+ "value": {
591
+ "stringValue": "high"
592
+ }
593
+ },
594
+ {
595
+ "key": "code_search.result.chunk_id_hash",
596
+ "value": {
597
+ "stringValue": "sha256:8f6ad990276d"
598
+ }
599
+ },
600
+ {
601
+ "key": "code_search.result.chunk_text_hash",
602
+ "value": {
603
+ "stringValue": "sha256:fa92fc454797f886864101bdc4032b930d3243320829e4cab48b4f130f95c6b3"
604
+ }
605
+ },
606
+ {
607
+ "key": "code_search.result.path_hash",
608
+ "value": {
609
+ "stringValue": "sha256:201aa087ff7e0ae80320fea83e0ab68442f48898f199564286804131f9cb9725"
610
+ }
611
+ },
612
+ {
613
+ "key": "code_search.result.path_extension",
614
+ "value": {
615
+ "stringValue": "ts"
616
+ }
617
+ },
618
+ {
619
+ "key": "code_search.result.line_range_bucket",
620
+ "value": {
621
+ "stringValue": "under_100_lines"
622
+ }
623
+ },
624
+ {
625
+ "key": "code_search.result.stale",
626
+ "value": {
627
+ "boolValue": false
628
+ }
629
+ },
630
+ {
631
+ "key": "code_search.result.duplicate_of_hash",
632
+ "value": {
633
+ "stringValue": "sha256:9b5a0917012a"
634
+ }
635
+ },
636
+ {
637
+ "key": "code_search.result.loaded_into_agent_context",
638
+ "value": {
639
+ "boolValue": false
640
+ }
641
+ },
642
+ {
643
+ "key": "code_search.result.suppressed_before_agent_context",
644
+ "value": {
645
+ "boolValue": true
646
+ }
647
+ },
648
+ {
649
+ "key": "code_search.result.suppression_reason",
650
+ "value": {
651
+ "stringValue": "duplicate"
652
+ }
653
+ },
654
+ {
655
+ "key": "privacy.raw_code_chunk_recorded",
656
+ "value": {
657
+ "boolValue": false
658
+ }
659
+ },
660
+ {
661
+ "key": "privacy.raw_path_recorded",
662
+ "value": {
663
+ "boolValue": false
664
+ }
665
+ }
666
+ ]
667
+ },
668
+ {
669
+ "name": "code.search.result.returned",
670
+ "timeUnixNano": "1779804004000000000",
671
+ "attributes": [
672
+ {
673
+ "key": "session.id",
674
+ "value": {
675
+ "stringValue": "session-code-search-demo-001"
676
+ }
677
+ },
678
+ {
679
+ "key": "gen_ai.conversation.id",
680
+ "value": {
681
+ "stringValue": "conv-code-search-demo-001"
682
+ }
683
+ },
684
+ {
685
+ "key": "code_search.index.snapshot_id_hash",
686
+ "value": {
687
+ "stringValue": "sha256:6a0d5bd7e10e"
688
+ }
689
+ },
690
+ {
691
+ "key": "code_search.result.rank",
692
+ "value": {
693
+ "intValue": "5"
694
+ }
695
+ },
696
+ {
697
+ "key": "code_search.result.score_bucket",
698
+ "value": {
699
+ "stringValue": "medium"
700
+ }
701
+ },
702
+ {
703
+ "key": "code_search.result.chunk_id_hash",
704
+ "value": {
705
+ "stringValue": "sha256:cfc00599f288"
706
+ }
707
+ },
708
+ {
709
+ "key": "code_search.result.chunk_text_hash",
710
+ "value": {
711
+ "stringValue": "sha256:ce03d90b6be534b863cda68baa527cd8067d2cc2b17909d224badc35aaea09a0"
712
+ }
713
+ },
714
+ {
715
+ "key": "code_search.result.path_hash",
716
+ "value": {
717
+ "stringValue": "sha256:fec2453a62f266008a8ec7ca36bdaf87ff3da8a6e16a1af58f3e67a06eee3db1"
718
+ }
719
+ },
720
+ {
721
+ "key": "code_search.result.path_extension",
722
+ "value": {
723
+ "stringValue": "md"
724
+ }
725
+ },
726
+ {
727
+ "key": "code_search.result.line_range_bucket",
728
+ "value": {
729
+ "stringValue": "under_100_lines"
730
+ }
731
+ },
732
+ {
733
+ "key": "code_search.result.stale",
734
+ "value": {
735
+ "boolValue": true
736
+ }
737
+ },
738
+ {
739
+ "key": "code_search.result.duplicate_of_hash",
740
+ "value": {
741
+ "stringValue": ""
742
+ }
743
+ },
744
+ {
745
+ "key": "code_search.result.loaded_into_agent_context",
746
+ "value": {
747
+ "boolValue": false
748
+ }
749
+ },
750
+ {
751
+ "key": "code_search.result.suppressed_before_agent_context",
752
+ "value": {
753
+ "boolValue": true
754
+ }
755
+ },
756
+ {
757
+ "key": "code_search.result.suppression_reason",
758
+ "value": {
759
+ "stringValue": "stale_snapshot_chunk"
760
+ }
761
+ },
762
+ {
763
+ "key": "privacy.raw_code_chunk_recorded",
764
+ "value": {
765
+ "boolValue": false
766
+ }
767
+ },
768
+ {
769
+ "key": "privacy.raw_path_recorded",
770
+ "value": {
771
+ "boolValue": false
772
+ }
773
+ }
774
+ ]
775
+ },
776
+ {
777
+ "name": "context.input.loaded",
778
+ "timeUnixNano": "1779804006000000000",
779
+ "attributes": [
780
+ {
781
+ "key": "session.id",
782
+ "value": {
783
+ "stringValue": "session-code-search-demo-001"
784
+ }
785
+ },
786
+ {
787
+ "key": "gen_ai.conversation.id",
788
+ "value": {
789
+ "stringValue": "conv-code-search-demo-001"
790
+ }
791
+ },
792
+ {
793
+ "key": "context.input.kind",
794
+ "value": {
795
+ "stringValue": "retrieved_code_chunks"
796
+ }
797
+ },
798
+ {
799
+ "key": "context.input.source",
800
+ "value": {
801
+ "stringValue": "code_search"
802
+ }
803
+ },
804
+ {
805
+ "key": "context.input.client_transform",
806
+ "value": {
807
+ "stringValue": "top_k_then_dedupe_then_stale_filter"
808
+ }
809
+ },
810
+ {
811
+ "key": "context.input.loaded_chunk_count",
812
+ "value": {
813
+ "intValue": "3"
814
+ }
815
+ },
816
+ {
817
+ "key": "context.input.suppressed_chunk_count",
818
+ "value": {
819
+ "intValue": "2"
820
+ }
821
+ },
822
+ {
823
+ "key": "context.input.loaded_chunk_ids_hash",
824
+ "value": {
825
+ "stringValue": "sha256:65ecc531bcad826933c08dc1be4429a6c02f68f446517f6c16f06c9ba5492a72"
826
+ }
827
+ },
828
+ {
829
+ "key": "context.input.suppressed_chunk_ids_hash",
830
+ "value": {
831
+ "stringValue": "sha256:f4baf0b7d5a2c8a337242746cc1bb6a0473761b4319c10b46c7332356d695c4e"
832
+ }
833
+ },
834
+ {
835
+ "key": "context.input.prompt_token_bucket",
836
+ "value": {
837
+ "stringValue": "under_5k"
838
+ }
839
+ },
840
+ {
841
+ "key": "context.input.raw_prompt_hash",
842
+ "value": {
843
+ "stringValue": "sha256:5d992588057a1ae2b6cb5675315c4804a23f1eb2724527d5036be185e3ce161d"
844
+ }
845
+ },
846
+ {
847
+ "key": "privacy.raw_prompt_recorded",
848
+ "value": {
849
+ "boolValue": false
850
+ }
851
+ },
852
+ {
853
+ "key": "privacy.raw_code_chunks_recorded",
854
+ "value": {
855
+ "boolValue": false
856
+ }
857
+ },
858
+ {
859
+ "key": "privacy.raw_paths_recorded",
860
+ "value": {
861
+ "boolValue": false
862
+ }
863
+ },
864
+ {
865
+ "key": "audit_gap",
866
+ "value": {
867
+ "stringValue": "proves returned-vs-loaded boundary, not answer correctness or retrieval optimality"
868
+ }
869
+ }
870
+ ]
871
+ }
872
+ ]
873
+ }
874
+ ]
875
+ }
876
+ ]
877
+ }
878
+ ]
879
+ }