fabro/lib/components/fabro-tool
Scott Werner 70b1090f58 Drop the duplicate-key guard that no tool route can reach
FabroWorkflowVersionCreateParams deserialized `files` through a
duplicate-rejecting map, but both production routes (rmcp Parameters
and the native LLM tool dispatch) deserialize from an already-parsed
serde_json::Value in which duplicate keys have collapsed last-wins. The
only test that exercised the guard used serde_json::from_str, the one
entry point production never uses, so the safeguard was misleading.

Remove the attribute and its byte-level test, and drop the
deserialize_unique_map export that existed only for it. The canonical
WorkflowVersion wire type keeps its own duplicate-key rejection, which
does run on the byte-level HTTP route.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-12 10:15:29 -06:00
..
src Drop the duplicate-key guard that no tool route can reach 2026-09-12 10:15:29 -06:00
Cargo.toml Simplify workflow version registration tool layering 2026-09-12 10:15:29 -06:00