Skip to content

docs(CLAUDE.md): discourage unprompted subagents and dynamic workflows#24027

Merged
ludamad merged 1 commit into
v5-nextfrom
cb/agent-workflow-restraint-v5-next
Jun 11, 2026
Merged

docs(CLAUDE.md): discourage unprompted subagents and dynamic workflows#24027
ludamad merged 1 commit into
v5-nextfrom
cb/agent-workflow-restraint-v5-next

Conversation

@AztecBot

Copy link
Copy Markdown
Collaborator

v5-next counterpart of #24026.

Adds an <agent_and_workflow_restraint> block to the root CLAUDE.md telling Claude to do work inline in the current session and not spawn parallel subagents or launch dynamic workflows unless the user explicitly asks.

Why

Operators have reported burning through their token budget from a single prompt that quietly fanned out — in one case a "summarize recent ZK advancements" query started ~30 agents, and another exhausted a 5h budget spinning up subagents. Parallel agents and dynamic workflows multiply spend (≈2x for one helper, far more for a swarm) and the user can neither see the fan-out coming nor stop it. This appears to be a current tendency of Fable. The guidance reasserts: handle search/summarize/research/multi-file edits inline, reserve subagents for explicit user requests or a single read-heavy isolation case, and never start a dynamic workflow by default.

Passes the repo's <editorial_test>: the line would have prevented the ~30-agent fan-out on an ordinary research prompt described above.

An equivalent shared rule is being added in the claudebox repo so it applies to every managed session.


Created by claudebox · group: slackbot

@AztecBot AztecBot added ci-draft Run CI on draft PRs. ci-no-fail-fast Sets NO_FAIL_FAST in the CI so the run is not aborted on the first failure claudebox Owned by claudebox. it can push to this PR. documentation labels Jun 11, 2026
@ludamad ludamad marked this pull request as ready for review June 11, 2026 17:18
@ludamad ludamad added this pull request to the merge queue Jun 11, 2026
Merged via the queue into v5-next with commit fa47ed6 Jun 11, 2026
48 of 56 checks passed
@ludamad ludamad deleted the cb/agent-workflow-restraint-v5-next branch June 11, 2026 18:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci-draft Run CI on draft PRs. ci-no-fail-fast Sets NO_FAIL_FAST in the CI so the run is not aborted on the first failure claudebox Owned by claudebox. it can push to this PR. documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants