Evenfire is an intelligence layer platform for running LLM agents that take real actions, on your infrastructure
TypeScript
docs(grok): state that a chunked body is refused 411 before any gate
Alfredo Lopez8ea269619bf3
diff --git a/docs/architecture/grok-subscription-transport-contract.md b/docs/architecture/grok-subscription-transport-contract.mdindex fcea89ded..84b8992a5 100644--- a/docs/architecture/grok-subscription-transport-contract.md+++ b/docs/architecture/grok-subscription-transport-contract.md@@ -97,9 +97,11 @@ Proxy admission. A request whose declared `Content-Length` is above theordinary cap needs a valid platform identity, then takes a slot in a visualstream gate of 1 running and 4 queued (`VISUAL_STREAM_LIMITS`) before the bodyis read, so queued visual bodies are not held in memory. Visual bodies do not-take the ordinary in-flight byte budget. Chunked bodies stay on the ordinary-path, and a declared length above the visual cap is refused 413 before-reading. Anonymous, wrong-scope and admin requests keep the ordinary limit.+take the ordinary in-flight byte budget. A body sent with `Transfer-Encoding`+is refused 411 `length_required` before any gate (#731), so it never queues+behind a visual stream, and a declared length above the visual cap is refused+413 before reading. Anonymous, wrong-scope and admin requests keep the+ordinary limit.The visual wait uses the request's single admission clock (arrival +`maxQueueWaitMs`, 60 s). Unlike the ordinary stream gate, it does not end at