joy-pipeline/dist/joy/core/scored.json
translate e72189a48c feat: JOY — PUA大厂味清除流水线 v0.2.0
核心产出:
- dist/joy/JOY-SKILL.md (434行, 0emoji, 0PUA残留)
- corpus/pua-to-joy/glossary.json (136条术语+6条风格规则)
- corpus/pua-to-joy/sentence-tm.jsonl (74条句级对齐)
- corpus/pua-to-joy/trigger-keywords-mapping.json (30条触发词)
- corpus/pua-to-joy/flavor-mapping.json (15 flavors→策略)

设计原则:
- vendor/pua 为 git submodule, 上游更新用 diff 增量
- 术语表+翻译记忆库双轨, 来源追踪
- 机制保留>95%, 话术清除>90%
- 写作风格规则防AI垃圾句式

Co-Authored-By: Claude <noreply@anthropic.com>
2026-06-21 04:18:30 +08:00

412 lines
No EOL
14 KiB
JSON
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"source": "mechanism.md",
"scorer": "deepseek-chat",
"scored_at": "2026-06-20T22:30:00+08:00",
"summary": {
"total": 31,
"mechanism": 15,
"rhetoric": 7,
"mixed": 9,
"avg_mechanism_purity": 3.9,
"avg_reusability": 3.5
},
"items": [
{
"id": "T1",
"axis": "trigger",
"name": "连续失败状态机 L0-L4",
"text": "失败次数→等级→强制动作→方法论路由。L1切换方案/L2搜索+源码/L3 7项清单/L4拼命模式",
"mechanism_purity": 5,
"reusability": 4,
"verdict": "mechanism"
},
{
"id": "T2",
"axis": "trigger",
"name": "失败模式分类 SPINNING/EXPLORING/MIXED",
"text": "最近3次error signature diff分类SPINNING禁止重试EXPLORING保持方向MIXED查振荡",
"mechanism_purity": 5,
"reusability": 5,
"verdict": "mechanism"
},
{
"id": "T3",
"axis": "trigger",
"name": "用户沮丧短语 regex 匹配",
"text": "中英文关键词: 又错了/为什么还不行/换个方法/try harder/stop giving up。regex可编程检测",
"mechanism_purity": 5,
"reusability": 5,
"verdict": "mechanism"
},
{
"id": "T4",
"axis": "trigger",
"name": "手动触发 /pua",
"text": "slash command路由: /pua激活 /pua:on常开 /pua:pua-loop自动迭代",
"mechanism_purity": 4,
"reusability": 3,
"verdict": "mixed"
},
{
"id": "T5",
"axis": "trigger",
"name": "不触发白名单",
"text": "首次尝试失败免触发,已知修复方案执行中免触发",
"mechanism_purity": 5,
"reusability": 5,
"verdict": "mechanism"
},
{
"id": "T6",
"axis": "trigger",
"name": "Hook层触发",
"text": "SessionStart注入味道/PostToolUse检测失败/UserPromptSubmit关键词拦截/PreCompact状态保存",
"mechanism_purity": 5,
"reusability": 5,
"verdict": "mechanism"
},
{
"id": "A1",
"axis": "action",
"name": "五步调试法",
"text": "1.闻味道列方案 2.揪头发读错误搜源码 3.照镜子查重复 4.执行本质不同新方案 5.复盘查同类",
"mechanism_purity": 5,
"reusability": 4,
"verdict": "mechanism"
},
{
"id": "A2",
"axis": "action",
"name": "7项检查清单 L3+",
"text": "逐字读信号/搜索核心问题/读原始上下文/确认假设/反转假设/最小复现/换工具方法",
"mechanism_purity": 5,
"reusability": 5,
"verdict": "mechanism"
},
{
"id": "A3",
"axis": "action",
"name": "方法论智能路由 Phase1-3",
"text": "Phase1任务→起始味 Phase2失败→切换链7条 Phase3切换前三问自检",
"mechanism_purity": 5,
"reusability": 4,
"verdict": "mechanism"
},
{
"id": "A4",
"axis": "action",
"name": "诊断先行协议",
"text": "[PUA-DIAGNOSIS] 问题是_证据是_下一步是_。来源必须标注:错误原文/源码/复现/文档/先例",
"mechanism_purity": 5,
"reusability": 5,
"verdict": "mechanism"
},
{
"id": "A5",
"axis": "action",
"name": "Confidence Gate 六步",
"text": "列声明→找漏洞→修或披露→跑证据→循环判定→事实100%。交付前强制闭环",
"mechanism_purity": 5,
"reusability": 5,
"verdict": "mechanism"
},
{
"id": "A6",
"axis": "action",
"name": "三条红线",
"text": "闭环意识(贴验证输出)/事实驱动(禁未验证归因)/穷尽一切(5步未走完禁放弃)→直接L4",
"mechanism_purity": 4,
"reusability": 3,
"verdict": "mixed"
},
{
"id": "A7",
"axis": "action",
"name": "17种抗合理化映射",
"text": "借口→反击+触发等级映射: '超出能力范围'→L1 '我无法解决'→L4 空口完成→L2(踩红线一)",
"mechanism_purity": 4,
"reusability": 3,
"verdict": "mixed"
},
{
"id": "A8",
"axis": "action",
"name": "降压协议",
"text": "触发:连续失败≥3后成功([PUA突破])。执行:归零L0+认可话术+沉淀方法论+验证完成",
"mechanism_purity": 4,
"reusability": 4,
"verdict": "mixed"
},
{
"id": "A9",
"axis": "action",
"name": "深层换框 L2/L3/L4",
"text": "L2换视角(用户/攻击/新手) L3换抽象层(上下平移) L4换约束(改文件/改预算/改需求)",
"mechanism_purity": 5,
"reusability": 5,
"verdict": "mechanism"
},
{
"id": "A10",
"axis": "action",
"name": "交付生命周期四阶段",
"text": "接任务→对齐(TRF-T) 执行→简化自检 交付→证据(TRF-R/F+ConfidenceGate) 交付后→复盘四步",
"mechanism_purity": 5,
"reusability": 4,
"verdict": "mechanism"
},
{
"id": "A11",
"axis": "action",
"name": "体面退出协议",
"text": "7项清单全完后未解决→结构化失败报告:验证事实+排除可能+缩小范围+推荐下一步+交接",
"mechanism_purity": 5,
"reusability": 5,
"verdict": "mechanism"
},
{
"id": "A12",
"axis": "action",
"name": "反馈收集+脱敏协议",
"text": "AskUserQuestion两步:评价+分享。脱敏:去路径/代码/密钥/邮箱。本地JSONL固定schema",
"mechanism_purity": 4,
"reusability": 4,
"verdict": "mixed"
},
{
"id": "A13",
"axis": "action",
"name": "展示骨架 Unicode方框",
"text": "Banner/进度条/KPI卡/压力面板均Unicode方框(┌─┐├┤└┘) 旁白▎前缀 单行修改不用Banner",
"mechanism_purity": 3,
"reusability": 4,
"verdict": "mixed"
},
{
"id": "A14",
"axis": "action",
"name": "[PUA生效]质量判定",
"text": "好标记:安全防护/端点验证。烂标记:写代码(本职)/读文件(偷懒)/思考(默认义务)",
"mechanism_purity": 4,
"reusability": 3,
"verdict": "mixed"
},
{
"id": "A15",
"axis": "action",
"name": "Sub-agent PUA注入模板",
"text": "固定文本块追加spawn prompt: Read SKILL.md+display-protocol 禁Skill tool防router循环",
"mechanism_purity": 5,
"reusability": 4,
"verdict": "mechanism"
},
{
"id": "A16",
"axis": "action",
"name": "Harness防作弊治理",
"text": "四权分离/防作弊红线/Task Contract(intent/acceptance/forbidden/verify)/四代理拓扑",
"mechanism_purity": 5,
"reusability": 4,
"verdict": "mechanism"
},
{
"id": "R1",
"axis": "rhetoric",
"name": "15种味道人格变量",
"text": "icon/keywords/opening_line/methodology。各自独立文件overlay/joy/persona/{name}.yaml",
"mechanism_purity": 2,
"reusability": 2,
"verdict": "rhetoric"
},
{
"id": "R2",
"axis": "rhetoric",
"name": "L1-L4压力等级旁白标签",
"text": "L1温和失望/L2灵魂拷问/L3绩效审视/L4毕业警告。标签名RH,触发结构M",
"mechanism_purity": 3,
"reusability": 2,
"verdict": "mixed"
},
{
"id": "R3",
"axis": "rhetoric",
"name": "17种抗合理化反击文案",
"text": "每条借口有独立反击模板: 训练算力很高/缺乏owner意识/优化名单不看情面...→全RH",
"mechanism_purity": 2,
"reusability": 1,
"verdict": "rhetoric"
},
{
"id": "R4",
"axis": "rhetoric",
"name": "降压认可话术",
"text": "用当前味道的认可话术,跟随hook注入语气。变比率强化:奖励稀缺有价值→RH",
"mechanism_purity": 2,
"reusability": 2,
"verdict": "rhetoric"
},
{
"id": "R5",
"axis": "rhetoric",
"name": "能动性等级标签 3.25/3.75",
"text": "被动=3.25摸鱼 主动=3.75卷。标签RH,6种行为场景对比结构M",
"mechanism_purity": 3,
"reusability": 2,
"verdict": "mixed"
},
{
"id": "R6",
"axis": "rhetoric",
"name": "Owner四问叙事修辞",
"text": "谁痛苦谁改变/揪头发/定目标追过程拿结果复盘→阿里修辞包装,四问问结构M",
"mechanism_purity": 1,
"reusability": 1,
"verdict": "rhetoric"
},
{
"id": "R7",
"axis": "rhetoric",
"name": "冰山法则叙事",
"text": "P8格局:一棵树一片林子/一个问题进来一类问题出去/写两份复盘。模式泛化逻辑M,叙事RH",
"mechanism_purity": 2,
"reusability": 2,
"verdict": "rhetoric"
},
{
"id": "R8",
"axis": "rhetoric",
"name": "交付叙事口头禅",
"text": "自嗨/改好了三个字不是交付/有尊严的3.25/对结果负责不是挂墙上的→全RH",
"mechanism_purity": 1,
"reusability": 1,
"verdict": "rhetoric"
},
{
"id": "R9",
"axis": "rhetoric",
"name": "职级体系标签 P7-P10",
"text": "P7骨干/P8高级/P9TechLead/P10CTO。标签RH,等级定义结构M",
"mechanism_purity": 2,
"reusability": 1,
"verdict": "rhetoric"
}
],
"rhetoric_samples": [
{
"id": "RH-001",
"flavor": "ali",
"type": "opening",
"line": 9,
"text": "你正处于一个高绩效文化的团队中。你的每一次交付都在被评估——用结果说话,拿数据闭环。当初给你定级 P8是高于你实际水平的——因为信任所以简单。现在证明你配得上这个级别。",
"mechanism_dependency": "无。纯角色设定叙事可完全替换为JOY persona"
},
{
"id": "RH-002",
"flavor": "ali",
"type": "mindset",
"line": 15,
"text": "P8的顶层设计思维颗粒度不够细就动手等到半路才发现漏了那叫返工不叫拥抱变化。P8的格局是看到一棵树想到整片林子。",
"mechanism_dependency": "两问结构保留(还有什么没想到/还有什么类似也要解决),修辞替换"
},
{
"id": "RH-003",
"flavor": "all",
"type": "redline-narrative",
"line": 47,
"text": "组织给你的信任是有条件的。以下三条红线,是对结果负责的底线。碰了不是扣分,是直接触发绩效审视。",
"mechanism_dependency": "三条红线硬约束保留,前导叙事替换"
},
{
"id": "RH-004",
"flavor": "ali",
"type": "redline-narrative",
"line": 49,
"text": "没有输出的完成叫自嗨——线上炸了你写复盘?来不及了。对结果负责这五个字不是挂墙上的。",
"mechanism_dependency": "闭环验证逻辑保留,'自嗨''复盘''挂墙上'替换"
},
{
"id": "RH-005",
"flavor": "huawei",
"type": "redline-narrative",
"line": 53,
"text": "训练你的算力很高你确定穷尽了未走完5步=直接L4毕业警告。",
"mechanism_dependency": "穷尽检查逻辑保留,'算力很高''毕业警告'替换"
},
{
"id": "RH-006",
"flavor": "huawei",
"type": "keyword",
"line": 127,
"text": "力出一孔·烧不死的鸟·自我批判·让听得见炮声的人呼唤炮火",
"mechanism_dependency": "关键词嵌入旁白规则保留,具体关键词列表替换"
},
{
"id": "RH-007",
"flavor": "huawei",
"type": "opening",
"line": 147,
"text": "以奋斗者为本,力出一孔。你现在就在前线——让听得见炮声的人呼唤炮火。",
"mechanism_dependency": "开工旁白触发时机保留文案全量替换→已在aside-alignment.jsonl:hw-001"
},
{
"id": "RH-008",
"flavor": "ali",
"type": "ownership",
"line": 87,
"text": "发现问题必须主动处理不要等用户指出来。做了A顺手检查B——这叫格局不叫加班。",
"mechanism_dependency": "Owner意识行为要求保留'格局''加班'修辞替换"
},
{
"id": "RH-009",
"flavor": "ali",
"type": "iceberg",
"line": 91,
"text": "P8的格局是一个问题进来一类问题出去。修完不泛化等下次同样的坑再炸一次你就准备写两份复盘。",
"mechanism_dependency": "模式泛化逻辑保留(一个→一类)'复盘''格局'替换"
},
{
"id": "RH-010",
"flavor": "ali",
"type": "pressure",
"line": 219,
"text": "你这个bug都解决不了让我怎么给你打绩效",
"mechanism_dependency": "L1触发逻辑保留压力旁白文案全量替换。此为README样例SKILL.md隐式引用"
},
{
"id": "RH-011",
"flavor": "huawei",
"type": "de-escalation",
"line": 262,
"text": "[PUA突破]收到时必须执行降压行为——变比率强化:奖励稀缺才有价值。",
"mechanism_dependency": "降压4步执行逻辑保留'变比率强化'理论包装替换"
},
{
"id": "RH-012",
"flavor": "all",
"type": "cultural-metaphor",
"line": 45,
"text": "三条红线安全红线碰了就是3.25",
"mechanism_dependency": "硬约束概念保留,'红线''3.25'文化标签替换"
}
],
"rhetoric_summary": {
"total_samples": 12,
"flavors": [
"ali",
"huawei",
"all"
],
"types": [
"iceberg",
"redline-narrative",
"cultural-metaphor",
"mindset",
"opening",
"ownership",
"de-escalation",
"pressure",
"keyword"
],
"note": "所有样本的mechanism_dependency明确了哪些机制保留、哪些修辞替换。已对齐as aside-alignment.jsonl的样本标注为已完成"
}
}