Artifact 39b45bf8f6892450dc2a56c727f48d6a77f037f38001ca278e92cef96e012a3b:
- File
test/corpus/conf/grown-7ff7102e0dc8
-
2026-11-13 03:51:02
— part of check-in
[f96cbc3342]
on branch trunk
— 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. (user: dmestas, size: 17) [annotate] [blame] [check-ins using]
-
2026-11-13 09:35:59
— part of check-in
[5ef6c04ebd]
on branch trunk
— Phase 4c: suit why says which supplier of an asset is in effect, and why
suit why NAME prints, for the folder you are in, every place that supplies an asset and what became of it: placed, dropped because the machine-limited outfit wins, joined, not applied on this machine, no project with that key here, a clash with a real file, or skipped. It uses the resolver's own record of each decision, so why and apply cannot disagree. Where an asset is placed at both personal and User scope it says which the harness reads first.
suit status now prints a line for a machine-limited personal outfit that did not apply, as it did for User ones.
The project tests set a user name. The forge's runner sets none, so on the last check-in the store never opened there and 130 project cases failed. The suites are now also run with no user name before a push.
1011 unit checks, 227 shell cases, 146 store cases, 612 placement cases and 376 project cases, under clang, under gcc 16, and with no user name set. 100% coverage in all 19 source files. (user: dmestas, size: 17) [annotate] [blame] [check-ins using]
-
2026-11-14 06:52:19
— part of check-in
[7ecc8d52ea]
on branch trunk
— Phase 7c-2: suit install sets up the two timers, and status has a one-line form
suit install writes two timers and loads them: one starts suit-run every minute, the other starts suit tend every hour. On macOS they are launchd user agents in ~/Library/LaunchAgents; on Linux, systemd user units. Each file is written with exactly mode 0644 whatever the umask. Running install again with nothing changed writes nothing and loads nothing. suit install --print shows the files and changes nothing. suit uninstall unloads the timers and removes exactly its own files. Neither touches a file that is not one of suit's own names.
Two timers stand in place of the planned single timer with a detached hourly child: the minute run stays inside its speed budget, and each job can be seen and stopped by itself.
The loader (launchctl or systemctl) is started by absolute path, never through a shell. Its path and the platform can be overridden only in the test builds; a test checks the release binary holds neither name.
suit status --line prints one short line for a status bar: suit ok, how many things need you, or not installed. Plain suit status says whether the timers are installed.
Known gaps. If the loader fails, the files stay in place and a second install says already installed without trying to load again; that needs a retry and a line in the attention file. The Linux units are checked as text and as loader arguments on macOS; systemd itself has not run them.
Found by the local gate before this check-in: an analyzer report, tests that needed a user name, and timer files written with the wrong mode under a strict umask.
1269 unit checks, 428 shell cases, 669 store cases, 612 placement cases and 378 project cases, under clang, under gcc 16, with no user name set, and under a strict umask. 100% coverage in all 23 source files. No suite has fewer cases than at the last check-in. (user: dmestas, size: 17) [annotate] [blame] [check-ins using]
-
2026-11-13 03:51:02
— part of check-in
[f96cbc3342]
on branch trunk
— Phase 4a: outfits limited to a machine, and instruction files joined