Artifact 66de6bc04ec9fe928f1f9d10cacdd10b521ac8eaf9b87aab70423a4a52f93982:
- File
README.md
— part of check-in
[3f905be4f2]
at
2026-11-12 21:17:36
on branch trunk
— Every branch of suit's own code is tested, and the gates that keep it so
make cover fails unless every function, line, region and branch in src/ is run by a test. Every system call goes through a wrapper in platform.c that a test build can make fail, so failed-call branches are tested too. The release binary carries none of that code, and a test checks it.
Also: ensure() for invariants, a wider warning set as errors, the clang static analyzer, a second fuzz target for the stamp reader, a replay binary for saved fuzz inputs, a release build that the speed budget now measures, and make ci for the forge's Linux runner: the suite under gcc's sanitizers, then under a pinned Fil-C.
210 unit checks and 214 shell cases. The no-change run measured 0.56 to 0.60 ms over an empty program with the release build.
The Fil-C run and the Linux build have not been run yet. They run first on the forge's runner.
Decisions recorded: the wardrobe is two repositories, libfossil is used through its C API with suit's own file writer, and where each gate runs. (user: dmestas, size: 2104) [annotate] [blame] [check-ins using]
suit
Suit makes the folders your AI harnesses read mirror one version-controlled repository, the wardrobe. It is one C23 program with nothing to install beside it. It runs on a timer and contains no code for any particular harness.
This is a rewrite. The first version, a TypeScript tool, is archived in
~/projects/suit-v0-archive and on GitHub under danmestas.
Status
Phase 1 is built: the build, the config parser, the no-change compare and
the speed test. Nothing else yet. The plan and the decisions behind it are in docs/:
- docs/vocabulary.md: the fourteen words, frozen.
- docs/decisions.md: what is settled, and why.
- docs/evidence.md: the measurements the plan rests on.
- docs/phases.md: the build order, each phase with its proof.
Build
C23, libc only. The platform-specific calls are all in src/platform.c.
Output goes in build/. The gates and what each proves are in
docs/quality.md.
make # dev build: build/dev/suit, ASan, UBSan, fault injection
make release # build/release/suit: -O2 -flto, stripped, no test code
make check # unit and shell tests and fuzz replay, under ASan and UBSan
make cover # fails unless src/ is 100% covered
make analyze # clang static analyzer, fails on any report
make check-budget # the speed test on the release binary, quiet then loaded
make fuzz # both fuzz targets, 30 seconds each
make filc # tests under Fil-C (Linux only; tools/filc-docker.sh on macOS)
make all # every gate in that order, stopping at the first failure
make clean # remove build/
make check-budget needs ~/.claude/bin/loadgen for the loaded run.
make cover, analyze and fuzz use clang from /opt/homebrew/opt/llvm
when it is there, and clang from PATH otherwise.
Commands so far: suit check FILE, suit stamp PATH..., suit run,
suit bench [-n N] [-e EMPTY] [-t MICROSECONDS] [-m KIB]. The config format is in
docs/conf-format.md.