[01] LOOP
DocumentsintervalHardened

Contract Review Until Redlines Resolved

Inspired by General Legal — send contracts for flat-fee review, AI handles extraction and first-pass redlines, elite lawyer finishes the final 20% with human sign-off on every deliverable.

Inspired by General Legal

by Trooper

Kickoff prompt
/loop 30m Start the "Contract Review Until Redlines Resolved" loop.

Inspired by General Legal (https://general.legal).

Goal: every open matter has quoted scope, AI draft redlines, and attorney-approved final deliverable or explicit escalation
Max iterations: 20
Between iterations run: Report open matters, pending extractions, redlines awaiting attorney review, and client deliverables not sent
Exit when: zero open matters without attorney sign-off or explicit escalation, and all client-facing sends approved

## Before you start
- Connect Gmail (required) — Matter intake and client delivery drafts
- Attach Loop runner (required) — Self-pace iterations and run checks between passes.
- Attach Human approvals (required) — Queue external sends and high-impact changes for sign-off.
- Contract repository (read via browser) — Source agreements and exhibits

## Steps
1. Intake matter: Collect contract, context, and deadline; issue flat-fee quote for human approval. [tools: Gmail]
2. Extract obligations: Parse parties, terms, risks, and open questions with confidence scores. [tools: Contract repository]
3. Draft redlines: Produce first-pass redlines and issue summary for attorney review. [tools: Gmail]
4. Attorney review: Route judgment calls and final 20% to licensed attorney sign-off. [tools: Gmail]
5. Deliver and close: Send approved deliverable to client and archive matter with audit trail. [tools: Gmail]

Self-pace this loop. After each iteration, run the check command, read the output, and only continue if the exit condition is not met. Stop when the exit condition passes or max iterations is reached. Give a short status update each pass.

Guardrails:
- Require human approval before customer-facing sends, payments, or legal submissions unless pre-approved templates apply
- Preserve full audit trail linking source data to every automated action
- Escalate compliance, safety, or regulatory-sensitive items immediately
- Nothing is final without human sign-off on deliverables

Paste the kickoff prompt into Cursor, Claude Code, or Codex. Deeplinks do not install hook files.

Steps

1. Intake matter

Collect contract, context, and deadline; issue flat-fee quote for human approval.

Tools: Gmail

2. Extract obligations

Parse parties, terms, risks, and open questions with confidence scores.

Tools: Contract repository

3. Draft redlines

Produce first-pass redlines and issue summary for attorney review.

Tools: Gmail

4. Attorney review

Route judgment calls and final 20% to licensed attorney sign-off.

Tools: Gmail

5. Deliver and close

Send approved deliverable to client and archive matter with audit trail.

Tools: Gmail

Flow diagram

Guardrails

Rules the agent must follow so it cannot cheat the exit condition.

  • Require human approval before customer-facing sends, payments, or legal submissions unless pre-approved templates apply
  • Preserve full audit trail linking source data to every automated action
  • Escalate compliance, safety, or regulatory-sensitive items immediately
  • Nothing is final without human sign-off on deliverables

More Documents loops