pluribus-context 0.3.22 → 0.3.26
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.
- package/CHANGELOG.md +25 -3
- package/README.md +2 -2
- package/docs/community-review-packet.md +2 -1
- package/docs/context-budget-receipts.md +150 -0
- package/docs/context-input-evidence.md +397 -0
- package/docs/context-receipts-for-agent-observability.md +177 -0
- package/docs/orchestration-search-receipts.md +102 -0
- package/docs/portability-fidelity-report.md +4 -2
- package/examples/context-input-evidence/AGENTS.md +12 -0
- package/examples/context-input-evidence/agent-overlay-log.jsonl +4 -0
- package/examples/context-input-evidence/agent-overlay-otel-trace.json +548 -0
- package/examples/context-input-evidence/agent-overlay-receipt.ndjson +3 -0
- package/examples/context-input-evidence/agentgateway-progressive-disclosure-otel-trace.json +393 -0
- package/examples/context-input-evidence/agentgateway-progressive-disclosure-receipt.ndjson +4 -0
- package/examples/context-input-evidence/brain-remediation-otel-trace.json +645 -0
- package/examples/context-input-evidence/brain-remediation-receipt.ndjson +7 -0
- package/examples/context-input-evidence/claudekit-mcp-manager-otel-trace.json +417 -0
- package/examples/context-input-evidence/claudekit-mcp-manager-receipt.ndjson +5 -0
- package/examples/context-input-evidence/cli-progressive-disclosure-otel-trace.json +399 -0
- package/examples/context-input-evidence/cli-progressive-disclosure-receipt.ndjson +4 -0
- package/examples/context-input-evidence/compaction-otel-trace.json +711 -0
- package/examples/context-input-evidence/compaction-receipt.ndjson +6 -0
- package/examples/context-input-evidence/context-selection-otel-trace.json +627 -0
- package/examples/context-input-evidence/context-selection-receipt.ndjson +7 -0
- package/examples/context-input-evidence/convert-agent-overlay-log.mjs +156 -0
- package/examples/context-input-evidence/convert-agentgateway-progressive-disclosure-log.mjs +251 -0
- package/examples/context-input-evidence/convert-brain-remediation-log.mjs +241 -0
- package/examples/context-input-evidence/convert-claudekit-mcp-manager-log.mjs +253 -0
- package/examples/context-input-evidence/convert-cli-progressive-disclosure-log.mjs +251 -0
- package/examples/context-input-evidence/convert-compaction-log.mjs +224 -0
- package/examples/context-input-evidence/convert-context-selection-log.mjs +247 -0
- package/examples/context-input-evidence/convert-mcp-tool-search-log.mjs +242 -0
- package/examples/context-input-evidence/convert-memory-consolidation-log.mjs +240 -0
- package/examples/context-input-evidence/convert-memory-governance-delete-log.mjs +223 -0
- package/examples/context-input-evidence/convert-memory-log.mjs +226 -0
- package/examples/context-input-evidence/convert-memory-provenance-log.mjs +263 -0
- package/examples/context-input-evidence/convert-secret-scanning-log.mjs +233 -0
- package/examples/context-input-evidence/convert-session-log.mjs +186 -0
- package/examples/context-input-evidence/convert-skill-log.mjs +161 -0
- package/examples/context-input-evidence/convert-skill-registry-log.mjs +246 -0
- package/examples/context-input-evidence/convert-skill-routing-log.mjs +253 -0
- package/examples/context-input-evidence/convert-subagent-context-budget-log.mjs +267 -0
- package/examples/context-input-evidence/convert-subagent-delegation-log.mjs +264 -0
- package/examples/context-input-evidence/export-otel-trace.mjs +128 -0
- package/examples/context-input-evidence/generate-receipt.mjs +188 -0
- package/examples/context-input-evidence/mcp-tool-search-otel-trace.json +477 -0
- package/examples/context-input-evidence/mcp-tool-search-receipt.ndjson +5 -0
- package/examples/context-input-evidence/memory-consolidation-otel-trace.json +492 -0
- package/examples/context-input-evidence/memory-consolidation-receipt.ndjson +4 -0
- package/examples/context-input-evidence/memory-governance-delete-otel-trace.json +614 -0
- package/examples/context-input-evidence/memory-governance-delete-receipt.ndjson +5 -0
- package/examples/context-input-evidence/memory-otel-trace.json +645 -0
- package/examples/context-input-evidence/memory-provenance-otel-trace.json +711 -0
- package/examples/context-input-evidence/memory-provenance-receipt.ndjson +5 -0
- package/examples/context-input-evidence/memory-receipt.ndjson +4 -0
- package/examples/context-input-evidence/otel-trace.json +1119 -0
- package/examples/context-input-evidence/receipt.ndjson +6 -0
- package/examples/context-input-evidence/sample-agentgateway-progressive-disclosure-log.jsonl +5 -0
- package/examples/context-input-evidence/sample-brain-remediation-log.jsonl +9 -0
- package/examples/context-input-evidence/sample-claudekit-mcp-manager-log.jsonl +6 -0
- package/examples/context-input-evidence/sample-cli-progressive-disclosure-log.jsonl +5 -0
- package/examples/context-input-evidence/sample-compaction-log.jsonl +7 -0
- package/examples/context-input-evidence/sample-context-selection-log.jsonl +7 -0
- package/examples/context-input-evidence/sample-mcp-tool-search-log.jsonl +6 -0
- package/examples/context-input-evidence/sample-memory-consolidation-log.jsonl +5 -0
- package/examples/context-input-evidence/sample-memory-governance-delete-log.jsonl +6 -0
- package/examples/context-input-evidence/sample-memory-provenance-log.jsonl +6 -0
- package/examples/context-input-evidence/sample-memory-retrieval-log.jsonl +6 -0
- package/examples/context-input-evidence/sample-secret-scanning-log.jsonl +7 -0
- package/examples/context-input-evidence/sample-session-log.jsonl +6 -0
- package/examples/context-input-evidence/sample-skill-registry-log.jsonl +5 -0
- package/examples/context-input-evidence/sample-skill-routing-log.jsonl +7 -0
- package/examples/context-input-evidence/sample-subagent-context-budget-log.jsonl +6 -0
- package/examples/context-input-evidence/sample-subagent-delegation-log.jsonl +5 -0
- package/examples/context-input-evidence/secret-scanning-otel-trace.json +794 -0
- package/examples/context-input-evidence/secret-scanning-receipt.ndjson +6 -0
- package/examples/context-input-evidence/session-otel-trace.json +411 -0
- package/examples/context-input-evidence/session-receipt.ndjson +2 -0
- package/examples/context-input-evidence/skill-invocation-log.jsonl +4 -0
- package/examples/context-input-evidence/skill-otel-trace.json +548 -0
- package/examples/context-input-evidence/skill-receipt.ndjson +3 -0
- package/examples/context-input-evidence/skill-registry-otel-trace.json +471 -0
- package/examples/context-input-evidence/skill-registry-receipt.ndjson +5 -0
- package/examples/context-input-evidence/skill-routing-otel-trace.json +567 -0
- package/examples/context-input-evidence/skill-routing-receipt.ndjson +6 -0
- package/examples/context-input-evidence/subagent-context-budget-otel-trace.json +507 -0
- package/examples/context-input-evidence/subagent-context-budget-receipt.ndjson +5 -0
- package/examples/context-input-evidence/subagent-delegation-otel-trace.json +388 -0
- package/examples/context-input-evidence/subagent-delegation-receipt.ndjson +4 -0
- package/package.json +6 -2
- package/schemas/audit-result.schema.json +409 -71
- package/src/commands/audit.js +64 -3
- package/src/utils/version.js +1 -1
|
@@ -0,0 +1,507 @@
|
|
|
1
|
+
{
|
|
2
|
+
"resourceSpans": [
|
|
3
|
+
{
|
|
4
|
+
"resource": {
|
|
5
|
+
"attributes": [
|
|
6
|
+
{
|
|
7
|
+
"key": "service.name",
|
|
8
|
+
"value": {
|
|
9
|
+
"stringValue": "pluribus-subagent-context-budget-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.subagent_context_budget_demo",
|
|
30
|
+
"version": "0.0.0-fixture"
|
|
31
|
+
},
|
|
32
|
+
"spans": [
|
|
33
|
+
{
|
|
34
|
+
"traceId": "aeb360f9e714b599a69a44a68cc64505",
|
|
35
|
+
"spanId": "849d1ede24619a19",
|
|
36
|
+
"parentSpanId": "",
|
|
37
|
+
"name": "agent.subagent.boot.context_budget",
|
|
38
|
+
"kind": 1,
|
|
39
|
+
"startTimeUnixNano": "1779634861000000000",
|
|
40
|
+
"endTimeUnixNano": "1779634865000000000",
|
|
41
|
+
"attributes": [
|
|
42
|
+
{
|
|
43
|
+
"key": "session.id",
|
|
44
|
+
"value": {
|
|
45
|
+
"stringValue": "subagent-budget-demo-001"
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"key": "gen_ai.conversation.id",
|
|
50
|
+
"value": {
|
|
51
|
+
"stringValue": "conv-subagent-budget-001"
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"key": "agent.name",
|
|
56
|
+
"value": {
|
|
57
|
+
"stringValue": "claude-code"
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"key": "workspace.name",
|
|
62
|
+
"value": {
|
|
63
|
+
"stringValue": "private-enterprise-repo"
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"key": "gen_ai.request.model",
|
|
68
|
+
"value": {
|
|
69
|
+
"stringValue": "claude-sonnet-4.6"
|
|
70
|
+
}
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"key": "subagent.tools.policy",
|
|
74
|
+
"value": {
|
|
75
|
+
"stringValue": "default_permissive"
|
|
76
|
+
}
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
"key": "subagent.context.receipt.scope",
|
|
80
|
+
"value": {
|
|
81
|
+
"stringValue": "startup_budget_before_first_task"
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
],
|
|
85
|
+
"events": [
|
|
86
|
+
{
|
|
87
|
+
"name": "subagent.boot.context_budget.evaluated",
|
|
88
|
+
"timeUnixNano": "1779634861000000000",
|
|
89
|
+
"attributes": [
|
|
90
|
+
{
|
|
91
|
+
"key": "session.id",
|
|
92
|
+
"value": {
|
|
93
|
+
"stringValue": "subagent-budget-demo-001"
|
|
94
|
+
}
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
"key": "gen_ai.conversation.id",
|
|
98
|
+
"value": {
|
|
99
|
+
"stringValue": "conv-subagent-budget-001"
|
|
100
|
+
}
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
"key": "agent.name",
|
|
104
|
+
"value": {
|
|
105
|
+
"stringValue": "claude-code"
|
|
106
|
+
}
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
"key": "subagent.id_hash",
|
|
110
|
+
"value": {
|
|
111
|
+
"stringValue": "sha256:ea9dea9f9c32"
|
|
112
|
+
}
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
"key": "subagent.role_hash",
|
|
116
|
+
"value": {
|
|
117
|
+
"stringValue": "sha256:4c44d7c28ec0"
|
|
118
|
+
}
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
"key": "subagent.tools.policy",
|
|
122
|
+
"value": {
|
|
123
|
+
"stringValue": "default_permissive"
|
|
124
|
+
}
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
"key": "subagent.context.parent_token_bucket",
|
|
128
|
+
"value": {
|
|
129
|
+
"stringValue": "under_50k"
|
|
130
|
+
}
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
"key": "subagent.context.startup_token_bucket",
|
|
134
|
+
"value": {
|
|
135
|
+
"stringValue": "over_100k"
|
|
136
|
+
}
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
"key": "subagent.context.window_token_bucket",
|
|
140
|
+
"value": {
|
|
141
|
+
"stringValue": "over_100k"
|
|
142
|
+
}
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
"key": "subagent.context.startup_ratio_bucket",
|
|
146
|
+
"value": {
|
|
147
|
+
"stringValue": "under_90_percent"
|
|
148
|
+
}
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
"key": "subagent.mcp.server_count_bucket",
|
|
152
|
+
"value": {
|
|
153
|
+
"stringValue": "under_25"
|
|
154
|
+
}
|
|
155
|
+
},
|
|
156
|
+
{
|
|
157
|
+
"key": "subagent.mcp.tool_schema_count_bucket",
|
|
158
|
+
"value": {
|
|
159
|
+
"stringValue": "under_500"
|
|
160
|
+
}
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
"key": "subagent.skill.listing_count_bucket",
|
|
164
|
+
"value": {
|
|
165
|
+
"stringValue": "under_500"
|
|
166
|
+
}
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
"key": "subagent.rule.count_bucket",
|
|
170
|
+
"value": {
|
|
171
|
+
"stringValue": "under_25"
|
|
172
|
+
}
|
|
173
|
+
},
|
|
174
|
+
{
|
|
175
|
+
"key": "subagent.memory.index_count_bucket",
|
|
176
|
+
"value": {
|
|
177
|
+
"stringValue": "under_100"
|
|
178
|
+
}
|
|
179
|
+
},
|
|
180
|
+
{
|
|
181
|
+
"key": "privacy.raw_skill_listing_recorded",
|
|
182
|
+
"value": {
|
|
183
|
+
"boolValue": false
|
|
184
|
+
}
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
"key": "privacy.raw_mcp_schemas_recorded",
|
|
188
|
+
"value": {
|
|
189
|
+
"boolValue": false
|
|
190
|
+
}
|
|
191
|
+
},
|
|
192
|
+
{
|
|
193
|
+
"key": "privacy.raw_project_rules_recorded",
|
|
194
|
+
"value": {
|
|
195
|
+
"boolValue": false
|
|
196
|
+
}
|
|
197
|
+
},
|
|
198
|
+
{
|
|
199
|
+
"key": "privacy.raw_memory_index_recorded",
|
|
200
|
+
"value": {
|
|
201
|
+
"boolValue": false
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
]
|
|
205
|
+
},
|
|
206
|
+
{
|
|
207
|
+
"name": "subagent.context_component.loaded",
|
|
208
|
+
"timeUnixNano": "1779634862000000000",
|
|
209
|
+
"attributes": [
|
|
210
|
+
{
|
|
211
|
+
"key": "session.id",
|
|
212
|
+
"value": {
|
|
213
|
+
"stringValue": "subagent-budget-demo-001"
|
|
214
|
+
}
|
|
215
|
+
},
|
|
216
|
+
{
|
|
217
|
+
"key": "gen_ai.conversation.id",
|
|
218
|
+
"value": {
|
|
219
|
+
"stringValue": "conv-subagent-budget-001"
|
|
220
|
+
}
|
|
221
|
+
},
|
|
222
|
+
{
|
|
223
|
+
"key": "subagent.id_hash",
|
|
224
|
+
"value": {
|
|
225
|
+
"stringValue": "sha256:ea9dea9f9c32"
|
|
226
|
+
}
|
|
227
|
+
},
|
|
228
|
+
{
|
|
229
|
+
"key": "subagent.context.component",
|
|
230
|
+
"value": {
|
|
231
|
+
"stringValue": "mcp_tool_schemas"
|
|
232
|
+
}
|
|
233
|
+
},
|
|
234
|
+
{
|
|
235
|
+
"key": "subagent.context.component_reason_hash",
|
|
236
|
+
"value": {
|
|
237
|
+
"stringValue": "sha256:dff4f80c8a1f"
|
|
238
|
+
}
|
|
239
|
+
},
|
|
240
|
+
{
|
|
241
|
+
"key": "subagent.context.candidate_count_bucket",
|
|
242
|
+
"value": {
|
|
243
|
+
"stringValue": "under_500"
|
|
244
|
+
}
|
|
245
|
+
},
|
|
246
|
+
{
|
|
247
|
+
"key": "subagent.context.selected_count_bucket",
|
|
248
|
+
"value": {
|
|
249
|
+
"stringValue": "under_500"
|
|
250
|
+
}
|
|
251
|
+
},
|
|
252
|
+
{
|
|
253
|
+
"key": "subagent.context.suppressed_count_bucket",
|
|
254
|
+
"value": {
|
|
255
|
+
"stringValue": "zero"
|
|
256
|
+
}
|
|
257
|
+
},
|
|
258
|
+
{
|
|
259
|
+
"key": "subagent.context.token_bucket",
|
|
260
|
+
"value": {
|
|
261
|
+
"stringValue": "over_100k"
|
|
262
|
+
}
|
|
263
|
+
},
|
|
264
|
+
{
|
|
265
|
+
"key": "subagent.context.component_sample_hash",
|
|
266
|
+
"value": {
|
|
267
|
+
"stringValue": "sha256:06bcb6f5b4a831289700bc1d6abaf184407d09c9caf788e6ca9182ebddafd89f"
|
|
268
|
+
}
|
|
269
|
+
},
|
|
270
|
+
{
|
|
271
|
+
"key": "privacy.raw_component_recorded",
|
|
272
|
+
"value": {
|
|
273
|
+
"boolValue": false
|
|
274
|
+
}
|
|
275
|
+
}
|
|
276
|
+
]
|
|
277
|
+
},
|
|
278
|
+
{
|
|
279
|
+
"name": "subagent.context_component.loaded",
|
|
280
|
+
"timeUnixNano": "1779634863000000000",
|
|
281
|
+
"attributes": [
|
|
282
|
+
{
|
|
283
|
+
"key": "session.id",
|
|
284
|
+
"value": {
|
|
285
|
+
"stringValue": "subagent-budget-demo-001"
|
|
286
|
+
}
|
|
287
|
+
},
|
|
288
|
+
{
|
|
289
|
+
"key": "gen_ai.conversation.id",
|
|
290
|
+
"value": {
|
|
291
|
+
"stringValue": "conv-subagent-budget-001"
|
|
292
|
+
}
|
|
293
|
+
},
|
|
294
|
+
{
|
|
295
|
+
"key": "subagent.id_hash",
|
|
296
|
+
"value": {
|
|
297
|
+
"stringValue": "sha256:ea9dea9f9c32"
|
|
298
|
+
}
|
|
299
|
+
},
|
|
300
|
+
{
|
|
301
|
+
"key": "subagent.context.component",
|
|
302
|
+
"value": {
|
|
303
|
+
"stringValue": "skill_listing"
|
|
304
|
+
}
|
|
305
|
+
},
|
|
306
|
+
{
|
|
307
|
+
"key": "subagent.context.component_reason_hash",
|
|
308
|
+
"value": {
|
|
309
|
+
"stringValue": "sha256:e584eb84a944"
|
|
310
|
+
}
|
|
311
|
+
},
|
|
312
|
+
{
|
|
313
|
+
"key": "subagent.context.candidate_count_bucket",
|
|
314
|
+
"value": {
|
|
315
|
+
"stringValue": "under_500"
|
|
316
|
+
}
|
|
317
|
+
},
|
|
318
|
+
{
|
|
319
|
+
"key": "subagent.context.selected_count_bucket",
|
|
320
|
+
"value": {
|
|
321
|
+
"stringValue": "under_500"
|
|
322
|
+
}
|
|
323
|
+
},
|
|
324
|
+
{
|
|
325
|
+
"key": "subagent.context.suppressed_count_bucket",
|
|
326
|
+
"value": {
|
|
327
|
+
"stringValue": "zero"
|
|
328
|
+
}
|
|
329
|
+
},
|
|
330
|
+
{
|
|
331
|
+
"key": "subagent.context.token_bucket",
|
|
332
|
+
"value": {
|
|
333
|
+
"stringValue": "under_50k"
|
|
334
|
+
}
|
|
335
|
+
},
|
|
336
|
+
{
|
|
337
|
+
"key": "subagent.context.component_sample_hash",
|
|
338
|
+
"value": {
|
|
339
|
+
"stringValue": "sha256:22e6dba114076e3760e052735998c19f29e84dace7de5acdb1caa291a98934c6"
|
|
340
|
+
}
|
|
341
|
+
},
|
|
342
|
+
{
|
|
343
|
+
"key": "privacy.raw_component_recorded",
|
|
344
|
+
"value": {
|
|
345
|
+
"boolValue": false
|
|
346
|
+
}
|
|
347
|
+
}
|
|
348
|
+
]
|
|
349
|
+
},
|
|
350
|
+
{
|
|
351
|
+
"name": "subagent.context_component.suppressed",
|
|
352
|
+
"timeUnixNano": "1779634864000000000",
|
|
353
|
+
"attributes": [
|
|
354
|
+
{
|
|
355
|
+
"key": "session.id",
|
|
356
|
+
"value": {
|
|
357
|
+
"stringValue": "subagent-budget-demo-001"
|
|
358
|
+
}
|
|
359
|
+
},
|
|
360
|
+
{
|
|
361
|
+
"key": "gen_ai.conversation.id",
|
|
362
|
+
"value": {
|
|
363
|
+
"stringValue": "conv-subagent-budget-001"
|
|
364
|
+
}
|
|
365
|
+
},
|
|
366
|
+
{
|
|
367
|
+
"key": "subagent.id_hash",
|
|
368
|
+
"value": {
|
|
369
|
+
"stringValue": "sha256:ea9dea9f9c32"
|
|
370
|
+
}
|
|
371
|
+
},
|
|
372
|
+
{
|
|
373
|
+
"key": "subagent.context.component",
|
|
374
|
+
"value": {
|
|
375
|
+
"stringValue": "project_rules"
|
|
376
|
+
}
|
|
377
|
+
},
|
|
378
|
+
{
|
|
379
|
+
"key": "subagent.context.component_reason_hash",
|
|
380
|
+
"value": {
|
|
381
|
+
"stringValue": "sha256:9a2da83de189"
|
|
382
|
+
}
|
|
383
|
+
},
|
|
384
|
+
{
|
|
385
|
+
"key": "subagent.context.candidate_count_bucket",
|
|
386
|
+
"value": {
|
|
387
|
+
"stringValue": "under_25"
|
|
388
|
+
}
|
|
389
|
+
},
|
|
390
|
+
{
|
|
391
|
+
"key": "subagent.context.selected_count_bucket",
|
|
392
|
+
"value": {
|
|
393
|
+
"stringValue": "under_5"
|
|
394
|
+
}
|
|
395
|
+
},
|
|
396
|
+
{
|
|
397
|
+
"key": "subagent.context.suppressed_count_bucket",
|
|
398
|
+
"value": {
|
|
399
|
+
"stringValue": "under_25"
|
|
400
|
+
}
|
|
401
|
+
},
|
|
402
|
+
{
|
|
403
|
+
"key": "subagent.context.token_bucket",
|
|
404
|
+
"value": {
|
|
405
|
+
"stringValue": "under_10k"
|
|
406
|
+
}
|
|
407
|
+
},
|
|
408
|
+
{
|
|
409
|
+
"key": "subagent.context.component_sample_hash",
|
|
410
|
+
"value": {
|
|
411
|
+
"stringValue": "sha256:df5b12a08a94abbb7400a136782c8558e5e8c6fd0564eb9232ab886ba94bad61"
|
|
412
|
+
}
|
|
413
|
+
},
|
|
414
|
+
{
|
|
415
|
+
"key": "privacy.raw_component_recorded",
|
|
416
|
+
"value": {
|
|
417
|
+
"boolValue": false
|
|
418
|
+
}
|
|
419
|
+
}
|
|
420
|
+
]
|
|
421
|
+
},
|
|
422
|
+
{
|
|
423
|
+
"name": "subagent.boot.completed",
|
|
424
|
+
"timeUnixNano": "1779634865000000000",
|
|
425
|
+
"attributes": [
|
|
426
|
+
{
|
|
427
|
+
"key": "session.id",
|
|
428
|
+
"value": {
|
|
429
|
+
"stringValue": "subagent-budget-demo-001"
|
|
430
|
+
}
|
|
431
|
+
},
|
|
432
|
+
{
|
|
433
|
+
"key": "gen_ai.conversation.id",
|
|
434
|
+
"value": {
|
|
435
|
+
"stringValue": "conv-subagent-budget-001"
|
|
436
|
+
}
|
|
437
|
+
},
|
|
438
|
+
{
|
|
439
|
+
"key": "subagent.id_hash",
|
|
440
|
+
"value": {
|
|
441
|
+
"stringValue": "sha256:ea9dea9f9c32"
|
|
442
|
+
}
|
|
443
|
+
},
|
|
444
|
+
{
|
|
445
|
+
"key": "subagent.boot.status",
|
|
446
|
+
"value": {
|
|
447
|
+
"stringValue": "budget_exhausted_before_first_task"
|
|
448
|
+
}
|
|
449
|
+
},
|
|
450
|
+
{
|
|
451
|
+
"key": "subagent.context.startup_token_bucket",
|
|
452
|
+
"value": {
|
|
453
|
+
"stringValue": "over_100k"
|
|
454
|
+
}
|
|
455
|
+
},
|
|
456
|
+
{
|
|
457
|
+
"key": "subagent.context.remaining_token_bucket",
|
|
458
|
+
"value": {
|
|
459
|
+
"stringValue": "under_50k"
|
|
460
|
+
}
|
|
461
|
+
},
|
|
462
|
+
{
|
|
463
|
+
"key": "subagent.context.selected_component_count_bucket",
|
|
464
|
+
"value": {
|
|
465
|
+
"stringValue": "over_500"
|
|
466
|
+
}
|
|
467
|
+
},
|
|
468
|
+
{
|
|
469
|
+
"key": "subagent.context.suppressed_component_count_bucket",
|
|
470
|
+
"value": {
|
|
471
|
+
"stringValue": "under_25"
|
|
472
|
+
}
|
|
473
|
+
},
|
|
474
|
+
{
|
|
475
|
+
"key": "subagent.context.loaded_token_bucket",
|
|
476
|
+
"value": {
|
|
477
|
+
"stringValue": "over_100k"
|
|
478
|
+
}
|
|
479
|
+
},
|
|
480
|
+
{
|
|
481
|
+
"key": "subagent.boot.first_task_hash",
|
|
482
|
+
"value": {
|
|
483
|
+
"stringValue": "sha256:125fc2e7831b0e718f2d2ee855fe14d4fa3ead53de15f6b7d2cbc98686810443"
|
|
484
|
+
}
|
|
485
|
+
},
|
|
486
|
+
{
|
|
487
|
+
"key": "subagent.boot.mitigation_hash",
|
|
488
|
+
"value": {
|
|
489
|
+
"stringValue": "sha256:0a41f4adb7a50ab665cff637de35d7c498f3eb231f51b927c389c71c55ecff8e"
|
|
490
|
+
}
|
|
491
|
+
},
|
|
492
|
+
{
|
|
493
|
+
"key": "subagent.boot.audit_gap",
|
|
494
|
+
"value": {
|
|
495
|
+
"stringValue": "receipt proves startup context budget components and disclosure boundary, not whether the subagent selected the semantically best tools or skills"
|
|
496
|
+
}
|
|
497
|
+
}
|
|
498
|
+
]
|
|
499
|
+
}
|
|
500
|
+
]
|
|
501
|
+
}
|
|
502
|
+
]
|
|
503
|
+
}
|
|
504
|
+
]
|
|
505
|
+
}
|
|
506
|
+
]
|
|
507
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
{"trace_id":"aeb360f9e714b599a69a44a68cc64505","span_id":"849d1ede24619a19","name":"subagent.boot.context_budget.evaluated","time":"2026-05-24T15:01:01.000Z","attributes":{"session.id":"subagent-budget-demo-001","gen_ai.conversation.id":"conv-subagent-budget-001","agent.name":"claude-code","subagent.id_hash":"sha256:ea9dea9f9c32","subagent.role_hash":"sha256:4c44d7c28ec0","subagent.tools.policy":"default_permissive","subagent.context.parent_token_bucket":"under_50k","subagent.context.startup_token_bucket":"over_100k","subagent.context.window_token_bucket":"over_100k","subagent.context.startup_ratio_bucket":"under_90_percent","subagent.mcp.server_count_bucket":"under_25","subagent.mcp.tool_schema_count_bucket":"under_500","subagent.skill.listing_count_bucket":"under_500","subagent.rule.count_bucket":"under_25","subagent.memory.index_count_bucket":"under_100","privacy.raw_skill_listing_recorded":false,"privacy.raw_mcp_schemas_recorded":false,"privacy.raw_project_rules_recorded":false,"privacy.raw_memory_index_recorded":false}}
|
|
2
|
+
{"trace_id":"aeb360f9e714b599a69a44a68cc64505","span_id":"849d1ede24619a19","name":"subagent.context_component.loaded","time":"2026-05-24T15:01:02.000Z","attributes":{"session.id":"subagent-budget-demo-001","gen_ai.conversation.id":"conv-subagent-budget-001","subagent.id_hash":"sha256:ea9dea9f9c32","subagent.context.component":"mcp_tool_schemas","subagent.context.component_reason_hash":"sha256:dff4f80c8a1f","subagent.context.candidate_count_bucket":"under_500","subagent.context.selected_count_bucket":"under_500","subagent.context.suppressed_count_bucket":"zero","subagent.context.token_bucket":"over_100k","subagent.context.component_sample_hash":"sha256:06bcb6f5b4a831289700bc1d6abaf184407d09c9caf788e6ca9182ebddafd89f","privacy.raw_component_recorded":false}}
|
|
3
|
+
{"trace_id":"aeb360f9e714b599a69a44a68cc64505","span_id":"849d1ede24619a19","name":"subagent.context_component.loaded","time":"2026-05-24T15:01:03.000Z","attributes":{"session.id":"subagent-budget-demo-001","gen_ai.conversation.id":"conv-subagent-budget-001","subagent.id_hash":"sha256:ea9dea9f9c32","subagent.context.component":"skill_listing","subagent.context.component_reason_hash":"sha256:e584eb84a944","subagent.context.candidate_count_bucket":"under_500","subagent.context.selected_count_bucket":"under_500","subagent.context.suppressed_count_bucket":"zero","subagent.context.token_bucket":"under_50k","subagent.context.component_sample_hash":"sha256:22e6dba114076e3760e052735998c19f29e84dace7de5acdb1caa291a98934c6","privacy.raw_component_recorded":false}}
|
|
4
|
+
{"trace_id":"aeb360f9e714b599a69a44a68cc64505","span_id":"849d1ede24619a19","name":"subagent.context_component.suppressed","time":"2026-05-24T15:01:04.000Z","attributes":{"session.id":"subagent-budget-demo-001","gen_ai.conversation.id":"conv-subagent-budget-001","subagent.id_hash":"sha256:ea9dea9f9c32","subagent.context.component":"project_rules","subagent.context.component_reason_hash":"sha256:9a2da83de189","subagent.context.candidate_count_bucket":"under_25","subagent.context.selected_count_bucket":"under_5","subagent.context.suppressed_count_bucket":"under_25","subagent.context.token_bucket":"under_10k","subagent.context.component_sample_hash":"sha256:df5b12a08a94abbb7400a136782c8558e5e8c6fd0564eb9232ab886ba94bad61","privacy.raw_component_recorded":false}}
|
|
5
|
+
{"trace_id":"aeb360f9e714b599a69a44a68cc64505","span_id":"849d1ede24619a19","name":"subagent.boot.completed","time":"2026-05-24T15:01:05.000Z","attributes":{"session.id":"subagent-budget-demo-001","gen_ai.conversation.id":"conv-subagent-budget-001","subagent.id_hash":"sha256:ea9dea9f9c32","subagent.boot.status":"budget_exhausted_before_first_task","subagent.context.startup_token_bucket":"over_100k","subagent.context.remaining_token_bucket":"under_50k","subagent.context.selected_component_count_bucket":"over_500","subagent.context.suppressed_component_count_bucket":"under_25","subagent.context.loaded_token_bucket":"over_100k","subagent.boot.first_task_hash":"sha256:125fc2e7831b0e718f2d2ee855fe14d4fa3ead53de15f6b7d2cbc98686810443","subagent.boot.mitigation_hash":"sha256:0a41f4adb7a50ab665cff637de35d7c498f3eb231f51b927c389c71c55ecff8e","subagent.boot.audit_gap":"receipt proves startup context budget components and disclosure boundary, not whether the subagent selected the semantically best tools or skills"}}
|