docs: state the grounding bound as the per-server one it is #923
No reviewers
Labels
No labels
move-to-repo
coilyco-bridge-deploy
move-to-repo
coilyco-flight-deck-agent-compose
move-to-repo
coilyco-gaming-eco-app
move-to-repo
coilysiren-inbox
move-to-repo
unknown
🔒⚠️📦⚠️🔒 SANDBOXED 🔒⚠️📦⚠️🔒
autonomy
async-consult
autonomy
epic
autonomy
headless
autonomy
live-collab
c#
priority
P0
priority
P1
priority
P2
priority
P3
priority
P4
role/ai
role/creator
role/design
role/director
role/engineer
role/exec
role/human
role/ops
role/qa
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
coilyco-gaming/sirens-echo!923
Loading…
Reference in a new issue
No description provided.
Delete branch "issue-858-grounding-bound-per-server"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Takes the issue's first option: doc follows code.
Verified before writing
readGroundingis called atmcp.go:194, inside the per-server loop, andbudget := maxGroundingBytessits insidereadGroundingitself.maxGroundingDocumentsis checked in the same loop. Both reset per connected server. The issue's reading is correct.Why doc follows code
The issue says option 1 is sufficient "if the per-server shape is what was intended". It is: the bound exists so one large catalogue cannot crowd out the turn, and per server is exactly what stops one server flooding. A turn-wide budget would be a different property.
Code follows doc is not taken. Threading one budget through the server loop changes runtime behaviour and needs the per-server fairness question answered first, since a first-listed server could consume the whole budget and starve the rest. Nothing is near either bound today, so that decision does not have to be made under pressure, and this change does not foreclose it.
What a reader now sees
The scope is stated in the three places someone might start from:
docs/sirens-echo-mcp.mdwith the roster-wide worst case beside it,readGrounding's doc comment, and the line that initialises the budget.No test
The fix is a corrected sentence. A test asserting the doc's wording would restate configuration, which
AGENTS.mdrules out, and a behavioural test would need a two-server MCP fixture to assert behaviour nobody is changing.The page was at its 8,000-char cap, so three restatements elsewhere on it were compressed to make room.
closes #858