aws-samples / aws-samples/sample-autonomous-cloud-coding-agents
feat(agent): tiered validation pipeline (Tiers 2–3)
- 主要言語
- TypeScript
- スター
- 143
- フォーク
- 46
- 平均マージ
- 3日 10時間
- マージ済み PR(30日)
- 24
説明
**Context:** ROADMAP.md → Agent quality → Tiered validation pipeline
**Related:** #149 (ADR-013 closed), in-pipeline fix-up draft, evaluation pipeline draft
---
## Component
Agent (Python runtime)
## Describe the feature
Three post-agent tiers per roadmap:
1. **Tier 1 (already shipped):** tool validation—build/test/lint via agent post-hooks and PR body baselines. *This issue implements Tiers 2–3 only.*
2. **Tier 2:** code quality—DRY/SOLID/complexity analysis.
3. **Tier 3:** risk and blast radius analysis—feeds PR risk classifier and review routing (#425).
See ADR-013 tiered validation pyramid.
## Use case
Build/lint passing does not imply maintainable or low-risk changes. Operators want graduated validation before PR creation and to feed evaluation metrics.
## Proposed solution
1. Define tier interfaces in `agent/` with Blueprint opt-in per repo.
2. Tier 2: integrate existing linters/analyzers (eslint complexity, ruff, optional semgrep rules) with structured JSON output.
3. Tier 3: rule-based blast radius (files touched, public API surface, migrations)—output consumed by PR risk classifier draft.
4. Non-blocking advisory mode first; optional Cedar/policy gates later.
5. Emit validation results to `TaskEventsTable` and task record for dashboards.
## Other information
- ADR-013 documents the validation pyramid; this issue tracks **implementation**.
- Design context: `docs/decisions/ADR-013-tiered-validation-pyramid.md`, `docs/design/EVALUATION.md`.
- [ ] This might be a breaking change
コントリビューションガイド
調査の方向性
まず docs/decisions/ADR-013-tiered-validation-pyramid.md と docs/design/EVALUATION.md を読み、次に agent/ インターフェースと TaskEventsTable の参照を調べます。Tiers 2–3 が Blueprint opt-in、構造化されたアドバイザリー結果、blast-radius 出力、タスクレコードとどのように統合されるかを定義します。完了条件は、これらの結果をダッシュボードと PR リスク分類器に供給できることです。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- python
- 領域
- ai, devtools
- issue の種類
- 機能追加
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 活発さ
- 静か
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100