Skip to content

v1.0.0

Latest

Choose a tag to compare

@mofuteq mofuteq released this 26 May 12:16
1b3ce68

v1.0.0

First stable release of contract-question-agent.

This release turns contract clauses into structured verification questions. It is designed for the moment when a clause feels risky, but the reviewer cannot yet say exactly why.

It does not provide legal advice, enforceability judgments, or signing recommendations.

Highlights

  • LangGraph workflow orchestration
  • Pydantic AI / OpenRouter structured model calls
  • two-step scope checking with PRECHECK_INPUT and CLASSIFY_SCOPE
  • out-of-scope inputs stop before generation
  • MCP candidate review lenses
  • skill-thesis reflection
  • FastAPI + AG-UI SSE run stream
  • Streamlit run/output viewer
  • synthetic sample selector
  • in-scope and out-of-scope example outputs
  • README thesis and v1.0.0 documentation polish

Workflow

LOAD_CLAUSE_SPANS
-> FILTER_RECORDS
-> PRECHECK_INPUT
-> CLASSIFY_SCOPE
-> GENERATE_MINIMAL_QUESTIONS
-> REFLECT_AGAINST_SKILL_THESIS
-> SAFETY_CHECK
-> WRITE_OUTPUT

Examples

  • examples/in_scope_non_compete.md
  • examples/out_of_scope_non_contract_text.md

Non-goals

  • no legal advice
  • no enforceability judgment
  • no signing recommendation
  • no upload support
  • no auth
  • no persistence
  • no run history
  • no checkpoint/resume
  • no production deployment hardening

Validation

  • uv run pytest