Commit Graph

3 Commits

Author SHA1 Message Date
James 9cbd6db7cd feat: responses, AI matching, assignment rules, statements
- Schema: responses, response_chunks, request_links, assignment_rules tables
- Fireworks client: vision extraction (llama-v3p2-90b) + embeddings (nomic-embed-text-v1.5)
- PDF/XLSX extraction pipeline with pdftoppm and excelize
- Markdown chunker with heading/paragraph splitting and overlap
- Async extraction worker (2 goroutines) with cosine similarity matching at 0.72 threshold
- Response handlers: create statement, confirm/reject links, pending links, assignment rules CRUD
- Auto-assignment of requests by keyword rules on save + import
- File upload now creates response record and enqueues extraction
- Template: request status pills, assignee badges, AI match prompts, pending matches panel,
  add statement modal, assignment rules panel, file extraction status with 5s poll
2026-02-25 04:05:47 -05:00
James 2d6e9fc79a feat: document comments
Add file_comments table and FileComment model.
Add comment icon per file that toggles inline comment panel.
Comments loaded via HTMX with add form, stored per file/deal.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-23 02:54:41 -05:00
James 6484145581 feat: file upload and management
Add file upload with multipart form, local disk storage at data/uploads/.
Add file download with original filename and activity logging.
Add file delete (owner/admin only) with disk cleanup.
Add upload modal with folder selector and request item linking.
Add download and delete actions to file list.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-23 02:52:30 -05:00