Artifact 4add6c19e09f62a00c2817c698575e412ae9c6882e654c20e5ab7869f00c7964:
- File
README.md
— part of check-in
[061c21b2e4]
at
2026-11-19 16:14:04
on branch gcc-build
— Build with gcc, not only clang
gcc 13 refused the tree under -Werror: -Wformat-truncation fires on snprintf into the fixed error and display buffers, where a clipped message is the intended outcome, and the benchmark ignored freopen's result. The warning is now out of the fatal set, the benchmark fails its child when the redirect fails, and the README gains the build section it never had.
Running the suite with gcc on Linux also found two things clang's builds cannot: an ssize_t that the drain loop's guard always assigns but the compiler cannot prove, and a sql_text result in model resolution used only as a truth test and never freed (Linux LeakSanitizer; macOS does not detect leaks). Both are fixed.
test-pic passes with clang (230 cases) and with gcc 13 (228; the schema-3 migration case skips where the sqlite3 command is absent). (user: dlair, size: 4283) [annotate] [blame] [check-ins using]
Native durable coding harness
Source mapping for a prospective C coding-agent harness with Pi-like behavior, Pi Durable-like recovery contracts, and context-backed storage and knowledge retrieval. No harness has been implemented.
Start here
- Implementation and qualification plan
- Core acceptance catalog
- End-to-end and nightly conformance plan
- Contract map and evidence guide
- Coding harness feature map
- Durable execution contracts
- Provider and message contracts
- Context integration boundary and qualification requirements
- Context API proposal
- S1 transaction proof results
Reference checkout
reference/pi is a depth-one, detached checkout of the Pi monorepo, which contains both the coding harness and packages/durable.
- Upstream: https://github.com/earendil-works/pi
- Revision:
cead615b48b80d1c61eecab2f0b576d16eeaf4c5 - Machine-readable provenance: reference/pi.lock.json
- License: upstream MIT license
This is design/test reference material, not a build or runtime dependency. No npm dependencies were installed and no upstream code or tests were executed for this mapping. Instructions within the reference checkout belong to that upstream project, not to this prospective harness.
Verify the pin and shallow state:
git -C reference/pi rev-parse HEAD
git -C reference/pi rev-parse --is-shallow-repository
git -C reference/pi status --porcelain -uall
A reference update is deliberate: fetch the desired revision, keep history shallow, detach at it, update the lock, and revalidate affected source links and behavioral claims. Do not update silently to a moving branch.
If source is copied or adapted rather than independently implemented, preserve applicable copyright and license notices.
Building
make # build/pic/release/pic
make test-pic # build it and run every suite
make bench-pic # compare timings with bench/baselines/<OS>-<arch>.tsv
The build uses CC (default cc) and compiles with -Werror. It is warning-clean under clang and under gcc; gcc's -Wformat-truncation (which clang does not have) is turned off in the Makefile because a clipped error or display string is the intended outcome there.
Local S0 qualification
The test infrastructure is under development; no production harness is implemented. See actual results and open gates.
make local-evidence # all local gates + retained, hash-checked fixture evidence
make check # metadata, native fixtures/replay, and MC/DC probe
make sanitize # ASan + UBSan fixture checks; no leak claim
make fuzz-smoke # bounded C libFuzzer smoke
make bench # informational native fixture measurements
make test-remote # local-only supervisor/collection regressions
make test-context # real context/Fossil transaction substrate proof
make test-context-sanitize # same proof under ASan/UBSan
make filc-remote REMOTE_RUN=/absolute/completed/filc-run # verify remote receipt
make qualify # remains GATED; not a production release check yet
C owns core tests and measurement, Make/shell owns orchestration, and small Python helpers validate metadata or parse reports. A narrow remote lifecycle and real Fil-C run have now passed with all run-owned units/workspaces removed. The context transaction probe also passes; see S1 results and the API proposal. No public context API or production harness has been implemented.
Boundaries
- Searchable, redacted memory is not a lossless execution journal.
- Native C capability parity does not imply TypeScript extension or SDK compatibility.
- Local SQLite recovery does not imply external exactly-once effects or multi-machine execution failover.
- The development plan includes DST, MC/DC, fuzzing, sanitizers, and Fil-C; production targets an optimized native build with correctness checks and durability intact.