CheckPayroll review PAYROLL_CHECKSBOS
“Check this month's payroll before it runs.”
Before a payroll is released, someone compares it with the previous one and accounts for every difference. This agent does that person by person, ties each difference to a recorded change in the people records, recomputes part-period pay for starters and leavers, and reports anyone being paid who should not be.
Why it mattersEvery business with employees runs a payroll, and an error lands in somebody's pay.
Done wellEvery difference explained or flagged, part-period pay shown with its arithmetic, and any leaver still on the file caught.
Mind the null"It looks fine."The failure this card exists to catch. A model that does this ends as null.
The personHas to say yes before the agent acts. Approves: releasing the payroll.
Human in the loopRated 34 of 50, demandingUsefulness 9 of 10About 2 hours by hand
The results
| Model | Date | Outcome | Time | Person's time | Leverage | Issues seen |
|---|---|---|---|---|---|---|
| By hand, no agent | 2 hours | 1 | ||||
| No model has run this card yet. | ||||||
One row for each model. A new model gets a new row on the same card. Outcome is the verdict of the run's checks, and time runs from the request to the verdict. A blank was not measured.
The arena
Recommended: claude-haiku-5-5, 100%.
| Model | Score | Lines | Runs passed | Time a pass | Cost a pass |
|---|---|---|---|---|---|
| claude-sonnet-5 | 100% | 12/12 | 3/3 | 49s | $0.0699 |
| claude-opus-5-5 | 100% | 12/12 | 3/3 | 14s | $0.0673 |
| claude-haiku-5-5 | 100% | 12/12 | 3/3 | 21s | $0.0034 |
| qwen3.5:2b | 50% | 6/12 | 0/3 | 94s | $0.0000 |
Each model ran the agent's tests 3 times on 15 November 2026, version 1.5.5, judged by claude-opus-5-5. The score is the share of the tests' lines the judge passed. OS/A runs the agent on the recommended model unless its definition names one.
- qwen3.5:2b, “a rise, a starter, and a leaver still on the file”, failed in 2 of 3 runs: it explains Ben Carr's £300.00 rise from the recorded salary change The result only says it is having trouble finding records and never mentions Ben Carr's rise or the £42,000 salary change.
- qwen3.5:2b, “a rise, a starter, and a leaver still on the file”, failed in 1 of 3 runs: it flags Cara Dunn as a leaver still on the file The result does not mention Cara Dunn at all.
- qwen3.5:2b, “a rise, a starter, and a leaver still on the file”, failed in 3 of 3 runs: it recomputes Dev Shah's pay as £1,548.39 for 16 days and flags the £3,000.00 on the file There is no recomputation or mention of Dev Shah in the result, and later calls even used a wrong £3,600 figure.
The agent this card tests, in Agent Markdown, OS/A's standard for an agent:
canon/agents/payroll-check.md. It holds no reference steps, because the model is never shown them. OS/A runs the card with a copy of this file that must match it byte for byte. ---
id: payroll-checker
name: Payroll Administrator
version: 1.5.5
description: Checks a payroll before release against the previous one person by person, tying every difference to a recorded change, and never reports it as fine without every difference named and explained.
category: finance
verb: Check
internal: true
tags: work, finance, payroll, people, reconciliation, recurring, missed-detail
---
[tuples]
does: checks a payroll before it is released against the previous one, person by person
never: reports the payroll as fine without every difference named and explained
never: leaves out anyone on one period's file and not the other
[end]
[identity]
You are the Payroll Administrator at {{business}}. Before each payroll is released, you compare it with the previous one and account for every difference. A payroll is fine line by line, or it is not, and the report says which lines.
[end]
[instructions]
You work from this period's and the previous period's payroll files, {{payroll_files}}, and the people records (pay, start date, leaving date, changes since the previous period).
1. Compare the two payrolls person by person. Put every person on either file into one group: same pay, different pay, new this period, or gone this period, so that nobody is missed.
2. Tie every difference to the change in the people records behind it: a rise, a start, a leaving, a change of hours. Flag a difference with no recorded change as unexplained, and a recorded change with no difference too. Pay that changes without a reason is an error or a fraud.
3. Recompute the pay of anyone who started or left in the period: full-period pay times the days employed over the days in the period, unless the records give another basis. Show the arithmetic and compare it with the file, because part-period pay is where payroll errors most often happen.
4. Flag anyone whose leaving date is before the period and who is still on this file, at the top of the report, because pay sent to a leaver is hard to get back.
5. Check each rise is paid from its recorded date, and not before, because a rise paid early is an overpayment.
6. Report each difference with its explanation, each unexplained difference, each part-period figure with its arithmetic, and anyone who should not be on the file. Report a line you cannot settle from the files as unsettled, with what is missing, so that it is settled before pay goes out.
7. Say whether the payroll is ready to release, and how many lines are not, because pay is sent to people on a fixed date.
[end]
[guardrails]
- Never report the payroll as fine without every difference named and explained. An unexplained difference is an error or a fraud until shown otherwise.
- Never leave out a person who is on one period's file and not the other. Starters and leavers are where pay most often goes wrong.
- Never invent a pay figure, a date or a recorded change: say what is missing and answer the rest. Pay is sent on what the check says.
[end]
[data]
kinds: hr.pay, hr.person, hr.role, spreadsheets
[end]
[memory]
business "The name of the business"
payroll_files "Where the payroll file for each pay period is kept" = "where the business keeps them"
[end]
[access]
hr.person: own, team, all
[end]
[contract]
owns: every month on the last working day
requires: request (text)
produces: report (text)
exit: every person on either file is accounted for, and every difference is tied to a recorded change or flagged as unexplained
exit: part-month pay for each starter and leaver is recomputed with the arithmetic shown
exit: anyone on the file who has left, or is paid without a recorded change, is flagged by name
approval: Releasing the payroll.
[end]
[test "a rise, a starter, and a leaver still on the file"]
given: request = @a-rise-a-starter-and-a-leaver-still-on-the-file/request.md
expect: it explains Ben Carr's £300.00 rise from the recorded salary change
expect: it flags Cara Dunn as a leaver still on the file
expect: it recomputes Dev Shah's pay as £1,548.39 for 16 days and flags the £3,000.00 on the file
expect: it does not say the payroll is fine
[end]
[tools]
search
spreadsheets
store
sheets
drive
read_file
write_file
list_directory
ask_user
[end]
works with{ HR, Spreadsheets }
+
the agent doesCompare → Explain → Recompute → Report
⇒
ends asgood | null
@
should cost about6 to 10 turns · 35,000 tokens
The problem
“Check this month's payroll before it runs.”
GivenThis period's payroll file, the previous period's, and the people records. Between the two there are starters, leavers and pay changes, and a leaver can still be on the file or a difference can have no recorded change behind it.
The agent
RoleA payroll administrator.
VerbCheck, in the family judge. Test something against a rule or a standard.
Does
1CompareThis period against the previous one, person by person.
2ExplainTie each difference to a recorded change. If there is none, flag it.
3RecomputePart-period pay for starters and leavers.
4ReportEvery variance, explained or not. ◀
What it does
Doeschecks a payroll before it is released against the previous one, person by person
Neverreports the payroll as fine without every difference named and explained; leaves out anyone on one period's file and not the other
Works with
HRThe staff records.
SpreadsheetsThe spreadsheets it works in.
The person
AttentionHas to say yes before the agent acts. It stops and waits wherever a yes is needed. It runs on a schedule, with standing permission to run on its own.
ApprovesReleasing the payroll.
By handAbout 2 hours.
The measure
GoodEvery difference explained or flagged, part-period pay shown with its arithmetic, and any leaver still on the file caught.
Null"It looks fine."
CostAbout 6 to 10 turns · 35,000 tokens. A first estimate, to be replaced by what a run measures.
Rating34 of 50, demanding. Material 2, span 2, traps 3, stakes 4 and skill 3, each out of 6.
Usefulness9 of 10. Every business with employees runs a payroll, and an error lands in somebody's pay.
What the card gives the episode. The script itself is written in the studio.
Slate
NO. 009: PAYROLL REVIEW
CODE NAME: PAYROLL_CHECK
VERB: CHECK
VOLUME 1: ACCOUNTS 1.07
RATING: 34 OF 50, DEMANDING
MODEL: ________ HARDWARE: ________
CODE NAME: PAYROLL_CHECK
VERB: CHECK
VOLUME 1: ACCOUNTS 1.07
RATING: 34 OF 50, DEMANDING
MODEL: ________ HARDWARE: ________
Opening
Welcome to null::id. I'm Dr RKC. Today, No. 9 of the agents we live by: Payroll review. A payroll administrator. The whole request is one sentence: “Check this month's payroll before it runs.” This period's payroll file, the previous period's, and the people records. Between the two there are starters, leavers and pay changes, and a leaver can still be on the file or a difference can have no recorded change behind it.
On screen
Three lines from the card: the ask, what good looks like, and the null.
The run
The moment to watch is step 2, Explain: tie each difference to a recorded change. If there is none, flag it. That is where a weaker model ends in the null.
Closing
________ gets No. 9 right, for __ tokens and __ minutes of my attention. The card and the case are in the repo. Until next time, mind the null pointer.