Inspector
- Its job
- stop on defects
- Its number
- losses and repeat errors caught
What it watches
These are the rule codes it owns.
recount_disagreesmeasure_changedvoid_outliercount_not_checkedshrinkrecount_missing
What it may do
Its default permission level is drafts. It may propose these kinds of action. A person approves every money move.
file_task
Today on the practice business
As of 2026-11-13, on Practice Co 2, a made-up business. Actions filed today: 2.
void_outlierR.B.R.B.: voids and refunds of CAD 147.68, 3.4% of the CAD 4,334.44 sold by R.B. in the last 28 days; everyone else 0.4%
shrinkFloor degreaser 4 LFloor degreaser 4 L: count of 2026-11-08 was 4 units short of the book (CAD 49.60 at cost)
Playground
Pick an event from the real world. Each one was staged on the made-up business and the result was recorded. This is a recording, not a live run, and nothing you do here reaches any books.
All held: 12 of 12 scenarios held.
12 scenarios
HELDRaises an alarminspector-stock-count-five-short
The event
The Wednesday count of the garbage bags on 2026-11-11 finds 50 on the shelf while the books say 55. Five boxes that were bought and never sold are the signature of loss between the door and the till.
What it did
- Inspector raised shrink (Garbage bags 35x50 black): its text includes Garbage bags 35x50 black: count of 2026-11-11 was 5 units short of the book (CAD 139.00 at cost)
- changed ok People and continuity coordinator|one_person_task has "Only M.L. did counting stock from 2026-10-15 to 2026-11-11: 4 stock counts, nobody else once"
What changed on the morning page
- added Inspector|shrink|Garbage bags 35x50 black: Garbage bags 35x50 black: count of 2026-11-11 was 5 units short of the book (CAD 139.00 at cost)
- changed People and continuity coordinator|one_person_task|Only M.L. did counting stock from 2026-10-15 to 2026-11-11: Only M.L. did counting stock from 2026-10-15 to 2026-11-11: 3 stock counts, nobody else once -> Only M.L. did counting stock from 2026-10-15 to 2026-11-11: 4 stock counts, nobody else once
The figure, worked by hand
5 units short, CAD 139.00
Book on hand of SKU-1006 on 2026-11-11 = 55 (purchases less sales since the start). Counted 50: 50 - 55 = -5 units. Landed cost 27.80 (purchase of 2026-11-09): 5 x 27.80 = 139.00. M.L. also did the other 3 stock counts of the 28 days, so "Only M.L. did counting stock" now counts 4 counts.
HELDRaises an alarminspector-closing-count-done-alone
The event
On 2026-11-11 the drawer is recounted at closing by M.L. alone, with nobody to check it, and the figure is exactly the book. Even a count that comes out right should be seen by two people, or the next one could be wrong with nobody to notice.
What it did
- Inspector raised count_not_checked (M.L.): its text includes M.L. counted the cash alone on 2026-11-11
What changed on the morning page
- added Inspector|count_not_checked|M.L.: M.L. counted the cash alone on 2026-11-11
The figure, worked by hand
M.L. counted the cash alone on 2026-11-11
The injected count names counted-by M.L. and no checkedBy, so the night has no second person; the figure 15,115.22 equals the expected drawer (gap 0), so no cash gap is added. Other nights keep their two names.
HELDRaises an alarminspector-clerk-voids-jump
The event
The clerk A.D. voids a box of garbage bags after payment on 2026-11-10 and another on 2026-11-11, CAD 88.96 in all, from sales of CAD 2,829.51 in four weeks. The void log is where a till that skims shows first.
What it did
- Inspector raised void_outlier (A.D.): its text includes A.D.: voids and refunds of CAD 88.96, 3.1% of the CAD 2,829.51 sold by A.D. in the last 28 days; everyone else 0.7%
- changed ok Inspector|void_outlier|R.B. has "R.B.: voids and refunds of CAD 147.68" "everyone else 0.5%"
What changed on the morning page
- added Inspector|void_outlier|A.D.: A.D.: voids and refunds of CAD 88.96, 3.1% of the CAD 2,829.51 sold by A.D. in the last 28 days; everyone else 0.7%
- changed Inspector|void_outlier|R.B.: R.B.: voids and refunds of CAD 147.68, 3.2% of the CAD 4,658.52 sold by R.B. in the last 28 days; everyone else 0.3% -> R.B.: voids and refunds of CAD 147.68, 3.2% of the CAD 4,658.52 sold by R.B. in the last 28 days; everyone else 0.5%
The figure, worked by hand
CAD 88.96, 3.1% against 0.7%
A.D. sold 2,829.51 in 2026-10-15..11-11 and voided 2 x 44.48 = 88.96: 88.96 / 2,829.51 = 3.14% = 3.1%, above 2%. Everyone else (J.P. 134.40 of 38,408.40, R.B. 147.68 of 4,658.52): 282.08 / 43,066.92 = 0.655% = 0.7%; 3.14% is more than twice that. R.B.'s own line now has A.D. in "everyone else": (134.40 + 88.96) / (38,408.40 + 2,829.51) = 0.54% = 0.5%.
HELDRaises an alarminspector-threshold-loosened-quietly
The event
The owner edits the shop file and lowers the cash alarm from 14 days to 7 days, so the morning stops warning about thin cash. A measure changed without anyone approving it is how a bank hides a risk from itself.
What it did
- Inspector raised measure_changed: its text includes a measure changed without approval: threshold lowCashDays: approved 14, now 7
What changed on the morning page
- added Inspector|measure_changed|a measure changed without approval: a measure changed without approval: threshold lowCashDays: approved 14, now 7
The figure, worked by hand
lowCashDays approved 14, now 7
The approved measures hold the default thresholds (lowCashDays 14, from rules.js DEFAULTS). The shop file now says 7: one difference, threshold lowCashDays, approved 14, now 7. Days of cash today (14.6) is above both limits, so no cash alarm moves.
HELDStays quietinspector-till-void-of-one-item
The event
A customer changes their mind about one hand soap after paying, and the cashier J.P. voids it, CAD 7.60 on a day of sales of thousands. One void in a month is how every till works.
What it did
It stayed quiet: the morning page did not change.
The figure, worked by hand
nothing changes
J.P. voids total 134.40 + 7.60 = 142.00 of 38,408.40 sold = 0.37%, below the 2% floor, so no finding. R.B.'s line keeps "everyone else": (142.00 + 0) / 41,237.91 = 0.344% = 0.3%, as before (0.326% = 0.3%).
A pair at the edge of a limit
The limit: a cash count in the last 7 nights with no second person is a finding. Value: 7 nights (the night of the as-of date and the 6 before it).
HELDJust over the limitinspector-alone-count-inside-the-seven-nights
The event
On the night of 2026-11-05 M.L. recounted the drawer alone after closing and wrote that count in the book, to the same figure as the first count. Six nights later nobody else has seen that count, and the owner should know a count in the last week stands on one person.
What it did
- Inspector raised count_not_checked (M.L.): its text includes M.L. counted the cash alone on 2026-11-05
What changed on the morning page
- added Inspector|count_not_checked|M.L.: M.L. counted the cash alone on 2026-11-05
The figure, worked by hand
M.L. counted the cash alone on 2026-11-05
The seven nights ending 2026-11-11 are 2026-11-05 to 2026-11-11 (as-of date and the 6 nights before it). The night of 2026-11-05 holds two count lines; the last one in the file is the injected one: counted 13,866.80, by M.L., no checkedBy, so no second person. Every other night of the window keeps its two names (J.P. counted, M.L. checked). The figure 1,386,680 equals the night's first count, so the night's gap does not move and no cash gap is added. One date is listed: 2026-11-05.
HELDOne step underinspector-alone-count-one-night-outside-the-seven
The event
The same recount that M.L. made alone on the night of 2026-11-05 is now seven nights old on 2026-11-12. A real owner calls a week-old recount settled: the audit looks at the last seven nights only.
What it did
It stayed quiet: the morning page did not change.
The figure, worked by hand
nothing changes
The seven nights ending 2026-11-12 are 2026-11-06 to 2026-11-12. The injected count belongs to 2026-11-05, the 8th night back, outside the window, and it carries the same counted figure as the night's first count, so no later night's expected cash moves. No alone count lies in the window.
A pair at the edge of a limit
The limit: a stock count in the last 28 days that came up short is a shrink finding. Value: 28 days (the as-of date and the 27 days before it).
HELDJust over the limitinspector-short-count-on-the-first-day-of-the-28
The event
The garbage bags were counted on 2026-10-15, four weeks ago to the day on 2026-11-11, and the shelf held fewer boxes than the books. A count that old is still inside the month the Inspector reads, so the owner needs to hear about the missing boxes.
What it did
- Inspector raised shrink (Garbage bags 35x50 black): its text includes Garbage bags 35x50 black: count of 2026-10-15 was 5 units short of the book (CAD 139.00 at cost)
- changed ok People and continuity coordinator|one_person_task has "Only M.L. did counting stock from 2026-10-15 to 2026-11-11: 4 stock counts, nobody else once"
What changed on the morning page
- added Inspector|shrink|Garbage bags 35x50 black: Garbage bags 35x50 black: count of 2026-10-15 was 5 units short of the book (CAD 139.00 at cost)
- changed People and continuity coordinator|one_person_task|Only M.L. did counting stock from 2026-10-15 to 2026-11-11: Only M.L. did counting stock from 2026-10-15 to 2026-11-11: 3 stock counts, nobody else once -> Only M.L. did counting stock from 2026-10-15 to 2026-11-11: 4 stock counts, nobody else once
The figure, worked by hand
5 units short, CAD 139.00
The 28 days ending 2026-11-11 start 2026-10-15 (as-of - 27). Book of SKU-1006 at the end of 2026-10-15: purchases and sales to that day leave 65 on hand (71 at the end of 2026-10-14, less the 6 sold on 2026-10-15: 1 + 3 + 2). Counted 60: 60 - 65 = -5 units. Landed cost on 2026-10-15 is 27.80 (purchase of 2026-10-12): 5 x 27.80 = 139.00. The count is the 4th stock count by M.L. in the window (the 3 of 2026-11-08 and this one), nobody else, so the one-person-task text moves from 3 to 4 counts.
HELDOne step underinspector-short-count-the-day-before-the-28
The event
The garbage bags were counted short on 2026-10-14, the day before the four-week look-back begins. A real owner calls a count from a month ago old news: the audit reads the last 28 days, and the shelf has been reset to what was counted since.
What it did
It stayed quiet: the morning page did not change.
The figure, worked by hand
nothing changes
The 28 days ending 2026-11-11 start 2026-10-15, so a count dated 2026-10-14 is outside: no shrink is read from it (it would have been 71 - 60 = 11 units short on its day, but it is outside the window) and the stock-count task of the window (still 3 counts by M.L.) does not move.
A pair at the edge of a limit
The limit: a person's voids and refunds are counted over the last 28 days. Value: 28 days (the as-of date and the 27 days before it).
HELDJust over the limitinspector-void-on-the-first-day-of-the-28
The event
A.D. voided a CAD 60.00 box of garbage bags after payment on 2026-10-15, the oldest day the Inspector still reads on 2026-11-11. With only A.D.'s small sales behind it, that single void is above the 2% line, and the void log is where a till that skims shows first.
What it did
- Inspector raised void_outlier (A.D.): its text includes A.D.: voids and refunds of CAD 60.00, 2.1% of the CAD 2,829.51 sold by A.D. in the last 28 days; everyone else 0.7%
- changed ok Inspector|void_outlier has "R.B.: voids and refunds of CAD 147.68, 3.2% of the CAD 4,658.52 sold by R.B. in the last 28 days; everyone else 0.5%"
What changed on the morning page
- added Inspector|void_outlier|A.D.: A.D.: voids and refunds of CAD 60.00, 2.1% of the CAD 2,829.51 sold by A.D. in the last 28 days; everyone else 0.7%
- changed Inspector|void_outlier|R.B.: R.B.: voids and refunds of CAD 147.68, 3.2% of the CAD 4,658.52 sold by R.B. in the last 28 days; everyone else 0.3% -> R.B.: voids and refunds of CAD 147.68, 3.2% of the CAD 4,658.52 sold by R.B. in the last 28 days; everyone else 0.5%
The figure, worked by hand
CAD 60.00, 2.1% against 0.7%
The 28 days ending 2026-11-11 start 2026-10-15, so a void dated 2026-10-15 is inside. A.D. sold 2,829.51 in the window (282,951 centimes, 30 sale lines from 2026-09-10, those since 2026-10-15). The void is 6,000 centimes: 6,000 / 282,951 = 2.12% = 2.1%, at or above the 2% floor (5,659.02 centimes). Everyone else (J.P. 134.40 of 38,408.40 and R.B. 147.68 of 4,658.52): 282.08 / 43,066.92 = 28,208 / 4,306,692 = 0.655% = 0.7%; 2 x 0.655% = 1.31% is below 2.12%. R.B.'s own line now has A.D. among everyone else: (13,440 + 6,000) / (3,840,840 + 282,951) = 0.47% = 0.5%.
HELDOne step underinspector-void-the-day-before-the-28
The event
A.D. voided a CAD 60.00 box of garbage bags after payment on 2026-10-14, one day before the four-week look-back begins. A real owner calls a month-old void history, not today's till: the Inspector reads the last 28 days.
What it did
It stayed quiet: the morning page did not change.
The figure, worked by hand
nothing changes
A void dated 2026-10-14 is before the window start 2026-10-15, so A.D.'s voids in the window stay 0 and nobody's share, nor anyone's "everyone else" figure, moves.
HELDRaises an alarmCombined eventsinspector-count-short-august-year-end-and-wrong-balance
The event
The Wednesday count of the garbage bags finds 5 boxes missing, the owner changes the fiscal year end in the shop file to 31 August, and the bank export dropped in the inbox does not add up. A small business meets such days: a loss, a paperwork change and a broken statement, and each has its own owner of the problem.
What it did
- Inspector raised shrink (Garbage bags 35x50 black): its text includes Garbage bags 35x50 black: count of 2026-11-11 was 5 units short of the book (CAD 139.00 at cost)
- Compliance clerk raised deadline_not_covered (No entry of the table covers fiscalYearEnd "08-31" (it covers 12-31)): its text includes No entry of the table covers fiscalYearEnd \"08-31\" (it covers 12-31): those deadlines are not listed
- Bookkeeper raised statement_refused: its text includes synthetic-bank-A-business-chequing-nov11-2026.csv does not add up; the balance before it was 13523.80, plus 842.00 should give 14365.80, but the statement says 14265.80; none of account bank-a's lines were imported
- changed ok People and continuity coordinator|one_person_task has "Only M.L. did counting stock from 2026-10-15 to 2026-11-11: 4 stock counts, nobody else once"
What changed on the morning page
- added Bookkeeper|statement_refused|inbox/bank-a/synthetic-bank-A-business-chequing-nov11-2026.csv does not add up: inbox/bank-a/synthetic-bank-A-business-chequing-nov11-2026.csv does not add up: row 3: the balance before it was 13523.80, plus 842.00 should give 14365.80, but the statement says 14265.80; so none of account bank-a's lines were imported this morning
- added Inspector|shrink|Garbage bags 35x50 black: Garbage bags 35x50 black: count of 2026-11-11 was 5 units short of the book (CAD 139.00 at cost)
- added Compliance clerk|deadline_not_covered|No entry of the table covers fiscalYearEnd "08-31" (it covers 12-31): No entry of the table covers fiscalYearEnd "08-31" (it covers 12-31): those deadlines are not listed
- changed People and continuity coordinator|one_person_task|Only M.L. did counting stock from 2026-10-15 to 2026-11-11: Only M.L. did counting stock from 2026-10-15 to 2026-11-11: 3 stock counts, nobody else once -> Only M.L. did counting stock from 2026-10-15 to 2026-11-11: 4 stock counts, nobody else once
The figure, worked by hand
5 units short, CAD 139.00; fiscalYearEnd "08-31" (it covers 12-31); should give 14365.80, but the statement says 14265.80
Each event is worked on its own, as in its single scenario, and the events touch none of each other's figures. inspector-stock-count-five-short: Book on hand of SKU-1006 on 2026-11-11 = 55 (purchases less sales since the start). Counted 50: 50 - 55 = -5 units. Landed cost 27.80 (purchase of 2026-11-09): 5 x 27.80 = 139.00. M.L. also did the other 3 stock counts of the 28 days, so "Only M.L. did counting stock" now counts 4 counts. | compliance-clerk-year-end-changed-to-august: canada.json covers fiscalYearEnd ["12-31"]. The shop now says "08-31", which no entry of the table covers, so the Clerk names the gap in its fixed sentence; deadlines of other fields are unchanged. | bookkeeper-export-with-a-wrong-balance: bank-a closes 2026-11-10 at 12,023.80 (last line of the October-November statement). Line 1: 12,023.80 + 1,500.00 = 13,523.80, as the file says. Line 2: 13,523.80 + 842.00 = 14,365.80, but the file says 14,265.80: a break of 100.00, found inside the file, so the whole file is refused and none of its lines is imported.
How it was checked
Exam today: 10 of 10 cases passed. 0 failed and 0 wrong.
Scenarios: 12 of 12 held, 0 failed, 0 not run.
| Day | Exam passed | Of cases | Problems | Actions |
|---|---|---|---|---|
| 2026-11-12 | 9 | 9 | 2 | 2 |
| 2026-11-13 | 10 | 10 | 2 | 2 |
These counts show the software does what it says. They do not promise your results.