Push Project and Matter search filters into SQL with minimal viewing #10
Labels
No labels
ready-for-agent
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
liang/sales-ai#10
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Parent
Parent PRD: #2
What to build
Update search and minimal viewing paths for the Project Matter foundation. Search filters for Project and Matter must be applied in SQL before top-k truncation. Project filtering should consider both Communication Project Hints and Project Matter links, while Matter filtering should return only evidence linked to the selected Project Matter. Provide enough API or Streamlit viewing to inspect Project Matters, linked Communications, and Review Queue state in this phase.
Acceptance criteria
Blocked by
Implemented issue #10.
Summary:
services.search_service.search_communication_chunkswith Project/Matter filters applied before limit/top-k.services.matter_viewsfor minimal Project Matter and Review Queue viewing./api/searchto pass Project/Matter filters into SQL instead of filtering after retrieval, and added/api/project-matters/{matter_id}plus/api/review-queue.Verification:
.venv/bin/pytest tests/test_search_and_viewing.py -q-> passed.