Remote: a fork of a fork has no title in sessions (the phone shows Untitled)
Closed8dfae111b9bfc44971bc00675f013ed3cb04af6fCreated 2.2 days agoUpdated 2.1 days ago
Description2026-11-28 18:30:07
The forking amendment says a fork has no name and its title is the conversation's first prompt until it has one. A fork made from a conversation that is itself a fork gets an empty title in sessions, so the phone heads it and lists it as Untitled. pic sessions shows it as '(forked from <id>)'.
Reproduction on pi-c trunk 9c91caa62f02, release build, isolated HOME: in the conversation 64624b06 (first prompt 'Plan the release'), fork_session gives 3455f930 (made before #124). fork_session to 3455f930 then gives 870b7ef8 and others, whose sessions rows have no title. A fork of 64624b06 itself (d70960e6) is titled 'Plan the release' correctly.
Likely cause: the title (PIC_TITLE_SQL, used at src/loop.c:4718) reads the session's own first submission. A fork has none until its first request, and its first prompt lies on its forked_from path, as in #124. Expected: the first prompt on the conversation's path, so every fork carries its source's title until it has its own name.
2026-11-28 20:28:02
Landed as e52455decb99 (land fork-title).