Antifailure
What it is
Section titled “What it is”An environment is a masked branch of your production database, your services built and running, and a network that reaches nothing except the hosts you named. Agents drive your real workflows against it and return verdicts with evidence. Then it is destroyed, and the destruction is proved rather than assumed.
curl -fsSL https://antifailure.dev/install.sh | shaf init # reads your repo, writes antifailure.yamlaf up # masked database branch, built services, sealed networkaf test # agents run your workflows and return verdicts with evidenceaf down # every resource it created, goneWhere to start
Section titled “Where to start”If you have not run it yet, read Quickstart. It goes from an empty machine to a working environment, and says what each command actually did.
If you arrived from an error message, the code in that message has its own page. The error reference lists every code the engine can return, what causes it, and what to do next.
If you are deciding whether this fits your stack, read goldens and masking first. They are the two ideas the rest depends on, and they are where the guarantees live.
The parts
Section titled “The parts”| Read this | To understand |
|---|---|
| Goldens | How a masked copy of production is built once and branched cheaply |
| Masking | How identifiers are replaced, deterministically, and how that is verified |
| Verification | Why an unverified golden cannot be branched |
| Egress | What an environment can reach, and the mode each host is given |
| Agents | How workflows written as sentences become a run with evidence |
| The journal | How a killed engine reconciles instead of leaking |
Reference
Section titled “Reference”Every reference page is generated from the thing it documents, so it cannot drift: the command reference from the command tree, the manifest reference from the schema, the error reference from the catalogue, and the transform reference from the registry. A build gate fails if any of them stops matching.