Artifact ef2a2e052d839b81cb8d183b7eae21fa30c4d4b24d819b5ed2d8f8aed73a78fd:
- File
test/corpus/lintrules/grown-abec3c6479dc
-
2026-11-13 12:54:25
— part of check-in
[6516a0e4da]
on branch trunk
— Phase 7a: a lint guards every check-in, and edits made in place are checked in
suit lint and suit commit refuse a change that holds a token-shaped value, tool-attribution text, a symlink, or a skill folder with no header. A suit.lint file in the wardrobe can exempt a path or forbid an extra phrase. The lint never changes a file.
suit tend is the hourly entry point. For now it checks in edits made in the store, after the lint. A change that deletes more than five files and more than a fifth of the wardrobe is held until it is confirmed. Anything that needs a person is written to an attention file, which suit status shows under 'needs you'.
A symlink refusal now comes from the lint and exits 3, where it exited 16 before.
Also fixed, found by the forge's runner: a file suit rewrote came back with default permissions, keeping only its executable bit. On the runner a project's local exclude file went from rw-rw---- to rw-r----- across apply and off. A rewritten file now keeps exactly the permissions it had. Tests rewrite files of four different modes under two different defaults, so the development machine catches it too. Three tests that restored a folder to a fixed mode now put back only the bits they took away.
1204 unit checks, 227 shell cases, 323 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 21 source files. No suite has fewer cases than at the last check-in. (user: dmestas, size: 13) [annotate] [blame] [check-ins using]
-
2026-11-15 17:53:12
— part of check-in
[d03820d0a9]
on branch trunk
— Hook programs get the event's input read-only
The dispatcher gave every program the spooled input through the one descriptor it wrote with, so a program that wrote to its standard input could change the bytes the next program read. The spool is now opened a second time, read-only, before it is unlinked; the copy is written through the first descriptor, which is then closed, and the programs inherit the read-only one. If the second open fails the message is cannot reopen the temporary file, the exit status is 1, no program runs, and no temporary file is left.
8 new shell cases: a program that tries to write to its input fails and the next program still reads the original bytes, and the new failure in the home folder and in the temporary folder.
1355 unit checks, 606 shell cases (was 598), 669 store cases, 756 placement cases 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 (35 minutes). 100% coverage in all 25 source files. The speed budget still passes. No suite has fewer cases than at the last check-in. (user: dmestas, size: 13) [annotate] [blame] [check-ins using]
-
2026-11-18 23:06:52
— part of check-in
[75c8fde976]
on branch trunk
— Instructions join per harness, and an upstream can be a local folder
A harness's instruction file is now joined from up to four suppliers, ranked: the shared one, the harness's own (an outfit with only = HARNESS), the one limited to this machine, and the machine's own for that harness. Each rank has at most one supplier; more than one rank is joined in that order, each source as it is in the store, separated by a blank line. One supplier still links straight to the store's file. So every harness can read a shared file and one harness an extra one, where an only outfit's instructions used to clash with the shared ones. The same rule holds at personal scope.
An upstream whose url is file:// and an absolute path is a local upstream. suit upstream NAME take with no FOLDER takes from it. The hourly suit tend takes every local upstream whose folder changed since its last take, and accepts it when trust = auto, so a skill whose home is one of the owner's own repositories is placed without a copy kept by hand. Changed is decided by a stamp of the folder kept in suit's home folder (path, size, mtime, inode and executable bit of each entry): an unchanged hour costs one lstat per entry and opens no file of the upstream. As with the no-change run, an edit that keeps a file's size and mtime is not seen until the next one that does not. A missing folder is one attention item that clears when it is back. The take comment names the folder, and the pin when there is one.
Three upstream usage cases changed their expected text, because take no longer needs a FOLDER.
3828 unit checks (was 3792), 625 shell cases, 1258 store cases (was 1153), 1032 placement cases (was 985), 382 project cases (was 378), 237 usage cases (was 236), 288 curate cases, 376 curate-apply cases and 172 https cases, under clang, under gcc 16, with no user name set and umask 002, and under umask 027, in one run of make gate (77 minutes). 100% coverage in all 34 source files. (user: dmestas, size: 13) [annotate] [blame] [check-ins using]
-
2026-11-13 12:54:25
— part of check-in
[6516a0e4da]
on branch trunk
— Phase 7a: a lint guards every check-in, and edits made in place are checked in