5 Commits

Author SHA1 Message Date
root
ae72b180e5 fix: improve error handling and validation
- Add centralized exception classes
- Validate signature request status before signing
- Check contract status before approval/rejection
- Add exception handlers to FastAPI app
- Update tests for new validation logic

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-01 03:38:20 +08:00
root
656f596d7e feat: implement AI legal assistant system MVP
Core modules:
- Laws: CRUD, search, AI-powered QA
- Analysis: legal research and case management
- Contracts: lifecycle management with templates
- Signatures: electronic signature workflow

Infrastructure:
- FastAPI + SQLite + async SQLAlchemy
- Docker deployment support
- 54 unit tests passing

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-01 03:34:44 +08:00
root
830b33c4b3 docs: add implementation plan for AI legal assistant
- Define 7 implementation batches
- Specify tasks with verification criteria
- Follow TDD approach with 2-5 min task granularity

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-01 03:18:42 +08:00
root
cc3f539067 docs: add AI legal assistant system design document
- Define system architecture with FastAPI + SQLite + sqlite-vss
- Design 5 core modules: laws, analyses, cases, contracts, signatures
- Specify API design, data models, and permission system
- Outline deployment and security strategies

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-01 03:17:51 +08:00
SPB Agent
a6f7e5323a Initial commit 2026-05-01 03:05:55 +08:00