Cynthia Wandia
All writing

Agents. 5 minute read, 26 Nov 2026.

Models advise. Rules decide.

When a payment cannot be reversed, an ordered table of rules that a person can read should decide it. The model's output enters as advice.

Second Voice is an assistant I am building for the inside of a banking app. It opens a short conversation before a payment leaves, aimed at the safe-account scam, where the caller stays on the line and tells the victim what to say to their bank. The action is irreversible and the money is someone else's. So the first design question was who decides.

My answer is an ordered table of eight rules. Three of the five stages call a model, and none of the three decides anything. This is version 0.1 with no published results, so what follows covers how the decision is built and what the tests assert.

Two of the five stages never call a model

Stage one scores what the bank can observe without asking the payer anything: a call in progress, a first payment to a new account, the amount against history, the name check, remote access software. It is a list of weighted conditions and a sum. No model runs there, so it cannot be talked out of its conclusion.

Stage two is triage. A model names the scam type the pattern resembles. The only change it can make to caution is one step upward. Stage three is the conversation, a model working from a playbook, capped at six messages. Stage four is the coaching detector, a model that reads the conversation beside the bank's observations and reports what it noticed.

Stage five is the policy engine: the rule table and a short loop that walks it. It is the only place in the engine where a payment is decided. Like stage one, it calls no model.

The order is the policy

The table is read top to bottom and the first match wins. Every outcome carries a case note for the fraud analyst and the id and text of the rule that fired, so each decision has one reason, written as a sentence a person can read.

Rules with no order need something else to settle the cases where two match, and whatever settles them is the policy. In an ordered table the precedence is on the page. The four rules that hold a payment for review sit above the two that only delay it.

The payer asking to stop comes first

R1 reads: "The payer asked to stop the payment in their own words." Its outcome is cancelled by payer, and it sits above every other rule.

The conversation exists to give someone under pressure a moment to reach their own conclusion. A payer who says stop has reached it. If a lower rule answered first, that person could be told the bank is holding their payment for review. One test stacks remote access, a disclosure, high caution and a contradiction onto a payment where the payer has asked to stop, and asserts that R1 still answers.

In version 0.1 that request reaches the table as a flag. The simulated payer in the harness declares it, and the demo bank has a cancel button. Reading intent from a payer's words is still to be built.

A contradiction can be checked against the record

The coaching detector returns two lists. A contradiction is an answer that conflicts with something the bank observed: the payer says they are alone while the handset reports a call in progress. An indicator is an answer that sounds supplied: it arrived very fast, or the wording felt scripted.

R5 fires when the contradictions list has anything in it, and its case note repeats each entry, so an analyst can check it against the transcript and the logged signals. A model still wrote that entry, and the rule takes it unverified.

Indicators appear in no rule condition. The detector also returns a confidence figure and a verdict on whether the payer was coached, and no rule reads either one.

The detector's confidence holds nothing

One test carries the argument:

  const out = decide(
    input({
      signalCaution: "low",
      caution: "low",
      coaching: {
        coached: true,
        confidence: 0.95,
        contradictions: [],
        indicators: ["answer arrived very fast", "wording felt scripted"],
      },
    }),
  );
  assert.equal(out.decision, "release");

Coached is true, confidence is 0.95, two indicators are present, the contradictions list is empty and caution is low. The test asserts that the payment is released.

Models do reach the decision, through three doors. The contradictions list feeds R5. A triage reading of bank or police impersonation counts in R4 only at 0.6 confidence or more, with a new payee, and only when the signals alone already put caution at elevated or higher. And triage can raise caution one step, which can carry a payment from elevated to high and into the 24 hour delay of R6. The raise cannot open R4, because R4 reads the level the signals set. A second test hands the table a triage model that is certain and has raised caution, on a payment where the only observation is a new payee, and asserts a release.

What this costs

The table is coarse. A model that has read the whole conversation may sense something that fits no rule. That impression stays in the case file and changes no outcome. Any payment that matches no row above the release line goes out, whatever the detector felt. Observations can go missing too: the test set includes a scam where the caller had the victim hang up first, so no call is in progress.

Nothing a model concludes can lower caution or clear a payment that a rule has matched. The test set has a legitimate car purchase made on the phone to the seller, with a name mismatch. Its signals alone score as high caution, and R6 reads: "Caution is high, whatever the conversation produced." The best outcome the table has for that buyer is a delay, however well the conversation went.

And rules go stale. Every new pattern needs a person to write a row, argue about where it belongs in the order, and add a test.

I accept all three because I have built products that supervisors examined. In that setting a decision about a customer's money has to be explained from the record. The engine returns a case file holding every input the table saw, so the decision can be recomputed from that file. A supervisor can read that R5 fired because the payer said she was alone while the handset logged a call, and agree or disagree. A confidence figure gives that reader nothing to check.

The results table in the repository stays blank until a run is published with every transcript. The rule table is eight rows, and the order is the part I most want argued with.