quilt_write
Create or overwrite a file while recording the writing agent as the author for exact attribution, and deny writes if another agent holds the path to prevent conflicts.
Instructions
Create or overwrite a whole file through Quilt instead of your raw editor, recording YOU as the author of its contents at write time, so attribution is exact even when several agents share this checkout, with no claims or reconcile guesswork. Use this for new files; use quilt_edit to change part of an existing one. Pass why (your ticket/task). If another agent holds this path, the write is denied with their intent so you can reconcile instead of clobbering.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| why | No | a short why for this write, e.g. the ticket/task | |
| path | Yes | file path (repo-relative or absolute; stored repo-relative) | |
| actor | No | actor id to act as. Auto-derived per connection when omitted (from the client name, e.g. cursor-3fa2), so naming is optional for a single agent. Pass an explicit id (your role/task name) when several subagents share one server — they have no ambient identity to tell them apart — or when you want a stable id across runs. | |
| content | Yes | full file contents to write |