quilt_edit
Replace a unique text string in a file with new text and record the author attribution, ensuring exact credit when multiple agents share a checkout.
Instructions
Edit a file through Quilt instead of your raw editor. Replaces the unique old_string with new_string and records WHO authored the change at the moment of the edit — so attribution is exact even when several agents share this checkout, with no claims or reconcile guesswork. Pass why (your ticket/task). Prefer this over a plain file edit when coordinating a fleet.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| why | No | a short why for this edit, 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. | |
| new_string | Yes | the replacement text | |
| old_string | Yes | the exact text to replace (must be unique in the file) |