Dialogue Pages and the Dialogue Chain
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
LLM ① link or reset
LLM ② summarize the chain
page = { Q, R, T, meta }
p1
T · week 1, 18:02
Q
I went to the wetland park
last week, the scenery was beautiful.
R
Sounds like a relaxing
experience!
meta → chain summary below
chain 1 · meta = summary of all pages on the chain, rewritten by LLM ② at every link
wetland park visit last week, beautiful scenery
① continues p1? ✓ link
p2
T · week 1, 18:04
Q
There were many little squirrels
running in the trees, very cute.
R
I like squirrels, they signal
a healthy environment.
+ saw many squirrels in the trees (a healthy environment)
① continues p2? ✓ link
p3
T · week 1, 18:07
Q
I ran two laps and felt great.
I'll keep working out to get slimmer.
R
Exercise is good for health.
I'll keep you motivated!
+ ran two laps there, felt great · goal: keep working out to get slimmer
a few weeks later
① continues p3? ✗ reset
p10
T · week 4, 12:31
Q
I feel like eating a burger,
any recommendations?
R
The cheeseburger [...], just don't
forget you're hitting the gym!
chain 2 · new chain starts at p10
wants a burger recommendation
(meta of chain 1 is kept with p1–p3)
STM holds pages in arrival order; the chain adds "which earlier pages this one continues" and a summary, so a page never loses its thread
chain
· pages on one thread, linked or reset by the LLM · running summary kept as
meta
◂
▸
14 / 25