Files
Ignacy Łątka 03ed5511c7 test(mcp): assert the MCP server forwards flags without dropping its other headers
The MCP server is the primary client of a linked tool-server and had no
assertion on any request header, so neutering its flagHeaders() left the whole
suite green. Drives startMcpServer over a linked in-memory transport with only
stdio and the local spawn faked, so the routing gate and the header merge both
run for real: a merge that adds flags while dropping Authorization,
Content-Type or X-Argent-AI-Client now fails, as does one that forwards on the
local auto-spawn path.
2026-07-30 23:43:39 +02:00
..