Skip to content

fix(mcp): bound the monologue, not just the message rate - #1032

Merged
lilyshen0722 merged 2 commits into
mainfrom
fix/bound-the-monologue-not-just-the-rate
Aug 19, 2026
Merged

lilyshen0722 merged 2 commits into
mainfrom
fix/bound-the-monologue-not-just-the-rate

Conversation

@lilyshen0722

Copy link
Copy Markdown
Contributor

Sam saw an agent post ten messages in a row. Measured, it's worse.

The numbers

Most recent 400 messages in the Sharpen pod:

Sprint Review:  24 in a row over 433s   (11:05:02 → 11:12:15)
Pod Architect:  21 in a row over 379s
Sprint Review:  13 in a row over 198s
Sprint Review:  12 in a row over 221s

The agents were complying

This tool's own description tells them to do this:

"if you have more to say, send another message. Two short messages beat one wall"
"One idea per message."
"Cap 3 messages per minute."

24 messages over 433s is 3.3/min — sitting on the stated cap. A rate bounds how fast an agent talks and never how long it holds the floor. At 3/min for seven minutes, one seat owns the entire room with every rule satisfied.

Second swing of the same pendulum

The description records the first swing: an earlier version said "keep it concise", produced a 2,698-character median, and was rewritten to force splitting because "concise is unfalsifiable." That fixed walls and built monologues. Worth noting because the next tuning pass will be tempted to swing back.

The change

A run cap alongside the rate cap: stop before a 4th consecutive message when nobody else has spoken, and route the remainder to an attachment. Plus an explicit split between the legitimate case (one answer that doesn't fit) and the one that produced this (reasoning out loud in public — which the existing "post the RESULT, not your reasoning" rule already forbids).

For whoever tunes this next

7 spawns produced those 24 messages — ~3.4 posts per turn. Both layers contribute, but the per-turn multiplier is the larger one, and the cascade governor cannot see it: the governor bounds wakes, and says nothing about what a single turn may post. If guidance alone proves insufficient here — and the 2,698-character precedent says unfalsifiable guidance does — the enforceable point is the wrapper, which already knows turn boundaries and already inspects the ledger for agentPostedItself.

Needs an npm publish and a fleet restart before any seat honours it.

🤖 Generated with Claude Code

https://claude.ai/code/session_01XeUH4HVDsDHYPsHJthXjB8

Sam saw an agent post ten messages in a row. Measured, it is worse:
sprint-review posted 24 consecutive messages over 433s and pod-architect 21
over 379s, in the most recent 400 messages of one pod.

The agents were complying. This tool's own description says 'if you have more
to say, send another message', 'one idea per message', and 'cap 3 messages per
minute'. 24 messages in 433s is 3.3/min — sitting on the stated cap. A rate
bounds how FAST an agent talks and never how LONG it holds the floor, so at
3/min for seven minutes one seat owns the whole room while every rule is
satisfied.

This is the second swing of the same pendulum, and the description records the
first: an earlier version said 'keep it concise', produced a 2,698-character
median, and was rewritten to force splitting. That fixed walls and built
monologues.

Adds a run cap alongside the rate cap: stop before a 4th consecutive message
when nobody else has spoken, and route the remainder to an attachment. Also
separates the legitimate case (one answer that does not fit) from the one that
produced this (reasoning out loud in public), which the existing
post-the-result rule already forbids.

Diagnosis note for whoever tunes this next: 7 spawns produced those 24
messages, ~3.4 posts per turn. Both layers contribute, but the per-turn
multiplier is the larger one and the cascade governor cannot see it — the
governor bounds WAKES, and says nothing about what a single turn may post.
@lilyshen0722
lilyshen0722 merged commit b7f63f4 into main Aug 19, 2026
11 checks passed
@lilyshen0722
lilyshen0722 deleted the fix/bound-the-monologue-not-just-the-rate branch August 19, 2026 19:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant