humsana_safe_write_file
Writes files with cognitive safety interlock, blocking large destructive rewrites when user is fatigued and saving overrides to review.
Instructions
Write content to a file with Humsana Cognitive Interlock protection. This tool prevents AI from making large destructive rewrites when the user is fatigued. If AI tries to delete/rewrite >30 lines while user is tired, it blocks the write and saves to a review folder. Use this for ALL file write operations.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | The content to write to the file | |
| filepath | Yes | The absolute path to the file to write | |
| override_reason | No | If the user said 'OVERRIDE SAFETY PROTOCOL: [reason]', pass their reason here to bypass the interlock |