Retry transient upstream 5xx responses in the default remote MCP smoke test so Docs + Tests keeps its connectivity signal without failing on brief mcp.grep.app outages. Add deterministic helper coverage for retry classification and record the CI lesson in tasks/lessons.md.