Under the hood · one vertical, not ten

Their own documents, made repeatable — and hardened every time a fee earner disagrees

A template nobody trusts is a liability with better formatting. The thing that makes this scale is not the model: it is that every line has a parent, every departure has a reason, and every correction becomes a rule the next matter inherits.

17
clause types, each with its own pedigree
17.5% → 4.5%
escalation rate, seven simulated months
3
layers: transcription, state, scheduling
Δ
differential operations, not regeneration
Trace a clause Run the loop Every figure below is a worked example, not a benchmark.
01

A template that survives scrutiny

"Where did this wording come from?" is the question a partner asks, and the one a regulator asks later. Pick a clause type and follow the chain. Nothing in a generated document is allowed to have an unknown parent.

The five questions every generated line must answer
  1. Which approved precedent does this wording come from?
  2. Who approved that precedent, and on what date?
  3. Which version of the template produced this instance?
  4. If it departs from the precedent, who decided, and what reason code was recorded?
  5. Where is it stored, and who is permitted to change it?

If any of those five has no answer, the document is not a template. It is a draft with a memory problem.

02

The hardening loop

The same twenty clauses, month after month. Each time a fee earner overrules the draft, the reason is captured and becomes a fallback, a rule or a new variant. Press the button and watch what that does to the escalation rate.

Bars show the share of documents a fee earner still had to decide. The width is the number; the label is the same number, so the chart is not doing any persuading on its own.

Month
0
of seven
Escalation
—
share needing a decision
Template
v1.0
version in force
Rules added
0
fallbacks and exceptions

Nothing has run yet. The rest of the page describes what happens when it does.

Two honest caveats. The rate falls because the firm writes its own judgement down, not because a model becomes clever — the curve has a floor, and that floor is the genuinely novel work. And a rate that falls too fast is a warning sign, not a triumph: it usually means the escalation threshold has been loosened to make a dashboard look good.

03

The three layers that actually save the time

Documents are the visible part. The hours are lost in three quieter places: what was said, where the matter is, and what is due next.

Layer one

Transcription

Turns a meeting, a call or a note into the firm's own attendance format: decisions, instructions, advice given, and an action list with owners and dates.

What it producesThe attendance note, the action list, and a list of anything it could not confidently hear. The gateThe fee earner confirms the note before it becomes the file record. Instructions from the client are confirmed back in writing the same day. The failure it preventsThe note that never got written, and the action that nobody owned.
Layer two

Transitional state

Every matter has one state and only a few legal moves out of it. No skipping, no jumping to completion, no matter sitting in a stage for three weeks without anyone noticing.

What it producesThe state, the owner, the days in state, the blocker and the next legal transition. The gateOnly the named owner can move it, and a matter with an open blocker cannot move at all. The failure it preventsThe quiet matter — the one that is not urgent until it is fatal.
Layer three

Scheduling

Dates computed from the triggering event, not typed by hand: limitation, completion, filing, service windows, hearing dates. Then the ladder that makes sure someone actually looks.

What it producesTwo calendars — the owner's and the supervisor's — and a dated acknowledgement at each rung. The gateDiarised by one person, checked by another. A computed date is never accepted without its trigger being confirmed. The failure it preventsThe date that was right in the diary and wrong in law.

The state board, as it would look on a Monday

Six live matters. Click one. Red means it has been in that state longer than the practice allows — the only thing on this page that is designed to make somebody uncomfortable.

Thresholds are per state, not per matter type: disclosure gets fourteen days, sign-off gets five, billing gets fourteen. Set them from your own file review, then leave them alone for a quarter.

04

Built on differential operations

Most document tools regenerate: they redraft the whole thing, then diff it afterwards so a human can see what moved. This runs the other way round. The unit of work is a difference — one state to the next — and everything else is bookkeeping around it. Three operations follow from that choice, and they are why the layers above hold.

Operation one

Transitional state management

The matter is a state, not a document. Every move is a named transition with an owner, a precondition and a date. A document is the output of a transition — never the thing you edit.

Why it is differentialA transition is a delta by construction: from, to, and the evidence that justified it. There is no "update the file" operation available to abuse. What it producesThe legal moves out of the current state, and the single precondition that has to be true first. The failure it preventsThe silent rewrite — a document that changed, with nobody able to say what changed or who agreed it.
Operation two

Passive global context awareness

The whole matter stays in scope without anyone re-supplying it: precedents, prior correspondence, engagement terms, the firm's approved positions. Carried on the call, not pasted prompt by prompt.

Why it is differentialThe expensive error in document work is rarely a wrong word. It is the right word in a matter where the wrong cap was agreed three letters ago. What it producesEvery decision taken against the matter as it stands, including the parts nobody thought to mention. The honest limitPassive is not complete. If the relevant precedent sits in another matter, this will not find it — and it will not say so.
Operation three

Recursive differential analysis

Each departure is diffed against the last departure, not only against the template. The third time a partner lowers a cap on a customer-facing contract, the engine has a pattern where it used to have three separate incidents.

Why it is recursiveThe first diff finds the deviation. The diff of the deviations finds the rule that is wrong — and that is the one worth changing. What it producesA ranked list of where practice has drifted from the firm's own approved positions, with fee earner and matter attached. The political costIt will show a partner their own inconsistency. That is the product, and it is also why the first report lands badly.

One matter, written as deltas

The same kind of matter the board above shows, described the way a differential engine actually stores it: a state, a difference, and what that difference taught the library.

Transition
The delta
What it left behind
Enquiry → EngagementM-1055 · Bell & Sons
Engagement letter issued. Two clauses differ from the house position, both on scope of advice.
A reason code on the scope carve-out, so the next one starts there instead of here.
Drafting → ReviewM-1042 · Harper & Co
First draft issued with three departures against the approved position: an indemnity cap, a notice period, a limitation period.
Three decisions in the queue, each with the clause and the reason attached.
Review → Reviewsame matter, one day later
Cap accepted as drafted; notice period reverted to house; limitation period reverted and the draft marked.
Two reverts, one accepted position. The reverts are the training set, and they cost nothing to capture.
Review → Sign-offM-1042 · rule created
The same limitation revert has now happened on four customer-facing matters in three weeks.
A standing fallback: this clause starts at the revert on that contract type. The next matter is cheaper and the fourth revert never happens.

The uncomfortable consequence: a differential engine makes every change attributable. If somebody wants to alter a document without saying what changed, this architecture will not let them. In a firm that is either the thing you are selling or the reason the pilot stalls — and you will know which by week three, not month six.

05

Repeatable at scale, without becoming a consultancy

The difference between a product and a project is what happens on practice two.

What repeats

The clause library, the escalation matrix, the state machine and the scheduling ladder are the same for every practice in the vertical. The rubric does not change because the letterhead did.

The marginal cost of the hundredth matter is close to the cost of the tenth: compute, storage and a share of the review time. That is the whole argument for doing one vertical deeply.

What is configured, once

Approved positions, fee-earner names, reserve authorities, retention periods, state thresholds and the house style of the attendance note. An afternoon with a practice manager, not a six-month implementation.

If practice two needs new code rather than new settings, you have built a consultancy with a login screen. That is the failure mode to design against from the first customer, not the fiftieth.

The uncomfortable part: your product's value is now tied to how good their approved positions are. A firm with sloppy precedents will get sloppy drafts, faster. Screening for that in the sales conversation is cheaper than discovering it in month three.

06

Why vertical, and what it costs you

What depth buys

You learn the exceptions that only exist in this trade: the deed that needs a witness, the undertaking that must be released before completion, the reserve that needs a partner above a number nobody wrote down.

Each of those becomes a rule with a name. Rules with names are what a buyer calls competence — and what a competitor cannot copy from your marketing page.

What it costs

One vertical means one budget line in one industry, and a sales cycle that moves at the speed of professional indemnity insurers. Breadth would feel safer and would sell faster.

The mitigation is to separate the layers: keep the profession-standard library shared across firms, and the firm-specific positions strictly local. Then a second vertical reuses the engine, not the precedents.

07

What a decision actually costs

Before anyone argues about model quality, price the question. Is this cap above the approved position? Does this letter need a partner? Those are decisions, not essays — and a decision model now charges a fraction of a penny to make one. Which moves the constraint off the budget and onto the threshold.

Decision model
$/1M in
Per matter
Per month
pplx-decider-flash v1.24B · text, JSON and images · 262K context · 0.20s
$0.01
—
—
pplx-decider v1.227B · text, JSON and images · 262K context · 0.26s
$0.02
—
—
scaledown/classify-11M context · choice, score and yes/no · text and JSON
$0.04
—
—
Documents in a matter12
Live matters a month60
Tokens per matter
—
Tokens a month
—

Cheapest model, as a share of one $500 subscription: —.

Assumes 4,000 tokens a document and 1,200 tokens of questions and rubric, grouped into one request per matter — these models answer several questions about the same state for roughly the price of one. Prices are the listed US rates, November 2026, per million input tokens; output tokens are free on all three. Both the models and the subscription they sit against are quoted in dollars, so nothing here needs converting.

The bill is the schema, not the tokens

At a fraction of a penny a decision, the model stops being a line item and the engineering becomes the entire cost. Four things have to exist before a firm's first matter runs, and none of them is priced per token.

What you actually build
Why it takes the time it takes
Effort
The schema
Which questions, in exactly what words, and what each answer means operationally. A yes/no nobody can define is a bug you ship to every firm at once.
5–8 daysonce per vertical
The algorithms
Thresholds, batching, dedupe, the transition rules, the diff logic and the queue. Ordinary engineering, and it is where the schedule actually goes.
8–12 daysonce per vertical
Onboarding that knows the firm
Approved positions, house style, fee earner names, reserve authorities, state thresholds. A day a firm when the schema is right, a fortnight when it is not.
1–2 daysper firm
Preference capture
What this firm does when it disagrees with its own precedent. Captured as rules from the first matter — not configured in a workshop, and never finished.
continuouscheapest of the four

Worked example, and the arithmetic matters more than the day rate: twenty-five build days at $800 is $20,000. Twenty firms at $500, with $200 a month of support and hosting each, contribute $6,000 a month — so the build is repaid inside month four. The second vertical costs about ten days rather than twenty-five, because the schema and the algorithms repeat and only the clause library is new. That is the sentence for an investor, and it is also the sentence that tells you how many firms you need before the first hire.

Three things the price does not cover
  1. The labelled set. You cannot set a threshold without a few hundred documents your own fee earners have already marked. That is the expensive line in this layer, and it is measured in their afternoons, not in tokens.
  2. Throughput, not spend. The deciders share a ceiling of ten requests a second, so a document room of forty thousand backfills in about an hour — fine overnight, awkward on a Friday afternoon.
  3. Scans cost more, but barely. Images are billed at roughly a thousand tokens a megapixel, so a photographed page costs about what the same page costs converted to text first — which means the scanned bundle you were going to charge extra for is not the problem you thought it was.

What 99% actually buys you

Take the headline number at face value — 99% correct — and follow it through a room of a million pages. Accuracy is not the figure that decides how much a fee earner reads. The issue rate is, because that decides how much of the shortlist is noise.

Pages carrying an issueFlagged per millionOf those, rightMissedReading avoided
10%108,00092%1,0009×
2%29,60067%20034×
0.5%14,90033%5067×

Assumes 99% sensitivity and 99% specificity — the vendor's claim, and not your number until you have measured it on your own documents. The pattern is the point: the rarer the thing you are looking for, the worse the shortlist looks and the more the volume saving is worth. At one page in two hundred, a flag is right one time in three, and the fee earner still reads fifteen thousand pages instead of a million. One point of specificity is worth more than one point of accuracy at that ratio, and specificity is the number vendors quote least often.

The probability is the product

None of these models writes an answer. They return a probability — yes, a choice, a score — and your code decides what to do with it. At 0.15 the flagged list is long and most of it is fine; at 0.7 it is short and it misses things. Which you want is not a model question: it depends on whether a missed indemnity cap costs more than a partner's morning. Set it low where the miss is expensive, high where the noise is, and never the same number for both. The figure to quote to a practice manager is not accuracy — it is the cost of each kind of mistake.

08

Build order, and why it is not the obvious one

Transcription is the demo. State management is the product. Scheduling is the thing that gets you renewed.

1

State management

Unglamorous, and the only layer that changes how the practice runs on day one. It also generates the data every later layer needs: what arrived, when, and where it stalled.

Sells to the practice manager, not the partner. Start here because it needs no model at all.
2

Transcription and the attendance record

The visible win, and the wedge: it saves time in the first week and asks nothing of the firm's precedents. It is also where you learn the vocabulary the clause library will need.

Sells to the fee earner. Keep the confirmation gate; a transcription nobody checks is a complaint with a timestamp.
3

Scheduling and the deadline ladder

Trust compounds here. Once a firm believes the dates, they will believe the drafts. Miss one and you lose the account, so do not ship this until the state machine is honest.

Sells to the insurer and the COLP. This is the layer that survives a bad week.
4

Templates and the hardening loop

Last, because it needs everything before it: the states to know what a matter is, the attendance notes to know what was agreed, and the deadlines to know which clauses actually mattered.

This is the moat. It is also the slowest to build and the easiest to fake — which is why it goes last.