Skip to content
pi-c Check-in [7e7550292a]
Login

Check-in [7e7550292a]

Overview
Comment:Add the first durable agent loop in C

pic keeps its journal in its own libfossil-hosted SQLite database: an idempotent admission per request key, then one short transaction per state change, never held across provider or tool I/O. A replay-safe write tool reruns after a crash; a replay-unsafe exec records an unknown outcome and never reruns. exec runs under a supervisor that starts the command only after the started commit and kills its group if pic dies or is interrupted. A second pic on the same database is refused.

test/pic/crash.sh crashes at every commit and effect boundary and checks the journal against an external ledger, plus deadline, output redirection, background child, crash and interrupt orphaning, and second-writer cases. Vendored SQLite and libfossil match ctx byte for byte.

Timelines: family | ancestors | descendants | both | tracer-bullet
Files: files | file ages | folders
SHA3-256: 7e7550292a4a47883dfa02234d4eca2ef2c0e9d998066a58056faed690c252e4
User & Date: dmestas on 2026-11-18 12:30:18.683
Other Links: branch diff | manifest | tags
Context
2026-11-18
16:19
Merge the tracer-bullet durable agent loop into trunk check-in: f4faaeff64 user: dmestas tags: trunk
12:30
Add the first durable agent loop in C

pic keeps its journal in its own libfossil-hosted SQLite database: an idempotent admission per request key, then one short transaction per state change, never held across provider or tool I/O. A replay-safe write tool reruns after a crash; a replay-unsafe exec records an unknown outcome and never reruns. exec runs under a supervisor that starts the command only after the started commit and kills its group if pic dies or is interrupted. A second pic on the same database is refused.

test/pic/crash.sh crashes at every commit and effect boundary and checks the journal against an external ledger, plus deadline, output redirection, background child, crash and interrupt orphaning, and second-writer cases. Vendored SQLite and libfossil match ctx byte for byte. closed check-in: 7e7550292a user: dmestas tags: tracer-bullet

11:58
Record S0/S1 qualification groundwork before product code

Contract maps and pinned Pi reference, local C qualification fixtures, MC/DC and Fil-C remote lifecycle tooling, and the context transaction substrate probe. No product harness code yet. check-in: 11f47eadde user: dmestas tags: trunk

Changes