MARK GARASLEGAL AI & SOFTWARE
← Back to all projects

Source assurance

Pre-Filing Integrity Gate

A draft-review workspace where attorneys track citation, quotation and factual-support issues, then record approval of the exact text they checked.

Implemented review prototype
Intended users
Attorneys reviewing AI-assisted court-facing drafts
What they leave with
An internal review packet linking passages, issues, decisions and approval.

01 / In practice

Keep draft-checking issues attached to the text.

An attorney is reviewing an AI-assisted court draft before a supervising lawyer approves it. Citations, quotations and factual statements need checking against the available materials.

The task

The reviewing attorney needs to locate questionable passages, document how each issue was resolved and make clear which version the supervisor actually reviewed.

What the user does

The attorney adds the draft and local source materials, inspects the issue queues and records decisions on flagged passages. Approval is tied to the exact draft and evidence; changing either requires another approval before the internal packet is sealed.

What changes in the work

A supervisor can follow an issue from the passage to its source and recorded disposition. The approval history makes a later edit visible instead of allowing an old sign-off to stand for new text. Independent legal research and final filing decisions remain with the lawyer.

An illustrative workflow. The intended benefits have not been measured in workplace use.

Starts with

A draft intended for court and the local evidence available to check its assertions.

Produces

An internal review packet linking the exact draft to its evidence and the decisions on each issue.

02 / Workflow

How it works

  1. 01

    Add the draft

    Heuristic extraction finds passages that may need citation, quotation, factual-support or court-rule checks.

  2. 02

    Inspect the sources

    Local checks compare those passages with the available records and identify gaps in coverage.

  3. 03

    Review the issues

    A reviewer records how each material issue was handled; unresolved issues remain visible.

  4. 04

    Approve and seal

    Sign-off belongs to the reviewed draft and evidence. Any change requires a new approval before the internal packet can be sealed.

03 / Public or synthetic example

An example

The synthetic draft produced seven material issues. After simulated decisions on those issues and approval of the exact content, the workflow sealed an internal packet and retrieved it with its checksum verified. This did not create an attorney sign-off or submit a filing.

What still needs reviewAn attorney checks current authority and makes the legal judgment. Signing and submitting a filing remain outside the prototype.

Build details and capabilities
My work
I designed the workflow, built the software, and tested it.
Built with
TypeScript · React · Workflow state machine · SQL-backed records

Reviewing an AI-assisted court draft means checking more than whether the prose sounds plausible. A citation may be wrong, a quotation may differ from its source, or a factual assertion may lack support. This project puts those issues in a queue attached to the relevant text.

  • Citation, quotation, factual-support, and court-rule review queues
  • Visible gaps in source coverage and recorded decisions on material issues
  • Approval tied to the exact version of the draft and evidence
  • A fixed review packet that can be sealed only after the required checks
A choice I made

Approval applies to the text and evidence the reviewer actually saw. A change to either requires another approval before the internal packet can be sealed.

04 / Verification

What I tested

A fresh synthetic replay reached a checksum-verified internal packet after issue dispositions and content-bound approval were simulated. Seven material issues remained traceable through the recorded process. The combined application suite exercises state transitions, content changes, ownership and packet integrity.

Limits

Heuristic extraction and a fixed local source collection can miss issues. A lawyer must check current authority separately. The application cannot sign or submit a filing.

Reviewed 31 October 2026. These software checks and synthetic examples do not establish legal accuracy or performance in production. Client materials and private source code are not included.