fix: 发版链 fail-loud 与非 Shell 间接 git 归因收紧(v0.15.2 前置) - #67
Merged
Merged
Conversation
fix-release-chain-and-gate-attribution: - bump-plugin.mjs:bumpPlain 版本漂移时显式抛错(点名文件与两侧版本), 不再静默 no-op;五文件写后回读校验,杜绝半程假成功 - git 意图归因:非 Shell 脚本正文改按 exec/subprocess 调用形态识别 git 副作用, 帮助文本/模板字符串字面量不再触发(bump-plugin.mjs:164-165 实测误报); 真实间接调用仍「不可建模 → UNVERIFIED 阻断」;Shell 正文行为不变 - 测试:新增 test_indirect_git_attribution 7 用例;两处旧边界断言按新语义翻转 (调用形态命中、纯文本不命中);漂移 fixture 实证 fail-loud
- hook-protocol MODIFIED delta:非 Shell 间接按 exec/subprocess 调用形态归因(5 场景) - dot-prefix change 三条 requirement 补 RFC2119 规范句 - gate-full-scan-excludes 补 skip_specs(工具类修正先例) - 7 份主规格 Purpose 占位符换成真实描述(openspec 1.13.1 strict 要求) - openspec validate --all --strict 全绿(门禁同款二进制 exit=0)
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.
修复 v0.15.0 发版实测两缺陷:① bumpPlain 版本漂移静默 no-op → 显式抛错 + 五文件写后回读;② 非 Shell 间接正文按 exec/subprocess 调用形态归因,帮助文本 git 样例不再误报(bump-plugin.mjs 实测被锁死)。真实间接调用仍 UNVERIFIED 阻断。附带清零 openspec 校验债(7 份 Purpose 占位符 + 2 个 change 补正),validate --all --strict 全绿。新测试 7 用例 + 两处旧边界断言翻转;漂移 fixture 实证 fail-loud。