Interface: BucketTrace
Defined in: src/batteries/context/thrift/subtractive_pass.ts:103
A line in the "what got cut" trace — one bucket's before/after token weight.
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
afterCount | number | How many items this bucket held after this step ran. | src/batteries/context/thrift/subtractive_pass.ts:114 |
afterTokens | number | This bucket's measured token weight after this step ran. | src/batteries/context/thrift/subtractive_pass.ts:110 |
beforeCount | number | How many items this bucket held before this step ran. | src/batteries/context/thrift/subtractive_pass.ts:112 |
beforeTokens | number | This bucket's measured token weight before this step ran. | src/batteries/context/thrift/subtractive_pass.ts:108 |
bucket | string | The bucket's name (e.g. 'thoughts', 'tools', 'image', 'toolCalls', 'retrievables', 'memories', 'messages', 'thoughts-shed', 'tools-shed') — one entry per step of the pass. | src/batteries/context/thrift/subtractive_pass.ts:106 |
note? | string | A short human-readable rationale for what this step did (or didn't do), for diagnostics/tracing. | src/batteries/context/thrift/subtractive_pass.ts:116 |