5445beb6f5
The write approval gate discarded a mounted tool's function-valued approval and never decoded the device JSON payload, defaulting the tier to exec. Read/write xd:// operations then prompted in non-yolo modes that permit them. Now decode valid object payloads and resolve the mounted tool's normal approval decision via resolveToolTier; malformed JSON, non-object payloads, and unknown devices still fall back to exec and prompt. Fixes #5727