Claude Code v2.1.223 ·
Remote agent and MCP task metadata files are schema-validated
Malformed remote agent and MCP task metadata files are now skipped rather than trusted.
Under the hoodTier: how much it should matter to you
2Useful: my rating, 1 to 5
0Signal: worth watching, 1 to 5
MCPArea: what it touches
ImprovementsKind: in v2.1.223,
ImprovementsSection of the release
What
Sidecar .meta.json files are now parsed through a zod schema before their contents are used.
Details
listRemoteAgentMetadata runs safeParse on each file and skips invalid ones, logging the parse error- both the sync and async MCP task listers do the same, so arbitrary JSON no longer flows into the list
Evidence
listMcpTaskMetadata: skipping , listRemoteAgentMetadata: skipping
Strings lifted out of the shipped bundle, so the claim above can be checked against them.
See this entry in the whole of v2.1.223 →