Skip to content
pi-c Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 9a75bd0499cc23757443669bc1c4885e3585f075e8568f878f94b2bb8250d622
Ticket: a34fbfd9d71e9780963c15c6d8e945d196f9d198
Remote: the phone can start a conversation only in folders pic has already run in
User & Date: dmestas on 2026-11-28 00:29:10
Changes

  1. comment changed to:
    Reported from real use: "new conversation only gives me a few folders at random to choose from."
    
    Cause: the phone's folder list is `picu_workspace`, the folders pic has run in, with temporary directories hidden (`rmt_temporary`), in last-used order. The owner's registry has 15 rows, 9 of them under /private/tmp, so the phone shows 6 folders: pi-c, flak, the home directory, pic-relay, valet and CLIProxyAPI. ~/projects holds 71 folders. A folder pic has never run in cannot be chosen from the phone at all, and the 6 that are shown are whichever were used last. That reads as random.
    
    Reproduce on a disposable home with no live service: register the owner's 15 workspace paths (folders mirrored outside /tmp, temporary ones under /tmp) with one `pic ask` each, pair a phone and open New conversation. The sheet lists the 6 non-temporary folders and nothing else.
    
    Observed: only folders with a pic journal are offered.
    Expected: the folders the owner works in, including ones pic has not run in yet.
    
    Code path: remote.c `rmt_scan_rows` (line ~2903), `SELECT path, journal FROM picu_workspace ORDER BY last_used_ms DESC`, then `rmt_temporary`. Protocol section 7, "Workspaces", and `+W` in "A new conversation" take W from that list only.
    
    Fix shape (a protocol amendment, pic's design): a setting naming the roots to offer (say `remote.folders`, default `~/projects` when it exists, else the home directory), whose subdirectories are listed beside the registered workspaces, with each one's name and whether it has a journal yet. `+W` for such a folder creates its journal, as running pic there would. The page will show them once the note says how; until then it shows what pic lists.
    
  2. foundin changed to: "2f9e8c02576f"
  3. severity changed to: "Important"
  4. status changed to: "Open"
  5. title changed to:
    Remote: the phone can start a conversation only in folders pic has already run in
    
  6. type changed to: "Code_Defect"