A doctor writes that an injury might be consistent with abuse. The letter can describe a real experience and still fall short of a requirement for legal aid. In England and Wales, Schedule 1 of the Civil Legal Aid (Procedure) Regulations 2012 sets out 22 forms of domestic abuse evidence. A document has to meet every requirement of one of them.

That gap often becomes visible only when a caseworker reviews the application. By then, the solicitor has lost time and the client has waited. Gateway Check moves the check forward. We built it in two days at the Future States Hackathon in October 2026, at 10 Downing Street, alongside the civil servants who work with these problems. I was one of 35 engineers chosen from more than 1,500 applicants.

One document, three people

There are three views of the same document. The client uploads a letter or photograph through a one-off link. Their solicitor sees which requirements it meets, the sentences behind that assessment, what is missing and a drafted request to the letter’s author. The caseworker sees those marks on the letter, an independent second check, and makes the decision.

A requirement cannot pass on the model’s word alone. The engine must return a quotation, and code checks that it occurs word for word in the document. Three independent checks must agree. Names are matched against the application in code. Anything unclear goes to a person; economic-abuse cases always do in this prototype.

What we tested

We tested 146 synthetic cases, another 35 rewritten in unfamiliar styles, and 12 example letters supplied by the Ministry of Justice. The letters were held out, then run again as 24 PDFs. There were no false approvals on any set. One of the 12 letters was falsely rejected: it had no signature or registration number identifying the author in the text.

Most of those cases are synthetic, and Legal Aid Agency staff have not yet checked the labels. The prototype is not in service. It also keeps open questions that only the department can answer.

A teammate built the first version of the interface; I built the checking engine and back end. Much of my work lay around the model: matching names, checking quotations and setting the point where the system stops and asks a person.