Expand description
Where a session title is stored, and when a new one replaces the old.
Both writers go through store_title: the pane’s own request
(session:activity_summary, on a human message) and the empty-title recovery
sweep (backend::reactive::activity_watcher). The check and the write happen
in one transaction, so neither can overwrite a title the other stored while
its call ran. The pane used to write the title itself, after its own copy of
these rules. docs/reports/REPORT_AMBIENT_FRAMEWORK_REASSESSMENT_2026_10_08.md
section 6.7.
Enums§
- Replace
- When a candidate title is stored.
Constants§
- META_
TITLE - The block meta key the title lives in. The pane header and the Swarm row read it.
- META_
TITLE_ AT - When the title was stored, or last confirmed as still right (epoch ms), and the
session’s human turn it was judged at. The pane reads them to age a title
(
frontend/app/store/title-schedule.ts);0there means “re-evaluate at the next message” (set after a compaction). Written here and nowhere else on the backend. - META_
TITLE_ TURN
Functions§
- confirm_
title - The title was re-evaluated from scratch (
refresh, no current title shown to the model) andcandidateis a rewording of it: keep the title, and say it was judged still right now, so it is not asked about again at every message.Ok(true)when the stamp was written. Nothing happens for a candidate that is not a usable title (the model abstained: the title stays aged and is tried again), for a title that is not there or is not the same goal, or for a superseded request. - is_
title_ news - Is
candidatea different goal fromcurrent, or a rewording of it? A rewording (“Fix the login race” → “Fix login race condition”) keeps the old title; a real change of topic replaces it. - store_
title - Store
titleas the block’s session title ifreplaceallows it. A value that is not a usable title is never stored.still_currentis asked inside the transaction: a request superseded by a newer one must not store its title after the newer one did.Ok(true)when written.