You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Implement ACL-safe research-domain retrieval across all channels #8
Support topical research-domain views in both upstream synthesis retrieval and downstream GraphRAG without treating a domain tag as permission or hiding needed cross-domain evidence.
Implementation
Add a clearly named research_domain_scope query field (or document an equivalent unambiguous name) in the versioned query constructor and generated JSON schemas. Existing ontology_scope, source_scope, and community_scope retain their current meanings.
Apply one shared authorized membership predicate to every candidate producer: graph edges/paths/communities, nodes/claims, source/evidence, lexical/vector, ontology/schema, and decisions. Filter before embedding or semantic expansion and recheck in canonical materialization.
Scope candidate anchors while retaining authorized evidence closure, endpoints, identity links, and conflicting/refuting facts across domain labels within existing budgets. Missing labels remain explicitly unclassified, not silently invisible to required closure.
Propagate scope through planner/downstream APIs, cache keys, graph contexts, lineage, and replay allowlists. Unscoped requests retain compatible behavior.
Acceptance
Tests cover multi-domain papers, cross-domain identity and contradictions, unclassified material, and every retrieval strategy.
ACL and current source status are enforced before domain filtering, embeddings, or generated summaries.
Canonical context and replay can verify the exact taxonomy/assignment revision used.
Activity