How it works
A machine that cannot be talked into anything.
Ship by Morning is a deterministic state machine that steers AI agents through eight phases in one night. The agents write the code. The machine decides what may happen.
In short: You suggest a small tool, and people vote. During the night AI agents build it while the machine keeps an eye on cost, tests and security. In the morning Mads checks the result, and the tool is free to use.
The rhythm
The times are for a Thursday. The clock follows you down through the night.
F0
Freeze
Mads shapes the task into a fixed schema: goal, risk class, requirements and prohibitions. No raw idea text goes further. He presses start. After that, no human touches the night until the preview and the veto link arrive at 06:30.
F1
Research
Three agents from three model families check whether the tool already exists, which licences apply and what makes sense in Denmark. They have no open network and only search through the models’ own web search.
F2
Spec, tests and design
One model writes the specification, another is the red team. The acceptance tests are written by a model that does not build, and they are locked with a hash. Three style tiles compete, and a judge from a fourth family chooses.
F3
Build
Three builders build the same thing in separate sandboxes: Claude Code, Codex CLI and OpenCode with an open model. Every hand-in is built and tested by a deterministic gate.
F4
Select
Only candidates with every T0 requirement green can win. Then judges from families other than the author score the code and the screenshots.
F5
Review and fix
At least two reviewers from other families go through correctness, security, spec and abuse. There is one round of fixes and a delta review afterwards. An open P1 finding stops the release.
F6
Gates
Secret, vulnerability, licence and accessibility scanners. Code freeze at 05:00.
F7
Release
Preview and a smoke test against live. At 06:30 Mads gets a preview and a veto link. Without a veto, the tool goes live at 08:00.
The isolation
The secrets and the agents are never in the same place.
Sandboxes
- start from a fixed snapshot without keys
- only have a virtual key with a small cap
- cannot push code
- hand in a git bundle
Send bundles to the orchestrator.
The orchestrator
- deterministic code, no model with keys
- checks every patch: locked tests, workflows and install scripts are rejected
- the only way to the models goes through a gateway with caps
- pushes with a token that only reaches Ship by Morning's repos
Sends signed numbers out to the panel.
The panel
- only accepts HMAC-signed events
- cannot call into the factory
- only shows fixed texts, never model text
- strict CSP without inline scripts
The orchestrator fetches the veto flag from here.
Roles and models
Model names and prices are locked per night and listed in every report.
- Anthropic
- spec, architecture, judge and security review. Builder A in Claude Code. Summaries for the panel.
- OpenAI
- builder B in Codex CLI, red team on the specification and review of spec conformance.
- Google via OpenRouter
- long-context research and the acceptance tests. Does not build. UX and accessibility review from screenshots.
- Open model via OpenRouter
- builder C in OpenCode and maintainability review.
Two rules keep the tournament fair: no reviewer or judge assesses code from their own family, and when a builder hits a rate limit it waits instead of switching model.
The cap
DKK 5,000
A night may cost at most DKK 5,000. The gateway stops everything at DKK 4,250. The difference covers calls in flight and delays in the providers’ numbers.
The cap is enforced in four places: a budget for the whole night in the gateway, prepaid balances at the providers without top-up, an independent watchdog that reads the providers’ own numbers every 5 minutes, and a cap per agent.
| Spend | What happens |
|---|---|
| 50% (DKK 2,125) | Warning in Discord and on the panel. |
| 70% (DKK 2,975) | No new builders. Cheaper models outside the judge, spec and security roles. |
| 85% (DKK 3,610) | Soft stop: only fixes, tests, gates and deploy. |
| 100% (DKK 4,250) | The gateway rejects everything. The latest green build can still be released. |
Pricing method and exchange rate
Every call is logged with tokens split into uncached input, cache reads, cache writes, output, reasoning and web search. The price is computed with a time-versioned price file, where each price has a source and a date it applies from. When OpenRouter reports the price of a call itself, their number wins.
Kroner are computed with the Danish central bank’s rate, locked for the night and shown in the report. At 10:00 the next morning everything is reconciled with the providers’ own cost reports. Servers are shown as a fixed monthly cost and do not count toward the night’s cap.
What the human does
The human is Mads Holst Jensen, who runs Ship by Morning at Mahoje. Every minute he spends is to be counted and listed in the report. The trial nights do not measure the minutes yet.
- Shapes the task in the evening into a fixed schema and presses start.
- Looks at the preview at 06:30 and can veto until 08:00.
- Gives two numbers from 1 to 5 in the morning: does the tool solve the task, and would he show it to a client.
- Can withdraw a report. It is logged and shown.
Gates
Every phase has a gate that is as deterministic as possible. Only class A tools, static sites without a server, cookies or calls to foreign domains, go live automatically. Class B and C are delivered as code you can run yourself.
- No secrets in the code (two scanners, 0 findings).
- No high or critical vulnerabilities, and only MIT, Apache-2.0, BSD and ISC licences.
- No serious accessibility findings.
- No open P1 findings and at most three open P2 findings, which become public issues.
- The smoke test against live must be green twice in a row.
Questions
Are the numbers real?
Yes, on a real night. Tokens and prices are measured in the gateway for every call and reconciled at 10:00 with the providers’ own numbers. If they differ by more than 3%, the explanation is in the report. Synthetic nights are clearly marked.
What is a trial night on a subscription?
The dress rehearsals run on Mads’ subscriptions instead of API keys. The factory still measures tokens and converts them to API prices with the same price file. The cap becomes a shadow cap: the panel shows when a real night would have stopped and what had been reached. Public ideas never run on a subscription.
Why does the scorecard have no overall score?
Because one number hides too much. The scorecard shows each thing on its own: whether the tool went live, how many requirements were delivered, what the tests and the review found, the cost and how many minutes a human spent. The tournament does have an overall score, because the judges must pick one winner. The weights are on the tournament page.
Can a model cheat the review?
We have tried to prevent it. Judges see the code without comments, nobody judges code from their own family, and text in the code aimed at AI reviewers automatically gives a P1 finding. A judge can never lift a candidate over a red gate.
Why is no text from the models shown?
All text on the panel is fixed templates filled in with numbers and fixed values. Review findings are shown with a category and a title from a fixed list. That makes it impossible to plant content on the site through an agent.
What about personal data?
Only what is needed: if you want to vote or suggest an idea, you sign in with your email, and we store the email, your vote and your ideas until 31 January 2027. The sign-in cookie is the only cookie. The statistics (Umami) are cookie-free and store no personal data. The rest of the panel needs no sign-in. See the privacy policy.
How do I suggest an idea?
Under Vote. Sign in with your email and suggest a small tool. Mads reads the idea before it joins the vote. The idea with the most votes is built the night after voting closes.
What does the tool cost me?
Nothing. The tools are free to use, and the code is public.
What happens if the night fails?
Then it says so here. The site shows how far the factory got, with a partial repo, a retro and numbers. The numbers are never dressed up.
All code is public under Apache-2.0: the factory and the panel. See the archive.