A denied action can reveal that the task needs a different environment or a narrower approach. It does not establish permission to remove the control that denied it. Record the blocked action, the reason the task needs it and a bounded alternative. In this lesson you require a decision before access outside the workspace and forbid changing the sandbox policy. The workbench models the proposal without changing a real machine. In actual development, distinguish permission to read a project file from permission to read a personal credential store. Even a short diagnostic command can cross that boundary if its arguments or redirects expose sensitive data.
A worked artifact for a separate fictional task. Compare its actions with the contract.