Hi,
I'm using Retool CLI 0.4.36 with a React app converted from a Classic app using the new Retool Agent / App Builder.
The Agent created a retool-agent/ branch.
I cloned that exact branch with the CLI, made changes only to the application frontend/backend files, and:
retool check
passes completely.
However, retool push is rejected server-side with:
[cliFileAuthorization] CLI changes are not allowed for
/context/linked-classic-app/.positions/.clients.positions.json.
Restore this Retool-managed path before pushing.
We investigated this extensively and confirmed that the flagged file has not been modified locally.
Git topology:
origin/main = 4f38881 "Newly created app"
The /context/ directory does not exist on main.
Retool Agent later created:
/context/linked-classic-app/
in commit:
f60fb14 "Write classic app conversion context"
on the retool-agent/ branch.
The flagged file has exactly the same Git blob everywhere:
ce02b4e6e0ebf3c54e0fe1583c156fbb70206141
The blob is identical in:
- the working tree
- HEAD
- the remote retool-agent branch
- the parent of my local application commit
- the original Retool Agent commit f60fb14
My local application commit modifies zero files under /context/.
We also ruled out local file normalization:
- core.autocrlf is unset
- core.eol is unset
- no applicable .gitattributes rules
- LF in both index and working tree
- no BOM
- no CRLF
- no git diff on the flagged file
However:
git diff origin/main HEAD -- context/linked-classic-app/.positions/.clients.positions.json
reports the file as a pure addition (36 insertions, 0 deletions), because /context/ was created by Retool Agent on the agent branch and does not exist on main.
This seems consistent with cliFileAuthorization evaluating the Retool-managed path against a server-side baseline where /context/ does not exist, rather than against the current retool-agent branch head.
I cannot confirm which baseline the server-side gate actually uses, but this behavior fits all the observations above.
Since /context/ is Retool-managed and the CLI policy does not allow it to be modified or deleted, I don't see a safe client-side workaround.
What is the supported CLI workflow for pushing frontend/backend changes from an Agent-created branch that contains Retool-managed /context/ files?
I have not modified or deleted anything under /context/ and have not attempted to work around the authorization gate.
I already reported the issue using retool feedback:
Feedback ID: a6389b6a-6f0a-49e9-965b-25d2fa7561b8
CLI version: 0.4.36
Launcher version: 0.1.4
Thanks!