Skip to content
gurn3k

BuildsRedline · Live

Redline: AI contract review that has to show its work

A tool for small business owners that flags risky contract clauses, where every flag must quote the exact sentence it came from.

Open live ↗Code on GitHub ↗

Role
Product owner
When
Aug–Nov 2026
Built with
Next.js · Supabase · Vercel · OpenRouter
Status
Live, public repo
Redline product cover

01 · Situation

Small business owners need to know what is risky in a contract before they sign it. I wanted to know whether an AI reviewer could help without making things up.

02 · The call

My first hypothesis was weak. Research across four tracks (who has the pain, what goes wrong, existing tools, who would pay) turned up three near-direct competitors. So I repositioned the product on one thing a machine can check: every flag and every answer must be an exact, verifiable quote from the uploaded contract.

03 · What I did

  • Wrote a PRD that named the segment and explicitly excluded freelancers, renters and job seekers.
  • Made 12 decision records, including: every flag cites its source, precision over recall, an explicit 'Clear' result instead of silence, and a legal-advice disclaimer.
  • Broke the build into 12 tickets and saw each one through to working, tested code.
  • The result gives a plain-English summary, risk flags ranked Dangerous, Unusual or Clear, a drafted counter-offer for each flag, Q&A answered only from the document, user-defined red lines and a saved document library.
  • Built an eval suite: 9 documents with 30 in-scope planted clauses and 3 clean contracts, scored on what Redline found, whether each flag quoted its document word for word, and whether clean contracts came back Clear.
  • The eval showed fee escalators and late fees were the weak spot (found 1 of 9 times), so I widened one paragraph of the prompt and re-ran. Two later runs found 8 of 9 and 7 of 9.
  • Set up automated checks (lint, type check and all 97 tests) that run on every push and pull request.

04 · Results

tickets shipped
12 / 12
planted risky clauses caught in a live test, with correct severity and exact citations
5 of 6
in-scope planted clauses found in the first eval run (60%). Of 19 flags shown, 18 matched a planted clause, and all 3 clean contracts came back Clear
18 of 30
found in two later runs, after the prompt fix
25 and 24 of 30
automated tests, run on every push
97
decision records behind the product
12

05 · Limits

The live test was one run, and the eval is a small set of documents written by a model, so its numbers are upper bounds, not an accuracy rate. The live test also raised one borderline flag on a clean contract. No real users or paying customers yet.

06 · What it shows

PRODUCT DISCOVERY · POSITIONING · LLM EVALUATION