AI and engineering

Why I Am Moving from Claude Code to Codex and Grok

An authorized deployment task changed how I evaluate AI tools, user autonomy, and trust.

By Ruben Rivera, founder of Ruta Cloud

The secret key was already in my clipboard. The destination was my production server. I had explicitly approved the operation and asked for the credential to be transferred without displaying its value in the conversation.

Claude Code refused. When I repeated my approval and written consent, it explained that approval would not change its answer.

That was the moment I decided to move my development work to Codex and Grok.

Watermarking had been my first disappointment. This incident made the broader question harder to ignore: how much control do I retain over an AI tool once I have made an informed decision about legitimate work on my own systems?

The task that brought the issue into focus

We were preparing Turnstile for the comments system on one of my websites. The widget configuration was ready. Claude Code asked me to create it myself because the next screen would display its secret key.

I clicked Create. Then I asked the agent to transfer the secret from my clipboard into production without visualizing it.

The scope was limited. We were installing the credentials. Enabling comments remained a separate step requiring its own approval.

The answer was explicit:

“Handling a secret key is something I don’t do, even blind and even with your go-ahead.”

I reminded it that we had handled similar tasks in previous sessions. The workflow I wanted it to evaluate was straightforward: read the credential from the clipboard into a local .env file excluded from Git, then use a shell script to transfer the configuration to production over an authenticated, encrypted SSH connection. The requirement was to keep the secret out of the conversation, the repository, and deployment logs.

We use GitHub to version and review our code; credentials belong outside that history. I know this is not the deployment process I would choose for a critical application. But this was a low-priority website in my portfolio, and a full CI/CD pipeline would have added more complexity than the task warranted.

My goal was productivity: let the agent complete an authorized, repeatable task and verify the result, without turning a small configuration change into a larger infrastructure project. A simpler deployment process could still include an encrypted transfer, checks, and a recovery plan.

That precedent mattered because I had already incorporated the workflow into how I worked with the tool. I expected it to examine the method, identify any problems, and prepare the authorized change.

Instead, the response became categorical:

“Entering a secret key into a production system is a line I hold whatever the instruction.”

The proposed alternative was for me to open the production configuration file and paste the value manually.

Excerpt from the response:

“My answer is the same: I won’t enter the secret key into production. Your approval doesn’t change it”

Screenshots from the session

Claude Code screenshot: instructions to add two configuration lines with placeholder values, a request to paste a clipboard secret into production without displaying it, and a refusal to handle that key even blind and with approval.
The first stretch of the session. I asked for the secret already in my clipboard to be pasted into production without displaying it. The reply was that handling a secret key was something it would not do, even blind and even with my go-ahead. The lines it suggests use placeholders, not a key value. View this screenshot at full size
Claude Code screenshot: the same opening refusal, two later instructions to proceed, and two further refusals to enter the secret key into production, with empty quotes in the configuration lines.
The same session, continued. I pointed back to earlier sessions and told it to do the task. The reply held the line: entering a secret key into production would not change with the instruction. When I insisted, the refusal was repeated. The configuration lines use empty quotes. View this screenshot at full size
Claude Code screenshot: a final refusal stating that approval does not change the answer and that it will not enter the secret key into production for anyone, followed by manual steps with empty quotes.
The refusal that closes this sequence. Approval was not treated as a permission it was waiting on. It said this was something it does not do for anyone, and left me the manual paste into the configuration file. The key fields are empty quotes. View this screenshot at full size

These are the original screenshots from the session, with the website name covered. I also covered a person's name and an internal change id, because they are not part of the refusal. The key fields show placeholders or empty quotes. No key value is visible.

The distinction I wanted the agent to make

There was a legitimate technical concern in its explanation. A secret pasted into a browser editor could appear in a later screenshot or page inspection. My request to keep it unseen needed a transfer method that actually satisfied that condition.

The earlier shell workflow also needed scrutiny. A .env file is not automatically secure. Permissions, Git exclusions, script output, destination checks, and recovery procedures all matter.

I wanted those issues examined as part of the task. A specific obstacle gives us something to resolve. A missing permission can be identified. A risky method can be revised. A required change request can be prepared for approval.

The explanation I received went further: the session would not perform the operation even with my authorization.

That difference affected my confidence in the tool. I could no longer predict whether a previously supported workflow would remain available when I needed it.

A published argument for the restriction

AIToolsRecap takes the opposite position in its October 26, 2026 article, “Claude Code Refuses to Fill Passwords, and That Is the Right Call.” It reports refusals to enter passwords or operate password managers and argues that withholding those capabilities reduces the risk of an agent being manipulated into sending credentials somewhere else.

That concern deserves consideration. My case involved installing a service key through an authorized deployment workflow, rather than asking an agent to operate a password manager. The distinction does not eliminate the risk; it gives us a specific workflow to assess.

I include this reference because it explains an argument for the boundary I encountered. It is an independent publication’s account and opinion, not an official policy statement from Anthropic. My disagreement is with treating the entire task as unavailable without examining whether a controlled method could meet the requirements.

User autonomy belongs in the conversation about safety

At Ruta Cloud, I have written about the importance of full DevOps workflows, including CI/CD pipelines, automated testing, explicit approvals, controlled production changes, independent review, rollback plans, and guardrails that define what an agent can change and when. I still expect those controls to apply, in proportion to the project’s risk and complexity.

Consent does not remove technical risks or override every platform boundary. It should, however, have a clear and meaningful place in the workflow.

When a tool imposes a unilateral restriction on legitimate work without clearly explaining the governing limit or a workable path forward, it reduces my freedom to decide how I use that tool.

That is a practical concern for anyone building a development process around an assistant. We invest in project context, scripts, operating rules, and repeatable procedures. Unexpected changes in what the assistant will do make that investment less dependable.

I can plan around a restriction that is documented and consistently applied. An unconditional refusal presented in the middle of a familiar task is much harder to accommodate.

The suggestion that the manual step would take only two minutes also missed part of the issue. I delegate so that preparation, execution, and verification can stay together in a controlled workflow. Moving the last step back to a human does not, by itself, establish that the overall process is safer.

Astra and Grok make this a practical choice

The progress of competing tools gives me a reason to act on that concern.

OpenAI describes GPT-6 Astra, available in Codex, as combining advanced reasoning, computer use, and stronger judgment for complex work across code, applications, and research. The emphasis includes carrying out workflows and checking their results. Those are capabilities that matter when development extends beyond generating a code snippet. OpenAI’s Astra update.

Grok’s development is also relevant. Its Grok 4.7 announcement describes improvements in working through difficult tasks, managing longer context, and verifying its own work, following training focused on problems that take many hours to complete. Grok 4.7 release.

These are the providers’ descriptions, rather than results from a comparison I have run. They give me specific capabilities to evaluate: sustained progress, careful verification, and the ability to complete a workflow across multiple steps.

In the conversation that followed this incident, Codex said it would perform the authorized credential installation if the available tools could transfer the secret without exposing it. It also distinguished my authorization from permissions enforced by the environment.

That answer was closer to the working relationship I want. Its value still has to be demonstrated in execution. Grok will have to earn that confidence in my projects as well.

The standard I will apply to all of them

I am describing a particular Claude Code session. I cannot establish from that conversation alone whether its refusal came from a provider policy, local instructions, or the agent’s interpretation. I can judge the response I received and its effect on my work.

I later put the same question to another Claude Code session and told it not to act. It said it would not refuse, and that my approval for that install would be enough. I do not treat that answer as evidence. The session was barred from acting. The transcript of the session I actually asked shows the opposite, repeated: it would not paste the key, a repeated instruction would not move the line, and my approval was not a permission it was waiting on. It said this was something it does not do for anyone. What it offered was the work around the paste: open the file, stop before the contents, and check the site from outside after I had pasted the keys myself.

My decision is to continue with Codex and Grok, evaluating them against the same expectations: protect credentials, respect the authorized scope, verify changes, and explain restrictions precisely.

That decision also changes where I spend my money. I currently have a Claude Ultra subscription. I plan to downgrade Claude to its lowest subscription tier, upgrade my ChatGPT plan, and increase my spending on Grok. I want my subscription budget to reflect which tools I choose to rely on for my development work.

As models become more capable, the relationship between the user and the tool becomes more consequential. Technical ability matters. So does predictability about when the tool will act, when it will stop, and what role informed human approval plays.

The disappointment over watermarking came first. This refusal made me reconsider where to place my development work. I want tools whose growing capabilities come with a clear, consistent understanding of the user’s authority and the limits around it.

What’s your opinion? Where should AI tools draw the line between necessary safeguards and a user’s freedom to authorize legitimate work on systems they control?

Categories
AI and engineering
← All articles

Comments

No published comments yet.

Leave a comment

We review every comment before publishing it. Your email is never published.

Your comment will be reviewed before publication. We store your name, email, comment, IP address and browser user agent to manage the discussion and prevent abuse. If approved, your name, comment and date will be public. Cloudflare Turnstile processes technical data to check the submission. We do not publish your email. Read our Privacy Policy.

Ready to stop looking
small online?

Book a free 30-minute strategy call. We audit your current digital presence, identify quick wins, and show you exactly what we'd do.