Skip to content
pi-c Timeline
Login

Timeline

50 descendants and 50 ancestors of 84488a6b6aa414e0

2026-11-22
18:01
pic attach -i starts a request when nothing runs; a delivered abort survives its owner's crash check-in: 050c9a4679 user: pi-c-agent tags: tether-1
17:56
Merge trunk into docs-drift closed check-in: 3fa78e77c9 user: dmestas tags: docs-drift
17:54
land cred-order

via mac, quarry check-in: ef65ba756a user: dmestas tags: trunk

17:54
land vendor-8aa1823

via mac, quarry check-in: 4e7393e387 user: dmestas tags: trunk

17:39
Merge trunk into docs-drift check-in: 149bde84dd user: dmestas tags: docs-drift
17:38
land tui-flakes

via mac, quarry check-in: ec6e1a0c23 user: dmestas tags: trunk

17:28
docs: test-docs checks pages, providers and commands are documented; fix the drift it found check-in: 8b7dd84402 user: dmestas tags: docs-drift
17:27
pic attach: text lines of any length; delivery settles only inside its own transaction check-in: 507609d7d2 user: pi-c-agent tags: tether-1
17:24
Merge vendor-8aa1823 into cred-order closed check-in: 03df936ad2 user: dmestas tags: cred-order
17:24
Merge tui-flakes into vendor-8aa1823 closed check-in: cbb9a9dbb4 user: dmestas tags: vendor-8aa1823
17:13
tui: act on SIGTERM, SIGHUP and SIGQUIT outside the handler; fix the sign-in test's browser race

The terminal interface forked its SessionEnd launcher inside the signal handler. On macOS fork() runs the allocator's atfork lock, so a handler that interrupted malloc() crashes (SIGTRAP in _malloc_fork_prepare) or hangs: the "hooks SIGTERM" case hung with the reply on screen. The handler now only notes the signal and wakes the main loop (and run_sync), which restores the terminal, cancels the request, starts the launcher and re-raises. Crash signals restore the terminal and re-raise without forking.

The sign-in case's scripted browser counted launches with a read-modify-write of a file. macOS holds every run of a freshly written executable for about half a second on its first run, so the first two launches ran at once, both counted 1, and the third never signed in. Launches now take a slot with mkdir, and the script is run once before the sign-ins. closed check-in: 6ce6dfd386 user: dmestas tags: tui-flakes

17:12
Synopsis wording for pic send check-in: 622c53db21 user: pi-c-agent tags: tether-1
17:06
Remote control docs, migration test, inbox reference check-in: e6ff960a7c user: pi-c-agent tags: tether-1
17:02
Inbox tests; abort with nothing running settles at once check-in: b121c58432 user: pi-c-agent tags: tether-1
16:58
Inbox, pic send and pic attach: first cut check-in: a1d325bc4f user: pi-c-agent tags: tether-1
15:48
Update the credential unit tests to Pi's order: the store beats the environment check-in: 869d6766d1 user: pi-c-agent tags: cred-order
15:41
A stored key or sign-in now takes precedence over the provider's environment variable, as in Pi

pic_cred_get and pic_cred_source_of resolve a stored credential first, then the models.json apiKey, then the variable. auth status and the /login list name the source in use and any variable it hides. check-in: 19ef27d450 user: pi-c-agent tags: cred-order

14:40
Refresh README.md checksum in vendor/libfossil/SHA256SUMS check-in: 0eceed3f9e user: dmestas tags: vendor-8aa1823
14:40
Merge trunk into vendor-8aa1823 check-in: 480f3699f0 user: dmestas tags: vendor-8aa1823
14:39
land oauth-login

via mac, quarry check-in: c9fca5659c user: dmestas tags: trunk

14:30
land import-usage

via mac, quarry check-in: f17aeb5ee4 user: dmestas tags: trunk

14:26
Merge import-usage into oauth-login closed check-in: 365c42c9c2 user: dmestas tags: oauth-login
14:25
Merge trunk into oauth-login check-in: 52b529acae user: pi-c-agent tags: oauth-login
14:22
land lapse-tune

via mac, quarry check-in: 3222be90f2 user: dmestas tags: trunk

14:12
Merge lapse-tune into import-usage closed check-in: 3344cba5c3 user: dmestas tags: import-usage
14:11
Merge trunk into lapse-tune closed check-in: 5be511e1ed user: dmestas tags: lapse-tune
14:11
land rewind

via mac, quarry check-in: 5ffa83e86c user: dmestas tags: trunk

14:10
Merge trunk into oauth-login check-in: fd9f203047 user: pi-c-agent tags: oauth-login
14:09
Login in the terminal interface in place: provider picker, masked key and passphrase entry, sign-in with cancel; review fixes: token sent only to its own API, browser opener by absolute path, no echo of the pasted address, idle callback connections dropped fast, real listen errors, OpenRouter paste bound to the redirect, rotation write retried check-in: 5a87f014be user: pi-c-agent tags: oauth-login
14:05
Record a Claude Code import's per-reply usage, as imported, so lapse calibration works on a resumed conversation check-in: f29b9f9c7f user: dmestas tags: import-usage
14:03
Merge trunk into rewind closed check-in: 2449bc8178 user: dmestas tags: rewind
14:02
land pathkey-relative

via mac, quarry check-in: ddad673015 user: dmestas tags: trunk

13:53
Merge trunk into pathkey-relative closed check-in: 0b7da84efd user: dmestas tags: pathkey-relative
13:52
Lapse trim: keep size in calibrated real tokens, lapse only before a submission's first request check-in: 4b2313e6d3 user: dmestas tags: lapse-tune
13:49
rewind: check a fork's restore against the fork's own history; keep one file in memory at a time check-in: 40edf1e438 user: dmestas tags: rewind
13:44
rewind: test two spellings of one file on a case-insensitive filesystem check-in: f5afefb9fa user: dmestas tags: rewind
13:39
Merge trunk into rewind check-in: f1b4d2ddc9 user: dmestas tags: rewind
13:37
rewind: refuse files changed between pic's changes, guard the restore against changes after the check, keep replaced bytes for undo, stream-hash large files check-in: 35559cfe00 user: dmestas tags: rewind
13:34
Create new branch named "lapse-tune" check-in: edc708e8ab user: dmestas tags: lapse-tune
13:24
Merge trunk into oauth-login check-in: ae0a5ccc04 user: pi-c-agent tags: oauth-login
13:22
Subscription sign-in: OpenRouter, RPC login/logout/get_auth_status, docs, changelog, escape-safe provider errors check-in: fcc6715760 user: pi-c-agent tags: oauth-login
13:17
land skill-budget

via mac, quarry check-in: 557d218b1a user: dmestas tags: trunk

13:17
land pi-flags

via mac, quarry check-in: 0e0e08e705 user: dmestas tags: trunk

13:13
A relative --workspace no longer overruns the file key buffer check-in: d995dcb980 user: dmestas tags: pathkey-relative
13:09
Subscription sign-in: terminal interface login choice, fake OAuth server, unit and end-to-end tests check-in: 79f80d77db user: pi-c-agent tags: oauth-login
13:05
Merge trunk into pi-flags closed check-in: 97f47140d3 user: dmestas tags: pi-flags
13:01
Merge trunk into rewind check-in: fd0bc1c169 user: dmestas tags: rewind
12:59
Budget the skill listing: cap its size, rank skills by use, warn when it bites closed check-in: bc508ba698 user: dmestas tags: skill-budget
12:58
Subscription sign-in: oauth credential kind, refresh under a lock, Sign in with ChatGPT flow, pic auth commands (work in progress) check-in: 50df4463b9 user: pi-c-agent tags: oauth-login
12:45
Create new branch named "skill-budget" check-in: 2d19c4bd9c user: dmestas tags: skill-budget
12:43
land ghostty-fixes

via mac, quarry check-in: 84488a6b6a user: dmestas tags: trunk

12:33
Merge trunk into ghostty-fixes closed check-in: 3deb73afa8 user: dmestas tags: ghostty-fixes
12:18
land grapevine-design check-in: 0c546d53d2 user: pi-c-lander tags: trunk
12:09
Grapevine design, accepted closed check-in: dfda1d004f user: dmestas tags: grapevine-design
12:05
Merge trunk into ghostty-fixes check-in: 38caa2ae51 user: dmestas tags: ghostty-fixes
11:49
land keel-lapse check-in: 41ba9ae7c7 user: pi-c-lander tags: trunk
11:37
Merge trunk into keel-lapse closed check-in: fe6dd2b5fa user: dmestas tags: keel-lapse
11:08
tui: consume terminal replies, pick light or dark from OSC 11, signal when a reply is ready

The decoder consumes OSC, DCS, APC, PM and SOS replies while a probe is outstanding and every private CSI reply (DA1, DA2, DECRQM, kitty flags, colour scheme reports) always, so an answer never reaches the editor as an Escape and typed text. At start pic asks for the background colour and DA1, waits up to 150 ms for DA1, and keeps the reply window open for a second; the answer decides system and light/dark themes ahead of COLORFGBG. Focus reports (DECSET 1004) gate a BEL plus OSC 9 (OSC 777 in foot and VTE) when a turn ends; the notifyWhenDone setting turns it off. check-in: f99ea5c3ff user: dmestas tags: ghostty-fixes

10:50
keel-lapse: trim cuts at the start of the turn, long-task fallback check-in: 2038c800bd user: dmestas tags: keel-lapse
10:46
keel-lapse: tiers check 5, docs, fault point rename check-in: 2eaab55528 user: dmestas tags: keel-lapse
10:38
Merge trunk into keel-lapse check-in: 96bbb004ee user: dmestas tags: keel-lapse
10:38
keel-lapse: work in progress (context-policy seam, trim mode) check-in: eb98ec2e71 user: dmestas tags: keel-lapse
2026-11-21
22:42
land amal-build check-in: 0a50cbedbd user: pi-c-lander tags: trunk
22:34
Build pic from its amalgamation: one generated translation unit per flavor, #line markers in dev closed check-in: 9bba80e0f3 user: dmestas tags: amal-build
22:32
Create new branch named "keel-lapse" check-in: cf21fdd382 user: dmestas tags: keel-lapse
22:27
Create new branch named "amal-build" check-in: 720900889c user: dmestas tags: amal-build
22:26
land amalgam check-in: eead78ce93 user: pi-c-lander tags: trunk
22:18
Merge trunk into amalgam closed check-in: f2edd801dd user: dmestas tags: amalgam
20:44
Amalgamation rules wait for the generated changelog and manual check-in: 887ad8b52c user: dmestas tags: amalgam
20:43
land lapse-default check-in: b89539877f user: pi-c-lander tags: trunk
19:06
Amalgamation: build with plain cc -O2 *.c, defines written into the bundled copies; merge trunk

The bundler puts guarded #define lines for the dependency configuration at the top of its copies of libfossil.c, sqlite3.c and zlib's .c files, so no -D flags are needed. vendor/ is untouched. check-in: db3f1fbb3e user: dmestas tags: amalgam

19:00
Amalgamation: pic as one pic.c beside the vendored sources, built by one cc line

make amalgamation writes pic-amalgamation-VERSION/ and its tarball; make test-amal builds it from the README's own line and runs crash, print and tools against that binary, and is part of make test-pic. About 60 file-local names that collided in one translation unit take their file's prefix; test/pic/amalgam.sh fails on a new collision. check-in: 9dabe49948 user: dmestas tags: amalgam

18:54
Merge trunk into lapse-default closed check-in: 311252ceec user: dmestas tags: lapse-default
18:53
Lapse compaction on by default above 100000 tokens, with a random holdout and pic usage --lapse to measure what it saves check-in: d5b0e6d9f1 user: dmestas tags: lapse-default
18:30
land keel-method check-in: e045566e08 user: pi-c-lander tags: trunk
17:21
Record every source file's tier and enforce it: ci/tiers.tsv, ci/tiers.allow, test/pic/tiers.sh in make test-docs, docs/dev/tiers.md, docs/design/keel.md closed check-in: 3f1d6de982 user: dmestas tags: keel-method
17:03
land changelog-chunks check-in: 73967e5464 user: pi-c-lander tags: trunk
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