Context Engineering at Enterprise Scale: Multi-Signal Scope Resolution for AI-Assisted Software Development

Large language model (LLM) agents that assist software development require accurate identification of relevant source code repositories from enterprise catalogs containing hundreds or thousands of entries. Existing approaches rely on either keyword search or embedding-based similarity alone, each suffering from well-known failure modes: keyword search misses semantically equivalent terms while vector search conflates superficially similar but functionally distinct services. We present a five-layer scope resolution algorithm that combines tag-based exact matching, full-text search, capability indexing, vector nearest-neighbor retrieval, and identifier re-scoring into a unified scoring framework. The algorithm employs compound-term boosting (3x multiplier for multi-word matches), square-root length normalization, and a dual-mode entity extraction pipeline combining synchronous regex patterns with asynchronous LLM-based semantic extraction. Deployed internally at a Fortune 50 retailer across an enterprise catalog of 871 application repositories, the algorithm achieves a 94.6% scope resolution success rate across 879 pipeline executions during early adoption (as of June 2026), and resolves monorepo sub-applications that single-strategy approaches consistently miss.

Authors

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-06-17
DOI
https://doi.org/10.5281/zenodo.20736302
Primary Topic
Software Engineering Research
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Context Engineering at Enterprise Scale: Multi-Signal Scope Resolution for AI-Assisted Software Development

PAPA RAO Avasarala
Zenodo (CERN European Organization for Nuclear Research)
Software Engineering Research
article

Context Engineering at Enterprise Scale: Multi-Signal Scope Resolution for AI-Assisted Software Development

PAPA RAO Avasarala
article en

Abstract

Large language model (LLM) agents that assist software development require accurate identification of relevant source code repositories from enterprise catalogs containing hundreds or thousands of entries. Existing approaches rely on either keyword search or embedding-based similarity alone, each suffering from well-known failure modes: keyword search misses semantically equivalent terms while vector search conflates superficially similar but functionally distinct services. We present a five-layer scope resolution algorithm that combines tag-based exact matching, full-text search, capability indexing, vector nearest-neighbor retrieval, and identifier re-scoring into a unified scoring framework. The algorithm employs compound-term boosting (3x multiplier for multi-word matches), square-root length normalization, and a dual-mode entity extraction pipeline combining synchronous regex patterns with asynchronous LLM-based semantic extraction. Deployed internally at a Fortune 50 retailer across an enterprise catalog of 871 application repositories, the algorithm achieves a 94.6% scope resolution success rate across 879 pipeline executions during early adoption (as of June 2026), and resolves monorepo sub-applications that single-strategy approaches consistently miss.

Zenodo (CERN European Organization for Nuclear Research)
Openalex Percentile: Top 3%
Software Engineering Research
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.