modcomms/backend/app
michael 3a5c3bcde3 Implement revision-aware proof analysis pipeline
When a subsequent revision of a proof is uploaded, the analysis now takes
place in context of the previous version's results. The system identifies:
- Resolved issues: fixed in the new revision
- Outstanding issues: still present from previous version
- New issues: introduced in the new revision

Key changes:
- Add resolvedIssues, outstandingIssues, newIssues fields to SubReview
- Add PreviousReviewContext model for passing previous review data
- Update all specialist agents to accept previous_review context
- Extend GeminiService with include_revision_fields parameter
- Add get_latest_version_review() repository method
- Update LeadAgent to synthesize cross-version context in summary
- Fetch previous analysis in WebSocket handler for revisions

First version analysis continues to work exactly as before with revision
fields set to null.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-25 10:04:16 -06:00
..
agents Implement revision-aware proof analysis pipeline 2026-01-25 10:04:16 -06:00
api Fix PDF pages route ordering for correct path matching 2026-01-25 09:04:58 -06:00
dependencies Add MSAL debug logging to frontend and backend 2025-12-18 13:11:30 -06:00
models Implement revision-aware proof analysis pipeline 2026-01-25 10:04:16 -06:00
repositories Implement revision-aware proof analysis pipeline 2026-01-25 10:04:16 -06:00
services Implement revision-aware proof analysis pipeline 2026-01-25 10:04:16 -06:00
websocket Implement revision-aware proof analysis pipeline 2026-01-25 10:04:16 -06:00
__init__.py permissions changes 2025-12-18 16:51:27 +00:00
config.py Add support email functionality via Mailgun 2026-01-24 07:03:11 -06:00
main.py Fix AgentReview missing toneAgentReview attribute after refactor 2026-01-25 07:30:16 -06:00