50 descendants and 50 ancestors of 379c7ca49e9b6d64
|
2026-11-23
| ||
| 14:10 |
land keysource
via mac, quarry check-in: a347c7d00f user: dmestas tags: trunk | |
| 14:05 | Create new branch named "rc-screen" check-in: e0798e4e51 user: dmestas tags: rc-screen | |
| 13:54 | test_oauth: the secret_key seam's new shape closed check-in: eef8b68541 user: dmestas tags: keysource | |
| 13:49 | Merge trunk into keysource: auth reset clears a kept key; a given passphrase makes a passphrase store check-in: 6ab80b50f0 user: dmestas tags: keysource | |
| 13:42 | Key sources: the platform names its sources; cred.c names none of the host's check-in: 07c6b1441d user: dmestas tags: keysource | |
| 13:06 |
land sonnet-default
via mac, quarry check-in: 356d6dda20 user: dmestas tags: trunk | |
| 12:52 | Anthropic's starting model with no saved default is claude-sonnet-5-5, not claude-opus-5-5 closed check-in: ed8ff769d9 user: dmestas tags: sonnet-default | |
| 12:50 |
land ux-models
via mac, quarry check-in: 40f5312a9d user: dmestas tags: trunk | |
| 12:12 | ask and -p name the model only when pic chose it, not when --model named it (the no-terminal error stays one line) closed check-in: b6b196faf6 user: dmestas tags: ux-models | |
| 11:58 | merge trunk check-in: 7b7c66e19e user: dmestas tags: ux-models | |
| 11:58 |
land ux-p0
via mac, quarry check-in: 71fa6e8fd7 user: dmestas tags: trunk | |
| 11:55 | Merge trunk into keysource check-in: 4a4964673f user: dmestas tags: keysource | |
| 11:55 |
Keep the credential store's key in the Keychain or a key file, not behind a passphrase
A new store gets a random 32-byte master key kept in the login Keychain (macOS, /usr/bin/security run as a child with the command on stdin) or the keyring (secret-tool), else ~/.pic/master.key at 0600. The source is recorded in picu_credential_key.source; a passphrase store keeps working as before. pic auth rekey keychain|file|passphrase reseals every sealed row in one transaction, and a typed passphrase is followed once by the offer to stop asking. --passphrase-fd and PIC_PASSPHRASE_COMMAND (setting passphraseCommand) give a passphrase with no terminal. pic remote opens a keychain or file store with no prompt. Every OS service stays in platform.c behind secret_key, secret_keep and secret_drop. check-in: bcb82b941e user: dmestas tags: keysource | |
| 11:40 |
Model choice says why and recovers from a refused key
With no saved default, pic starts on a provider whose key worked and passes over one that was refused, out of credit or limited; OpenRouter, Moonshot and DeepSeek start on inexpensive general models. The first screen (and stderr for ask and -p) names the model and why; with no key it says how to get one. The picker shows prices and key marks, lists keyless models once typed, ranks exact and prefix matches first, says what it saved and when the thinking level changes. After a refused key, Alt+P picks another model and the message returns to the editor for it. pic sessions shows each conversation's model and marks failed ones; pic models --json carries key; pic --version; pic help start opens with the user path. check-in: c8bc1bfa6d user: dmestas tags: ux-models | |
| 11:34 | Merge trunk into ux-p0 closed check-in: 851282b859 user: dmestas tags: ux-p0 | |
| 11:33 | Stored keys where no terminal can ask: attach -i hands the key to its requests, a locked store with no terminal fails at once with the ways out and journals nothing, RPC sends credential_locked and takes unlock instead of prompting, and pic auth reset forgets a store whose passphrase is lost. Fix the garbled TLS error text, retries that went on after Stop, and an early sign-in refresh that failed a request whose token was still valid. check-in: 4b2c1d57cf user: dmestas tags: ux-p0 | |
| 11:19 |
land remote-3
via mac, quarry check-in: d67fc06fa7 user: dmestas tags: trunk | |
| 11:11 | Remote control, landing 2 of stage 2: the reply streams to a paired phone as live values, and pic remote sends Web Push notifications when a request finishes, needs input or fails closed check-in: 88fc9a9267 user: dmestas tags: remote-3 | |
| 10:59 |
land themes-wait
via mac, quarry check-in: 33964257ff user: dmestas tags: trunk | |
| 10:51 | themes test: wait for the new theme file before /reload instead of a fixed half second, which a loaded machine overran closed check-in: 4e1f0aeab8 user: dmestas tags: themes-wait | |
| 10:42 |
land dns-thread
via mac, quarry check-in: 4e290c3aaa user: dmestas tags: trunk | |
| 10:33 | merge trunk closed check-in: 6c00e5fbb1 user: dmestas tags: dns-thread | |
| 10:33 | Name lookups run in a thread, not a forked child: macOS 26's resolver uses Objective-C, which aborts a child forked from a process with threads, so every request failed with 'the name lookup gave no answer' check-in: 1a5eeff62d user: dmestas tags: dns-thread | |
| 10:32 |
land webpush
via mac, quarry check-in: 90f58ba305 user: dmestas tags: trunk | |
| 10:23 | merge trunk closed check-in: d9fc904577 user: dmestas tags: webpush | |
| 10:22 |
land rewind-fu
via mac, quarry check-in: db346dc9a6 user: dmestas tags: trunk | |
| 10:13 | merge trunk closed check-in: 673d602118 user: dmestas tags: rewind-fu | |
| 10:10 | Merge trunk into webpush; Web Push now uses noise.c's ES256, RFC 8291 body, key pairs, HMAC and base64url instead of its own copies check-in: 22d521f705 user: pi-c-agent tags: webpush | |
| 10:07 |
land tui-follower
via mac, quarry check-in: 90dcd0af99 user: dmestas tags: trunk | |
| 09:54 | pic attach without -i exits when the pipe or socket on its stdin closes; the terminal interface's follower holds that pipe, so a killed interface no longer leaves it running closed check-in: 3f4f60fe7f user: dmestas tags: tui-follower | |
| 02:37 |
land remote-2
via mac, quarry check-in: fb90967de6 user: dmestas tags: trunk | |
| 02:27 | remote-soak: build the server's stream list from the temp dir, which has no spaces closed check-in: ee6a201850 user: dmestas tags: remote-2 | |
| 01:49 | Merge trunk into remote-2: free key checks, gcc -Wshadow typedef renames (the interface's /rc and follower children are app_child) check-in: e300a7fab6 user: dmestas tags: remote-2 | |
| 01:47 | Remote control: the protocol of the relay's canonical document: the sync's key on every event and mark of its follow, origin local on a person's message from the terminal, workspaces as id and workspace, sessions for one workspace, a 45 s idle timeout and the 60 s reconnect cap; the design document is the relay's check-in: 02a960d831 user: dmestas tags: remote-2 | |
| 01:39 | Remote control: pairing answers a repeated first message with the same second and ignores any other, decodes the channel into a temporary, caps a message at 4 MiB, flushes typeahead before the question and quotes a name cleaned of control and bidi characters; a session that ignores bye is dropped, counters stop at 2^32 and the device key is compared in constant time check-in: afe0ea2274 user: dmestas tags: remote-2 | |
| 01:22 | build: the interop test runs once in the suite, not also as a generic script check-in: e46e7603dc user: dmestas tags: remote-2 | |
| 00:30 | Remote control: the suite's interop run gets node's real path from the Makefile, read before HOME is replaced check-in: 90b6632d1c user: dmestas tags: remote-2 | |
| 00:25 | Remote control: the suite's interop run finds the relay checkout from the real HOME through the recursive make; a release run of it skips check-in: de0dc05389 user: dmestas tags: remote-2 | |
| 00:20 | Remote control: the manual, reference, dev notes and protocol amendments for turning it on from /rc, status and stop, keeping the connection, both sides at once and new conversations from the phone check-in: bf11f9a093 user: dmestas tags: remote-2 | |
| 00:17 | Remote control: the interop test restarts the real Worker and kills pic remote under a prompt; the test phone's seen waits for a message in any order check-in: c6a8e3bc4a user: dmestas tags: remote-2 | |
| 00:13 | Remote control: a soak test that kills and restarts the relay and pic remote, drops the network, silences the stream and stops pic remote past its idle timeout, and checks every prompt became one request and the phone's copy has every event in order; the test relay keeps its mailboxes across a restart, starts its event ids from the clock, sends its keepalive as often as asked and can go down or silent; the test phone pings and syncs again in a new session after a gap check-in: 00a3afbc72 user: dmestas tags: remote-2 | |
| 00:05 | Remote control: the interface's follower is killed, not asked, so a held SIGTERM cannot keep the interface from leaving check-in: 79f904cabb user: dmestas tags: remote-2 | |
|
2026-11-22
| ||
| 23:59 | Remote control from the Mac and the phone at once: /rc turns it on, starting pic remote detached with the unlocked key on an inherited pipe and starting it again if it dies of a signal; the interface follows its conversation while idle, shows a phone's messages as from its name, and steers or stops a request from elsewhere through the inbox; user message events carry their origin check-in: 8d90701b09 user: dmestas tags: remote-2 | |
| 23:33 | Remote control: pic remote status and stop; the stream taken for dead after 35 s of silence, backoff capped at 30 s, a wake or SIGCONT reconnects at once and posts what waits; the relay unreachable at the start is waited for; phones get every workspace and start a new conversation in one check-in: 4edcde735a user: dmestas tags: remote-2 | |
| 23:16 | Remote control: the interop test finds the relay checkout from the real HOME, so the suite runs it check-in: b1a5187d22 user: dmestas tags: remote-2 | |
| 23:09 | Remote control: /rc lists the phones paired through the relay and pairs one (p, after the store's passphrase), unpairs one (a number then y) and resets (R then y), through pic remote in a child; tests on a pseudo-terminal check-in: dd07b2bed3 user: dmestas tags: remote-2 | |
| 22:48 | Remote control: an interop test against the real relay Worker under wrangler dev, with the page's protocol module as the phone; skipped without node or wrangler check-in: e4d197863f user: dmestas tags: remote-2 | |
| 22:47 | Merge trunk into remote-2: provider adapters, named keys, rate-limit headers check-in: 374b2b2e50 user: dmestas tags: remote-2 | |
| 22:46 | Remote control: the ssh QR code holds the Tailscale address, and the page says to use it when the name does not resolve on the phone check-in: 3ad5d842c7 user: dmestas tags: remote-2 | |
| 22:08 | Remote control: unpair, stop and reset tests check-in: 5543003727 user: dmestas tags: remote-2 | |
| 22:06 | Remote control: a reset for records that fail on an unconfirmed session, so a restarted pic remote is not shadowed by a replayed handshake; abort, two phones, reconnect and crash tests check-in: 379c7ca49e user: dmestas tags: remote-2 | |
| 21:58 | Remote control: tests for a prompt, a steer and a follow-up from the phone check-in: d674484370 user: dmestas tags: remote-2 | |
| 21:48 | Remote control: get_state and get_messages on the narrow open; prompts keep the conversation's model; session tests check-in: 8e3f9d14b1 user: dmestas tags: remote-2 | |
| 21:34 | Remote control: the pairing channel outlives paired until the phone reads it; pairing refusals tested check-in: cea57fd74a user: dmestas tags: remote-2 | |
| 21:21 | Remote control: the test relay follows the Worker's errors, peers and acks; pairing tests begin check-in: 5abc8fac92 user: dmestas tags: remote-2 | |
| 21:12 | Remote control: work in progress on pic remote, the fake relay and the fake phone check-in: 7fc95acce9 user: dmestas tags: remote-2 | |
| 20:33 | Remote control: the Noise module on BearSSL and the shared vectors check-in: e76b60c18d user: dmestas tags: remote-2 | |
| 19:25 |
land tether-1
via mac, quarry check-in: 872a5117c2 user: dmestas tags: trunk | |
| 19:16 | attach -i: a request it started that fails is reported and what was sent to it is withdrawn; expired messages settle while waiting; a busy conversation says so. /rc: no QR code in a short window, -t before the host, the path in single quotes closed check-in: 51402472d6 user: pi-c-agent tags: tether-1 | |
| 18:55 | grapevine test: the held lock is taken before the sender runs, with a busy timeout check-in: 619fd06387 user: pi-c-agent tags: tether-1 | |
| 18:46 | /remote-control and /rc, and pic remote-control: the ssh command, a QR code (vendored qrcodegen 1.8.0) and the Remote Login and Tailscale checks check-in: 244660752f user: pi-c-agent tags: tether-1 | |
| 18:18 | Merge trunk into tether-1; link the remote control pages check-in: 32de1c0569 user: pi-c-agent tags: tether-1 | |
| 18:17 | Review fixes: attach writes outside its read transaction; delivery holds its events until it commits and restores the running request on rollback; keys are per conversation and sender; send --wait ends at the expiry; settle checks one row; bell opened without following links; lease directory's owner checked check-in: d0de7dcd24 user: pi-c-agent tags: tether-1 | |
| 18:06 |
land docs-drift
via context session, pi-c check-in: a2ab51f641 user: dmestas tags: trunk | |
| 18:02 | Merge trunk into tether-1 check-in: 57e40558ae user: pi-c-agent tags: tether-1 | |
| 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:40 | Vendor libfossil 8aa1823ae1: honor global autosync and dont-push settings; pulls before commit, update and merge no longer push without autosync check-in: 412b56d888 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 | |