Status: approved 2026-11-23; landing 1 (the settings list in core), landing 2 (the panel, docked above the footer), landing 3 (the box in fullscreen, rows written then cleared) and landing 4 (the wheel and clicks) built; the hand check below is not yet done.
Tier: core for the settings list (settings.c) and its commands (get_settings, the checked
set_setting, pic settings); client for the panel (tui/panel.c) and the renderer's box. Clock:
pi for the list (most keys are Pi's), taste for the panel. Record: none new; values stay in
picu_setting in ~/.pic/pic.sqlite. Default: on.
The decisions
- One settings list in core feeds the terminal's panel,
pic settings, RPC and the phone. Each row has the stored key (and the field inside it, forcompactionandbranchSummary), a group, a name, a kind (a choice, a whole number in a range, checked text, or a picker), the default, a description and when a change applies. - Core refuses a value the list does not allow, in
set_settingandpic settingsalike, with a message naming what it takes. Keys the list does not know (per-model thinking levels, active keys, Pi's own) pass as before. A field is reached by its dotted name (compaction.reserveTokens) and written inside its object as JSON of the type its readers take. get_settingsanswers every row with its stored and effective value and whether the stored one is allowed; a bad stored value reads as the default. It carries the database's change counter (PRAGMA data_versionplus this process's own writes); withsinceit answersunchanged.- Left out of the list on purpose:
lastModel(pic writes it), per-model thinking levels and active keys (/thinkingand/keyown them),compaction.modelOverridesandretry(objects),lapseHoldoutandbranchSummary.reserveTokens(measurement knobs). All stay inpic settings. - The panel opens over anything, a running reply included, with
/settings,/configor the rebindable actionapp.settings.open(F2), and closes without touching what was under it. It floats in fullscreen at 64 columns by 14 rows of conversation or more, sits above the footer otherwise, and shrinks to one line in a tiny window.
Mouse
Where fullscreen has the mouse (the mouse setting, /mouse), the wheel over the panel moves its
selection one row a step and a left click on a setting selects it; a click on a heading, a border or
a "more" line selects nothing. Anything outside the panel is left alone while it is open: a click
there does nothing, the wheel does not scroll the transcript, and a text selection made before it
opened is still there when it closes. Terminal.app leaves the mouse to the terminal by default, so
there the panel is keyboard only unless /mouse on.
Hand check in Terminal.app
To do by hand, default profile, after landing 4; write what was seen here.
- Ask for a long answer, press F2 (or type
/settings) mid-stream, and watch for ten seconds for a flash or a torn row, in the box and in the rows of the reply around it. - Hold Down for five seconds: the selection moves without the box flickering or the list jumping.
- Drag the window corner from large to tiny and back while it streams: the box becomes the rows above the footer, then one line, then the box again, with the same setting selected.
- Type half a message, open the panel, change Theme, close it: the message and its cursor are as they were, in the new colours.
- In another tab run
pic settings mouse off: the row changes within a second. /mouse on, then the wheel and a click in the box; a click outside does nothing.- Repeat 1 to 3 in Ghostty, in tmux, over ssh and with
--tui-mode regular.
Locked in
The fields get_settings returns, once the phone reads them; that core refuses bad values; the
action name app.settings.open. The box's look and size rules, the key and which settings are
listed are cheap to change.