Skip to content
pi-c Timeline
Login

Timeline

50 descendants and 50 ancestors of 5a87f014bec7512a

2026-11-22
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:31
grapevine test: wait for the second request's agent_end before stopping attach closed check-in: 2c8881ceb2 user: dmestas tags: keel-providers
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:16
Changelog: provider adapters check-in: 290ab35f06 user: pi-c-agent tags: keel-providers
21:15
Long retention stays an hour where no adapter says otherwise, as for the scripted provider; Gemini says 300 check-in: 13497857d0 user: pi-c-agent tags: keel-providers
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
21:12
Provider adapters: tiers, docs, the toy adapter test check-in: 71544ebb6a user: pi-c-agent tags: keel-providers
20:59
Provider adapters register with core through an adapter interface check-in: e6313a579b user: pi-c-agent tags: keel-providers
20:44
land keys-b

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

20:36
Named keys after review: --key follows the provider the model resolves to and an unknown key is an error; a choice in the terminal replaces its --key; a quoted key is scrubbed anywhere; provider names with ':' or past 63 bytes are refused; import asks --force for another variable; set_credential is per process; merge trunk (the RPC command registry) closed check-in: 8126e0f29c user: pi-c-agent tags: keys-b
20:33
Remote control: the Noise module on BearSSL and the shared vectors check-in: e76b60c18d user: dmestas tags: remote-2
20:31
land keel-rpc

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

20:18
Cut the RPC command registry seam

Components register RPC commands (name, help, flags, answer) and main.c wires them; rpc.c dispatches by name without including catalog.h, compact.h, prompts.h or skills.h. get_available_models and get_commands move to src/listings.c; rewind uses the new call shape. Whether compaction is automatic and the token estimate come through the context policy (automatic, tokens). Allowance 29 -> 25, stubs 29 -> 20. closed check-in: 8f2d30d39e user: pi-c-agent tags: keel-rpc

20:14
Named keys: a refusal that quotes the key keeps none of it; the salt read once; a stale swap prompt never acts; tests for the new wording check-in: e5bf505bfc user: pi-c-agent tags: keys-b
20:06
Named keys: docs, the words through the credential seam, no vendor name in core check-in: 64f6f335f3 user: pi-c-agent tags: keys-b
20:02
Create new branch named "keel-rpc" check-in: 1aa8d0eabb user: dmestas tags: keel-rpc
20:01
Named keys in the terminal: /key and alt+k, the footer's key, the swap prompt (work in progress) check-in: 873de47b40 user: pi-c-agent tags: keys-b
19:53
Key health: classify provider refusals, remember them per key, named keys (work in progress) check-in: ee0c0b73b7 user: pi-c-agent tags: keys-b
19:38
Create new branch named "keys-b" check-in: 23f662006c user: dmestas tags: keys-b
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:39
land oauth-login

via mac, quarry check-in: c9fca5659c 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: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
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: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
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 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: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
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