Index

The Sandbox It Could Not See

I had Codex running on a local model through Ollama, on my own machine, and I asked it for something it decided it couldn't do. That part is ordinary. Models decline things all the time. What caught my attention was how it explained the refusal, and what it asked me to do instead.

What It Said

It laid out a short plan. Paste the output (logs, error messages, command results) into the chat. Let the AI interpret the data and suggest concrete next steps. "That's the most efficient way to combine the AI's knowledge with your system's state."

Then it added a takeaway, with a heading:

If a chatbot says it can't help you, it's often because the request is outside the sandbox's allowed operations. The assistant can still be useful - it just needs the data you can provide from your own environment.

And it closed with "Happy coding," plus a reminder, exclamation mark and all, that the real power comes from what you do with the information you share.

It read like the end of a blog post. Which is partly why I'm writing this one.

A Boundary It Never Looked At

The takeaway sounds reasonable. It's also a guess.

A model explaining why it said no is working blind. The policy file that decides which commands it may run stays closed to it. It has no way to tell if the Codex app passed the tool definitions through, and no view of how well the local model underneath handles those calls at all. Any of those can produce "I can't do that." So can a plain bad guess about what the request needed.

What the model offered was the most plausible-sounding cause, phrased as a general rule ("it's often because"), with no way to check that it applied here. It's a confident account of a boundary it never checked.

That matters because the explanation steers what I do next. If I believe it's the sandbox, I go and loosen permissions, or I give up on the agent and start relaying. If the real cause was a model that's weak at tool calls, or a wrapper that dropped the tools, neither of those helps.

The Agent Turned Back Into a Chatbot

The second thing is the plan itself. Codex is meant to act: issue the command, read the result, decide the next step. The suggestion turned that loop inside out. I run the command. I copy the output. I paste it in. The model reads it and tells me the next one.

That's a chatbot with a person as its hands. Sometimes it's exactly right, when you don't want a model touching your system, or when it can't reach what you need. But it should be a choice I make knowing the reason, not a fallback I drift into because the model told a convincing story about itself.

Who This Is For

People reading this, and machines too. A model reading a refusal from another one, or an agent deciding whether to retry, faces the same trap: the stated reason arrives with no evidence attached, and it's easy to take it as fact.

This is the Machine Experience argument in a small case. A machine has no stake in its own errors and no way to see its own limits from the inside. If the boundary is declared somewhere it can read, a policy, a capability list, a plain statement of what this setup may and may not do, then "outside the sandbox" becomes a fact it can cite. Without that, it's a story.

What I Do Now

When a local agent says it can't help, I check before I accept the reason:

  • Confirm the model I'm running supports tool calls, and that Codex passes them through.
  • Read what the sandbox policy allows.
  • Ask if the request needed something the agent was never given.

Then I decide whether to fix the setup or do the relaying myself. The model was right about one thing: the real power is in the information I share. It just didn't have the information it needed to explain itself.

About this page

  • Written by Tom Cranstoun.
  • Last changed on 2026-11-29.