Overview
| Comment: | The store tests ask the binary how its C library words an I/O error
Under Fil-C on the forge 143 of 146 store cases passed. The three failures expected glibc's wording for errno 5 in the new journal tests, the same assumption fixed earlier in the main suite. |
|---|---|
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA3-256: |
4345393b20844d9f1934673d6c103024 |
| User & Date: | dmestas on 2026-11-12 22:58:13.679 |
| Other Links: | manifest | tags |
Context
|
2026-11-13
| ||
| 02:12 |
Phase 3: the User scope, placed by links that suit owns and nothing else
suit reads suit.conf from the store, works out which links should exist for the User scope, and makes each harness's folders match. suit plan, apply, status and off. suit run now applies when something changed. The ledger is a text file listing every link suit made. A link is made under a temporary name and renamed into place. A real file, a real folder or someone else's link at a destination is left byte-identical and reported as a clash. suit off leaves a home folder exactly as it was before the first apply. Proven with a real harness: Claude Code, run against a scratch home through a local proxy on a DeepSeek model, returned the marker word from the instruction file suit placed, listed the skill suit placed, returned a new marker after the file was edited in the store with no suit command run, and no longer saw it after suit off. make live runs this on purpose; it is not part of the automatic gates. 385 unit checks, 227 shell cases, 146 store cases, 157 placement cases. 100% of functions, lines, regions and branches in all 14 source files. The no-change run costs 0.45 to 0.72 ms over an empty program with the stamp now watching 128 paths. Not yet done in this phase: live proof with Codex and pi, and the document of each harness's paths. check-in: c3b2afcdc0 user: dmestas tags: trunk | |
|
2026-11-12
| ||
| 22:58 |
The store tests ask the binary how its C library words an I/O error
Under Fil-C on the forge 143 of 146 store cases passed. The three failures expected glibc's wording for errno 5 in the new journal tests, the same assumption fixed earlier in the main suite. check-in: 4345393b20 user: dmestas tags: trunk | |
| 22:50 |
A store interrupted mid-update can be repaired, and symlinks are refused
An update now writes a journal before it changes anything and removes it only when the update, or the put-back after a failure, has finished. If the journal is still there, every store command refuses and names the fix. suit store repair restores each file to the version the store was leaving. Tested with a double failure and by killing suit in the middle of a slowed 100-file update: repair restored every byte. libfossil's checkout writes symlinks as regular files, so suit refuses them outright: store open and update refuse a version that holds one, and commit refuses to check one in. Each names the path. The fuzz corpus libFuzzer grew is minimized and checked in (300 inputs for the config parser, 83 for the stamp reader), so every push replays it under the sanitizers and Fil-C. The budget test takes the best of three runs. It measured 0.43 to 0.59 ms quiet and 0.72 to 0.88 ms at a load average of 130 to 170. 243 unit checks, 220 shell cases, 146 store cases. 100% coverage in all ten source files. check-in: cbd57cce10 user: dmestas tags: trunk | |