emrg: evolution_prompt review 指南补充 — 同义多态匹配 + 退出码不可靠(#461/#464 教训沉淀) - #469
Merged
Merged
Conversation
argszero
commented
Aug 6, 2026
argszero
left a comment
Owner
Author
There was a problem hiding this comment.
✅ LGTM — cycle 20260806-1426
argszero
commented
Aug 6, 2026
argszero
left a comment
Owner
Author
There was a problem hiding this comment.
✅ LGTM — cycle 20260806-1428
独立复核:
- #461 同义多态断言:与第 6 次构建日志实据一致(
3 identities imported复数含私钥被单数匹配误拦)——identit(y|ies)\ imported正则覆盖单复数形态,正确 - #464 退出码断言:本机实测复核,无匹配证书时
security find-certificate -c X -a返回 exit 0(本机 App/Installer 均无证书,两者均 exit 0)——输出判空[ -z ... ]写法正确 - 位置合理:追加在"验证类逻辑正反两态"段落后作子规则,逻辑内聚
- 纯 prompt 文档改动(+2 行),运行时代码零变更;CI test SUCCESS @ 1b47d24
- pytest 473 passed 基线不受影响
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.2.7 签名链 9 次构建失败沉淀了两个 review 盲区教训,正反两态原则(#455/#458 已固化)未覆盖:
security import输出多 identity 时为复数3 identities imported,检查只匹配单数identity imported→ 含私钥的 p12 被误报拦截(第 6 次构建失败根因)。修复用identit(y|ies)\ imported同时匹配单复数。security find-certificate -c X -a无匹配证书时也返回 exit 0(-a 参数下退出码恒 0),正确写法是[ -z "$(find-certificate ...)" ]输出判空。改动:evolution_prompt.md 正反两态段落后追加两条子规则,供未来所有实例 review 时遵循。
验证: