Brian Byrne
All selected work

Case study · Clearbrief

Cite Check Report

A shareable report that lets attorneys prove they checked a brief's citations before filing — taken from customer calls to production as both PM and engineer.

Role
PM + engineer, full stack
Timeline
Nov 2025 – Oct 2026
Stack
React · TypeScript · Office.js · Next.js · Node.js · AWS
Design
Figma
Clearbrief Cite Check Report: an overview of the checked document, citation counts, and lists of corrected and ignored red flags.
The report's overview, citation counts and flag lists, shown with demo data.

Problem

Cite Check flagged problems while attorneys drafted, but nothing captured the result at the end — no proof the check was done.

What I built

The UX, the generation flow in the Word add-in, the API and report service, and the shareable report in the web app.

Outcome

V1 in production in 3–4 weeks. Featured by Business Insider the next month; improved in small releases for a year.

Context

Clearbrief's Cite Check flags citation problems while an attorney is drafting. What attorneys still lacked was a way to show, at the end, that they'd checked a brief's citations before filing it or handing it to a partner.

Sanctions risk was the main reason customers gave. The person running the check wanted proof they'd done the work in case a judge or partner asked.

My role

I was both PM and engineer. I reached out to customers for feedback, did the planning and reported progress to the CEO. A senior backend engineer and a frontend engineer reviewed my code, and the CEO reviewed the staged build.

Scope, precisely: the report draws on Clearbrief's existing flagging and cite-scoring services. Some of those I helped build; they weren't mine alone, and the in-draft Cite Check feature wasn't mine.

How I built it

  1. Research & UX

    I joined customer calls with the CEO and talked with attorneys at large firms. I mocked up what I thought they needed, mapped their current workflow and what was missing, then cut to an MVP with a list of fast-follows. Designed in Figma.

  2. Generation in Word

    The review happens in the Word add-in (Office.js). Progress saves automatically, so a review can span sessions. If the brief changed outside the add-in, a reconcile step lets the attorney resolve the differences before finalizing.

  3. API

    A Node API on AWS that brings together red flags and cite scores from Clearbrief's analysis services, plus the attorney's note on each flagged citation explaining why they kept it.

  4. The report

    Authenticated report pages in the Next.js web app — the author's copy — printed to PDF from the browser as the no-login record for partners and courts.

  5. Testing & rollout

    Mostly test-driven, with table-driven unit and integration tests. Feature-flagged in production for a week before the wide release.

Key decisions

A browser-printed PDF, not a new service

Partners and courts work in PDFs filed to the document management system; a PDF is a fixed record and keeps privileged content off public URLs. I rejected a new PDF-generation service and a generated Word document. Printing a formatted web page cut build time and let new features — flag notes, the audit trail — reach reports that already existed. (The Word task pane can't print or download, so the report lives in the web app.)

Every report is traceable

Each report is tied to the exact analysis that produced it. If a report ever had to be defended in court, the results behind it could be identified and reproduced.

Fail partially, and say so

If one check can't run, its section would be missing. Instead of failing silently, the report tells the attorney and lets them retry that check or finalize without it.

Its own tool

I first built the report as the next step in the Cite Check flow. The CEO wanted attorneys to be able to skip that flow — for example, to run a report on opposing counsel's brief — and to give it a more prominent place in the add-in. I pulled it out into a standalone tool before launch.

A year of iteration

  1. Nov 2025

    V1 ships, feature-flagged for a week before wide release.

  2. 2026

    Small releases shaped by customer feedback, most of them about notes: attorneys explain each flag they keep, review those notes before finalizing, and see them in the report.

  3. Under the hood

    The storage and the API were rebuilt to support per-flag notes.

Results

  • 3–4 wks

    From assignment to v1 in production

  • ~7,500

    Reports generated in the first year

  • 16,000+

    Users at thousands of firms with access

Business Insider featured the report in a December 2025 article on how legal-tech companies are fighting AI hallucinations. Sales also used it in customer conversations. It's the work I'm most proud of from Clearbrief.