Skip to content
pi-c Timeline
Login

Timeline

50 descendants and 50 ancestors of 15ad772a46b8b8f6

2026-11-21
16:55
Compile the changelog in chunks; parallel test checks finish order, not run times closed check-in: d25bd326a1 user: dmestas tags: changelog-chunks
16:50
land ft-leftovers check-in: 64efaf273b user: pi-c-lander tags: trunk
16:41
Merge trunk into ft-leftovers closed check-in: c103e2ef45 user: dmestas tags: ft-leftovers
16:37
land print-session check-in: 295f6efa38 user: pi-c-lander tags: trunk
16:18
Merge trunk into print-session closed check-in: 910d05281b user: dmestas tags: print-session
16:17
land docs-help check-in: 8eeb5c32bd user: pi-c-lander tags: trunk
16:14
print mode: honour -c/--continue and --session ID check-in: 3e934932f7 user: dmestas tags: print-session
16:14
Create new branch named "print-session" check-in: 1e2ad08450 user: dmestas tags: print-session
16:10
tui: slash menu scrolls with a count, /resume nests forks, edit diffs carry line numbers check-in: 0e0f4eebbe user: dmestas tags: ft-leftovers
16:04
pic help [TOPIC] and /help TOPIC: the manual and reference compiled in (src/manual.inc, built, not committed); pic --help is a 27-line synopsis; help.sh tests both and checks the synopsis against docs/reference/cli.md; doc fixes: Alt+P picks a model, 36 RPC commands, more differences from Pi closed check-in: cef29b55cb user: dmestas tags: docs-help
13:14
land shared-store check-in: f7ee118f06 user: pi-c-lander tags: trunk
13:04
Shared journal store: a new journal turns WAL under the exclusive lock; test signal order

shared.sh: the neighbour pic appended its ledger line after signalling that it was holding, so on a slow runner the line could land after the test had cleared the ledger (after-started:2 saw 1 line, expected 0). It now writes the line first.

store.c: PRAGMA journal_mode=WAL ran in every open. SQLite does not wait for other connections when changing the journal mode, so four pics creating one journal at once could fail with 'database is locked' (about 1 in 160 under load). The change of mode now happens only while creating or migrating, with the journal lock held exclusively. closed check-in: 9c7e0c5485 user: dmestas tags: shared-store

12:30
Shared journal store: review fixes

pic import reads all of its input, and import --claude loads the transcript into temporary tables, before the write transaction begins: every open takes the write lock for a moment, so one held across a slow pipe stalled every pic that started.

A file counts as changed by another conversation only for changes journaled since this process took the request up, so one pic never sees it, forks included. A request pic run passes over for its model gives its lease back. A branch summary also leases the conversation its request is journaled under. Recovery for a lease taken inside the admitting transaction joins that transaction. Looking at who holds a lease takes the lock shared, and a taker rides out a look. Lease files are never removed. A named conversation in use is refused before its hooks run. Recovery reads surface errors.

shared.sh: slow import beside other pics, model-skip lease, lone fork, no hooks for a refused prompt, symlinked journal, two-calls-in-a-turn matrix. check-in: 207faa4c67 user: dmestas tags: shared-store

12:03
Shared journal store: several pic processes on one workspace, one conversation each

Each conversation has a lease (an exclusive flock beside the journal) that its process holds while it advances it and that the kernel drops when the process and its forked children are gone. Taking a lease claims the conversation's request and settles what a dead owner left; open recovers only conversations whose lease is free. The journal lock is held shared and taken exclusive only to create or migrate the schema. SQLite runs in normal locking mode with the fair busy handler; dev builds stop on a write begun under an open read.

pic run takes only requests nobody is running. A second pic asking into a conversation in use is refused with its owner's pid. An edit that misses in a file another conversation changed says so and shows the file; a write to such a file is refused once.

New test/pic/shared.sh: two-process crash matrix, kill -9 beside a live pic, claim and admission races, stale-file results. No schema change. check-in: eae917e9e9 user: dmestas tags: shared-store

11:51
land filc-runs check-in: 6298149a87 user: pi-c-lander tags: trunk
11:46
remote Fil-C runs: per-step timeouts and an overall budget, timestamped steps, run.sh tail, fuller upload allowlist closed check-in: 096daf1e20 user: dmestas tags: filc-runs
11:44
land resume-fixes check-in: 339b293588 user: pi-c-lander tags: trunk
11:39
Merge trunk into resume-fixes (resume text moves to docs/manual/tui.md; compact --now in the CLI reference) closed check-in: 882d407368 user: dmestas tags: resume-fixes
11:37
land docs-reorg check-in: 69b2299073 user: pi-c-lander tags: trunk
11:32
Merge trunk into resume-fixes check-in: 7a080694e0 user: dmestas tags: resume-fixes
11:32
tests: cleanup in the new tui cases tolerates a server that already exited check-in: ea5645a9bf user: dmestas tags: resume-fixes
11:31
land test-cleanup check-in: 248de777ff user: pi-c-lander tags: trunk
11:27
tests: cleanup tolerates a server that already exited (set -e made a failed kill in the exit trap fail the script) closed check-in: 7ebf8dd302 user: dmestas tags: test-cleanup
11:19
Merge trunk into resume-fixes check-in: 21e98bea8d user: dmestas tags: resume-fixes
11:05
docs: short README; manual, reference, dev, design and archive under docs/; AGENTS.md; docs.sh checks docs against code; changelog.inc built at build time closed check-in: d66dc3f8af user: dmestas tags: docs-reorg
10:31
land parallel-tools check-in: 58f8a00ca8 user: pi-c-lander tags: trunk
10:29
resume fixes: review findings (leave unrunnable requests admitted, ask handles only its conversation, unlock the admitted provider, clear the offer after resume); schema 15 check-in: 5e79d97b79 user: dmestas tags: resume-fixes
10:27
land search-stream-flake check-in: 6961feca48 user: pi-c-lander tags: trunk
10:24
Merge trunk into parallel-tools closed check-in: e0f55ebedc user: dmestas tags: parallel-tools
10:23
Merge trunk into search-stream-flake closed check-in: 21e3d698ca user: dmestas tags: search-stream-flake
10:23
search test: wait for each reply before searching and quitting check-in: 8e109501eb user: dmestas tags: search-stream-flake
03:49
land vendor-fd18a67682 check-in: a48e7492ae user: pi-c-lander tags: trunk
03:45
Vendor libfossil fd18a67682: push from host-table repositories (unclustered query uses the repo db name) and the main-db write lock waits on the busy handler; SQLite 3.55.0 and shell.c unchanged closed check-in: 94e07fce05 user: dmestas tags: vendor-fd18a67682
02:41
land render-fixes check-in: d2805cde71 user: pi-c-lander tags: trunk
02:37
TUI field-test fixes: full-width rows keep their last column; Ctrl+O and Ctrl+T redraw blocks already shown; thinking is committed above its answer and streams as a block; /hotkeys complete; resumed transcripts drawn in full; /export default location; long paths; Ctrl+F searches in fullscreen closed check-in: f859d0659c user: dmestas tags: render-fixes
02:23
tui test: the resume-fixes cases quit with a double Ctrl+D check-in: 63ce08a773 user: dmestas tags: resume-fixes
02:20
Merge trunk into resume-fixes check-in: f4bbdb329d user: dmestas tags: resume-fixes
02:20
Field-test fixes: an interrupted request resumes with its own model and thinking level (journal v14) and the TUI offers Enter to resume or Esc to drop; Ctrl+P cycles Pi's stable list; cancelled prompts and !cmd are fork points; first run picks a model with a key; /compact runs at once; Esc keeps the prompt as Pi does; hooks test timeouts check-in: dc823cad5b user: dmestas tags: resume-fixes
01:38
land tui-search check-in: 3cfeb86abe user: pi-c-lander tags: trunk
01:01
tui test: the slash-parity cases quit with a double Ctrl+D closed check-in: 5dd45b12f0 user: dmestas tags: tui-search
00:58
Merge trunk into tui-search check-in: 79a09c31c3 user: dmestas tags: tui-search
00:58
TUI: fullscreen transcript search as Pi's (Ctrl+Shift+F, Enter/Ctrl+G next, Shift+Enter/Shift+Ctrl+G previous, Esc), Ctrl+R history search, Ctrl+D quits on a second press within 800 ms check-in: 105e0facb4 user: dmestas tags: tui-search
00:46
Merge trunk into parallel-tools check-in: ff9fc1cb1f user: dmestas tags: parallel-tools
00:46
Parallel tool calls as in Pi: each call of a reply runs in a forked child, pic alone commits started and results; tool_result entries in call order; toolExecution setting (parallel default, sequential); same-file calls serialize; crash recovery unchanged per call check-in: 90ad5c8e82 user: dmestas tags: parallel-tools
00:42
land slash-parity check-in: ed76509168 user: pi-c-lander tags: trunk
00:38
Slash commands: /fork with no argument opens Pi's Fork from Message picker; /reload names skills; /changelog shows CHANGELOG.md (embedded at build time) closed check-in: b61bb3cef1 user: dmestas tags: slash-parity
2026-11-20
22:02
land help-layout check-in: ade549bc42 user: pi-c-lander tags: trunk
21:58
pic --help: pic keys on its own line; the cacheRetention note back under settings closed check-in: 3d0bfab625 user: dmestas tags: help-layout
21:50
land logins check-in: b477427285 user: pi-c-lander tags: trunk
21:45
land themes-keys check-in: 9e62047f98 user: pi-c-lander tags: trunk
21:39
Merge trunk (rpc mode) into themes-keys closed check-in: 15ad772a46 user: dmestas tags: themes-keys
21:37
tui test: the user-message background in 256 colours is Pi's blueBg (23) check-in: 656e7ae86d user: dmestas tags: themes-keys
21:25
land rpc-mode check-in: 35af38f7ff user: pi-c-lander tags: trunk
21:21
pic --mode rpc: Pi's JSONL RPC protocol with its 33 commands (prompt, steer, follow_up, abort, compact mid-turn, fork, clone, switch_session, models, thinking, queue modes, bash, export_html, stats, tree); the journal is held only while a command runs closed check-in: 8d5c451daa user: dmestas tags: rpc-mode
21:13
TUI: Pi's themes (dark, light, custom JSON, all 51 tokens) and keybindings.json with Pi's 90 actions; familiar Mac defaults where Pi's keys are awkward (backslash-Enter newline, Ctrl+Q follow-up, Alt+P model picker, Ctrl+L redraw, Ctrl+C interrupts, Esc Esc clears, Shift+Up/Down scroll) check-in: a09ad44d63 user: dmestas tags: themes-keys
19:55
land branch-summary-export check-in: fe6b84dbb8 user: pi-c-lander tags: trunk
19:52
land tui-flags check-in: 31b8447cb4 user: pi-c-lander tags: trunk
19:47
TUI: --system-prompt, --append-system-prompt and the tool flags apply to every request it starts, as in Pi's interactive session closed check-in: 5de4c1b13b user: dmestas tags: tui-flags
19:47
pic export: a branch summary belongs to the conversation it starts closed check-in: 4e4107e423 user: dmestas tags: branch-summary-export
19:39
land compact-tree check-in: fe3f9e936d user: pi-c-lander tags: trunk
19:35
Merge trunk (paste, import) into compact-tree closed check-in: e48da90dad user: dmestas tags: compact-tree
19:33
Pi's compaction settings (enabled, reserveTokens, keepRecentTokens, modelOverrides; /settings; RPC set_auto_compaction) and /tree branch summaries (journaled, priced, exactly once after a crash); journal v13 check-in: c170307694 user: dmestas tags: compact-tree
19:20
land tui-paste check-in: 09b6f19a15 user: pi-c-lander tags: trunk
19:17
TUI: Ctrl+V pastes clipboard files, images and text in Pi's order; images attach as [image #N] (validated, journaled, no temp files), file paths paste as text as in Pi closed check-in: 5e5e07414b user: dmestas tags: tui-paste
18:42
land claude-import-attachments check-in: eae4e07431 user: pi-c-lander tags: trunk
18:38
Merge trunk closed check-in: 77b8723003 user: dmestas tags: claude-import-attachments
18:38
pic import --claude --count: build pic's real first request (its own system prompt, context and tools) and count it with Anthropic's count_tokens; other providers print the estimate check-in: d285cc0838 user: dmestas tags: claude-import-attachments
18:35
land claude-import-attachments check-in: f39f3936d7 user: pi-c-lander tags: trunk
18:32
pic import --claude: queued prompts, @-mentioned files, file-changed notices and hook context from Claude Code attachment records, as user text in record order check-in: 6592c28d87 user: dmestas tags: claude-import-attachments
18:13
land claude-import check-in: 4664a3da35 user: pi-c-lander tags: trunk
18:10
Merge trunk (tools) into claude-import closed check-in: 825cccef3c user: dmestas tags: claude-import
18:08
pic import --claude PATH [--until UUID]: a Claude Code transcript as a pic conversation with its tool history (main thread from the latest compact summary; tools mapped to pic's, others as text; images as placeholders); prints the id and context tokens check-in: 1c59cfb835 user: dmestas tags: claude-import
17:55
land tool-flags check-in: 1be93d31fe user: pi-c-lander tags: trunk
17:52
Merge trunk (print mode) into tool-flags: tool flags in the print-mode option loop; default prompt's tool list follows the tools in play closed check-in: d503c26948 user: dmestas tags: tool-flags
17:50
Pi's grep, find and ls tools (in C over the executor, honouring ignore files) and tool selection: --tools, --exclude-tools, --no-tools, --no-builtin-tools, defaultTools; providers and the system prompt see only the tools in play check-in: d23c88ff02 user: dmestas tags: tool-flags
17:41
land print-mode check-in: 972ae61990 user: pi-c-lander tags: trunk
17:39
Pi's print mode: -p/--print, piped stdin and @file arguments combined as Pi does, --system-prompt and --append-system-prompt (text or file), SYSTEM.md/APPEND_SYSTEM.md, -- closed check-in: 571909ccfd user: dmestas tags: print-mode
17:06
land vendor-script check-in: a371e84bcd user: pi-c-lander tags: trunk
17:03
Fil-C runs upload vendor/libfossil/shell.c, which the payload now builds into run/sqlite3 closed check-in: d3bad54ba3 user: dmestas tags: vendor-script
17:01
tools/vendor-libfossil.sh: re-vendor libfossil, SQLite and its shell.c from a libfossil cut in one step; refuses mismatched SQLite ids; rewrites SHA256SUMS and the README header check-in: 18b3aff167 user: dmestas tags: vendor-script
16:46
land own-sqlite3 check-in: b393379c8d user: pi-c-lander tags: trunk
16:43
Merge trunk into own-sqlite3; v11 migration setup uses legacy_alter_table (our SQLite checks triggers on rename); bench.sh no longer skips closed check-in: 5850bdca64 user: dmestas tags: own-sqlite3
16:43
land pic-ps check-in: 583eb72378 user: pi-c-lander tags: trunk
16:39
Tests use pic's own sqlite3, built from the vendored amalgamation and shell.c (same SQLite check-in), on every host including Fil-C; all sqlite3 skip guards removed; SHA256SUMS covers shell.c and the corrected README check-in: 728171ce35 user: dmestas tags: own-sqlite3
16:39
Merge trunk (ctx benchmark pieces) into pic-ps closed check-in: dc279ade3b user: dmestas tags: pic-ps
16:34
land ctx-bench check-in: f14f419f2b user: pi-c-lander tags: trunk
16:33
Merge trunk (SIGTERM SessionEnd fix) into pic-ps check-in: b33acea29f user: dmestas tags: pic-ps
16:30
Merge trunk into pic-ps check-in: 2a9e7232b0 user: dmestas tags: pic-ps
16:30
update ctx-bench from trunk closed check-in: 8bac060f76 user: pi-c-lander tags: ctx-bench
16:28
land sigterm-sessionend check-in: 497cf944ff user: pi-c-lander tags: trunk
16:27
pic ps: a list of the processes pic starts (commands, hooks, TUI requests), recorded by the parent in pic.sqlite; --all, --json, --kill; a startup line for leftovers; liveness by pid and start time check-in: e2804206ee user: dmestas tags: pic-ps
16:25
TUI: SessionEnd on SIGTERM no longer lost: block signals across the launcher fork, setsid and ignore SIGHUP before unblocking; run pic hooks end after at most 60 s; hooks end retries the journal lock closed check-in: 02a7ed6551 user: dmestas tags: sigterm-sessionend
16:04
Merge trunk into ctx-bench check-in: 9d0732b7e1 user: dmestas tags: ctx-bench
16:02
Benchmark support for ctx: lapse compaction when a conversation resumes after its prompt cache expired (off by default; lifetime from cache retention; context floor); --trial labels with pic usage --by-trial; --max-requests stops cleanly with reason request_cap; summaries priced; journal v12 check-in: c83b251c1d user: dmestas tags: ctx-bench
15:59
land test-isolation check-in: 312b5b17e7 user: pi-c-lander tags: trunk
15:56
Tests: hooks.sh checks its own hook pids instead of pgrep across the machine; TUI SIGTERM hook wait 30 s; Fil-C host lease raised to match run.sh (110 min worker, 2 h lease) closed check-in: 69c3b047d5 user: dmestas tags: test-isolation
15:43
land tui-userstyle check-in: 50f09d3b29 user: pi-c-lander tags: trunk
15:40
update tui-userstyle from trunk closed check-in: 7d1cb53046 user: pi-c-lander tags: tui-userstyle
15:40
land hooks check-in: b56f41f5a4 user: pi-c-lander tags: trunk
15:38
TUI: tell your text from the AI's, as Pi does: user messages in Pi's userMessageBg/userMessageText with padding and spacing; editor framed by border rows in Pi's border colour, status inside the top border; light/dark from COLORFGBG check-in: 871a32a8c9 user: dmestas tags: tui-userstyle
15:36
Hooks: queued steer and follow_up messages carry a pending hook row from the queueing transaction; hooks run from the journal before any delivery, after a crash too closed check-in: f69f4eaedd user: dmestas tags: hooks