Segment Heat, Eviction, and Promotion
STM · recent turns
queue of pages · FIFO
oldest page spills · match score
MTM · topic folders
pages by topic · heat · evict
heat > τ · promote
LPM · persona
user · agent
retrieve
all three tiers → prompt
generate
LLM → answer → new page
Heat = α · N
visit
+ β · L
interaction
+ γ · R
recency
times the folder was retrieved
number of pages in the folder
exp(−Δt / μ), Δt since last access
α = β = γ = 1 · μ = 10⁷ s
τ = 5 · promotion threshold
0
5
8
6.4
2.4
wetland park
outing
Heat > τ → promote to long-term persona memory
LPM
user · agent persona
after promotion: L
interaction
← 0, so the
folder cools (faded bar) and is not promoted again
4.2
work
deadlines
3.1
favourite
restaurants
2.6
recipe
ideas
1.8
phone
contract
0.4
old laptop
issue
evict the coldest
when MTM > 2000 folders
bars = heat of each topic folder (illustrative values)
promote
· Heat > τ = 5 → the folder's pages and summary feed the long-term persona memory
evict
· when MTM exceeds 2000 folders, the coldest one is deleted
16 / 25