Repository navigation
fix(attribution): 让 case-tools 通道适配显式结论 writer (#608) - #611
Closed
Shadow-Azure wants to merge 1 commit into
Closed
Shadow-Azure wants to merge 1 commit into
Shadow-Azure wants to merge 1 commit into
Conversation
Shadow-Azure
force-pushed
the
fix/case-tools-explicit-conclusion
branch
from
November 25, 2026 07:50
be2e4c5 to
014b629
Compare
Shadow-Azure
force-pushed
the
fix/case-tools-explicit-conclusion
branch
from
November 25, 2026 08:04
014b629 to
82d978a
Compare
Owner
Author
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.
问题
main 在
744f4f57之后unit-tests-api持续红(4 个用例),ci-ok红,所有 PR 被阻断:tests/attribution/test_case_tools.py::test_only_platform_writer_chooses_paths_and_case_identitytests/m5-05-launch-wizard/test_launch_api.py::test_startup_claims_existing_binding_with_shared_providertest_local_attribution_from_wizard_to_cluster[bubblewrap-bound-bubblewrap]/[case-tools-other-case-tools]根因是并行 PR 的语义冲突:
f9ad7434,03:09Z 合入)新增CaseTools,按旧 writer CLI 调用make_probe_report.py。744f4f57,06:21Z 合入)把 writer 改为显式结论契约(--conclusion/--root-cause必填、--evidence-ref可重复),但没有更新CaseTools与 fixture。修复
CaseTools.ReportFields增加必填conclusion/root_cause、可选evidence_references;probe_object/probe_type改为可选(仅在指认因果对象时提供)。write_probe_report显式传--conclusion/--root-cause/ 重复--evidence-ref,保留--probe_object/--probe_type/--object-version/ proposal 语义;writer 契约与 bubblewrap 主路径不变。tests/attribution/case_cli_fixture.py两个分支、tests/attribution/test_case_tools.py同步新字段与断言。bugfix-56重复 →bugfix-58;修复归因 Skill 将外部根因标记为当前对象缺陷 #588in-progress→done),否则docs-flow/flow-online无法转绿;docs(flow): 新增 AI Agent 后端可替换 issue (#604) #605 会在本 PR 合入后 rebase 去掉重复 hunk。验证
本地已完成:
conclusion/root_cause/evidence_references正确落盘,退出码 0)py_compile通过pnpm verify:flow/verify-flow --diff origin/main通过CI 将跑完整
unit-tests-api(含此前失败的 4 个用例)、docs-flow、flow-online与其余 lane。非目标
make_probe_report.py的 CLI/报告结构;不改 bubblewrap 主路径与结论判定语义;不新增依赖。Closes #608