Skip to main content

Module title

Module title 

Source
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); 0 there 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) and candidate is 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 candidate a different goal from current, 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 title as the block’s session title if replace allows it. A value that is not a usable title is never stored. still_current is 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.