aws-samples / aws-samples/sample-autonomous-cloud-coding-agents
(orchestration): Tiered human review routing by PR risk
- Lingua principale
- TypeScript
- Stelle
- 143
- Fork
- 46
- Merge medio
- 3g 10h
- PR unite (30g)
- 24
Descrizione
## Component
API or orchestration
## Describe the feature
Route PRs to **different human review requirements** based on **PR risk classification** (and optional code-area rules): auto-notify only senior reviewers for critical paths, skip human for docs-only low-risk, etc.
## Use case
Review is the new bottleneck. Teams experiment with **risk compartments** in the codebase—more scrutiny on critical paths, lighter review on internal/docs changes—and conserving human attention.
## Proposed solution
1. Extend **PR risk classification** (roadmap) output to `review_tier: minimal | standard | elevated`.
2. Blueprint maps tiers to: required reviewers (GitHub teams), Cedar approval rules, notification templates.
3. Optional: auto-merge when tier=minimal and all automated gates pass (Cedar-gated).
## Other information
- Builds on roadmap **PR risk classification**; this draft adds **routing** UX not spelled out in ROADMAP.md.
- Pairs with **feature-pre-human-automated-review-gate**.
## Acknowledgements
- [ ] I may be able to implement this feature
- [ ] This might be a breaking change
## Acceptance criteria
- [ ] Risk tier persisted on task/PR metadata.
- [ ] Notification plane respects tier (who gets heads-up).
- [ ] Documented examples for docs-only vs. auth-critical paths.
- [ ] Tests for classifier → routing mapping.
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Inizia leggendo ROADMAP.md per il lavoro sulla classificazione del rischio delle PR e analizza la funzionalità collegata del gate di revisione automatizzata precedente alla revisione umana. Traccia dove sono rappresentati i metadati del rischio, le notifiche e le regole di approvazione di Cedar, quindi usa i criteri di accettazione come definizione di completamento: livelli persistiti, notifiche consapevoli del livello, esempi documentati e test dal classifier al routing.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- github, typescript
- Ambito
- api, authorization
- Tipo di issue
- Funzionalità
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Stato di attività
- Tranquilla
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 38/100