Docs

Floodwall documentation.

From your first guarded change to the rules language, the SDKs and the HTTP API: what you need to put Floodwall between your agents and production.

Floodwall is a control plane for changes made by agents. An agent never touches production directly: before each change it submits an intent, a description of the change, and Floodwall decides whether it runs now, waits for a person, or is refused. The agent applies an admitted change itself and reports how it went, so the next change to that resource can start. Every step is written to a tamper-evident ledger.

It exists because agents write changes faster than people can review them. One reconciliation loop can emit thousands of changes an hour. Floodwall governs that throughput instead of reviewing each change: it admits changes at a sustainable rate, runs them in an order that limits how much they can break at once, checks each against policy, keeps a human in the loop for the ones that need one, and keeps a record you can check later.

The model#

flood of intents to dry ground
  flood of intents
       |
  [ Admission ]   per-agent rate limit + bounded priority queue (backpressure)
       |
  [ Scheduler ]   only what may run now: wide changes alone, narrow ones in parallel by resource
       |
  [   Gate    ]   deny-overrides stack of policies + conflict check
       |   \
       |    [ Hold ]   deferred intents wait for a human to release or expire them
       |
  [  Ledger   ]   hash-chained record of every verdict and outcome
       |
  dry ground (production)
StageWhat it does
IntentAn agent describes the change it wants: what, how urgent, how much it can break.
AdmissionA per-agent rate limit and a bounded priority queue. A runaway loop can't starve the fleet.
SchedulerOnly what may run now: wide changes alone, narrow ones in parallel by resource.
GateEvery policy rules on the intent. Deny-overrides: one reject blocks it.
HoldA deferred intent waits for a person to release or expire it.
LedgerEvery arrival, verdict, release and outcome, hash-chained and checkpointed.

Each intent gets one of three verdicts: admit (go ahead), defer (not yet: a person decides) or reject (no). A deferred intent is not lost: it waits in the hold queue until someone releases it, which waives its deferrals, or expires it. Concepts covers each stage in detail.

Two ways to run it#

AspectFloodwall CloudThe crate
What it isHosted planes at api.floodwall.ai, with the console at floodwall.ai/appAn MIT-licensed Rust library with no dependencies
Agents call itOver HTTPS, with an API key, from the TypeScript or Python client or curlIn process: Floodwall::submit, tick and complete
RulesWritten in the console, in the rules languageThe same rules language, or policies written in Rust
LedgerKept for you, for your plan's retention; export it any timeYours: in memory or in a file you choose
ApprovalsThe console, email alerts and Slack buttonsWhatever you wire up: Floodwall::release and expire

Floodwall Cloud runs the same crate, compiled to WebAssembly, one instance per plane. Rules, verdicts and ledgers behave the same either way, and the same verifier checks either ledger.

Where to go next#

The source, the README and the roadmap are on GitHub.