Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

clause-guard

A deterministic legal contract and lease diff checker with a predatory-clause trap extractor and counter-draft generator.

Standard diff tools only catch character-level changes. clause-guard understands asymmetric legal traps — indefinite non-competes, IP assignments that claim your weekend side-projects, hidden deposit forfeitures — and generates the pushback language to negotiate them away.

Install

pip install -e .

Usage

# Scan a single contract for predatory clauses
clause-guard scan contract.pdf [--category employment|lease|freelance]

# Diff a custom contract against a standard model template
clause-guard diff standard_lease.txt custom_lease.txt

# Generate a ready-to-send counter-draft redline email
clause-guard counter contract.txt [--output email.txt]

Development

pip install -e ".[dev]"
pytest tests/ -v
ruff check .

About

Deterministic contract and lease diff checker with an adversarial trap extractor and counter-draft negotiation generator.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages