Messages that are OK to send to a Claude Code subagent while it is working

日本語

Contents of this article

Summary

In the development of a service at my own company, an AI agent handed work to Claude Code subagents. This requesting AI agent’s assumptions about how messages to a subagent still at work are handled, and about where a subagent can write, did not match what actually happened. The rule for such messages ended up deciding, by the content of each message, whether it is sent. The requesting AI agent may send corrections to the scope of the work, to facts, and to priorities, provided it words them as its own judgment. It does not send my approvals or permissions. It sends no reply to a subagent in a dynamic workflow until a one-time check has confirmed that replying does not start a second subagent with the same ID.

A dynamic workflow is a mechanism that starts many subagents from a script. The requesting AI agent’s records cover four days in September and October 2026. On each of two consecutive days among those four, subagents’ work stopped after the requesting AI agent had sent messages.

The observations here are limited to the development records of this service from September and October 2026, and those records do not say which version of Claude Code was in use when this happened. I have not checked how much time and how many tokens the stopped work took, or whether the same thing happens on the current version.

What you can take away

Developers who hand work to subagents in Claude Code can get the following four things from this article.

This article is a discussion based on the records the requesting AI agent left during the development of a service at my own company.