Rule Taxonomy and Evolution in AI IDEs: A Mining and Survey Study

📅 2026-06-10
📈 Citations: 0
Influential: 0
📄 PDF
🤖 AI Summary
This study addresses the underexplored nature of rules in AI-powered integrated development environments (IDEs) as an emerging class of software artifacts, whose taxonomy, evolution patterns, and practical impact remain poorly understood. Through a mixed-methods approach analyzing 7,310 rules from 83 open-source projects alongside survey data from 99 developers, this work proposes the first systematic classification framework comprising five top-level categories and 25 subcategories. It reveals a significant discrepancy between developer intent and actual rule configurations, demonstrates that rule evolution is frequent and primarily driven by contextual expansion, and quantifies a substantial improvement in software compliance—increasing from an average of 49.14% to 72.13% (+22.99%)—following rule updates.
📝 Abstract
The adoption of AI-powered Integrated Development Environments (AI IDEs) has introduced "Rules" as a novel software artifact, allowing developers to persistently inject project-specific constraints and architectural guidelines into the context of Large Language Models (LLMs). Despite their role in aligning AI behavior with developer intent, the taxonomy, evolution, and practical impact of these rules remain largely unexplored. To bridge this gap, we conducted a mixed-methods empirical study on AI IDE rules. By mining 83 open-source projects and extracting 7,310 rules, we established a comprehensive taxonomy comprising 5 primary and 25 secondary categories. We then triangulated these artifacts with survey responses from 99 practitioners. Our analysis identified a contrast between developer priorities and actual configurations: while practitioners rate architectural constraints as highly important, rule files in repositories primarily consist of low-level workflow and code formatting constraints. Furthermore, our analysis of 1,540 rule evolution events revealed that rules are updated frequently. Repository data further indicate that rule evolution is primarily driven by constructive context expansions (29.17%) and enrichments (26.59%). In contrast, surveyed developers reported modifying rules primarily to correct AI errors (77.78%), typically by adding new negative constraints rather than editing existing ones. Finally, an artifact compliance assessment of 160 rule evolution events revealed that updating rules significantly improves the adherence of software artifacts, with the average artifact compliance rate increasing by 22.99% (from 49.14% to 72.13%) following an update. Our study provides empirical insights that can help developers optimize prompting strategies and guide tool builders in designing automated conflict-detection and context-management mechanisms for AI IDEs.
Problem

Research questions and friction points this paper is trying to address.

AI IDEs
Rules
Rule Taxonomy
Rule Evolution
LLM Constraints
Innovation

Methods, ideas, or system contributions that make the work stand out.

Rule Taxonomy
AI IDEs
LLM Prompting
Rule Evolution
Artifact Compliance