{"repo":"NousResearch/hermes-agent","public_id":"132942","display_label":"Handling unparseable JSON strings in tool argument coercion","summary":"These members concern how coerce_tool_args treats tool arguments that are strings shaped like JSON containers but cannot be parsed. One describes the todo_list case where the raw string is wrapped and the TodoStore list is replaced by a placeholder; the others refer to leaving such strings unwrapped and giving the model a clearer error about broken JSON.","subsystem":"agent","kind":"bug","counts":{"members":3,"open_issues":1,"open_issues_distinct":1,"open_prs":2,"closed_issues":0,"merged_prs":0,"attempt_prs":2},"landed_fix":null,"resolution":{"state":"unresolved","by":null},"freshness":{"state":"never_verified","last_verified_at":null,"is_stale":false},"grouping":{"backbone":"STRUCTURAL_SPANNING","link_density":0.6666666666666666},"fix_edges":[],"members":[{"kind":"issue","number":132942,"title":"todo_list: coerce_tool_args wraps an unparseable todos string as [raw]; TodoStore silently replaces the whole list with a \"(invalid item)\" placeholder","url":null,"state":"open"},{"kind":"pr","number":132950,"title":"fix(tools): keep unparseable container-shaped strings unwrapped in coerce_tool_args","url":null,"state":"open","close_reason":{"refs":[{"kind":"pr","value":"#161359","number":161359}],"category":"superseded_by_pr","implication":"superseded"},"merged":false},{"kind":"pr","number":161359,"title":"Tools tell the model its JSON is broken instead of a misleading shape error (#132942, salvage #132950)","url":null,"state":"open","close_reason":{"refs":[{"kind":"commit","value":"ba65e44c6769e84e1d629f1b3c177cca2d8c493d","number":0}],"category":"uncategorized","implication":"needs_llm"},"merged":false}],"trust":{"default_tier":"verified","includes_suggested":false}}