Quiz 16 Question 12 of 20

A developer asks an agent: 'Clean up the dead code in our payment module.' The agent interprets this as permission to remove any code that is not referenced by the main execution path, including feature flags that are currently disabled but are scheduled for activation next quarter. The agent deletes 3 feature flag implementations, which pass all automated tests (since they are not active), but cause a major incident when the quarterly feature release begins. Which evaluation approach would BEST have detected this intent misalignment before the deletion occurred?

Select an answer to reveal the explanation.

Motivation