Skip to content
pi-c Timeline
Login

Timeline

50 descendants and 50 ancestors of 412b56d8889e8bd6

2026-11-22
23:01
Free key checks: tests drive the interface with its own checks off; docs and tiers check-in: deb0a9bbfe user: dmestas tags: keys-probes
22:55
usage: pic usage --by-tool counts each tool's calls and failures and the requests that called it (#36) check-in: 112fe78db6 user: dmestas tags: small-fixes
22:53
Free key checks: a probe on the provider adapter, pic auth status --check/--refresh, background checks in the terminal interface check-in: d7a1186cd2 user: dmestas tags: keys-probes
22:53
hooks: SessionEnd runs for a conversation stopped between SessionStart and its first prompt (#37) check-in: ef636aa67d user: dmestas tags: small-fixes
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:43
cred: pic_cred_override returns -1 when it cannot keep a key choice; --key and set_credential report it (#42) check-in: 7bbaa8f184 user: dmestas tags: small-fixes
22:41
Create new branch named "keys-probes" check-in: 101d155ceb user: dmestas tags: keys-probes
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:42
Hooks: a PreToolUse allow may rewrite the call (updatedInput) and a PostToolUse answer may replace the result (updatedToolOutput), as in Claude Code; the rewrite is merged into the journaled input before the tool runs, the replacement is written over the effect and the tool_result entry in one transaction; the search tools' own fields reload from a rewrite; tests for a rewritten bash call, a rewritten grep pattern and a redacted result check-in: 541190af05 user: dlair tags: hook-fields
21:42
Create new branch named "hook-fields" leaf check-in: cd9ac65750 user: dlair tags: hook-fields
21:40
land keel-providers

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

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
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: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
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
12:05
Create new branch named "vendor-8aa1823" check-in: c39aaa4843 user: dmestas tags: vendor-8aa1823
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
10:31
land parallel-tools check-in: 58f8a00ca8 user: pi-c-lander tags: trunk
10:29
resume fixes: review findings (leave unrunnable requests admitted, ask handles only its conversation, unlock the admitted provider, clear the offer after resume); schema 15 check-in: 5e79d97b79 user: dmestas tags: resume-fixes
10:27
land search-stream-flake check-in: 6961feca48 user: pi-c-lander tags: trunk