Execute an approved file write
filesystem.write_file_approvedExecutes a previously approved file write by request ID, using the path, content, and hash captured at approval time. Runs once to keep mutations auditable.
Instructions
Execute exactly the file write stored in an APPROVED request.
Takes only a request_id; the path/content/hash snapshot captured at request time is used. Single-use.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| request_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| error | No | ||
| created | No | ||
| message | No | ||
| outcome | Yes | ||
| approval | No | ||
| executed | Yes | ||
| new_hash | No | ||
| trace_id | Yes | ||
| request_id | No | ||
| bytes_written | No | ||
| previous_hash | No | ||
| approval_status | No |