Sign in or sign up before continuing. Don't have an account yet? Register now to get started.
Register now
DAP-Powered Intelligent Reviewer Assignment
## Summary Add "Enable Duo" toggle that changes reviewer assignment from groups to individuals. When enabled, DAP selects the best person from each approval group instead of assigning everyone, eliminating diffusion of responsibility and driving DAP adoption. ## Problem Statement Group assignments create diffusion of responsibility - when `@backend-team` (5 people) gets assigned, each assumes someone else will review faster. This delays reviews and reduces accountability. **Solution:** DAP analyzes group members and assigns only the optimal individual based on workload, timezone, and availability. ## Acceptance Criteria - [ ] **"Enable Duo" toggle** at project/group level that switches assignment behavior - [ ] **Individual selection** - DAP picks one person from approval groups instead of assigning everyone - [ ] **Selection factors** - considers current workload, timezone compatibility, and availability status - [ ] **All approval types** - works for CODEOWNERS, approval rules, approval policies, push rules - [ ] **X token per decision** - each selection consumes exactly X DAP token - [ ] **Fallback behavior** - returns to group assignment if DAP unavailable - [ ] **Performance** - selection completes in <2 seconds ## Technical Scope **DAP Agent:** - Build selection algorithm that scores group members on workload/timezone/availability - Return optimal individual instead of group expansion - Handle 1 token per selection with graceful degradation **Integration:** - Add toggle that routes assignments through DAP agent when enabled - Extend beyond CODEOWNERS to all approval requirement types - Maintain existing assignment APIs and notification systems ## Success Metrics - **Individual assignment rate** when toggle enabled - **Time to first review** improvement vs group assignments - **Toggle adoption** across eligible projects - **DAP token consumption** from selection decisions ## Dependencies - Epic 1 completion (provides assignment infrastructure) - DAP Platform availability
epic