Follow Discord
Sweep 22 Oct 2026 · 04:32Z Build v2.1.308 527 read Stable v2.1.308 Latest v2.1.308 Next v2.1.308 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.305 ·

Claude Code refuses ant commands holding certain agent IDs

A safety guard now blocks Bash ant commands containing staging, Vertex, Bedrock or local agent, environment and vault IDs, with tailored messages

Group of 2 You'll notice Improvements
JSON All of v2.1.305
You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
3Signal: worth watching, 1 to 5
Claude API SkillArea: what it touches
ImprovementsKind: in v2.1.305,
ImprovementsSection of the release

What

ant is a command-line tool for Anthropic's managed agents. Claude Code now checks Bash commands that run ant and refuses some of them before they run. This supports the /claude-api managed-agents-secure skill.

  • Prefixed IDs: commands containing agent_, env_ or vlt_ IDs followed by staging_, vrtx_ or bdrk_ are refused with "Claude Code did not run this command: it holds an ID starting agent_, env_ or vlt_ then staging_, vrtx_ or bdrk_".
  • Local IDs: local-server IDs such as agent_local_ are accepted only in a strict form. A second refusal path blocks arguments holding a locally derived ID (id_with_local_part), or one written as a plain literal (local_id).
  • Split IDs: IDs broken across a line continuation (a backslash that carries a command onto the next line) are now caught too.
  • Messages: each case returns its own refusal message. Before, only the id_with_second_part and managed_agents_secure_command_changed causes existed.

Why

If you use the managed-agents-secure skill, some ant beta: commands that used to run may now be stopped, with a message saying which kind of ID caused it. Nothing has been read about the gate tengu_claude_api_ant_command_refused.

Read from
Names in the bundle/claude-api
Since it was published

The entry above is what we published on the day. These lines were added later, as Anthropic's own pages caught up, and they sit beside the original rather than replacing it.

Confirmed since Anthropic's documentation has since written up /claude-api, on claude-api-skill. * **Onboarding flow:** An interview-driven walkthrough for setting up a new Managed Agent, available through the `/claude-api managed-agents-onboard` subcommand agents-and-tools/agent-skills/claude-api-skill see the edit
How sure we are
One source agreesOne thing we can check says the same as this entry.
Anthropic's documentation agreesAnthropic's documentation has since written up /claude-api, on claude-api-skill.

See this entry in the whole of v2.1.305 →

Feedback