Operating Inside the Guardrails: Scaling Governance with AI and Deterministic Policy

By Eric Xu Lin

TL;DR: During the periods measured, our access workflow auto-approved 34% of related-account access requests in seconds, and policy approved 100% of credit requests submitted through the new credit workflow. The credit workflow fills in the amount and asset from the transaction record, so specialists no longer have to enter them by hand. That means fewer repetitive checks and fewer chances for data-entry mistakes. AI summarizes context for reviewers, while checks against account records decide eligibility. Requests that need judgment still go to a human.

Coinbase Logo

The problem

Coinbase's internal console is where customer support, compliance, and risk specialists resolve cases: granting access, issuing credits, and handling account reviews. Mistakes are costly, and the volume is high. As volume grew, more of that work went to confirming facts our systems already record.

Coinbase Engineering recently described how we centralized authorization, audit, and approvals across our internal tools, the governed platform this work runs on. That post ended at "the foundation for automation." This post covers what we built on top of it: AI working inside those guardrails.

Two examples show the pattern. A specialist working a case often needs access to a related account, and a customer whose deposit failed may need a credit. In both cases, the facts that decide the request (the account link, the failed transaction) are already in our systems, yet a person had to look them up and confirm them by hand.

Manual review keeps a person on every decision. At high volume, it also means customers wait longer and reviewers spend more of their day on repetitive confirmations and less on the cases that need them.

In a sample week (January 11–17, 2026), specialists spent roughly two minutes submitting each access request. Each request then needed a manager’s review. Much of this work involves routine checks, such as confirming that two accounts are related or that a failed transaction matches the internal ledger. Automating these checks can free time for coaching, audits, and cases that need human judgment. This led us to build a shared system that other teams can reuse for their own review workflows.

The thesis: let policy confirm what the system already knows

The goal here is narrow: move confirmations the system can verify to policy, and give reviewers better context for the cases that need judgment.

Much of operational review is an operator confirming data the system already holds. We call these deterministic tasks: workflows where the answer can be checked against system records without interpretation.

  • Deterministic task (transaction verification): A user requests a credit for a failed deposit. The ledger already shows the transaction failed and no funds were credited. Previously, the specialist looked up the transaction ID, verified the failure state, and approved the credit by hand.

  • Deterministic task (related-account access): Case assignment already grants a specialist time-boxed access to the customers on their case. When the case also involves a related account, the specialist requests access to it. The system can verify that relationship from existing records; previously, a manager confirmed it by hand.

  • Judgment task (contextual reasoning): An employee requests to apply restriction updates across several accounts, providing a written justification. Evaluating whether that specific business need warrants the risk requires contextual human reasoning.

We sort each workflow with one test:

  1. Deterministic data and a reviewer who only confirms → policy can confirm it: remove the manual field and automate.

  2. Judgment required → keep the human, but hand them a scored, auditable signal instead of a blank form.

Figure 1: The verification test

verification test chart

What we shipped

We automated routine checks in two workflows: access approvals and credit requests.

For access requests, the scope is related accounts, which fall outside the automatic, time-boxed access that case assignment already grants. The system checks how the two accounts are linked in existing records and auto-approves requests that pass every policy check. From July 29 to October 26, 2026, it auto-approved 34% of related-account access requests, each within seconds. Manually approved requests took a median of about two minutes, and one in ten took more than nine minutes. Cases that need judgment go to a human reviewer with the checks and relevant context attached. Authorization, audit logging, time-boxed expiry, and the propose-then-commit approval flow are unchanged, and requests that don't meet policy still need human approval.

For eligible credit requests, the system fills in the amount and asset from the transaction record, removing manual entry. Eligible requests are approved by policy inside the same approval and audit flow, in place of a second person, because the ledger already confirms the failed deposit, which was that person's check. Between May 18 and October 26, 2026, 100% of credit requests submitted through the workflow were approved by policy without a separate human approval, with a median recorded review time under one second. That measures the review stage, not the customer’s full resolution time.

We measure completed requests and turnaround time separately from staff-hours saved, because approval wait time is not the same as active review work. Teams can reuse the platform for additional workflows where existing integrations provide the required data.

The architecture

Both launches follow one rule: AI informs, policy enforces. A language model is good at turning unstructured context, such as a justification or a case note, into a structured signal. It should not make the binding decision on whether to grant access or move funds.

Keeping the model out of the final decision also limits the damage when something fails:

  • Handling model hallucinations and bad extractions: Auto-approval eligibility comes only from deterministic checks against system records, such as account relationships and ledger state. The model's output is a recommendation shown to reviewers and is not an input to the auto-approval rule. A wrong output can mislead a reviewer, which is why the underlying checks are shown alongside it, but it cannot approve a request.

  • Managing latency, timeouts, and retries: Model calls are slower and less predictable than database lookups. We use a durable workflow engine backed by message queues to run evaluations asynchronously, so the user-facing request doesn't wait on the model. If a model call is slow or times out, the workflow engine retries with exponential backoff without dropping the review event.

Safe fail-closed defaults: If a dependency permanently times out or required data is missing, the request does not auto-approve. It is routed to a human operator with the full evaluation trace attached.

srch test 1

Figure 2: The decision pipeline. Deterministic checks and policy make the decision. The AI context goes only to the human reviewer and cannot approve a request. A failed check or missing data sends the request to a person.

This split has two benefits. Reviewers can see why a request was flagged, instead of getting an unexplained score. And because the rules are short and deterministic, risk and compliance owners can read and review them directly. Other teams can reuse the same setup.

What a signal and a rule look like. The signals and rule below are illustrative examples, not production signals or values. Deterministic checks produce pass/fail fields that the policy reads. The AI adds context for the reviewer, which the policy does not read:

signal chart 1

Example rule (illustrative; not production fields or logic)

code example 1

When every deterministic check passes, the policy auto-approves; otherwise, it routes to a human, who sees the AI recommendation alongside the checks. Every decision is logged for audit.

How we found where to automate

We started with operational signals: operator feedback about extra approval steps and more than twenty review action types spread across internal tools. We didn't yet have telemetry detailed enough to show which approval steps relied on data the system could verify.

We mapped out each action type, recording what specialists did, where requests stalled in queues, and where identical manual steps repeated across tickets. With that baseline, we could see which steps confirmed a data point the system already held and which required risk judgment.

From there, our deployment pattern followed three phases:

  • Phase 1 (Instrumentation): Measure baseline volumes, queue latency, and reviewer behavior across each of the 20+ review actions to identify deterministic candidates.

  • Phase 2 (Shadow evaluation): We ran the policy and the model in shadow mode on live traffic. They produced decisions and scores in the background while people kept making every binding decision. This let us check their behavior on real traffic and adjust the rules and prompts before anything was automated.

  • Phase 3 (Calibrated automation): Only after the shadow run did we remove the manual field and turn the rule on, behind a kill switch that sends every request back to manual review.

Automation came last after the measurements supported it.

How we measure it

We remove a manual step only when the data supports it. Every decision, shadow or live, is logged with the signals that fired, the policy outcome, and the inputs behind it.

We track these numbers before and after a workflow automates:

  • Auto-approval rate: how much volume policy could clear on its own.

  • Agreement with reviewers: how often the policy matches what reviewers decide. We are adding this as we capture reviewer outcomes. In the meantime, every automated approval is recorded with the policy and inputs that produced it.

  • Fallback rate: how often requests fail a check or lack data and go to a person.

  • Drift monitoring: we track auto-approval and decision rates over time and are adding sampled reviews of automated approvals.

These numbers decide where the human line sits in each domain.

Five principles

We follow five rules about where AI can touch a decision:

  1. AI informs, policy enforces. The model adds context; deterministic policy makes the decision. A bad model output can produce a wrong recommendation, but only checks against account records can approve a request.

  2. Shadow before live. New workflows run in shadow first, scoring and recommending without acting, so we can check their behavior on real traffic before any decision is automated.

  3. Draw the human line per domain. Deciding where that line sits was the hardest design question, and the answer changes as the data improves. Low-risk actions can be fully automated. Higher-risk actions keep a person until the data can settle the question without judgment.

  4. Start with the deterministic case. The first automation in any domain is the one with no judgment in it: a credit that matches a recorded failed transaction, or access to an account the records show is linked. These ship first and build the trust needed for harder, model-assisted cases.

  5. Keep the policy readable. If only engineers can read a rule, the people who own the risk can't check it. Short deterministic rules let risk owners review the policy themselves.

How we expand it

5 principles 1

Figure 3: One platform, several workflows.

Access approvals and credit requests are live on a shared backend. Additional review workflows are queued to use it next. Each new flow needs configuration and a policy. Customer self-resolution is a longer-term option where the rules allow it.

For tasks with clear rules, the policy can enforce the outcome directly and skip the review. Where judgment matters, AI can do the prep work so operators spend their time on the details that need a human decision. We also use that work to identify checks we can retire altogether, such as asking a reviewer to confirm information the system already holds.




Recent stories