Skip to content
pi-c Timeline
Login

Timeline

50 ancestors of 6ce6dfd386746696

2026-11-22
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

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
rewind: note blob retention check-in: 0204b3a2c9 user: dmestas tags: rewind
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:58
rewind: /rewind and Esc Esc in the terminal, the RPC command, docs, tests check-in: 312c54912d user: dmestas tags: rewind
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:39
rewind: record pre-images of write and edit, journaled restores, pic rewind (work in progress) check-in: 4b67f8fe23 user: dmestas tags: rewind
12:33
Merge trunk into pi-flags check-in: 539b37235b user: dmestas tags: pi-flags
12:33
Merge trunk into ghostty-fixes closed check-in: 3deb73afa8 user: dmestas tags: ghostty-fixes
12:20
Create new branch named "rewind" check-in: b1cc35453d user: dmestas tags: rewind
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:54
Add Pi's session flags: -r/--resume, --session-id, --no-session, --mode json|text

The system prompt now points the model at pic help. check-in: 37a5984f8b user: dmestas tags: pi-flags

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