778b94e0ea
circuit open 时直接 return 本地键色扣除,使同函数后面的阿里云兜底不可达; BgFilter 一旦连续失败触发 cooldown,整段冷却期从「BgFilter→阿里云→本地」 双供应商降级退化成只剩低质量本地扣色。 - 抽出统一兜底链 fallback_editor_screen_background_removal(阿里云→本地), 熔断打开与 BgFilter 调用失败两条路径共用:熔断只跳过 BgFilter HTTP 调用本身, 仍先试阿里云。阿里云失败审计逻辑原样搬入 helper,零行为改动。 - 日志 tag 改为 editor_bgfilter_circuit_open_fallback_to_aliyun_matting,如实反映。 - 结构测试升级为 in-order 断言,钉死「熔断→fallback→请求→fallback」与 helper 内「阿里云→本地」顺序,防止回退成直接本地扣色。 Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>