About Clavus

For want of a nail the shoe was lost. For want of a shoe the horse was lost. For want of a horse the rider was lost. For want of a rider the battle was lost. For want of a battle the kingdom was lost—and all for the want of a horseshoe nail.

Most software does not fall apart because of one catastrophic architectural decision. It unravels because a single small piece—something you already solved, tested, and stopped thinking about—quietly came loose while you were busy building the next thing.

With AI coding agents, that chain reaction happens in minutes instead of months.

You spend an afternoon getting a billing formula, an authentication check, or a parser right. You verify it. The next day you ask Cursor or Claude Code to add a new feature, and while tidying up nearby code it alters a rounding helper, softens a failing assertion to make tests go green, or edits a shared utility imported across six modules. One unguarded slip turns into a broken build, three confused retry loops, and an hour spent untangling work that was already finished.


Why "Clavus" and "EighthNail"

Clavus is Latin for nail—the pin that holds a joint fast—and also for the tiller of a ship, the piece that keeps a vessel on its heading.

EighthNail takes its name from the old proverb—for want of a nail, the shoe was lost… and for want of a battle, the kingdom was lost. English folklore ties the chain to a king’s horse failing in the mud of battle for want of a secure horseshoe; Shakespeare later fixed the image in the culture with “A horse! A horse! My kingdom for a horse!” The name is a reminder that reliability is rarely glamorous. It comes from driving in the small, load-bearing pieces everything else depends on—before you move on.


The Intention Behind Clavus

Clavus is not an anti-AI tool, and it is not meant to bury fast builders in enterprise ceremony.

Coding agents are genuinely brilliant at momentum—exploring ideas, scaffolding new features, and refactoring open code at a pace that would have felt impossible a few years ago. The problem is that everything stays equally soft. Nothing hardens as you go, so every ambitious prompt carries the risk of erasing yesterday's ground.

Prompt rules (CLAUDE.md, .cursor/rules, comments begging the model not to touch a file) help for a while, right up until a long session fills the context window and the agent drifts past them. Cloud review bots run too late, upload your repository off your machine, and use another probabilistic model to guess what changed.

Clavus was built to put a real mechanical ratchet directly inside your editor:

  • Move fast where code is still fluid. You do not lock an entire repository. Keep active sprint files completely open so your agent can work at full speed.
  • Drive a nail into what works. The moment a critical function, file, or test suite is verified, freeze it at the syntax-tree level and pair it with its Proof Check so it cannot quietly regress or be gamed.
  • Keep the vault transparent. Protected code stays 100% readable. If a locked function genuinely turns out to be the bug, Clavus prevents blind workarounds in callers and directs the agent to hand you an Unlock Proposal with evidence so you decide whether to unlock, fix, and re-lock.
  • Keep ownership local. No cloud account, no source code leaving your machine, no extra LLM calls, and no hostage locks. Your protection manifest sits in plain JSON inside your own Git history.

Independent & In the Open

Clavus is built independently under EighthNail for solo founders, weekend makers, and developers working daily in Cursor, VS Code, and Claude Code. It is actively used to guard its own codebase while new features are built around it.

We are currently running the v0.1.0-beta.1 field test. If Clavus catches a real regression—or gets in your way—let us know: