Datalog-backed repository localization for name-free engineering requests
Repository agents need a structural code locator for requests that contain no useful names. LogicLoc is a concrete pattern for that layer: extract repository facts, let the model write Datalog over those facts, then gate the query with parser checks and a synthesize-check-refine loop before execution in Soufflé. The practical use case is issue triage and repo navigation when the request sounds like a property of the codebase, not a search string. The paper’s example query asks for non-__init__ functions with more than 15 parameters and returns two exact matches in Astropy, which is the kind of answer a lexical retriever often misses. A cheap product test is simple: collect internal engineering questions that mention behavior, structure, or constraints but omit file and symbol names, then compare exact hit rate against your current repo search or agent retrieval stack.