Analyzing and Clarifying Software Change Intentions via Project Asset Dependency Mining
Software changes are often initiated by Software Change Intentions (SCIs), expressed as brief natural-language statements. Developers must clarify these intentions by consulting project documents to recover the implementation context required for code changes. This process is time-consuming and prone to misunderstanding. Large language models (LLMs), even with retrieval-augmented generation, struggle to ground SCIs in project-specific knowledge because relevant information is heterogeneous and scattered across multiple artifacts. We propose CIDER, a method for Clarifying SCIs with Domain knowledge graph-Enhanced Reasoning. CIDER first constructs a project-specific knowledge graph by semantically aligning knowledge from heterogeneous project documents and automatically generating a domain-adapted schema to guide entity and relation extraction. It then performs iterative graph-based retrieval and LLM-based clarification to transform brief SCIs into concrete implementation requirements. We evaluate CIDER on a manually annotated dataset of 267 instances from eight development projects. Compared with direct LLM-based clarification, CIDER improves correctness, completeness, and faithfulness by 110.25%, 119.70%, and 205.93%, respectively. These results demonstrate the value of organizing project-specific knowledge and iteratively retrieving evidence for SCI clarification.