> ## Documentation Index
> Fetch the complete documentation index at: https://ancplua.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# AL0128 - Destructive Loom tool must require approval

> Loom tools with destructive side effects (WritesExternalState, MutatesCode, Deploys, ClosesIssue) must declare [RequiresApproval] to ensure governance gates are in place before execution

Source: [AL0128DestructiveToolMustRequireApprovalAnalyzer.cs](https://github.com/ANcpLua/ANcpLua.Analyzers/blob/main/src/ANcpLua.Analyzers/Analyzers/AL0128DestructiveToolMustRequireApprovalAnalyzer.cs)

## Description

Loom tools with destructive side effects (WritesExternalState, MutatesCode, Deploys, ClosesIssue) must declare \[RequiresApproval] to ensure governance gates are in place before execution.

## Properties

* **Category**: GenAI
* **Severity**: Warning
* **Enabled by default**: True
* **Code fix available**: False

## Configuration

```editorconfig theme={null}
dotnet_diagnostic.AL0128.severity = warning
```
