cd /news/ai-agents/the-spec-just-became-the-only-thing-… · home › topics › ai-agents › article
[ARTICLE · art-164982] src=fromtheterminal.substack.com ↗ pub= topic=ai-agents verified=true sentiment=· neutral

The Spec Just Became the Only Thing You Own

A new Rust web framework, rustoffrails.org, enforces as its founding rule that all code — Rust, SQL, HTML, CSS, TypeScript and Dockerfiles — is written by an AI agent, with humans supplying only intent through specs, interviews and feedback. The framework ships precise specifications rather than libraries, rendering components like the job queue, sessions layer and Inertia adapter into application code the user owns, prioritizing consistency over perfection. A companion argument holds that cheap code generation does not make abstractions cheap, since rewrites still carry verification costs and ecosystem-dependent behavior that tests may not catch.

key takeaway

The framework's founding rule is that agents write every line of Rust, SQL, HTML, CSS and TypeScript, so humans maintain a conventions spec instead of code — trading dependency upgrades and CVE feeds for regeneration from an updated spec.

read6 min views20 publishedOct 22, 2026
The Spec Just Became the Only Thing You Own
Image: Fromtheterminal (auto-discovered)

Three projects this week took the same premise — a machine writes the code — and reached wildly different conclusions about what humans hold onto instead.

1. A Web Framework Shipped This Week Whose First Rule Is That You Never Write Code #

The clearest statement of the new position is a Rust web stack whose founding rule is that all code is written by AI. Every line of Rust, SQL, HTML, CSS and TypeScript, every Dockerfile: written by an agent. Humans write intent — specs in a product directory, answers in an interview, feedback in conversation — and never code. The second rule follows from the first: where a conventional framework would ship a library, this one ships a precise spec, and the job queue, sessions layer and Inertia adapter get rendered into your application as code you own.

Look at what that inverts. A framework has always existed to save human typing, measured in lines you didn't have to write. Here the value is the opposite: crate choice, file layout, naming, errors and test structure are decided once so the agent never debates the ORM. The stated enemy is inconsistency, not imperfection — a precise diagnosis, because machine-written code is cheap to produce and expensive to read, and the only thing keeping a large agent-built codebase reviewable is that every part of it looks like every other part.

The uncomfortable part is the ownership claim. Code you own is also bugs you own, with no upgrade path, no shared maintenance and no CVE feed. The bet is that regenerating from an updated spec beats upgrading a dependency — untested at the five-year mark, which is where frameworks earn their keep.

Why it matters:

  • For ICs: The highest-leverage artifact in an agent-heavy repo is the conventions document. If yours lives in someone's head, your agent output is inconsistent by construction.
  • For leaders: Strong defaults are now a throughput feature. Every decision you leave open is a decision an agent makes differently in each pull request.
  • For founders: Vendoring generated infrastructure trades a dependency you don't control for maintenance you do. Price that before calling it a simplification.
  • The broader pattern: when generation gets cheap, constraint becomes the scarce resource.

2. Cheap Code Does Not Make Abstractions Cheap #

The opposite conclusion, argued just as carefully: if an LLM writes everything, why not rewrite it all in Rust? Because frameworks were never primarily about typing speed. They provide structure, security updates, free performance improvements and a predictable shape that makes a project navigable — and everything that made a human more productive makes a model more productive, for the same reasons.

The sharper argument is about where behavior actually lives. Much of what your application does is not your business logic — it is the framework, the libraries, the runtime. A rewrite that is computationally equivalent and passes the same tests can still behave differently, because the ecosystem underneath made different decisions under different constraints. Some of your bugs are load-bearing; users built workflows on them. The cost of a rewrite never was the typing. It was the verification, and that bill is unchanged. Asking the model to make the current system faster carries far less behavioral risk than asking it to make it Rust.

There is a second-order point worth stealing. Language choice is now partly an agent ergonomics decision: instant re and a usable REPL matter because agents demonstrably use them to diagnose problems, and fast compiles shorten the agent's feedback loop. Readability beats writability when nobody is doing much writing. That reasoning lands on boring, fast-iterating, easy-to-read stacks — and ends where every architecture decision ends, with a human who has to explain it.

Why it matters:

  • For ICs: Before any agent-driven migration, ask which current behaviors are specified and which are emergent. The emergent ones are the whole project.
  • For leaders: "The model can rewrite it" is a claim about code volume, not risk. Your constraint is test coverage and user tolerance, and neither got cheaper this year.
  • For founders: Choose your stack on how well agents read and iterate in it. Compile time is now a development loop metric.

3. If the Spec Is the Source, Something Has to Check the Spec #

Both positions depend on specs being right, which is where an experiment in having models write and prove a language's formal semantics gets interesting. The bottleneck in verified software has moved: proving things is getting easier, stating the right thing to prove is not. So models wrote a formal semantics for a small language in Lean, the real interpreter — 1,855 lines of C — was compiled to RISC-V, and the proof obligation was that the semantics predicts exactly what that binary prints for every possible program. The interpreter is ground truth. When a rule is wrong, the proof gets stuck.

The finding that should travel: a semantics can pass every test and still be wrong. An early version passed the entire generated test suite, then disagreed with the binary once a function name hit 59 characters, because the real implementation cuts names at 63 bytes. Closing the proof forced more corrections of the same flavor — integer arithmetic wrapping at 64 bits, a for loop ignoring an abrupt status because the C does, built-ins rendering differently in print than in concatenation — and caught false claims the models had made about the C library, including a realloc property that breaks on sizes that wrap. Each is the kind of detail a confident model asserts and a test suite never contradicts.

That is the lesson for people who will never open Lean. Model-written specifications fail where your tests don't look, and the fix is not more tests but an independent oracle — an existing implementation, a differential run, something that disagrees with you mechanically. The approach is now scaling to Lua and OCaml, with CPython as the stated north star. The closing line is the one to keep: once the semantics is trusted, it is the language.

Why it matters:

  • For ICs: If your agent writes both the spec and the tests, check them against something that isn't your agent. Agreement between two of its own outputs tells you nothing.
  • For leaders: Differential testing against the current system is the cheapest verification you are not doing, and the only one that scales to machine-written volume.
  • For founders: Verification tooling aimed at agent output is a category forming right now, and it sells to the teams shipping fastest.

The Verdict: Real or Hype? #

Framework design aimed at agents rather than typists → Real. Constraint and consistency are what make machine-written code reviewable, whatever you think of this particular stack. Rewriting your platform because code got cheap → Hype. The typing was never the expensive part, and the verification bill arrives in full. Model-written, machine-checked semantics for real languages → Real but early. The method is sound and the result is solid, but a toy language is a long way from CPython.

── more in #ai-agents 4 stories · sorted by recency
── more on @rustoffrails.org 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/the-spec-just-became…] indexed:0 read:6min 2026-10-22 · —