Artifact b11755f645301f61fa34437eee3f9274580891c6afaf53f9084d9542a8670c40:
- File
src/import_pi.c
-
2026-11-21 12:30:45
— part of check-in
[207faa4c67]
on branch shared-store
— 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. (user: dmestas, size: 12109) [annotate] [blame] [check-ins using]
- 2026-11-21 13:14:25 — part of check-in [f7ee118f06] on branch trunk — land shared-store (user: pi-c-lander, size: 12109) [annotate] [blame] [check-ins using]
- 2026-11-21 16:04:45 — part of check-in [cef29b55cb] on branch docs-help — 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 (user: dmestas, size: 12109) [annotate] [blame] [check-ins using]
-
2026-11-21 12:30:45
— part of check-in
[207faa4c67]
on branch shared-store
— Shared journal store: review fixes