CacheLane β K-Pruning Stub Lifecycle
How an idle tool-result block becomes a
stub
, what the model sees vs. what SQLite stores, and how
cachelane:expand
restores it non-lossily.
(K = 3)
present β full content in live prompt
stubbed β placeholder in prompt
evicted β content removed from prompt
β What the human reads
full scrollable history
π¨ User β Agent
{ } Agent internals (raw)
β‘ Model prompt
structured content slot
β’ SQLite metadata row
blocks table
β£ Cache status
live prompt vs metadata store
β€ Token impact
before β after
β Prev
Stage
1
/ 9 Β·
β β arrows Β· 1β9 jump
Next βΆ