Artifact ef6bfe6678a8d07435e532218c3db0ca8906faa364ea9b0325450966db195eda:
- File docs/decisions.md — part of check-in [ac44a32bed] at 2026-11-12 19:36:41 on branch trunk — Start the rewrite: vocabulary, decisions, evidence and phases (user: dmestas, size: 2503) [annotate] [blame] [check-ins using]
Decisions
Settled on 2026-11-12. Each has a short reason. A change to one of these gets its own dated entry below the table, with what changed and why.
| Question | Decision | Why |
|---|---|---|
| Language | C23, one binary | No runtime to install. The compiler on macOS builds it today. |
| Dependencies | None to install. SQLite, libfossil, zlib and TLS are compiled in. | Version control inside the tool is worth more than the smallest binary. |
| TLS | OpenSSL first, behind an interface of connect, read, write, close | A client written from the RFCs can replace it later without touching the rest. |
| Version control | Fossil, through libfossil's C API. Remote on zeitforge. Worked on with zit. | Merge keeps a local edit through an upstream update. Tested. |
| Name | suit for the tool, wardrobe for the repository | Reuses the first version's name, content and design record. |
| Harnesses | Described as data in the wardrobe. No harness code in suit. | Every other tool has a fixed list of harnesses. |
| Anything a harness must do itself | A need: a prompt its own agent follows, with a test | Keeps suit ignorant of harness formats. |
| Scopes | Enterprise, User, Project shared, Project personal, with machine and harness limits | See vocabulary.md. |
| Editing | In place, in the store. Suit checks edits in and syncs them hourly. | Editing where you find it is what people and agents already do. |
| Files a harness rewrites | Recorded into the wardrobe when they change, per machine | The harness stays in charge and there is still history. |
| Status lines and hooks | In the wardrobe. Registered once to a slot, then changed by linking. suit hook dispatches hooks. |
One registration, no later edits to a harness's settings. |
| Upstream updates | Wait for review by default. trust = auto per upstream. |
A skill is instructions to an agent, so a change from elsewhere is untrusted input. |
| When suit runs | A timer, every minute. Heavy work hourly, in a detached child. | Nothing installed in a harness. No agent waits on it. |
| Speed | The no-change run costs at most 1 ms more than an empty process, writes nothing, opens no database. The build fails otherwise. | Starting a process costs about 6 ms under load, so the budget is relative. |
| First harnesses | Claude Code, Codex, pi | Proven in a scratch home folder before any real folder is touched. |
| One binary or two | One | A 3 MB binary starts about 1 ms slower than a 33 KB one. Not worth a second program. |