codex: monthly audit fixes for issue #482 - #483
Draft
quantcrossrepoautomation[bot] wants to merge 1 commit into
Draft
quantcrossrepoautomation[bot] wants to merge 1 commit into
quantcrossrepoautomation[bot] wants to merge 1 commit into
Conversation
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.
Triggered by monthly review issue #482: #482
Changed Files
application/rebalance_service.pytests/test_rebalance_service.pyCodex Result
修复摘要
仅修改
application/rebalance_service.py与tests/test_rebalance_service.py。修复在已成功 claim 的 durable live command 上补充重复证据收敛:只有 marker/prior-report 读取成功、至少一项明确匹配、且当前周期未产生订单时,才以
expected_previous_state=CLAIMED写入CANCELLED。读取失败或事件写入返回None时保持CLAIMED,继续 fail-closed。新增离线历史回归覆盖:
CANCELLED;CLAIMED、零订单。未执行本地测试;按约定由 AIAuditBridge 应用补丁并运行 pinned bounded test。