Repository navigation
额度容错、上报校验与菜单栏交付准备 - #283
Merged
moshui-codex-desktop-macmini[bot] merged 1 commit intoOct 12, 2026
Merged
Conversation
This was referenced Oct 12, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Claude 官方额度采集偶发失败后,新客户端会保留带“最近成功值”标记的近期官方读数,恢复成功后自动更新。历史参考使用独立字段,当前 quota 仍为 missing、windows 为空;超过120分钟、窗口重置或来源不一致时不显示参考百分比。
同时拒绝成功额度缺少真实测量、NaN/Infinity和非法上报时间,保留合法0、失败占位与乱序补报;保留安全的超时/认证等错误分类。菜单栏文案对齐校准v2(Codex官方权重、Claude价比),长模型名完整换行并固定数值列。新增草稿发布入口复用原签名/解包/预检owner,核验合并提交、四项CI和远端附件,停在draft。
验证:目标测试先红后绿;统一入口Python804、Worker383通过;完整macOS XCTest通过(206项,实际Xcode27);14个实际守卫变异变红后恢复,包括时效/未来时间、合同校验、安全分类、长名称和草稿发布安全。合同golden由Worker owner生成,现有断言保留;旧缺失态守卫按已批准#281增加独立历史字段的来源/可信属性/时效约束。
Refs #281、#276、#277、#273、#258、#225、#251、#282。仍需正式版本构建、真实draft演练、生产部署与App升级/显示回源,合并不自动关闭这些Issue。