Artifact e92a666d8d6318c1a76f1731d516aa489c521bd699d2f1d9495c316999f7285f:
- File
test/corpus/lintrules/grown-811a50ad5689
-
2026-11-16 00:33:58
— part of check-in
[71a8d2c4d3]
on branch trunk
— Suit places from every wardrobe, merged into one set
Placing read one wardrobe, named mine. It now takes every folder under the store that holds a suit.conf, in byte order of name, at most 16. Each config is parsed as before and the results are merged: harness, outfit, need and upstream names are shared, so a private outfit can include a public one. Paths and asset names resolve in the store of the wardrobe that defines the section. No wardrobe beats another; scope and limit decide, as before.
The same section in two wardrobes is an error naming both places. The same destination from two wardrobes at one scope is a clash that names the wardrobes. Any error in any config stops plan and apply before anything is placed. A merge that is refused leaves the combined set as it was.
suit check with no file prints the combined dump. suit why names the wardrobe when more than one takes part. The ledger's format did not change: a link's source path already names its wardrobe. The stamp watches every wardrobe's folder and the store folder, so a wardrobe that appears or goes is noticed. Nothing special-cases the name mine.
This is the owner's decision of 2026-11-15, recorded in docs/decisions.md with the rejected alternative, one master config naming assets as wardrobe:path. It corrects the 2026-11-12 line that said wardrobes already stacked.
The message for no config is now STORE:0: no wardrobe with a suit.conf. Fault call numbers in 12 existing cases moved because the store folder is listed first; what each asserts is unchanged.
The no-change run with two wardrobes of 50 files each is 0.83 to 0.85 ms over an empty program, limit 1 ms. The cost is one stat per watched path: 100 files in each wardrobe measured 1.19 to 1.24 ms. The budget fixture watches 100 files in all, as before.
Not covered: suit status with two wardrobes, which needs two repositories in the fixture. A duplicate-section message can be cut short when both paths are very long.
1431 unit checks (was 1355), 612 shell cases (was 606), 669 store cases, 846 placement cases (was 756) and 378 project cases, under clang, under gcc 16, with no user name set, and under a strict umask, in one run of make gate (28 minutes). 100% coverage in all 25 source files. No suite has fewer cases than at the last check-in. (user: dmestas, size: 118) [annotate] [blame] [check-ins using]
-
2026-11-17 10:01:38
— part of check-in
[cb7d42f351]
on branch trunk
— The no-change run watches what apply acts on, not every file in the stores
The stamp listed every file and folder in every store, and the compare costs one stat per path, so the per-minute run grew with the wardrobes. On a fixture of two wardrobes with 300 skills of five files, 40 agents and 20 commands it watched 1890 paths and cost 7.1 to 7.6 ms quiet and 12.6 to 13.4 ms loaded, against a budget of 1 ms.
Apply links skill folders, agent and command files, and slot and file sources, and never reads them. From a store it reads the content of only the wardrobe's suit.conf and the sources of a joined instructions file, and nothing is placed by copy. An edit inside a linked skill, or to an agent's or command's content, is already seen by the harness through the link; apply would place the same links. So those are no longer watched.
The stamp now watches the store folder and each folder in it; each wardrobe's folder, suit.conf, and skills, agents and commands folders (whose own entry changes when something in them is added, removed or renamed); entries in those folders that are links, whose target can come or go without the folder changing; every instructions, file and slot path of every outfit, whether or not it exists; need prompts; and the ledger, machine name, roots and project lists as before. docs/decisions.md lists every input apply reads and why each is or is not watched, and replaces the 12 Nov sentence that made an edit anywhere in a store a reason to apply.
On the same fixture it watches 24 paths: 0.26 to 0.28 ms quiet, 0.48 to 0.50 ms loaded. The count no longer depends on files inside skills. Over 128 paths apply stops with a clear error and keeps the old stamp.
The stamp starts with a format line, suit stamp 2. A stamp from before makes the compare report it changed, and the apply that follows rewrites it. suit and suit-run must be updated together: an older suit-run calls the new stamp bad.
Known: on Linux a change within one clock tick of the stamp's own stat can be missed until the next change, as before.
Ten placement cases and five shell lines changed expectation: an edit inside a store no longer causes an apply, a store with many files or deep folders no longer exceeds a limit, and the stamp has one more line. Each case is kept.
2993 unit checks, 625 shell cases (was 620), 1153 store cases, 985 placement cases (was 846), 378 project cases, 236 usage cases and 288 curate cases, under clang, under gcc 16, with no user name set, and under a strict umask, in one run of make gate (40 minutes). 100% coverage in all 31 source files. (user: dmestas, size: 118) [annotate] [blame] [check-ins using]
-
2026-11-16 00:33:58
— part of check-in
[71a8d2c4d3]
on branch trunk
— Suit places from every wardrobe, merged into one set