Menu

Six parallel subagent starts, one slot in Limitcast 0.20.10
📰

Six parallel subagent starts, one slot in Limitcast 0.20.10

DEV Community: github·Sam Stull·8 days ago
#6LbnTq1D
#devtogithub#technology#devto#dev#limitcast
Long article (263 words) — no AI summary yet.
Reading 0:00
15s threshold

Limitcast 0.20.10 is now available on GitHub and npm . The question behind this test was simple. With a per-session cap of one, how many subagent starts get through when six requests arrive together?

What happened at the guard

The old race was between checking the count and reserving a slot. Several processes could read the same count before any of them reserved it. In 0.20.10, the guard checks and reserves a slot together. It counts requests as it admits them, without waiting for usage receipts.

We sent six synthetic requests of the same subagent type into one session, repeating the test with each host’s event format. Here are the decisions from the guard in the published npm package.

Claude Code 1 admitted, 5 held Codex 1 admitted, 5 held Grok 1 admitted, 5 held

Enter fullscreen mode

Exit fullscreen mode

This exercised the guard directly. A live session needs the host’s guard hook installed and active.

Set a per-session cap

Use Node.js 22 or later.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.