50 descendants and 50 ancestors of 312c54912d3fad88
|
2026-11-22
| ||
| 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: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:03 | Merge trunk into rewind closed check-in: 2449bc8178 user: dmestas tags: rewind | |
| 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:01 | Merge trunk into rewind check-in: fd0bc1c169 user: dmestas tags: rewind | |
| 12:58 | rewind: note blob retention check-in: 0204b3a2c9 user: dmestas tags: rewind | |
| 12:58 | rewind: /rewind and Esc Esc in the terminal, the RPC command, docs, tests check-in: 312c54912d user: dmestas tags: rewind | |
| 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: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 | |
| 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 | |
| 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 | |
| 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 | |