1. An agentic workflow automatically responds to Dependabot alerts by opening pull requests, running tests, and—if all checks pass—merging dependency updates. A risk review identifies that 'critical' severity Dependabot alerts for direct production dependencies should follow a different path than 'low' or 'moderate' alerts. Which design pattern best balances risk management with delivery velocity for this scenario?
- A. Route all Dependabot alerts through the same fully automated merge pipeline, but add a Slack notification for critical alerts so a human can manually revert if needed.
- B. Require human approval exclusively for pull requests triggered by critical-severity alerts on direct production dependencies, while allowing the fully automated flow to continue for low and moderate alerts.✓ Correct
- C. Pause the entire automated pipeline whenever any critical alert is detected in any repository until the security team performs a manual review of all pending alerts.
- D. Disable automatic merging entirely and have the agent only open pull requests, leaving all merge decisions to human reviewers regardless of severity.
Explanation
Differentiating the approval path by risk classification—fully automated for low/moderate, human-gated for critical on direct production dependencies—is the canonical 'autonomy level' design pattern described in the domain. It preserves velocity for the majority of alerts while applying the human-in-the-loop control exactly where risk justifies it. Option A (post-merge Slack notification) provides no pre-merge control; a merged critical vulnerability is already in the codebase before a human can act. Option C (pausing the whole pipeline for any critical alert) is disproportionately disruptive and slows remediation of low-risk alerts unnecessarily. Option D (all PRs human-reviewed) eliminates the velocity benefit of automation and adds approvals that do not materially reduce risk for low-severity updates.