8 ancestors of 38a6005d715f4fcc
|
2026-11-18
| ||
| 17:44 |
Plan the credential project and add the credential seam
The credential project holds only sanctioned credentials, runs one authority reached over SSH, and starts after stage 2. pic gets a single function that reads the key from the environment and a wipe helper, so the helper-command source can replace it later without touching callers. check-in: 38a6005d71 user: dmestas tags: stage-2 | |
| 17:41 |
Test and fuzz the HTTP response parser
Unit tests cover chunked, length-delimited and close-delimited bodies, interim responses, smuggling guards, chunk framing, truncation and the header cap, whole and bytewise. A libFuzzer target checks that chunking never changes the outcome. check-in: cb38c63312 user: dmestas tags: stage-2 | |
| 17:26 |
Add an HTTPS stack on vendored BearSSL
BearSSL 0.6 is vendored and verified byte for byte against the upstream release. net.c adapts suit TLS and trust-anchor code to C11 with a deadline-bounded name lookup and TCP connect; http.c is a strict HTTP/1.1 response parser and one-shot POST. A probe completes a TLS 1.2 handshake and an HTTP exchange with the Messages API and refuses expired, wrong-host, self-signed and plain-HTTP endpoints. check-in: 7ce5fcd871 user: dmestas tags: stage-2 | |
| 17:21 |
Vendor zlib and drop iconv and dynamic loading
pic now compiles zlib in, builds libfossil without iconv and SQLite without extension loading, so the binary links only libc, libm and pthread. check-in: 7e80bb990b user: dmestas tags: stage-2 | |
| 17:12 |
Add the SSE framer and Messages API stream decoder
The framer is provider-neutral and pure over bytes. The decoder enforces event order and rebuilds each content block from its start object, so thinking signatures and unknown block types replay verbatim. Eleven recorded streams are decoded whole, bytewise and chunked against frozen summaries, and a libFuzzer target checks chunking independence and that decoded content is a JSON array. check-in: 1d1b0294ce user: dmestas tags: stage-2 | |
| 16:20 |
Replace the 11-stage plan with five stages; detail stage 2
The harness owns its own database and ctx becomes an optional outbox consumer. Stage 2 adds a streaming Messages API provider with a neutral SSE framer, verbatim content replay, a generation journal with re-request on interrupted streams, and credential handling that never reaches the journal. check-in: 71be44a488 user: dmestas tags: stage-2 | |
| 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 | |