Controller
- Its job
- the numbers and the morning line
- Its number
- alarms acted on within a day
What it watches
These are the rule codes it owns.
below_break_evensupplier_cash_termsmoney_not_separateconcentration_customerconcentration_supplierconcentration_channel
What it may do
Its default permission level is approves. 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: 1.
concentration_supplierPapeterie NationalePapeterie Nationale: CAD 28,118.60 of CAD 82,613.65 purchases from 2026-08-15 to 2026-11-13 (34%)
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 alarmcontroller-owner-takes-cash-out
The event
The owner pays a personal bill of CAD 1,000.00 straight out of the business bank account on 2026-11-10. Money taken outside the fixed salary is how a small shop quietly loses its reserve.
What it did
- Controller raised money_not_separate: its text includes Owner took CAD 1,000.00 on 2026-11-10 outside the fixed salary
What changed on the morning page
- added Controller|money_not_separate|: Owner took CAD 1,000.00 on 2026-11-10 outside the fixed salary
The figure, worked by hand
CAD 1,000.00
One owner_draw of kind "other" for 100000 centimes = CAD 1,000.00 on 2026-11-10, inside the last 28 days and not the fixed salary. Days of cash stays above 14: 22,515.06 x 28 / (43,276.10 + 1,000.00) = 14.24.
HELDRaises an alarmcontroller-supplier-asks-cash
The event
The coffee roaster that always delivered on credit asks for payment on the spot with the delivery of 2026-11-10, and the owner pays CAD 342.00 from the bank. A supplier that stops giving credit is often the first sign that it no longer trusts the business.
What it did
- Controller raised supplier_cash_terms (Torréfaction Nord): its text includes Torréfaction Nord: cash terms from 2026-11-10; on credit until 2026-11-09
- changed ok Controller|concentration_supplier
What changed on the morning page
- added Controller|supplier_cash_terms|Torréfaction Nord: Torréfaction Nord: cash terms from 2026-11-10; on credit until 2026-11-09
- changed Controller|concentration_supplier|Papeterie Nationale: Papeterie Nationale: CAD 28,118.60 of CAD 82,057.50 purchases from 2026-08-15 to 2026-11-11 (34.3%) -> Papeterie Nationale: CAD 28,118.60 of CAD 82,399.50 purchases from 2026-08-15 to 2026-11-11 (34.1%)
The figure, worked by hand
cash from 2026-11-10, credit until 2026-11-09
Torréfaction Nord delivered on credit every Monday, the last credit delivery on or before 2026-11-11 being Monday 2026-11-09. The first cash delivery after it is the injected purchase of 2026-11-10 (terms cash).
HELDRaises an alarmcontroller-two-big-fixed-bills
The event
The yearly insurance premium of CAD 3,000.00 falls on 2026-11-03 and the first payment of an equipment lease, CAD 2,300.00, on 2026-11-10, two weeks in a row. Gross profit cannot cover the fixed costs of either week, and the cash buffer drops under two weeks.
What it did
- Controller raised below_break_even: its text includes Gross profit did not cover fixed costs in the weeks ending 2026-11-04 (0.96) and 2026-11-11 (0.93)
- Treasurer raised low_cash_days: its text includes 13.0 days of cash on 2026-11-11; CAD 22,515.06 on hand; CAD 1,734.86 average daily spending
What changed on the morning page
- added Treasurer|low_cash_days|: 13.0 days of cash on 2026-11-11: CAD 22,515.06 on hand against CAD 1,734.86 average daily spending (limit 14 days)
- added Controller|below_break_even|: Gross profit did not cover fixed costs in the weeks ending 2026-11-04 (0.96) and 2026-11-11 (0.93)
The figure, worked by hand
weeks ending 2026-11-04 (0.96) and 2026-11-11 (0.93); 13.0 days
Gross profit by README formula 2 (qty x (price - landed cost on the line date)): week 2026-10-29..11-04 = 4,262.31, week 2026-11-05..11-11 = 3,452.01. Fixed costs: week one 600 rent + 34 software + 800 salary + 3,000 insurance = 4,434.00, week two 600 rent + 800 salary + 2,300 lease = 3,700.00. Ratios 4,262.31 / 4,434.00 = 0.96 and 3,452.01 / 3,700.00 = 0.93, both below 1. Spending in the 28 days grows from 43,276.10 to 48,576.10 (+5,300.00); days of cash = 22,515.06 x 28 / 48,576.10 = 12.98 = 13.0; per day 48,576.10 / 28 = 1,734.86.
HELDStays quietcontroller-monthly-internet-bill
The event
The owner pays the monthly internet bill of CAD 89.95 from the bank, as every month. A small fixed bill that moves no ratio near its limit is a normal day of bookkeeping.
What it did
It stayed quiet: the morning page did not change.
The figure, worked by hand
nothing changes
Fixed costs of the week ending 2026-11-11 go from 1,400.00 to 1,489.95: ratio 3,452.01 / 1,489.95 = 2.32, far above 1. Spending 43,276.10 + 89.95 = 43,366.05 so days of cash = 22,515.06 x 28 / 43,366.05 = 14.54, above 14.
A pair at the edge of a limit
The limit: the owner took money outside the fixed salary in the last 28 days. Value: 28 days (the 28 days ending on asof, asof - 27 the oldest).
HELDJust over the limitcontroller-draw-on-the-twenty-eighth-day
The event
The owner takes CAD 1,000.00 out of the bank for the household on 2026-10-15, the 28th day back from the morning of 2026-11-11, and it is not the fixed salary. Money that leaves the business outside the salary in the last four weeks is what the Controller must tell.
What it did
- Controller raised money_not_separate: its text includes Owner took CAD 1,000.00 on 2026-10-15 outside the fixed salary
What changed on the morning page
- added Controller|money_not_separate|: Owner took CAD 1,000.00 on 2026-10-15 outside the fixed salary
The figure, worked by hand
CAD 1,000.00 on 2026-10-15
One owner_draw of kind "other" for 100000 centimes = CAD 1,000.00 dated 2026-10-15. The 28 days ending on 2026-11-11 run from 2026-11-11 - 27 = 2026-10-15 to 2026-11-11, so the draw is the oldest day inside. Spending of that window grows from 43,276.10 to 44,276.10 and days of cash stay at 22,515.06 x 28 / 44,276.10 = 14.24, above 14, so no cash alarm joins it.
HELDOne step undercontroller-draw-on-the-twenty-ninth-day
The event
The owner takes the same CAD 1,000.00 out of the bank on 2026-10-14, one day earlier, the 29th day back from the morning of 2026-11-11. A draw more than four weeks old is outside what the Controller reports.
What it did
It stayed quiet: the morning page did not change.
The figure, worked by hand
nothing changes
The draw is dated 2026-10-14, one day before the 28 days ending on 2026-11-11 begin (2026-10-15). It is outside the window for money_not_separate and outside the 28-day spending, so days of cash stay at 22,515.06 x 28 / 43,276.10 = 14.57 and nothing changes.
A pair at the edge of a limit
The limit: one supplier above a third of the quarter's purchases. Value: a third (1/3) of purchases.
HELDStays quietcontroller-fixed-costs-one-cent-over-gross-profit
The event
An annual insurance premium of CAD 2,828.32 is paid on 2026-11-02 and a lease payment of CAD 2,200.00 on 2026-11-08, and the owner puts CAD 2,500.00 in the wallet to keep the reserve. The week to 2026-11-04 is left one centime under its fixed costs. A shortfall under half a percent reads 1.00 and raises nothing, by design.
What it did
It stayed quiet: the morning page did not change.
The figure, worked by hand
nothing changes: the week to 2026-11-04 reads 1.00 (4,262.31 against 4,262.32, ratio 0.99999977)
Week 2026-10-29..11-04: gross profit 4,262.31; fixed costs 600 rent + 34 software + 800 salary = 1,434.00 + the premium 2,828.32 = 4,262.32. 4,262.31 / 4,262.32 = 0.99999977, which README formula 5 rounds to 2 decimals and stores as 1.00; 1.00 is not below 1. The week to 2026-11-11 is 3,452.01 / 3,600.00 = 0.96, but the week before it reads 1.00, so the rule (both weeks below 1) is not met and nothing is raised. Spending 43,276.10 + 2,828.32 + 2,200.00 = 48,304.42, cash 25,015.06: 14.5 days of cash.
A pair at the edge of a limit
The limit: the weekly ratio, gross profit divided by fixed costs rounded to 2 decimals, below 1 two weeks running. Value: a ratio of 0.995, the half-percent edge: a week short of its fixed costs by under half a percent reads 1.00.
HELDJust over the limitcontroller-fixed-costs-two-weeks-one-percent-short
The event
An annual insurance premium of CAD 2,871.36 is paid on 2026-11-02 and a lease payment of CAD 2,086.89 on 2026-11-08, and the owner puts CAD 2,500.00 in the wallet to keep the reserve. Each of the last two weeks earns about one percent less gross profit than its fixed costs, which the weekly ratio shows as 0.99.
What it did
- Controller raised below_break_even: its text includes Gross profit did not cover fixed costs in the weeks ending 2026-11-04 (0.99); 2026-11-11 (0.99)
What changed on the morning page
- added Controller|below_break_even|: Gross profit did not cover fixed costs in the weeks ending 2026-11-04 (0.99) and 2026-11-11 (0.99)
The figure, worked by hand
both weeks read 0.99 (week to 2026-11-04: 4,262.31 against 4,305.36; week to 2026-11-11: 3,452.01 against 3,486.89)
Week 2026-10-29..11-04: gross profit 4,262.31 (README formula 2); fixed costs 600 rent + 34 software + 800 salary = 1,434.00 + the premium 2,871.36 = 4,305.36; 4,262.31 / 4,305.36 = 0.99000, which rounds to 0.99, below 1. Week 2026-11-05..11-11: gross profit 3,452.01; fixed 600 + 800 = 1,400.00 + the lease 2,086.89 = 3,486.89; 3,452.01 / 3,486.89 = 0.98999, which rounds to 0.99, below 1. Both weeks are below, so below_break_even is raised. Cash: the wallet balance of 2,500.00 lifts cash on hand to 25,015.06; spending of the 28 days 43,276.10 + 2,871.36 + 2,086.89 = 48,234.35 gives 25,015.06 x 28 / 48,234.35 = 14.5 days, so no cash alarm joins it.
HELDOne step undercontroller-fixed-costs-equal-gross-profit
The event
The same insurance premium, CAD 2,828.31 this time, and the same lease payment and wallet deposit. The week to 2026-11-04 earns exactly its fixed costs in gross profit, which a real owner calls break-even, not a loss, even though the week after it is below.
What it did
It stayed quiet: the morning page did not change.
The figure, worked by hand
nothing changes
Week 2026-10-29..11-04: gross profit 4,262.31; fixed costs 1,434.00 + 2,828.31 = 4,262.31: the two are equal, the ratio is 1.00, gross profit is not below fixed costs. The week to 2026-11-11 is below (3,452.01 / 3,600.00 = 0.96) but the rule needs both weeks, so nothing is raised. Spending 43,276.10 + 2,828.31 + 2,200.00 = 48,304.41, cash 25,015.06: 14.5 days of cash.
HELDRaises an alarmCombined eventscontroller-cash-out-coffee-cost-shock-and-loosened-threshold
The event
On 2026-11-10 the owner takes CAD 1,000.00 out of the bank for the household while the roaster raises the coffee beans to CAD 23.00 a kilo, and someone quietly sets the low-cash limit from 14 days to 7 in the shop file. Three unrelated things happen in one week, and the owner needs each one named by the employee who owns it, not blurred into one worry.
What it did
- Controller raised money_not_separate: its text includes Owner took CAD 1,000.00 on 2026-11-10 outside the fixed salary
- Pricer raised below_cost (Coffee beans, medium roast 1 kg): its text includes sold at CAD 22.80; below its landed cost of CAD 23.00; (cost from 2026-11-10, Torréfaction Nord); 10 units in the last 7 days lost CAD 2.00
- Inspector raised measure_changed: its text includes a measure changed without approval: threshold lowCashDays: approved 14, now 7
- changed ok Controller|concentration_supplier
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
- added Pricer|below_cost|Coffee beans, medium roast 1 kg: Coffee beans, medium roast 1 kg: sold at CAD 22.80, below its landed cost of CAD 23.00 (cost from 2026-11-10, Torréfaction Nord); 10 units in the last 7 days lost CAD 2.00
- added Controller|money_not_separate|: Owner took CAD 1,000.00 on 2026-11-10 outside the fixed salary
- changed Controller|concentration_supplier|Papeterie Nationale: Papeterie Nationale: CAD 28,118.60 of CAD 82,057.50 purchases from 2026-08-15 to 2026-11-11 (34.3%) -> Papeterie Nationale: CAD 28,118.60 of CAD 82,333.50 purchases from 2026-08-15 to 2026-11-11 (34.2%)
The figure, worked by hand
CAD 1,000.00; lost CAD 2.00 on 10 units; lowCashDays approved 14, now 7
Each event is worked on its own, as in its single scenario, and the events touch none of each other's figures. controller-owner-takes-cash-out: One owner_draw of kind "other" for 100000 centimes = CAD 1,000.00 on 2026-11-10, inside the last 28 days and not the fixed salary. Days of cash stays above 14: 22,515.06 x 28 / (43,276.10 + 1,000.00) = 14.24. | pricer-coffee-cost-shock: SKU-1004 is sold at 22.80 (every line). The new landed cost is the cost of the latest purchase on or before the line date: 23.00 from 2026-11-10 on, 14.25 before. Lines on 2026-11-10: 1+2+2+1 = 6 units; on 2026-11-11: 1+1+2 = 4 units; 10 units in all. Loss = 10 x (23.00 - 22.80) = 2.00. | inspector-threshold-loosened-quietly: 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.
How it was checked
Exam today: 8 of 8 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 | 8 | 8 | 1 | 1 |
| 2026-11-13 | 8 | 8 | 1 | 1 |
These counts show the software does what it says. They do not promise your results.