22 descendants of 1ed63201f43a3f66
|
2026-12-03
| ||
| 17:05 | Stop retrying a refused login; credential commands; show unbacked wardrobes; --help everywhere leaf check-in: 3e475f333c user: dmestas tags: trunk | |
|
2026-11-23
| ||
| 22:31 | make install: build the release and copy suit and suit-run into ~/.local/bin, then print one status line from the installed copy. The README and docs/quality.md now name it as the step after a check-in's CI passes. check-in: 6dbae039ba user: dmestas tags: trunk | |
| 03:53 |
place.sh: a failed read in reader-never-sees-a-link-missing says what happened
The test counted any read that did not give A or B as a missing link and threw away what cat said, so its two failures in full gates cannot tell a missing link from a reader that could not run. It now prints, for each failed read, the exit code and error of cat and what is at the path afterwards. It still fails on any bad read. Ticket 5. check-in: 45e6118277 user: dmestas tags: trunk | |
| 02:50 |
lint rule 6: the scripts a SKILL.md names must be in its skill folder
A path in a code span or a shell code block of a SKILL.md that ends in a script extension and points into a skill folder must stay inside one skill folder and be a file there, and must be executable when a shell line starts with it. suit.lint allow exempts a SKILL.md. A take checks the files it takes. The wording came from a scan of both wardrobes (docs/decisions.md). Ticket 1. check-in: a0a62524de user: dmestas tags: trunk | |
|
2026-11-22
| ||
| 20:58 |
land docs-drift
via context session, pi-c check-in: 93a4001d70 user: dmestas tags: trunk | |
| 19:20 | merge trunk: raise the CI timeout closed check-in: ed378a8417 user: dmestas tags: docs-drift | |
| 19:20 | CI: 90-minute limit; runs had grown past 45 minutes and were being cancelled check-in: 3b2470882b user: dmestas tags: trunk | |
| 18:16 | merge trunk: the too-long-path cases in test/project.sh check-in: c0f3472c3e user: dmestas tags: docs-drift | |
| 18:15 | project tests: the too-long gitdir and commondir paths pass the limit wherever the checkout is check-in: a7b2ca0122 user: dmestas tags: trunk | |
| 17:21 | docs drift check in make check; docs fixes for pic, upstreams part two, make targets and commands check-in: 4d045e8090 user: dmestas tags: docs-drift | |
| 15:38 | phases: import and cut-over done, local upstreams and curate call-only recorded check-in: b829bcda0b user: dmestas tags: trunk | |
| 15:32 | README rewritten: what suit is, how it works, a quick start, everyday use, a command table, current status, BearSSL in build and license check-in: 624142e3c5 user: dmestas tags: trunk | |
| 15:12 | libfossil 8aa1823ae1 is public now; vendor README and decision record say so check-in: e07d9b75dd user: dmestas tags: trunk | |
| 13:35 | libfossil sql-ext-int 8aa1823ae1: push reaches every peer, writers wait for the lock, autosync settings honored check-in: bb0c9ba8cd user: dmestas tags: trunk | |
|
2026-11-21
| ||
| 20:49 | Curate limits an asset to several projects; call and auto choices set how a skill is invoked through the harness key skills.call; a typed /NAME counts as a use of the skill NAME check-in: e4a08b02ab user: dmestas tags: trunk | |
|
2026-11-20
| ||
| 12:39 | Minute run is silent when the lock is held; local upstream comments say "from FOLDER"; an empty local folder is nothing to take; needs doc names the right slot path check-in: c993443504 user: dmestas tags: trunk | |
| 00:36 |
libfossil from the public branch sql-ext-int (a88df0d594); suites never read the real SUIT_HOME
The private byot build 2f20f44ba4 was purged when it became the public anypipe branch. The new build has the same channel API and records the merge parent of a merge settled with --mine, which the old one dropped; one store case relied on the old behaviour and now uses an upstream change that does not conflict. test/run.sh points SUIT_HOME into its scratch folder from the start. check-in: a31e5c1e98 user: dmestas tags: trunk | |
|
2026-11-18
| ||
| 23:06 |
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. check-in: 75c8fde976 user: dmestas tags: trunk | |
| 19:35 |
The https tests stop their misbehaving servers on Linux too
On the forge's Linux runner the last https case found twelve test servers still listening. They were the misbehaving BearSSL servers: /bin/sh there is dash, which rejects `kill -- -PID`, so they were never signalled; the fossil servers had been stopped by pkill. Teardown now signals each server by PID, by process group and by a pkill on its port, waits up to 15 s for nothing to listen, then sends SIGKILL and waits again. The check that no server is left listening is as strict as before. Checked here under dash, three runs of the https suite normally and three under umask 002, coverage, and the whole check under gcc 16. Linux's own pkill and nc behaviour is proven only on the forge. check-in: cb8c8be8d9 user: dmestas tags: trunk | |
| 18:37 |
The gate builds and fuzzes first, and runs one stage under the forge's umask
make gate now starts with a cheap run, to build/fast.log: everything make check needs is built, not run, on a fresh build/dev with gcc 16 and again with clang, warnings being errors, and make fuzz runs every target once. A compile error or a fuzz finding stops the gate there instead of after the long suites; on this machine that stage took 18 minutes against 70 for the whole gate. make all still fuzzes again later. New target: make check-build. The no-user stage also runs under umask 002, which is the forge runner's, so a test that depends on files being private fails here first. The gate's summary listed only the first eight suites, which hid the https suite; it now lists them all and the fuzz counts. check-in: 231b7b615b user: dmestas tags: trunk | |
| 18:37 |
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. check-in: 70d6eed709 user: dmestas tags: trunk | |
| 16:19 |
suit syncs and clones over https
suit sync, suit clone and suit tend now work with https:// remotes. http:// and file:// keep libfossil's built-in channel. libfossil is the private byot build 2f20f44ba4 in place of trunk f2983dcd78, approved while suit is being proven; only libfossil.c and libfossil.h differ from trunk's files. Its stream channel does all of the HTTP: request headers, Content-Length, chunked and close-delimited replies (the last only after a clean close), the reply-size limit and the timeout. suit supplies the transport: src/tls.c, over non-blocking TCP and BearSSL 0.6, now vendored. - TLS 1.2 only, ECDHE key exchange, AES-GCM or ChaCha20-Poly1305. A server offering only TLS 1.3, RSA key exchange or CBC is refused. - The chain is verified against trust anchors and the host name against the certificate. Anchors come from the system's PEM bundle read at run time (SSL_CERT_FILE, then the usual macOS and Linux paths), or from a per-wardrobe CA file set with --ca, which replaces the bundle. No roots are compiled in and there is no way to trust anything. - A certificate file must be a regular file owned by the user or root, writable by no one else, in a folder that passes the same check; --ca refuses a symlink, and a FIFO is refused at once. - Redirects are refused, never followed, and the message names the new address. No proxy support. - Nothing is sent before the handshake has verified. The login goes out only as libfossil's login card. Commands that read the sync secret turn core files off first. - Every connect, read, write and name lookup waits in poll with a 30 s idle limit, and a whole command stops after 10 minutes. getaddrinfo has no deadline, so it runs in a forked child that is killed and reaped. - BearSSL makes no system call of its own: it is built without its own randomness or clock, and suit seeds it and gives it the time through its fault wrappers. - Exit 18 now means the secure connection failed (handshake, certificate, host name). 17 stays the network and 19 a refused login. A per-wardrobe CA file is kept in cafiles in suit's home folder, one NAME PATH line each. suit-run is built without the network code and is unchanged at 35496 bytes; the speed budget passes. Release suit went from 2291288 to 2490024 bytes. An independent security review found no critical or high issues. Its one medium finding, a CA file trusted without checking its owner, mode or type, is fixed here, as are its low ones: separate storage for each set of anchors, core files off, and the release check now covering every test-only switch. Checked against a real server: an anonymous clone of this repository over https from its forge, 8.4 s, verified with stock fossil. A new suite, test/https.sh, with 170 cases, runs local servers with test certificates made at test time, including servers that misbehave on purpose. It prints skip lines where openssl or nc is missing. A new fuzz target covers the bundle reader. 3788 unit checks (was 3669), 625 shell cases, 1153 store cases, 985 placement cases, 378 project cases, 236 usage cases, 288 curate cases, 376 curate-apply cases and 170 https cases, under clang, under gcc 16, with no user name set, and under a strict umask, in one run of make gate (76 minutes, on a loaded machine). 100% coverage in all 34 source files. Three store cases that expected "cannot use https yet" now expect the refusal for a missing certificate bundle. check-in: 27d847f693 user: dmestas tags: trunk | |
| 03:02 |
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. check-in: 1ed63201f4 user: dmestas tags: trunk | |