Keep approval rules keyed on amount and reversibility. A synthetic test shows a 0.9 confidence gate letting 13 wrong refunds through; confidence may only add review.
The tempting shortcut
Most organisations that add an agent to a workflow already have approval rules. At Belgavi's Book Store a refund above 50.00 needs a person, and so does any card refund, because money that leaves for a card cannot be recalled. Store credit under the limit goes through on its own. Those rules were written about effects: how much, how reversible, for whom.
When an agent starts proposing the refunds, a new input appears. The model can report a confidence, either as a number it writes or as a score derived from its output. It is tempting to use it: auto-approve proposals above 0.9, send the rest to a person. The review queue shrinks and the agent seems to handle the easy cases. This guide argues that the existing effect rules must stay in charge, shows with a synthetic example what happens when confidence replaces them, and describes the narrow, measurable conditions under which confidence may ever reduce review.
What stays deterministic
The approval decision is a policy, and policies belong in code that someone can read and test:
- the effect thresholds: amount, reversibility, customer history, and how many similar actions this customer has received this month;
- the mapping from proposal to approver, including separation of duties;
- the record of who approved what, bound to the exact proposal.
The model proposes the refund and may explain it. It does not decide whether the proposal needs a person. A score the model produces about its own output is a claim, and a claim from the component being supervised cannot be what removes the supervision.
Why self-reported confidence fails as a gate
Three properties make raw confidence a poor gate. It is not calibrated by default: a stated 0.95 does not mean 95 of 100 such proposals are correct. It is not about the effect: a confident proposal to refund 110.00 to a card is still a 110.00 irreversible action. And it moves when the model, the prompt or the input mix changes, so a threshold tuned in October may not mean the same thing in November.
A synthetic example
The companion example generates 600 refund proposals with a fixed seed. Each has an amount between 5 and 120, a reversibility flag, the confidence the model stated, and whether a reviewer later judged the proposal correct. The generator is deliberately built so that stated confidence is higher than accuracy, and a quarter of cases are hard ones, such as partial damage or repeat claims, where proposals are wrong more often. The numbers illustrate the method. They are not a measurement of any model.
The first 300 proposals are used to check calibration:
| Stated confidence | Proposals | Mean stated | Observed correct | Wilson 95% lower bound |
|---|---|---|---|---|
| 0.6 to 0.7 | 6 | 0.640 | 0.833 | 0.436 |
| 0.7 to 0.8 | 10 | 0.775 | 0.800 | 0.490 |
| 0.8 to 0.9 | 84 | 0.877 | 0.869 | 0.781 |
| 0.9 and above | 200 | 0.946 | 0.905 | 0.856 |
The top bucket, where a 0.9 gate would auto-approve, claims 0.946 and delivers 0.905. Four policies were then compared on the other 300 proposals, which contain 19 wrong ones:
| Policy | Human reviews | Wrong proposals executed without review | Their total amount | Wrong proposals caught |
|---|---|---|---|---|
| Existing effect rules | 223 | 2 | 50.70 | 17 |
| Confidence of 0.9 or more auto-approves | 96 | 13 | 810.53 | 6 |
| Effect rules, and low confidence adds a review | 248 | 1 | 10.20 | 18 |
| Effect rules, calibrated relief for small store credit | 300 | 0 | 0.00 | 19 |
The confidence gate cuts reviews from 223 to 96 and lets 13 wrong refunds through, worth 810.53. Twelve of the 13 were card refunds or amounts above 50.00, proposals the effect rules would have sent to a person. The effect rules let 2 small wrong store credits through, which is the risk the business accepted when it wrote the limit.
Confidence is useful in the third row, where it can only add reviews. A low-confidence proposal that the effect rules would have passed gets a person, which caught one more wrong proposal for 25 extra reviews. That direction is safe by construction: a wrong confidence value costs reviewer time, never an unreviewed effect.
The fourth row is the honest test of whether confidence can relieve review at all. The policy allows a small, reversible proposal to skip review only if its confidence bucket's calibrated accuracy has a Wilson lower bound of at least 0.97. No bucket qualified, so every proposal went to a person. That is the right answer for this data. A lower bound matters here: even 100 correct out of 100 gives a lower bound of only 0.963, so a team needs well over a hundred labelled, correct proposals in a bucket before the data can support skipping a reviewer at that target.
The decision rule, in code
def needs_person(p, calib):
if p.amount > LIMIT_AUTO or not p.reversible: # existing effect rules: never relaxed
return True
if p.confidence < 0.9: # confidence may add review
return True
bucket = calib.get(bucket_of(p.confidence))
return not (bucket and bucket.wilson_lower >= TARGET) # relief only with evidenceThe order is the design. Effect rules come first and return early. Confidence appears only below them, and the relief branch needs calibration data that the team collected and labelled.
Failure modes
Calibration on the wrong population. A bucket measured on last quarter's easy cases says nothing about a new product line. Recalibrate whenever the model, the prompt, the tool set or the case mix changes, and keep the labelled set separate from the cases used to tune the prompt.
Labels from the same model. If the correctness labels come from another model call, the calibration measures agreement between models, not correctness. Use reviewer decisions.
Thresholds that drift upward quietly. A threshold lowered from 0.95 to 0.9 to reduce the queue is an approval policy change. Put the threshold under the same change control as the 50.00 limit.
Split refunds. An agent that proposes three 18.00 credits instead of one 54.00 refund passes a per-action limit. Aggregate by customer and by case over a window, which is again an effect rule.
Reviewers who stop reading. If reviewers approve nearly everything, the queue is protecting nothing. Sample approved items for a second review and track how often reviewers change a proposal.
Migration steps
- Write the current approval rules down as a function and test it against last month's decisions before the agent exists in the flow.
- Introduce the agent as a proposer only. Every proposal goes through the same function, with no confidence input.
- Log the model's stated confidence alongside each reviewer decision for several weeks. Do not use it yet.
- Build the calibration table from those labels, per model and prompt version, with lower bounds.
- Allow confidence to add review where it helps. Consider relief only for reversible, low-amount effects, only where the lower bound clears a target the business agreed, and re-check it on a schedule.
When an agent is unnecessary
If most refunds follow three or four standard reasons with fixed amounts, a rules engine can propose them, and the effect rules approve them, with no model involved. An agent helps when cases arrive as free text that must be read before anyone knows which rule applies. Even then, the agent handles the reading, and the approval policy is unchanged.
Verification
The companion tests check that no policy built on the effect rules ever skips a review those rules require, that the top bucket is overconfident in the generated data, and the Wilson bound values used above. For a real deployment, replay a month of labelled proposals through the routing function and report the same four columns before changing anything in production.