Guild · started October 7, 2026
A supervised night shift that writes code while I sleep.
Guild turns a request like "fix this failing test" into a finished, tested change that waits for my approval. It uses AI models running on my own Mac, tests its work in a box with no internet, and never merges anything itself: the result is a pull request, and the merge is mine.
What it is
A builder with a supervisor
AI can write code now, but left alone it also writes code that only looks right. Guild is my attempt at the boring, careful version: the AI does the typing, and ordinary code (not the AI) runs the checks and decides whether the work actually passed. I decide whether it ships.
It's a separate project from Kettlewise, my private assistant, on purpose: Kettlewise only ever reads, while Guild does things, so it lives in its own codebase with its own, stricter rules.
Its parts are named for the jobs in a craft guild, which is where the name comes from: a draftsman plans, a journeyman does the work, an assayer judges it, a joiner fits the pieces together, and the hallmark is my merge. They're roles, not characters; the code uses plain names.
How a job runs
Two human gates, and nothing merges without me
- Request"Add tests for this file", "fix this failing check".
- PlanThe draftsman reads the project and proposes pieces, each with its tests. A reviewer reads the plan too.
You seal it - WorkThe journeyman, a local coding model, edits a private copy of the code, one piece at a time.
- Sealed checksThe project's own tests and linters run in a box with no internet.
- ReviewThe assayer, a different model, reads each change and can send it back.
- Pull requestOne branch, one report of what changed and why.
You merge
Every step is built, and the whole chain has run for real. On October 8 Guild's first two changes to Kettlewise (calendar-year date windows, and a plain "no open pull requests" fact when there are none) went request → plan → build → review → pull request → my merge. The second needed no help from me at all: one round, about 50 seconds. A job that goes wrong ends in a report, not a mess: the journeyman only ever writes inside its own copy of the project.
I run it from a local web page, the guildhall: post a request, read and edit a plan's tests, seal it, watch each role work, and see which pull requests are waiting for me. It opens on my phone too, over a private network between my own devices.
The guardrails
Rules it can't talk its way out of
It never merges
Every job ends as a pull request and a written report. Guild has no code that merges (a test checks there is none), its GitHub credential can only push a new branch, and every project it touches is set so that nothing reaches the main branch except through a reviewed pull request. Putting the change in is my call, every time.
No internet while it works
Checks run in a sealed container. A deliberately hostile test tries to reach the internet, the Mac's own AI server and my files, and it must fail every time. Without the seal, the same test reached both the internet and the AI server, which is exactly why it's there. The only thing Guild sends out is the finished branch.
It can't loosen its own rules
Each project names the files a piece may never change: for Guild's own code, that's everything that runs the checks, the gates and the delivery. The list is read from the main branch on GitHub, never from the branch being worked on, so a change can't rewrite the rules it's judged by. Attempts are refused and undone.
Local models only
The AI runs on the Mac, like Kettlewise's. Code it reads never goes to an outside AI service, and there's no per-use bill.
How it's tested
The bench: practice problems with hidden answers
How do you know an AI really fixed a bug, rather than just making the one visible test go green? You hide some of the tests. Guild's bench is a set of small practice projects with bugs planted on purpose. Each comes with tests the AI can see and tests it never sees; a case only counts as solved if both pass.
A "fix" that special-cases the visible test gets caught and marked overfit, not solved. Those are the dangerous failures in real life, because they look like success.
| Tier | What it asks of the AI | Cases | Solved |
|---|---|---|---|
| 1 | A one-line bug in the function the test names | 5 | 5 |
| 2 | The bug is in a helper that function calls | 1 | 1 |
| 3 | The test is on one file, the bug is in another | 3 | 3 |
| 4 | Two bugs in two files; fixing one alone still fails | 1 | 1 |
| 5 | The fix needs the spec, not the test (rounding, weekends) | 2 | 2 |
12 cases across 2 practice projects, solved by qwen3-coder-next, a free 80-billion-parameter model
that only uses about 3 billion of them for each word it writes, which is what makes it fast on a laptop. Every case
was solved in one round, in roughly 15–30 seconds and 15,000–40,000 tokens (roughly, words read and
written). Each tier-1 fix was the exact one-line correction. Small samples, early days.
What the bench taught me
The honest part
The first results weren't 12 out of 12. Getting there taught me more than the score.
It got stuck in a loop
On the hardest tier the AI once re-ran the same failing check 23 times in a row without changing anything. A simple guard that ends the attempt after the fourth identical repeat took that tier from 0–1 out of 3 to 3 out of 3, using half the tokens.
Memory made it worse
Giving it notes from its earlier attempt seemed obviously helpful. It wasn't (3 of 4 solved versus 4 of 4): shown its first fix, it stayed fixated there, while a fresh start re-read the code and found the second bug.
A scratchpad helped
Letting it run small calculations in a sandboxed Python scratchpad, instead of doing arithmetic in its head, took it to 12 out of 12, every case in one round, with fewer tokens.
Score the outcome, not the story
Guild never reads the AI's own account of what it did. Whether a case passed is worked out by code from the checks and the actual change.
Real code found what practice didn't
The first real change took three runs. The model "spun" through 1.1 million tokens because one of its tools cut a long file short without saying so, and another silently ran nothing. The bench never showed either: its files are small. Both were my bugs, not the model's; the second real change needed no help at all.
A reviewer that can't see the code is wrong
Asked to review a plan from the plan alone, the reviewer was wrong on two points of three. Shown the files the plan changes, it was right. Context, not a bigger model, was the fix.
What it costs
About a penny a day
Paid AI services charge per token through an API (the way programs talk to their servers). Running models locally costs only the electricity. Here's everything Guild ran on its first day, 25 minutes of model time, priced both ways.
| Where it runs | First day | Typical case | Hardest case |
|---|---|---|---|
| On my Mac (electricity) | ~1¢ | well under 1¢ | under 1¢ |
| Claude Haiku 4.5 prices | ~$1.09 | ~1¢ | — |
| Claude Opus 5.5 prices | ~$3.88 | ~4¢ | ~30¢ |
Deliberately conservative: the paid prices assume their cheaper cached rate, and the electricity is a high guess (150 W at $0.20/kWh). "Typical" is the median of 59 measured cases. The second real change to Kettlewise cost about 27,000 tokens and 50 seconds; the first, with its three runs, about 1.5 million.
To be clear, the frontier models are stronger. This isn't "free and just as good". It's that for lots of small, well-checked jobs, a local model is good enough, costs nearly nothing at volume, and keeps the code private.
What's next
Earning more responsibility
- Requests from Kettlewise itself. Kettlewise keeps a record of where it falls short and drafts requests from it, with anything personal stripped out in code; I read each one and post it to Guild by hand. The next few go through the whole chain while I count how often I have to step in.
- Then a decision: whether a plan may seal itself. Guild already records, for every plan, whether it would have, without acting on it, so I'll have the numbers before I choose.
- Fixing what those runs hit, one cause at a time, and only what a run actually hit.
- Upkeep jobs when the Mac is idle: tests where coverage is thinnest, small refactors, security findings. Only after it has a track record, and with practice cases where the right answer is "change nothing".
- Other languages, starting with TypeScript.