Skip to content
Sefra

Pillar: operations

The operator console

A web application for the people around the gateway. It shows everything that went through Sefra and lets an operator do in a browser what the sefra CLI and the operator API already do.

Read the console guide

What goes wrong without it

  • An auditor and an operator on call would each need the command line to look at one execution.
  • An auditor asked about one action would have to read raw events to find who approved it, and under which rule.

How it works

The console is a second client of the operator API, next to the CLI. A write from the console goes through the same handler as the API call and writes the same audit event, with the channel console added. There is no action that only the console can take.

Who uses it

Operator on call
What is stuck and why, the three intervention calls, the kill switches.
Approver
Exactly what will run, and a way to decide it.
Auditor, internal control
The full record of an execution, who approved under which rules, the service's own chain check, the command for the independent one, an export.
Platform engineer, policy author
What is active, what a candidate changes, which recorded decisions it would have decided differently.
Owner of the agent programme
Volumes, outcomes, where agents are refused, how long approvals take.

The eleven screens

Operations

  • Overview

    Whether anything is wrong, and what needs a person.

  • Activity

    Every execution, newest first, and each one's full record.

  • Refusals

    What agents asked for and did not get, by rule, agent and code.

  • Approvals

    The approvals you may decide, nearest expiry first, and every approval's history.

  • Interventions

    Executions waiting for an operator, oldest first, with why each is there.

Record

  • Audit

    The whole trail, the chain's status, and an export you can verify.

  • Insights

    Volumes, outcomes, refusals and time to approval, over a chosen period.

Configuration

  • Policy

    Stored bundles, their intents, a comparison of two, and replay of a candidate.

  • Principals

    Agents and people as Sefra has seen them, and who may do what.

  • Connectors

    Each system of record in the active bundle, and its steps by outcome.

  • System

    Health, kill switches, notifications and the effective configuration.

Four things you can do here or from the command line

Each write needs a sign-in from the last hour and is recorded with the channel console.

Decide or cancel a held execution
Approve or deny on the approval page, which is rendered by the server and runs no script. Cancel while it is pending. A requirement with min_evidence: oidc can be decided only on that page, not from the command line.
Work an intervention
Settle a step whose outcome is unknown, retry a failed compensation, or resolve with a note.
Use the kill switches
Pause everything, disable an intent or suspend a principal. A pause also fails each running plan at its next forward step, and completed steps are undone. Each asks for a note and a confirmation.
Activate a stored bundle
An admin activates a stored digest with a note, and activating an earlier digest is the roll-back. Executions already accepted finish under the bundle they started with. The command line activates from a directory, uploading it first.

Who sees what

Roles come from your identity provider's claims. The server enforces them on every route.

RoleMay
sefra_viewerRead executions, steps, audit events, chain status, approvals, controls, bundles, principals, insights and system status. No payload bodies and no approval summaries.
sefra_auditorEverything a viewer may, plus redacted payload bodies, approval summaries and audit export.
sefra_operatorEverything an auditor may, plus cancel, the three intervention calls and the kill switches.
sefra_adminEverything an operator may, plus activating a stored bundle.
an approval's roleThe approvals that name it: list, open and decide. With no other role, the console shows the approvals section only.

What it does not do

  • It does not edit or upload intents, policies, grants or limits. They are written in git and delivered as bundles. An admin may activate a bundle that is already stored.
  • It keeps no users, passwords or role assignments. People sign in at your identity provider, and their roles come from its claims.
  • It adds nothing to a decision path. Its writes are the operator API's existing calls, and validation, policy, approval matching, retries and compensation do not know it exists.
  • It shows the redacted audit copy of inputs and outputs, where a sensitive field appears as its keyed hash. The one exception is the approval detail, for a person eligible to decide it.
  • It reads no business state. It shows what Sefra observed and did.
  • It is optional, and off unless configured.

How it behaves

Automated tests cover each of these behaviours.

  • People sign in through your identity provider and see what the operator API returns for the same query.
  • Every route answers according to the caller's role. A write without its CSRF token, from another origin or from an old sign-in is refused and changes nothing.
  • Denying an approval, retrying an undo, closing an intervention and disabling an intent end in the same statuses and audit events as through the CLI.
  • Every console response carries a content security policy, and the application requests no origin but Sefra's and your identity provider's.
  • No route returns a connector secret, a bearer token or the clear value of a sensitive field, except the approval detail to a person eligible to decide it.
  • Every screen passes an automated accessibility check with no serious or critical violation.

Start with a pilot

Stopping an agent is the easy half. Sefra also finishes the job.