Skip to content
suit Check-in [2c1a6a62ec]
Login

Check-in [2c1a6a62ec]

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

Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 2c1a6a62ec922812391d1e611f796378285c80c0317a0614c2a4a864461409da
User & Date: dmestas on 2026-11-13 02:45:36.756
Other Links: manifest | tags
Context
2026-11-13
03:51
Phase 4a: outfits limited to a machine, and instruction files joined

suit machine shows or sets this machine's name. An outfit worn with machine=NAME applies on that machine and nowhere else, and where it and an unlimited outfit supply the same destination the machine's wins.

A harness has one instruction file per scope. When the unlimited and the machine-limited outfit both supply instructions, suit writes one file with the unlimited text first and the machine's after it, and links the harness to that. It is rewritten when either source changes and removed when no longer needed. This is the one case where an edit in the store reaches a harness only after suit's next run.

The ledger gains an entry for a file suit wrote, so suit off removes the joined file too.

420 unit checks, 227 shell cases, 146 store cases, 612 placement cases, under clang and under gcc 16. 100% coverage in all 16 source files. The no-change run costs about 0.46 ms over an empty program quiet and 0.66 to 0.79 ms loaded.

The checked-in fuzz corpus now includes inputs grown for the ledger reader (61) and more for the stamp reader (108), beside the config parser's 300. The replay tool's input table grew, because fuzzing had filled the old one on the development machine. check-in: f96cbc3342 user: dmestas tags: trunk

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

Changes