Implement the ECO-02 impact contract: compare the recursively expanded
(global_id, parent, remote, SHA, state) identities of an accepted root commit
and a candidate, expand domain gitlink changes to child identities, close over
the reverse requires graph built from the union of both revisions, add parent
domains, then reach a fixed point over checks_with. An unexpandable domain is
reported UNVERIFIED and widens the affected set to the full candidate instead of
skipping (--fail-on-unverified makes it fatal).
integration.sh runs it against the accepted root ref (PR target branch or
origin/main) and records changed/affected/checks_with/fallback in the candidate
evidence JSON. Five contract tests build real temporary Git repositories,
including a domain gitlink change and the conservative fallback.
Refs cflmy/marqdo#7
The candidate evidence heredoc referenced the report without reading it after the
rebase; define the report from <work>/impact.json (or None when no accepted ref
was available) before building the record.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
范围(ECO-02 / marqdo#7 剩余核心项)
实现
scripts/impact.py递归影响分析,并接入候选集成证据:(global_id, parent, remote, SHA, state);domain gitlink 变化展开到子组件身份,不只标记父节点。requires新旧图并集的反向传递闭包(删除边不能隐藏消费者)→ 父级领域 →checks_with固定点(协同验收不作为构建先决)。--fail-on-unverified可硬失败。scripts/integration.sh对 PR 目标分支(CI_COMMIT_TARGET_BRANCH)或origin/main运行分析,并把 changed/affected/checks_with/fallback 写入候选证据 JSON。验证(本地候选
b43f104)python3 -m unittest tests.integration.test_impact:5/5 PASS。python3 scripts/impact.py --accepted origin/main --candidate HEAD:changed/affected 为空、无 UNVERIFIED、fallback=None(仅脚本/测试变更,符合预期)。integration.sh中实际运行分析并写入证据。Refs cflmy/marqdo#7
b43f104984to328cc5c61b