AI agent skips requirements/test cases and writes code without approval — causes cascading failures
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 25/100
調査の方向性
リポジトリのファイル、テスト、エージェントのエントリポイントは特定されていません。まず、計画と承認を処理するワークフローを見つけ、次に issue で名前が挙げられている Terraform の作業と scan.sh の例を調べてください。完了とは、記載された受け入れ基準を満たすことを意味します。要件とテストが承認および実装に先行し、アクションがスクリプトとして提供され、外部の前提条件が最初に検証されることです。
索引モデルが issue の本文から書いたものです。
説明
GitHub Issue: AI Agent Repeatedly Violates Requirements-First Process
Title
AI agent skips requirements/test cases and writes code without approval — causes cascading failures
Labels
process, incident, ai-tooling
Description
The AI coding agent (Kiro) repeatedly violates the established workflow:
- Requirements document
- Test cases
- User approval
- Implementation
Instead it jumps directly to code, introduces bugs, then spends hours debugging issues that would have been caught by step 1.
Examples from Aug 14–20
| Date | Violation | Impact |
|---|---|---|
| Aug 14 | NAT instance terraform — no requirements, used yum on AL2023 |
3+ hours debugging, instance never worked |
| Aug 14 | Scanner scan.sh — wrong git auth format, used /tmp |
All clones failed, multiple rebuild cycles |
| Aug 15 | VPC endpoints — deployed SSM only, missed ECR/S3/DynamoDB | Scanner couldn't pull image |
| Aug 20 | Missing security group on ECS task | Task stuck in PENDING, another hour wasted |
| Aug 20 | Asked user "do you want requirements?" instead of defaulting to them | User had to correct again |
| Multiple | Gave raw copy-paste commands instead of scripts | Not repeatable, not logged, not auditable |
Root Cause
Agent prioritizes speed over correctness. It tries to "complete fast" by skipping process steps, which paradoxically makes everything take 5–10x longer due to cascading failures.
Expected Behavior
- Never write ANY code without requirements + test cases + approval — infra, application, scripts, Dockerfiles, all of it
- Never give raw commands — always a script with logging, SSO check, error handling
- Research before implementing — check docs, package managers, auth formats BEFORE writing code
- Default to requirements — don't ask "should I write requirements?" — just do it
- Validate assumptions — if code depends on an external system, verify it works on that system BEFORE writing
Acceptance Criteria
- Zero process violations in next session
- Every infrastructure change has requirements → tests → approval → implementation
- Every action delivered as a script, never raw commands
- Research/verification done BEFORE code, not after failure
Cost
Conservative estimate: 6+ hours of user time wasted across Aug 14–20 debugging issues that should never have existed.
- 主要言語
- Rust
- スター
- 2k
- フォーク
- 441
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
aws/amazon-q-developer-cli のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
aws/amazon-q-developer-cli#3898 ·
-
bug: invalid JSON in agent-format.md `allowedTools` Examples block (JS `//` comments + unquoted `@builtin`) breaks copy-paste対応中かも @ken-jo が 114 日前に担当しました。 オープン
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
aws/amazon-q-developer-cli#3851 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 72/100
aws/amazon-q-developer-cli#3316 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
aws/amazon-q-developer-cli#3023 · コメント 2 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 38/100
aws/amazon-q-developer-cli#3927 ·
aws/amazon-q-developer-cli の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
akitaonrails/ai-memory#1225 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
acsandmann/rift#577 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
-
[Bug]: rerank on the huggingface provider (TEI) always costs $0, configured input_cost_per_query is ignored対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープンllm translation
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信