# The approval log won’t tell your agent why experts say no

> Five questions about one hard case yield a rule card, four test cases and a clear line where the agent must stop.

Original: https://fdetimes.net/en/guides/hard-case-interviews-expert-rules-agents/

When Ramp built an agent to approve expenses, it ran into a problem in its data: finance teams often approve spending that is reasonable but not strictly within policy. An agent that always treats their actions as the right answer can become too lenient.

Tax AI, from OpenAI and Thrive Holdings, faced a similar problem with edits. A number that a tax professional changes before filing may have been extracted wrongly. The change may also reflect personal preference, or a value carried over from the previous year's return.

Logs record what experts did but often leave out why. The FDE has to recover that reasoning, because the agent will need it for the next case. The fastest way is to sit down with the expert, open a hard case that really happened and ask the right questions.

## Generic questions return the generic process

Ask "What rules do you use to approve these?" and you will usually get back what is already documented. Hamel Husain, who writes extensively about evaluating LLM systems, notes that experts may not be able to articulate all their expectations up front. Those expectations surface as they judge specific outputs.

Decision research already has tools for this. The Critical Decision Method uses cognitive probes in semi-structured interviews to learn how experts form decision strategies. The website Commoncog presents a much easier option, Applied Cognitive Task Analysis (ACTA), which consists of four techniques.

Two ideas from ACTA's Knowledge Audit suit agent work well. After examples, cues and strategies, the interviewer asks where less experienced people tend to go wrong. The interviewer also asks about anomalies, since novices do not yet know what normal looks like and struggle to spot what is off.

From these ideas you can build a set of five questions, each leading to a part of the agent:

| Question | What you are looking for | Where it goes |
|---|---|---|
| What made you stop? | Cues | Data fields, tools |
| What does normal look like? | Baseline | Context, history queries |
| What would a novice do, and where would they go wrong? | Likely mistakes | Test cases |
| Which detail, if changed, would change your conclusion? | Boundaries, exceptions | Contrast case pairs |
| What would have to be missing for you not to decide? | Stopping point | Human handoff flow |

## An invoice that matches every field is still held

Take a hypothetical agent that checks freight invoices against a contract price of VND4 million per trip. Invoice A covers 3 trips for VND12 million; invoice B covers 4 trips for VND16 million; both have been paid. Invoice C lists 7 trips for VND28 million: right unit price, right supplier, within the limit.

The agent proposes paying C, but the chief accountant holds it. Her note in the system is a single word: "check". The interview might go like this.

**FDE:** When you open invoice C, what is the first thing you notice?

**Chief accountant:** The date. This supplier sends one a week, and this one came only three days after the last.

**FDE:** How would someone new to the job handle it?

**Chief accountant:** Multiply 7 by 4 million, see that it's right and pay. They wouldn't add up the previous two: 12 plus 16 is exactly 28.

**FDE:** If the total were still VND28 million, what detail would make you pay right away?

**Chief accountant:** Seven new delivery slips. A matching total only makes me suspicious. Matching slips mean we've been billed twice.

**FDE:** And if the list of slips is missing?

**Chief accountant:** I don't pay, and I don't conclude they're wrong either. Call and ask; don't email.

Look at the third question. Until then, the rule seemed to be "hold if the total equals the two previous invoices combined". Asking about a changed detail separated the cue that raised her suspicion from the evidence needed to reach a conclusion.

## Change one detail to see if the rule breaks

Write a rule card straight after the meeting. Keep personal preference separate on the card: calling instead of emailing is how she is used to working, which is not enough reason to fail an agent.

```yaml
rule: duplicate_trip_billing
source: interview with chief accountant, invoice C
cues:
  - invoice arrives earlier than the usual cycle
  - total equals the sum of recent invoices
evidence: delivery slip IDs already appear on a paid invoice
decision:
  any_slip_already_paid: hold
  all_slips_new: propose_pay
  slips_missing: route_to_human
preference: call the supplier, do not email
owner: chief accountant
```

Now build four cases. Case 1 is invoice C with slips that have already been paid; the verdict is hold. Case 2 is also VND28 million, but all seven slips are new; the verdict is propose payment.

Case 3 has 5 trips for VND20 million, with two slips already paid; the verdict is hold. Case 4 is still VND28 million but the list of slips is missing; the verdict is route to a human.

Run the draft rule, "hold if the totals match". It gets case 1 right, wrongly holds case 2, misses case 3 and holds case 4 when it should route it to a human. It scores 1 out of 4, despite fitting the original invoice perfectly. These four cases test the rule's boundary; they do not tell you its accuracy across all invoices.

The card also shows what must be settled before anyone edits a prompt: can the agent read delivery slip IDs? If it cannot, the first job on site is to connect that data source.

**Key point:** The boundary of a rule becomes visible when the expert tells you what would change their mind.

## How much belongs in the prompt?

Comparing slip IDs belongs in code, because it is a matching operation. Parts that need judgment, such as recognizing an invoice that is off cycle, can stay in the prompt. Anthropic advises making system prompts specific enough to guide behavior but flexible enough to give the model strong heuristics, avoiding both brittle hardcoded logic and vague instructions.

So do not paste whole interviews into the prompt. Anthropic does not recommend cramming in a long list of edge cases, and suggests choosing a diverse set of canonical examples instead. For the invoices above, cases 1 and 2 can serve as examples; cases 3 and 4 should be held back for testing.

Husain also advises pairing each pass or fail verdict with a critique detailed enough to serve as a few-shot example for an LLM judge. "Wrong, should hold" is not usable. A good critique reads: "Fail: the agent compared the total and unit price but did not check slip IDs, so it proposed paying for trips already settled."

## One person settles it, another tests it

Husain and Shreya Shankar argue that for most small and medium-sized companies, appointing a single expert as the decision-maker on quality is the most effective approach.

Anthropic, meanwhile, sets a standard for a good test: two experts grading independently should reach the same verdict. You can use both ideas. The first person settles the rule; the second grades the cases to check whether the rule is clear.

If they disagree, review the wording before adjusting the model. Ramp's lesson was that where an ambiguous passage of policy trips up an LLM, people are likely to be confused too. And when the evidence itself remains ambiguous, follow Tax AI: send the case back to the product team rather than forcing the agent to answer.

## Mistakes that ruin the interview

A common mistake is leading the witness. "You held it because the amounts matched, right?" easily earns a nod, and you leave with a rule that scores 1 out of 4. Ask what she noticed, then stay quiet and wait.

The next mistake is stopping at "it's just experience". When you hear that, reopen the file, point to each field and ask whether the expert would make the same decision with that field hidden. Another is drawing a rule from a single case and putting it straight into use; find a second real case that looks identical but has the opposite conclusion.

Finally, do not leave a rule card without an owner. Before you leave the room, read the card back to the expert, ask for corrections and find out who has the authority to change it later.

## Turn the exercise into career evidence

You can practice this skill within your own team, with the incident responder on call or your best code reviewer. Choose a decision you guessed wrong, spend 45 minutes on the five questions, then build four cases that differ only in the deciding detail.

In job postings, look for phrases such as "customer discovery", "domain experts" or "evals". On your résumé, replace "gathered requirements" with a line about real output: the number of cases you interviewed on, rules the expert signed off, test cases built and errors they caught. Include only numbers you have measured.

In the example above, the one-word note "check" concealed an entire reconciliation rule. Your customer's logs probably hold a few short lines like it.

**Try this week:**

- Choose a decision by a skilled colleague that you could not have predicted, ask all five questions in 45 minutes, then write one rule card and four test cases.
- Hide the verdicts and give the four cases to a second expert to grade independently; wherever the two disagree, revise the card.

## Sources

- [Critical Decision Method](https://digital.ahrq.gov/health-it-tools-and-resources/evaluation-resources/workflow-assessment-health-it-toolkit/all-workflow-tools/critical-decision-method)

- [An Easier Method for Extracting Tacit Knowledge](https://commoncog.com/an-easier-method-for-extracting-tacit-knowledge/)

- [Using LLM-as-a-Judge For Evaluation (Hamel Husain)](https://hamel.dev/blog/posts/llm-judge/)

- [AI Evals: Everything You Need to Know](https://hamel.dev/blog/posts/evals-faq/)

- [Effective context engineering for AI agents](https://anthropic.com/engineering/effective-context-engineering-for-ai-agents)

- [Demystifying evals for AI agents](https://anthropic.com/engineering/demystifying-evals-for-ai-agents)

- [How To Build Agents Users Can Trust](https://engineering.ramp.com/post/how-to-build-agents-users-can-trust)

- [Building self-improving tax agents with Codex](https://openai.com/index/building-self-improving-tax-agents-with-codex/)
