Implux Field GuideAGENTIC AI · FORWARD DEPLOYED ENGINEERING

A practical reference for designing agents, delivering software, and proving outcomes.

THE PRACTITIONER'S REFERENCE
Questions · Patterns · Practice

System design case / 15

Legal contract review

Practice an end-to-end legal contract review design interview with requirements, architecture, risk, evaluation, and production trade-offs.

RequirementsArchitectureProduction readiness
Scenario boundary

A contract review assistant locates clauses, compares them to a requested review lens, and prepares findings. Keep the contract version and source passages attached to each finding, and route ambiguous interpretation to an authorized reviewer.

Versioned contract
Clause retrieval
Review lens
Evidence-linked finding
Reviewer decision
System path for the legal contract review scenario.

How to present this design

Think aloud in layers. Confirm constraints before drawing; label the system of record, authorization boundary, and irreversible actions; then trace one request through the design. Keep the first version small enough to test.

01ClarifyUser, workflow, scale, risk, and definition of done.
02PrioritizeFunctional needs, constraints, and the first release boundary.
03DrawComponents, data ownership, trust boundaries, and one end-to-end path.
04StressFailure, stale data, retries, permissions, and human takeover.
05OperateEvaluation, launch gates, ownership, and measurable outcomes.
A system-design answer should move from requirements to an operable design, not stop at a component diagram.

A sample opening and design narrative

I would first clarify the user and what a successful legal contract review outcome means. The workflow is: A contract review assistant locates clauses, compares them to a requested review lens, and prepares findings. Keep the contract version and source passages attached to each finding, and route ambiguous interpretation to an authorized reviewer. I would make this design question explicit: How do you ensure the right version and attachments are reviewed? The first failure I would design for is: A clause is missed because of layout or table extraction. I would make that failure visible and recoverable. I would launch against clause coverage and reviewer-confirmed evidence support. and monitor version mismatch, missed-clause, and correction rates.. If those signals miss the agreed bar, I would pause expansion and inspect the failing boundary before adding more autonomy.

This example supplies a structure. In a real interview, ask for missing scale and service-level constraints rather than inventing them.

Decisions to make explicit

  1. Decision 1

    How do you ensure the right version and attachments are reviewed?

  2. Decision 2

    How should the system separate clause text from interpretation?

  3. Decision 3

    What makes a finding traceable and easy to verify?

A useful interview walkthrough

  1. Define success

    Start with this measurable outcome: Clause coverage and reviewer-confirmed evidence support. Confirm that it represents the user's job rather than an easy-to-count system activity.

  2. Protect the boundary

    Resolve the design question: How do you ensure the right version and attachments are reviewed? State which identity, policy, or source system remains authoritative.

  3. Design for the first exception

    Make this failure explicit: A clause is missed because of layout or table extraction. Explain how the system detects it and what the user sees while recovery is pending.

  4. Prove and operate it

    Track Version mismatch, missed-clause, and correction rates. Name the owner, release gate, and what would trigger a pause or rollback.

Failure analysis

Treat contract clauses as evidence; track versions and escalate ambiguous risk.
  • A clause is missed because of layout or table extraction.
  • An outdated draft is treated as the final version.
  • A risk label is detached from the clause and rationale that support it.

Workaround: Begin with a reversible, human-reviewable slice. Verify the external state after each consequential action, then widen scope only when difficult cases meet the agreed bar.

Evidence and operating signals

  • Clause coverage and reviewer-confirmed evidence support.
  • Version mismatch, missed-clause, and correction rates.

Canonical interview prompts

Practice the source questions

The full prompt set stays on the system-design guide; these links take you to the exact source question.