Artfical AI / Docs
tCode overview Open tAI Install tCode
How it works

Warnings on unusual destinations

The permission prompt does more than repeat the raw tool arguments back to you unmodified. It actively checks where a write or edit's target path resolves to on disk.

If that resolved location is outside your current project folder, an absolute path, or one built with .. that walks upward and out of where you are working, the prompt adds an explicit warning alongside the resolved path rather than showing it as an ordinary destination.

This exists because an unusual destination like that is genuinely easy to miss at a glance inside an otherwise normal-looking filename, and the warning is specifically there to surface exactly the case a quick skim would miss.

The check runs against the fully resolved path, not the literal text you would read in the prompt, so a relative path that walks upward through several parent directories before landing somewhere unexpected is caught the same way an obviously absolute path would be.

This warning appears in addition to the normal prompt, never in place of it; an unusual destination still shows the same full detail, path and size or command, with the warning as an added flag on top of that detail rather than a replacement for it.