Artifact 2a842823c8edd36e5bb38484211525acdb7dbb07733b2c09cf0d6266830cb5fa:
- File
test/corpus/choices/grown-2084f637b5f0
-
2026-11-18 03:02:04
— part of check-in
[1ed63201f4]
on branch trunk
— suit curate apply turns the page's choices into config changes
suit curate apply FILE reads the choices file the curation page makes and prints a plan: which outfits and wears it edits, which wardrobes it checks in and in what order, and the links that will appear and disappear at each scope. Without --yes nothing changes. With --yes it edits each wardrobe's suit.conf and checks it in, with a comment such as "Curate: 3 kept, 1 limited, 12 retired". It does not place anything; the next run sees the config changed and applies.
- keep leaves a worn asset as it is. A loose asset, or one coming back from the attic, goes to the outfit kept.WARDROBE, worn at user scope. - limit moves the asset from its user outfits to personal.WARDROBE.SLUG, worn by [wear personal PROJECT], created or reused wherever it is. - retire removes the asset from every outfit of its wardrobe and adds it to attic.WARDROBE, which nothing wears. Apply refuses if a wear reaches an attic. - Removing one name from an outfit that lists `*` turns the `*` into an explicit list of the names it reached, minus that one, and the plan says so: names added to the store later are then not included by that outfit. No exclusion syntax was added.
Outfit names carry the wardrobe because outfit names are one set across wardrobes; a name too long for that is refused for its line. A wardrobe that defines a new outfit is checked in before any wardrobe whose wear names it, so a failure part-way leaves only an outfit nothing wears; a run that would need the opposite order is refused before anything changes.
Configs are edited as text: only the lines that must change are rewritten, and comments, blank lines, alignment, line endings and the order of everything else are kept. Every edited config must parse and the combined set must pass the merge check before anything is written. A wardrobe with local changes is refused, so the check-in holds the curation only. A failed check-in puts that wardrobe's file back.
A malformed line, a duplicate, a bad header or a path given as a project refuses the whole file, listing every problem. An unknown asset is warned about and skipped; a choice already true is silent.
A new suite, test/curate_apply.sh, with 376 cases, is part of the gate, and a new fuzz target covers the choices parser and the line editor.
3669 unit checks (was 2993), 625 shell cases, 1153 store cases, 985 placement cases, 378 project cases, 236 usage cases, 288 curate cases and 376 curate-apply cases, under clang, under gcc 16, with no user name set, and under a strict umask, in one run of make gate (44 minutes). 100% coverage in all 32 source files. No existing case was changed. (user: dmestas, size: 12) [annotate] [blame] [check-ins using]
-
2026-11-18 18:37:27
— part of check-in
[70d6eed709]
on branch trunk
— The https tests make their certificate files private, so they pass on any umask
The forge's runner creates files with umask 002, so the certificate files and folders the tests made were group-writable, and the new check on certificate files rightly refused them: 10 unit checks and most https cases failed there. Every certificate the tests make is now 0644 in a 0755 folder, so the tests no longer depend on the umask. The check is unchanged. A new case, under umask 002, shows a group-writable CA file refused and the same file accepted after chmod 644.
In the coverage build only, a name-lookup child killed while writing its profile could corrupt it; the child now writes its own file and renames it when whole.
3792 unit checks (was 3788) and 172 https cases (was 170), with every other suite unchanged, under clang, under gcc 16, with no user name set and umask 002, and under umask 027, in one run of make gate. 100% coverage in all 34 source files. (user: dmestas, size: 12) [annotate] [blame] [check-ins using]
-
2026-11-18 03:02:04
— part of check-in
[1ed63201f4]
on branch trunk
— suit curate apply turns the page's choices into config changes