Overview
| Comment: | 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. |
|---|---|
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA3-256: |
f96cbc334263d104de3f4f9cc5f02e15 |
| User & Date: | dmestas on 2026-11-13 03:51:02.498 |
| Other Links: | manifest | tags |
Context
|
2026-11-13
| ||
| 05:53 |
Phase 4b-1: suit finds your projects and gives each its key
suit roots names the folders to look in. suit projects scan walks them and lists each project with its key: the remote address reduced to host and path. suit project set gives a key by hand. git: the key is read from the project's own config file, and a linked worktree gets its project's key. Fossil: read from the checkout's database through SQLite. zit: no key from a scan; one is set by hand. The scan runs no other program, follows no symlink, and does not look inside a project for more projects. A user name or password in a remote address never reaches suit's files or output; a test checks it. Nothing is placed in a project yet. That is the next piece. 993 unit checks, 227 shell cases, 146 store cases, 612 placement cases and 118 project cases, under clang and under gcc 16. 100% coverage in all 18 source files. A fourth fuzz target covers the new file formats, with 297 inputs checked in. check-in: d74c54957c user: dmestas tags: trunk | |
| 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 | |