Artifact 052cf7d8c3acdd7508949f0be4ba659205b4395ebd09189c21a36004292fac16:
- File
README.md
— part of check-in
[6d70dcc76a]
at
2026-11-12 19:36:41
on branch trunk
— Phase 1: the config parser, the no-change run and the speed bench
suit check parses suit.conf strictly and prints a canonical dump. Any unknown kind or key, duplicate, cycle or dangling name rejects the whole file with its line number.
suit run compares a stamp against the files it names and exits without writing, allocating or printing when nothing changed.
suit bench times suit run against an empty program built the same way and against /usr/bin/true, interleaved, and fails the build when the no-change run costs more than 1 ms over the empty program or 1 MiB more memory. It measured 0.65 to 0.94 ms over, quiet and under load. A system binary starts 0.6 to 1.5 ms faster than any built binary on macOS, so it is shown for information and is not the baseline.
94 unit checks, 100 shell cases and a libFuzzer target for the parser. (user: dmestas, size: 1587) [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. cc is Apple clang on macOS; the platform-specific calls are
all in src/platform.c. Output goes in build/.
make # build/suit
make check # unit and shell tests, under ASan and UBSan
make check-budget # the speed test, quiet and then under load
make fuzz # fuzz the config parser for 60 seconds
make clean # remove build/
make check-budget needs ~/.claude/bin/loadgen for the loaded run.
make fuzz uses libFuzzer from /opt/homebrew/opt/llvm when it is there,
and a fixed-seed mutation loop otherwise.
Commands so far: suit check FILE, suit stamp PATH..., suit run,
suit bench [-n N]. The config format is in
docs/conf-format.md.