AIDB Daily Papers
AIエージェントによるコード生成のテスト駆動開発ガバナンス:プロンプトエンジニアリングによるアプローチ
※ 日本語タイトル・ポイントはAIによる自動生成です。正確な内容は原論文をご確認ください。
ポイント
- 本研究では、LLMによるコード生成の不安定性や非決定性を克服するため、AIネイティブなテスト駆動開発(TDD)フレームワークを提案した。
- 提案手法は、TDDの原則をプロンプトレベルとワークフローレベルのガバナンス機構として実装し、開発規律を直接的に組み込むことで、従来のLLMベースのアプローチの限界を打破する。
- このフレームワークは、段階的な開発プロセス、検証ゲート、原子的な変更制御を強制し、コード生成の安定性と再現性を大幅に向上させる結果となった。
Abstract
Large language models (LLMs) accelerate software development but often exhibit instability, non-determinism, and weak adherence to development discipline in unconstrained workflows. While test-driven development (TDD) provides a structured Red-Green-Refactor process, existing LLM-based approaches typically use tests as auxiliary inputs rather than enforceable process constraints. We present an AI-native TDD framework that operationalizes classical TDD principles as structured prompt-level and workflow-level governance mechanisms. Extracted principles are formalized in a machine-readable manifesto and distributed across planning, generation, repair, and validation stages within a layered architecture that separates model proposal from deterministic engine authority. The system enforces phase ordering, bounded repair loops, validation gates, and atomic mutation control to improve stability and reproducibility. We describe architecture and discuss encoding software engineering discipline directly into prompt orchestration, which we think offers a promising direction for reliable LLM-assisted development.
Paper AI Chat
この論文のPDF全文を対象にAIに質問できます。
質問の例: