fix(prompts): L57 红线节括注通用化补漏(Task 2 质量审查 Important 收口)+负向锚作用域注释+spec L216/L57 对账

Co-Authored-By: Claude Code <noreply@anthropic.com>
This commit is contained in:
浅念
2026-11-02 23:13:22 +08:00
parent ec2a40086c
commit b8447dab95
3 changed files with 8 additions and 3 deletions
+5 -1
View File
@@ -75,7 +75,11 @@ def test_company_facts_dual_ask():
def test_deflections_no_either_or_wording():
"""负向锚: 首次索要池不得回退二选一措辞(en "or email"/zh "或邮箱"/es "o correo")。"""
"""负向锚: 首次索要池不得回退二选一措辞(en "or email"/zh "或邮箱"/es "o correo")。
作用域仅限 deflections(首问池):通用化补句子句合法存在于 reminders 与
system.md("号码或邮箱"/"number or email" 等),若把负向锚扩到那里会误伤——
别"修正"子串也别扩作用域。"""
w = _wall()
for s in w["deflections"]["en"]:
assert " or email" not in s