Repository navigation
Closed
Labels
area:skillsCodex skills and agent behavior guidanceCodex skills and agent behavior guidancearea:testsAutomated tests and test fixturesAutomated tests and test fixturesarea:workflowGitHub workflows and Python automation scriptsGitHub workflows and Python automation scriptsbugSomething isn't workingSomething isn't workingdocumentationImprovements or additions to documentationImprovements or additions to documentationready-to-specReady to write or refine the specReady to write or refine the specrepro:mediumModerate-confidence or partially reproducible issueModerate-confidence or partially reproducible issuetriagedIssue has been reviewed and categorizedIssue has been reviewed and categorized
Description
同步到其他仓库,跑测试的时候:
失败里的 spec 测试引用了 specs/issue-239/product.md,但仓库里没有这个 fixture;校验逻辑本身是在按“必须指向已存在 spec 文件”执行。
导致尝试自己修复了:
这里我会把测试改成现有的 specs/issue-1/product.md,并补齐 companion skill 的入口边界文案。
- 一个 spec 链接存在性判断路径不对
- 两个 repo review companion 文案不满足新增测试。我会先修这些失败项再提交。
- .github/aicodingflow-tests/AGENTS.md 有强调不能修改这些代码吗,其他仓库,刚才我的 codex 自己尝试修复测试了
Metadata
Metadata
Assignees
Labels
area:skillsCodex skills and agent behavior guidanceCodex skills and agent behavior guidancearea:testsAutomated tests and test fixturesAutomated tests and test fixturesarea:workflowGitHub workflows and Python automation scriptsGitHub workflows and Python automation scriptsbugSomething isn't workingSomething isn't workingdocumentationImprovements or additions to documentationImprovements or additions to documentationready-to-specReady to write or refine the specReady to write or refine the specrepro:mediumModerate-confidence or partially reproducible issueModerate-confidence or partially reproducible issuetriagedIssue has been reviewed and categorizedIssue has been reviewed and categorized
Activity
github-actions commentedon Jun 8, 2026
Triage
该问题更像是 AICodingFlow 上游测试/同步可移植性问题,而不是目标仓库业务代码问题。
test_product_change_report.py的合法 spec 链接用例引用../specs/issue-239/product.md。check_product_change_report_status.py会要求 spec 链接解析后位于仓库specs/issue-<number>/product.md或tech.md,且文件必须存在。specs/issue-239/product.md,所以本地窄测通过;同步到没有该 fixture 的仓库后会失败。test_review_contracts.py对 repo companion 边界文案的断言,目标仓库本地 companion 若缺少当前约定文案也会失败。.github/aicodingflow-tests/AGENTS.md说明该目录由 AICodingFlow 管理、可能被上游同步覆盖;不应放目标项目特有测试,但可以在上游修正这些管理测试。结论:建议作为
bug处理,范围涉及 workflow 测试、spec 链接校验用例和 review companion guidance。当前候选重复 issue 中只有 #239 与 spec 链接校验强相关,但未达到“2 个以上 likely duplicates”的 duplicate 标记门槛。