Antifailure documentation
Antifailure gives a branch its own environment: a masked copy of your production database, your services built and running, and a network that reaches nothing you did not name. Agents drive your real workflows against it and return verdicts with evidence. Then it is destroyed, and the destruction is proved rather than assumed.
Everything here runs on your own machine first. The hosted pieces are optional and come later.
Install it
Section titled “Install it”curl -fsSL https://antifailure.dev/install.sh | shaf init # reads your repo, writes antifailure.yamlaf golden refresh # only if the manifest names a production database: set # that variable first, and this makes the masked copy onceaf up # database branch from the golden, built services, sealed networkaf test # agents run your workflows and return verdicts with evidenceaf down # every resource it created, goneaf start reports each of those as observed on this machine and names the
next one, so it is the command to run when you are unsure where you are.
The installer puts af under ~/.antifailure and puts that on your PATH by
appending one line to the startup file your login shell reads, printing the line
and naming the file. Quickstart has the
detail, including how to decline it.
The ideas the rest depends on
Section titled “The ideas the rest depends on”These pages carry the guarantees. Everything else is a consequence of them.
Look something up
Section titled “Look something up”If you arrived from an error message, the code in it has its own page. The error reference lists every code the engine can return, what causes it, and what to do next.
Three of the four reference pages are checked against the thing they document, so they cannot drift: the command reference against the command tree, the error reference against the catalogue, and the transform reference against the registry. A build gate fails if any of those stops matching.
The manifest reference is written by hand and no
gate compares it to schemas/manifest.v1.json. The generated rendering of the
schema is the manifest schema page, and
that is the one to trust where the two disagree.
The rest of the documentation is in the sidebar: guides for a stack or a task, database providers, security, self-hosting, and the enterprise edition.
Hand it to an agent
Section titled “Hand it to an agent”Every page on this site is available as plain text, and the whole of it is one file.
https://antifailure.dev/docs/llms-full.txt
The index, for a crawler
What this product is and where each part of the site lives, in the
llms.txt convention.
https://antifailure.dev/llms.txt
One page on its own works the same way: add .md to any documentation address,
or use the copy control in the bar at the top of every page. The address of this
page as Markdown is /docs/index.md.