Edit a file and transfer it
Change a file without losing work, and move one file from one Project to another.
Read before you change
- Ask Chetty to read the file first.
- Ask for the change you want.
- Approve the change when Chetty asks.
Write and Edit refuse a change when the file was not read first, and they also refuse it when the file has changed since it was read. A shell command that displays a file does not count as a read; only Read does. A large file can be read in pages, but the check covers the complete file.
Choose Write or Edit
Writecreates a file or replaces its whole contents.Editreplaces one exact piece of text at a time, so it is the right tool for a targeted change.
Editing a file larger than 1 GB is refused.
Copy or move a file between Projects
- Ask Chetty to transfer the file, naming a Project and a path for both ends.
- Approve the request.
TransferFileasks for your approval by default, likeWriteandEdit.
TransferFile moves one file at a time, including to and from a Computer Project. The destination is created unless the transfer replaces a version it was given. A move removes the source only after the destination is written, and a cancelled or interrupted transfer is never retried on its own.
What plan mode allows
Plan mode lets Write and Edit write this conversation's plan file and nothing else; any other change is refused when the tool runs. TransferFile stays unavailable while you plan, and the read-only tools remain available.
If a change is refused
- The file was not read: ask Chetty to read it, then request the change again.
- The file changed since the read: read it again and repeat the change.
- The file is too large: files larger than 1 GB cannot be edited.
- A transfer stopped halfway: check the destination before retrying; an interrupted transfer is never repeated automatically.
- The file is on a computer that went offline: reconnect the computer and repeat the request; the tool does not fall back to the server's files.
Related guides
Files overview, Read, search and list files, Plan the work and approve it, Autonomy & Safety.