[논문 리뷰] Engineering Pitfalls in AI Coding Tools: An Empirical Study of Bugs in Claude Code, Codex, and Gemini CLI
본 연구는 Claude Code, Codex 및 Gemini CLI의 3.8k개가 넘는 버그 보고를 분석하여 6계층의 AI 코딩 도구 아키텍처 전반의 버그 유형, 근본 원인, 증상, 버그 위치를 특징화합니다.
The rapid integration of Large Language Models (LLMs) into software development workflows has given rise to a new class of AI-assisted coding tools, such as Claude-Code, Codex, and Gemini CLIs. While promising significant productivity gains, the engineering process of building these tools, which sit at the complex intersection of traditional software engineering, AI system design, and human-computer interaction, is fraught with unique and poorly understood challenges. This paper presents the first empirical study of engineering pitfalls in building such tools, on a systematic, manual analysis of over 3.8K publicly reported bugs in the open-source repositories of three AI-assisted coding tools (i.e., Claude-Code, Codex, and Gemini CLIs) on GitHub. Specifically, we employ an open-coding methodology to manually examine the issue description, associated user discussions, and developer responses. Through this process, we categorize each bug along multiple dimensions, including bug type, bug location, root cause, and observed symptoms. This fine-grained annotation enables us to characterize common failure patterns and identify recurring engineering challenges. Our results show that more than 67% of the bugs in these tools are related to functionality. In terms of root causes, 36.9% of the bugs stem from API, integration, or configuration errors. Consequently, the most commonly observed symptoms reported by users are API errors (18.3%), terminal problems (14%), and command failures (12.7%). These bugs predominantly affect the tool invocation (37.2%) and command execution (24.7%) stages of the system workflow. Collectively, our findings provide a critical roadmap for developers seeking to design the next generation of reliable and robust AI coding assistants.
연구 동기 및 목표
- AI 코딩 도구의 실제 버그를 Claude Code, Codex, 및 Gemini CLI에서 분석하여 결함 현황을 특징화한다.
- 버그의 유형, 근본 원인, 증상, 버그 위치를 포함한 다차원 분류체계를 개발한다.
- 버그 범주의 확산을 정량화하고 AI 코딩 도구 개발의 일반적인 엔지니어링 도전을 식별한다.
- AI 코딩 도구의 신뢰성 및 사용성을 개선하기 위한 설계/테스트에 대한 실행 가능한 시사점을 제공한다.
제안 방법
- Claude Code, Codex, Gemini CLI의 GitHub 이슈 트래커에서 닫힌 버그 보고를 수집한다.
- 버그 데이터셋을 수동으로 검증, 중복 제거, 선별한다(3도구; 2,343 + 1,192 + 329 studied bugs).
- 4차원 분류체계를 개발하기 위해 오픈 카드 정렬(open-card sorting)을 적용한다(버그 유형, 근본 원인, 증상, 버그 위치).
- 확립된 분류체계를 사용하여 남은 이슈에 라벨링을 적용하고 이를 반복적으로 정제한다.
- 도구별 및 전체 분포를 계산하고, 평가자 간 합의 정도를 분석한다(Cohen’s kappa = 0.82).

실험 결과
연구 질문
- RQ1AI 코딩 도구에서 어떤 버그 유형이 발생하는가?
- RQ2이러한 버그의 근본 원인은 무엇인가?
- RQ3이 버그들은 어떤 증상을 보이는가?
- RQ4버그가 주로 영향을 미치는 아키텍처 레이어는 무엇인가?
주요 결과
- 기능적 버그가 세 도구 전체에서 전체 버그의 67%를 차지한다.
- API/통합 및 구성/설정이 주요 근본 원인으로 각각 전체 버그의 21.4%와 15.9%를 차지한다.
- 가장 흔한 증상으로 API 오류(18.3%), 터미널 문제(14%), 명령 실패(12.7%)가 있다.
- 버그는 주로 도구 호출(37.6%)과 명령 실행(25%)에 영향을 미친다.
- 사용성/UI 버그가 17.9%를 차지하고 호환성 버그가 7.6%, 보안 버그가 1.7%이다.
- 라벨링에 대한 평가자 간 합의는 높았으며 Cohen’s kappa = 0.82이다.

이 논문 읽기
누빈트 뷰어에서 원문을 열고, 읽으면서 궁금한 곳을 바로 물어보세요.
누빈트에서 이 논문 읽기이 리뷰는 AI가 논문 원문을 바탕으로 만들었습니다. 인용하기 전에 원문을 확인해 주세요.