Repair invalid social publishing payloads after validation. Fixes X/Twitter, LinkedIn, and Xiaohongshu posts, preserves intent, removes risky terms or links when possible, and returns corrected JSON, fixed rule codes, remaining risks, and diff so agents can retry safely.