Getting started

How DOPA works

The six steps behind every change, and how you stay in control.

Whatever DOPA is doing, from a restart to a rollback, it follows the same six steps. The steps are always the same, so you always know what happens next.

  1. 1

    Notice

    Health checks, logs and alerts show that something is wrong, or a routine job is due.
  2. 2

    Plan

    DOPA writes down the exact change it wants to make, why, and how to undo it.
  3. 3

    Ask

    Your policy decides: the change runs on its own, waits for a person, or is not allowed at all.
  4. 4

    Act

    Once approved, the change runs exactly as planned. A different change needs a new approval.
  5. 5

    Check

    DOPA checks health again afterwards. If things got worse, it undoes the change and tells you.
  6. 6

    Record

    Every step is saved to the history, with who approved it and what happened.

Your policy

A policy is a short list of rules, per project and per environment. Each rule says what DOPA may do on its own, what needs a person and what is never allowed. Nothing is allowed until a rule allows it.

Your policyExample
  • Restart a service

    Staging · Proven safe many times in a row

    Auto-approved
  • Roll back a release

    Production · Production needs a person by default

    Needs a person
  • Apply infrastructure changes

    Any · High risk: never automatic

    Needs a person
  • Restore a database

    Production · Not allowed by your policy

    Blocked
One failure takes an auto-approval away again. One switch stops all changes at once.

Auto-approval

A routine action, like restarting a service in staging, can be approved automatically once it has worked many times in a row and you confirm it. A single failure takes that auto-approval away again. High-risk changes, like applying infrastructure or restoring a database, can never run on their own, and production needs a person by default.

Approvals

An approval request shows what DOPA wants to do, why, the risk, and how to undo it. You can approve or decline it. An approval covers that one change only: it can't be reused for something else, and it runs out if nobody acts on it.

Stopping everything

One switch pauses all changes at once. DOPA keeps watching and reporting, but changes nothing until you switch it back.

Status

This approval flow is built and tested in simulation. It has not yet run on live systems; the docs will say when it has.