Skip to content
pi-c Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 96a9997c5f75b6817f013a37f7053dc99d8a6b750901a41c7aa620f6d99763fd
Ticket: 8dfae111b9bfc44971bc00675f013ed3cb04af6f
Remote: a fork of a fork has no title in sessions (the phone shows Untitled)
User & Date: dmestas on 2026-11-28 18:30:07
Changes

  1. comment changed to:
    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.
    
  2. severity changed to: "Minor"
  3. status changed to: "Open"
  4. title changed to:
    Remote: a fork of a fork has no title in sessions (the phone shows Untitled)
    
  5. type changed to: "Code_Defect"