Skip to content
suit Check-in [c3b2afcdc0]
Login

Check-in [c3b2afcdc0]

Overview
Comment: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.

Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: c3b2afcdc0450b217e330b9f13592af2c08a79b961d4413661196d79ced4135a
User & Date: dmestas on 2026-11-13 02:12:51.121
Other Links: manifest | tags
Context
2026-11-13
02:45
The placement tests that were checked in unrun now pass, and build on Linux

The last check-in included about 240 placement cases that an agent appended while the gates were running, so they went in untested. Nine failed. All nine were wrong tests: a fault injected at the wrong call, a setup that an earlier case had already undone, or an expected message the code never gives for that input. No source file changed. The suite now runs 426 placement cases.

The forge's build failed on that check-in for a separate reason: a test helper uses nftw, which glibc declares only when X/Open is asked for. The unit test file now asks for it on Linux.

One placement case still expected glibc's wording for an I/O error. It now learns the wording from the binary under test.

Live proof now covers Codex as well as Claude Code: 12 cases pass, both harnesses answering through the local proxy on a DeepSeek model. pi is not installed on the development machine and stays at path-level proof. docs/harnesses.md records each harness's paths and which are verified.

Known and left as is: if the final ledger write in suit off fails, the links are gone but the ledger still lists them. A later off or apply clears them.

383 native unit checks, 227 shell cases, 146 store cases, 426 placement cases. 100% coverage in all 14 source files. The tree was fingerprinted before and after the gates and did not change. check-in: 2c1a6a62ec user: dmestas tags: trunk

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

Changes
Added src/commands.c version [cb5f268f9e].
Added src/commands.h version [2d84497957].
Added src/ledger.c version [ad8fa50da4].
Added src/ledger.h version [dc78013282].
Added src/place.c version [1870c4ca07].
Added src/place.h version [59cbd4305d].
Added src/resolve.c version [7e9b407875].
Added src/resolve.h version [612e5feb59].
Added test/live.sh version [e6ef93b5d4].
Added test/place.sh version [164c0dc20c].