Governance
Scope deletion in skill workflows before execution
Show the target and expected impact, then verify what the service actually removed.
A user may ask a skill to remove an old draft, while the service exposes both a reversible archive action and a permanent delete. The workflow should match the user’s authority and intended result, and it should present the affected scope before a consequential change.
Resolve the exact target
Find the record using a stable identifier and confirm its relevant revision or parent collection. Understand what the provider does with child assets, shared links, or prior versions. A similarly named copy or an automatically selected latest draft may be a different target from what the user intended.
Enforce the authorized operation
Select the documented action and verify applicable permission and review at the execution boundary. If a broader or irreversible action is materially different from the request, pause for the necessary decision. Handle a timeout using the provider’s status or read behavior rather than repeating an ambiguous operation.
Verify impact after execution
Check the state specified by the action, such as archived, recoverable, or absent. Report actual effects and explicitly unresolved cases. Use owned fixtures to test scope and verify that neighboring records remain available.