Agents & workflows Lesson
The agent’s story found a bug in my rules: when a director left matters
A model telling the evidence in date order can show a person where a rule is wrong. The model shouldn't change the rule; the person, with tests and a re-run, should.
• An agent's plain account of one director, told in date order, made a rule's mistake obvious: the director had left a company three and a half years before its administration, and the rule counted it anyway.
• Fixing the timing exposed a bigger bug. The rule had been counting solvent wind-ups as insolvencies. Across nine companies, 9 director links became 3.
• The agent changed nothing. A person read it and decided the change, which went in with tests, and a live re-run checked the fix and caught a silent drop in it.
Part of a series on the UK Company Pre-Screen, a tool that checks a UK company's public record before an underwriter quotes. Version 1 was a research agent that decided the risk itself; version 2 lets written rules decide (Version 1 let an AI agent decide. Version 2 lets written rules decide. compares them). This post is about a rule in version 2 that an agent's narrative showed to be wrong.
One sentence in a narrative
One of the Pre-Screen's checks looks at each director's other companies. A director linked to companies that went insolvent in the last five years is a reason to Refer a case to a senior underwriter; two or more can make it Outside appetite. A pattern of failed companies behind the same people is one of the oldest signals in underwriting.
On top of the rules, an agent writes a short history of each director for the underwriter. It can't change the route. On 19 Oct, on Monzo's case, it wrote about a non-executive director who had left a company in May 2022. That company went into administration in December 2025, three and a half years later. (The agent took that date from the administration notice in The Gazette; the fixed rule measures from the company's own insolvency record, and gets the same gap.)
Nobody reading that sentence would hold the later insolvency against the director. The rule had counted it, and it was one of the things holding Monzo at Refer. The rule's gap: for a company currently in an insolvency status, it had no date for when the insolvency began, so anyone in post at any time in the five-year window counted.
What should count

I didn't want to guess, so I wrote down an underwriter's reasoning first and borrowed anchors from the law where it gives one. Twelve months echoes section 216 of the Insolvency Act 1986, which restricts directors in the 12 months before a liquidation from reusing the company's name; I apply it to administrations too, by analogy. Three years matches the period an insolvency practitioner's report on directors' conduct covers, under section 7A of the Company Directors Disqualification Act 1986. Two principles came with it: a gap is never resolved in the company's favour, and nothing is dropped without saying so.
The bigger bug I wasn't looking for

I re-ran the same nine live companies under the new rule and compared every director finding, company by company. The timing fix did what it should, but it moved only one link. Most of the change came from somewhere else: the old rule had been counting solvent wind-ups as insolvencies. Companies House shows "liquidation" for a members' voluntary liquidation too, which is a company closing with its debts paid in full. Group restructures and holding companies close this way all the time.
One route moved: Tesco went from Refer to Note only, because its only director link began around April 2021, outside the five years. (Tesco's public example from 26 Oct is Refer for a different reason, which Before you quote a UK company, know what wasn’t checked explains.)
The re-run caught my fix too
Tesco's link hadn't just stopped counting. It had disappeared silently: it wasn't in the "not counted" note, it was just gone. Correct by the rule, and wrong by the product's own principle. Now a link that would have counted but is older than the lookback is listed with its date. Without comparing old findings against new, that would have shipped.
So the loop was: the agent wrote a clear account in date order; a person read it and decided the change, which went in with 22 new tests; and the live re-run checked it. Models are good at telling a story from records; rules are good at being the same every time. Put each where it's strong, and the story finds the rule's blind spots.
On the page, this means: a director link now says how long before the insolvency the director left, and links that don't count are still listed.
Limits
- The bands are my reading of underwriting practice, not yet tested with an underwriter.
- The rule relies on the case type in the Companies House insolvency record to tell a solvent wind-up from an insolvent one.
- At the time, the agent couldn't check timing itself, because its tools didn't return when an insolvency began. They do now.
- This only works if someone reads the narrative.
Code: the 22 timing tests · the Pre-Screen on GitHub (MIT)
Demo: Monzo's public example, read-only, no sign-up
System: how the Pre-Screen works, and what it can't do yet
Related: Putting the agents back, behind an MCP server · My agent had the right company number and reported on the wrong company · Version 1 let an AI agent decide. Version 2 lets written rules decide.
Free: the AI Workflow Readiness Checklist
Which of your rules would look wrong if someone told its story in date order?
First published 22 Nov 2026.
Get the next note by email
One short email when something ships or breaks. Free.