Skip to content

feat(holoindex): add FoundUp-scoped query filtering to search API#511

Open
Foundup wants to merge 2 commits into
mainfrom
feat/hia-federation-query-filtering-phase3
Open

feat(holoindex): add FoundUp-scoped query filtering to search API#511
Foundup wants to merge 2 commits into
mainfrom
feat/hia-federation-query-filtering-phase3

Conversation

@Foundup
Copy link
Copy Markdown
Member

@Foundup Foundup commented May 6, 2026

Summary

Adds optional foundup_id filtering to HoloIndex search API:

  • search_engine.py: Added foundup_id parameter to unified_search() and related functions
  • holo_index.py: Exposed foundup_id filter in search() method
  • Query filtering uses Chroma where= clause when foundup_id is provided
  • Default behavior unchanged (no filter = search all)

Changed Files

  • holo_index/core/search_engine.pyfoundup_id parameter added to search functions
  • holo_index/core/holo_index.pyfoundup_id exposed in public API
  • holo_index/tests/test_federation_query_filtering.py (new) — 19 tests
  • holo_index/ModLog.md — Phase 3 entry

Validation

  • python -m pytest holo_index/tests/test_federation_metadata_tagging.py -q — 22/22 passed
  • python -m pytest holo_index/tests/test_backend_routing.py -q — 19/19 passed
  • python -m pytest holo_index/tests/test_federation_query_filtering.py -q — 19/19 passed

WSP 97 Note

Implemented: Optional foundup_id filtering in search API
NOT implemented: Automatic tenant isolation, external repo indexing, MCP exposure

🤖 Generated with Claude Code

Foundups Agent and others added 2 commits May 6, 2026 17:54
Audit modules/foundups/* directories for manifest coverage before
enabling foundup_id query filtering. Key findings:
- 4/17 directories have foundup_manifest.json
- move2japan active in catalog but missing manifest (P1)
- pqn_swarm_hub vs science_swarm ID mismatch documented
- Phase 3 filtering CAN proceed (fallback handles gaps)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant