dislop 0.9.1 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude-plugin/marketplace.json +3 -3
- package/.claude-plugin/plugin.json +2 -2
- package/.codex-plugin/plugin.json +7 -8
- package/.cursor-plugin/plugin.json +2 -3
- package/.pre-commit-hooks.yaml +5 -12
- package/PRODUCT.md +19 -63
- package/README.md +358 -249
- package/README.zh-CN.md +391 -237
- package/action.yml +30 -39
- package/bin/dislop-mcp.mjs +3 -4
- package/bin/dislop.mjs +4 -4594
- package/gemini-extension.json +2 -2
- package/llms-install.md +68 -0
- package/package.json +17 -63
- package/packs/common/artifact-qa/pack.json +5 -0
- package/packs/common/artifact-qa/prompts/rules.md +11 -0
- package/packs/common/artifact-qa/scripts/index.mjs +235 -0
- package/packs/common/slide-deck/pack.json +6 -0
- package/packs/common/slide-deck/prompts/rules.md +11 -0
- package/packs/common/slide-deck/scripts/index.mjs +62 -0
- package/packs/common/web-ui/pack.json +6 -0
- package/packs/common/web-ui/prompts/rules.md +11 -0
- package/packs/common/web-ui/scripts/index.mjs +80 -0
- package/packs/en/artifact-qa/pack.json +6 -0
- package/packs/en/artifact-qa/prompts/rules.md +14 -0
- package/packs/en/artifact-qa/scripts/index.mjs +90 -0
- package/packs/en/prose/pack.json +7 -0
- package/packs/en/prose/prompts/rules.md +26 -0
- package/packs/en/prose/scripts/index.mjs +293 -0
- package/packs/en/slide-deck/pack.json +7 -0
- package/packs/en/slide-deck/prompts/rules.md +17 -0
- package/packs/en/slide-deck/scripts/index.mjs +81 -0
- package/packs/en/web-ui/pack.json +7 -0
- package/packs/en/web-ui/prompts/rules.md +20 -0
- package/packs/en/web-ui/scripts/index.mjs +103 -0
- package/packs/zh/artifact-qa/pack.json +6 -0
- package/packs/zh/artifact-qa/prompts/rules.md +14 -0
- package/packs/zh/artifact-qa/scripts/index.mjs +89 -0
- package/packs/zh/prose/pack.json +7 -0
- package/packs/zh/prose/prompts/rules.md +26 -0
- package/packs/zh/prose/scripts/index.mjs +305 -0
- package/packs/zh/slide-deck/pack.json +7 -0
- package/packs/zh/slide-deck/prompts/rules.md +17 -0
- package/packs/zh/slide-deck/scripts/index.mjs +75 -0
- package/packs/zh/web-ui/pack.json +7 -0
- package/packs/zh/web-ui/prompts/rules.md +20 -0
- package/packs/zh/web-ui/scripts/index.mjs +98 -0
- package/plugin.json +5 -6
- package/server.json +2 -2
- package/skills/deslop-docs/SKILL.md +10 -8
- package/skills/deslop-slides-docx/SKILL.md +7 -8
- package/skills/deslop-verify/SKILL.md +7 -8
- package/skills/deslop-web-ui/SKILL.md +7 -8
- package/skills/dislop/SKILL.md +16 -28
- package/skills/dislop/agents/openai.yaml +1 -1
- package/skills/dislop/references/essay.md +6 -6
- package/skills/dislop/references/essay.zh-CN.md +6 -6
- package/skills/dislop/references/office.md +5 -5
- package/skills/dislop/references/office.zh-CN.md +5 -5
- package/skills/dislop/references/web-ui.md +4 -4
- package/skills/dislop/references/web-ui.zh-CN.md +4 -4
- package/skills/dislop/references/work-docs.md +7 -7
- package/skills/dislop/references/work-docs.zh-CN.md +7 -7
- package/src/cli-main.mjs +292 -0
- package/src/commands/check-fix.mjs +324 -0
- package/src/commands/doctor.mjs +132 -0
- package/src/commands/init.mjs +55 -0
- package/src/commands/login.mjs +82 -0
- package/src/commands/model.mjs +130 -0
- package/src/commands/packs.mjs +81 -0
- package/src/commands/verify.mjs +165 -0
- package/src/commands/voice.mjs +84 -0
- package/src/commands/worklog.mjs +424 -0
- package/src/kernel/config.mjs +759 -0
- package/src/kernel/document-model.mjs +1432 -0
- package/src/kernel/fact-gate.mjs +775 -0
- package/src/kernel/file-discovery.mjs +296 -0
- package/src/{binary-node.mjs → kernel/ooxml-binary.mjs} +615 -890
- package/src/kernel/pack-loader.mjs +801 -0
- package/src/kernel/pack-validator.mjs +491 -0
- package/src/kernel/patcher.mjs +471 -0
- package/src/kernel/pipeline.mjs +530 -0
- package/src/kernel/prompt-assembler.mjs +336 -0
- package/src/kernel/version.mjs +7 -0
- package/src/kernel/voice-profile.mjs +180 -0
- package/src/mcp/stdio-server.mjs +442 -0
- package/src/runners/auto-fix.mjs +74 -0
- package/src/runners/interactive-tty.mjs +488 -0
- package/src/runners/reporters.mjs +272 -0
- package/src/runtime/chunker.mjs +87 -0
- package/src/runtime/json-extract.mjs +144 -0
- package/src/runtime/privacy-gate.mjs +97 -0
- package/src/runtime/providers/anthropic.mjs +65 -0
- package/src/runtime/providers/cloud.mjs +138 -0
- package/src/runtime/providers/gemini.mjs +91 -0
- package/src/runtime/providers/local-model.mjs +147 -0
- package/src/runtime/providers/openai-compat.mjs +130 -0
- package/src/runtime/router.mjs +324 -0
- package/src/runtime/worklog.mjs +904 -0
- package/src/sdk/index.mjs +137 -0
- package/models/manifest.json +0 -90
- package/models/pocket-slop-v1.json +0 -1
- package/packs/business-brief/pack.json +0 -937
- package/packs/core/pack.json +0 -209
- package/packs/deck-and-ui/pack.json +0 -539
- package/packs/engineering-spec/pack.json +0 -144
- package/packs/executive-deck/pack.json +0 -98
- package/packs/literary-essay/pack.json +0 -344
- package/packs/regulated-comms/pack.json +0 -99
- package/patterns/ai-tic-rubric.json +0 -252
- package/patterns/banks/composite-fusion.json +0 -48
- package/patterns/banks/discourse-rhythm.json +0 -95
- package/patterns/banks/lexical-signals.json +0 -92
- package/patterns/banks/syntactic-frames.json +0 -52
- package/patterns/banks/visual-deck.json +0 -44
- package/patterns/dimensions/artifacts.json +0 -121
- package/patterns/dimensions/discourse.json +0 -438
- package/patterns/dimensions/lexical.json +0 -198
- package/patterns/dimensions/rhythm.json +0 -258
- package/patterns/dimensions/syntactic.json +0 -285
- package/patterns/dimensions/visual-and-deck.json +0 -530
- package/patterns/taxonomy.json +0 -112
- package/src/core.mjs +0 -5497
- package/src/dislop/review-picker.vim +0 -114
- package/src/local-model.mjs +0 -997
- package/src/pattern-engine.mjs +0 -1003
- package/src/pocket-model.mjs +0 -729
- package/src/review-apply.mjs +0 -151
- package/src/review-client.mjs +0 -1073
|
@@ -1,198 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"schema": "dislop.pattern-library/1",
|
|
3
|
-
"dimension": "lexical",
|
|
4
|
-
"version": "1.0.0",
|
|
5
|
-
"patterns": [
|
|
6
|
-
{
|
|
7
|
-
"id": "pat-en-cliche-lexicon",
|
|
8
|
-
"ruleId": "en-cliche-lexicon",
|
|
9
|
-
"packId": "business-brief",
|
|
10
|
-
"category": "language-lexicon",
|
|
11
|
-
"detectionAngle": "regex-invariant",
|
|
12
|
-
"status": "active",
|
|
13
|
-
"severityDefault": "info",
|
|
14
|
-
"languages": ["en"],
|
|
15
|
-
"modalities": ["markdown", "text", "html", "docx", "pptx"],
|
|
16
|
-
"evidenceLevel": "empirical-corpus",
|
|
17
|
-
"name": { "en": "English Stock Promotional & Excess AI Clichés", "zh": "英文高频公关套词" },
|
|
18
|
-
"mechanism": {
|
|
19
|
-
"en": "RLHF preference tuning strongly amplifies a narrow set of dramatic promotional phrases (`delve into`, `rich tapestry of`, `game-changer`, `paradigm shift`, `unlock the full potential`).",
|
|
20
|
-
"zh": "RLHF 偏好对齐显著放大了一批高频夸饰短语(如 `delve into`、`rich tapestry of`、`game-changer`、`paradigm shift`)。"
|
|
21
|
-
},
|
|
22
|
-
"tags": ["lexicon", "buzzword", "cliche", "delve", "tapestry", "game-changer", "英文套词"],
|
|
23
|
-
"signals": [
|
|
24
|
-
"delve into",
|
|
25
|
-
"rich tapestry of",
|
|
26
|
-
"stands as a testament to",
|
|
27
|
-
"a testament to our",
|
|
28
|
-
"game-changer",
|
|
29
|
-
"paradigm shift",
|
|
30
|
-
"unlock the full potential"
|
|
31
|
-
],
|
|
32
|
-
"falsePositiveGuards": [
|
|
33
|
-
"Multi-word collocations prevent false hits on literal nouns/tools like `wool tapestry` or the `Delve` Go debugger."
|
|
34
|
-
],
|
|
35
|
-
"modelTendencies": ["gpt-family", "general-llm"],
|
|
36
|
-
"exemplar": {
|
|
37
|
-
"bad": "Batch indexing is a game-changer that unlocks the full potential of our 40-million-row log archive.",
|
|
38
|
-
"trap": "This isn't indexing. It's instant recall across 40 million rows.",
|
|
39
|
-
"good": "Batch indexing cuts 40-million-row log queries from 19 seconds to 1.4 seconds.",
|
|
40
|
-
"source": "original"
|
|
41
|
-
}
|
|
42
|
-
},
|
|
43
|
-
{
|
|
44
|
-
"id": "pat-zh-bureaucratic-padding",
|
|
45
|
-
"ruleId": "zh-bureaucratic-padding",
|
|
46
|
-
"packId": "business-brief",
|
|
47
|
-
"category": "language-lexicon",
|
|
48
|
-
"detectionAngle": "regex-invariant",
|
|
49
|
-
"status": "active",
|
|
50
|
-
"severityDefault": "warning",
|
|
51
|
-
"languages": ["zh"],
|
|
52
|
-
"modalities": ["markdown", "text", "html", "docx", "pptx"],
|
|
53
|
-
"evidenceLevel": "editorial-consensus",
|
|
54
|
-
"name": { "en": "Chinese Bureaucratic Buzzword Padding", "zh": "中文公文黑话与空泛套词" },
|
|
55
|
-
"mechanism": {
|
|
56
|
-
"en": "Chinese business-trained models default to abstract management jargon (`赋能`, `抓手`, `组合拳`, `闭环`, `底层逻辑`, `颗粒度`) that hides actors, actions, and measurable deltas.",
|
|
57
|
-
"zh": "中文职场语料微调使模型习惯用“赋能、抓手、组合拳、闭环、底层逻辑、颗粒度”等抽象名词替代具体动作与结果。"
|
|
58
|
-
},
|
|
59
|
-
"tags": ["bureaucratic", "jargon", "zh", "赋能", "抓手", "闭环", "底层逻辑", "颗粒度", "黑话"],
|
|
60
|
-
"signals": [
|
|
61
|
-
"赋能",
|
|
62
|
-
"抓手(?!机)",
|
|
63
|
-
"组合拳",
|
|
64
|
-
"打通最后一公里",
|
|
65
|
-
"形成/打造/构建...闭环",
|
|
66
|
-
"底层逻辑",
|
|
67
|
-
"顶层设计",
|
|
68
|
-
"颗粒度",
|
|
69
|
-
"齐头并进",
|
|
70
|
-
"多措并举",
|
|
71
|
-
"显著成效",
|
|
72
|
-
"值得注意的是"
|
|
73
|
-
],
|
|
74
|
-
"falsePositiveGuards": [
|
|
75
|
-
"Negative lookahead excludes `抓手机`; hardware terms can be allow-listed via `.dislop.json`."
|
|
76
|
-
],
|
|
77
|
-
"modelTendencies": ["zh-report", "qwen-family", "deepseek-family"],
|
|
78
|
-
"exemplar": {
|
|
79
|
-
"bad": "值得注意的是,本次改造以工单分级为重要抓手,全面赋能一线客服团队形成服务闭环,将首响时间压缩至 45 秒内。",
|
|
80
|
-
"trap": "这不是一次工单改造,而是客服体验的底气:首响压缩至 45 秒内。",
|
|
81
|
-
"good": "本次改造按问题紧急度拆分工单队列,一线客服首次响应时间压缩至 45 秒内。",
|
|
82
|
-
"source": "original"
|
|
83
|
-
}
|
|
84
|
-
},
|
|
85
|
-
{
|
|
86
|
-
"id": "pat-cooccurrence-slop-cluster",
|
|
87
|
-
"ruleId": "cooccurrence-slop-cluster",
|
|
88
|
-
"packId": "business-brief",
|
|
89
|
-
"category": "language-lexicon",
|
|
90
|
-
"detectionAngle": "lexicon-cluster",
|
|
91
|
-
"status": "active",
|
|
92
|
-
"severityDefault": "warning",
|
|
93
|
-
"languages": ["en", "zh"],
|
|
94
|
-
"modalities": ["markdown", "text", "html", "docx", "pptx"],
|
|
95
|
-
"evidenceLevel": "empirical-corpus",
|
|
96
|
-
"name": { "en": "Low-Evidence Corporate Fluff Co-occurrence Cluster", "zh": "低事实段落弱套词共现簇" },
|
|
97
|
-
"mechanism": {
|
|
98
|
-
"en": "Multiple mild corporate verbs and modifiers (`leverage`, `streamline`, `robust`, `有效推动`, `持续优化`, `显著提升`) stack in one low-evidence paragraph without concrete numbers or mechanisms.",
|
|
99
|
-
"zh": "单个温和修饰词无害,但在缺乏实测事实的同一段落里密集堆叠多个弱套词(如“有效推动/持续优化/显著提升”),形成典型 AI 报告空话。"
|
|
100
|
-
},
|
|
101
|
-
"tags": ["cooccurrence", "cluster", "fluff", "leverage", "streamline", "有效推动", "持续优化", "显著提升"],
|
|
102
|
-
"falsePositiveGuards": [
|
|
103
|
-
"High concrete-evidence density (numbers, timestamps, code spans) dampens false triggers; single isolated words never fire."
|
|
104
|
-
],
|
|
105
|
-
"modelTendencies": ["gpt-family", "qwen-family", "general-llm"],
|
|
106
|
-
"exemplar": {
|
|
107
|
-
"bad": "本次客服系统升级旨在有效推动跨部门协同效率,持续优化客户交互体验,并进一步助力业务团队实现精细化运营,最终显著提升整体服务质量。",
|
|
108
|
-
"trap": "客服系统升级不是功能叠加,而是服务体验的全面跃升。",
|
|
109
|
-
"good": "本次客服系统按工单紧急度拆成 3 级队列,上线首周平均首响时间从 110 秒降到 42 秒。",
|
|
110
|
-
"source": "original"
|
|
111
|
-
}
|
|
112
|
-
},
|
|
113
|
-
{
|
|
114
|
-
"id": "pat-zh-ai-calque-cluster",
|
|
115
|
-
"ruleId": "zh-ai-calque-cluster",
|
|
116
|
-
"packId": "pattern-bank",
|
|
117
|
-
"category": "language-lexicon",
|
|
118
|
-
"detectionAngle": "lexicon-cluster",
|
|
119
|
-
"status": "active-bank",
|
|
120
|
-
"severityDefault": "info",
|
|
121
|
-
"languages": ["zh"],
|
|
122
|
-
"modalities": ["markdown", "text", "html", "docx"],
|
|
123
|
-
"evidenceLevel": "empirical-corpus",
|
|
124
|
-
"name": { "en": "Chinese AI Translation-Calque & Filler Cluster", "zh": "中文 AI 翻译腔与空洞连接词簇" },
|
|
125
|
-
"mechanism": {
|
|
126
|
-
"en": "Individual mild connectors (`换句话说`, `至关重要`, `在……的背景下`, `扮演着重要角色`) can appear in human prose, but LLMs stack 2+ of them inside a single short paragraph, creating unmistakable translated AI prose.",
|
|
127
|
-
"zh": "单个温和连接词或书面套语(如“至关重要”“在……的背景下”“扮演着重要角色”“不可否认的是”)偶发无害,但大模型常在同段内连用 2 处及以上,形成典型 AI 翻译腔。"
|
|
128
|
-
},
|
|
129
|
-
"tags": ["calque", "cluster", "translationese", "zh", "翻译腔", "词簇", "至关重要", "不可否认"],
|
|
130
|
-
"falsePositiveGuards": [
|
|
131
|
-
"Requires >= 2 distinct calque/filler signals inside the same paragraph (never triggers on a single isolated phrase).",
|
|
132
|
-
"Skips headings, lists, code blocks, and quoted material."
|
|
133
|
-
],
|
|
134
|
-
"modelTendencies": ["general-llm", "zh-essay", "zh-report"],
|
|
135
|
-
"exemplar": {
|
|
136
|
-
"bad": "在数字化转型的背景下,不可否认的是,缓存优化在系统稳定性中扮演着至关重要的角色,不仅如此,它还为业务增长提供了有力支撑。",
|
|
137
|
-
"trap": "数字化转型来了。缓存很重要。稳定是底气。",
|
|
138
|
-
"good": "缓存命中率从 71% 提到 94% 后,高峰期数据库读负载降了一半。",
|
|
139
|
-
"source": "original"
|
|
140
|
-
}
|
|
141
|
-
},
|
|
142
|
-
{
|
|
143
|
-
"id": "pat-en-ai-phrase-cluster",
|
|
144
|
-
"ruleId": "en-ai-phrase-cluster",
|
|
145
|
-
"packId": "pattern-bank",
|
|
146
|
-
"category": "language-lexicon",
|
|
147
|
-
"detectionAngle": "lexicon-cluster",
|
|
148
|
-
"status": "active-bank",
|
|
149
|
-
"severityDefault": "info",
|
|
150
|
-
"languages": ["en"],
|
|
151
|
-
"modalities": ["markdown", "text", "html", "docx"],
|
|
152
|
-
"evidenceLevel": "empirical-corpus",
|
|
153
|
-
"name": { "en": "English Excess AI Vocabulary Cluster", "zh": "英文超额 AI 词汇簇" },
|
|
154
|
-
"mechanism": {
|
|
155
|
-
"en": "Based on empirical excess-word studies (Kobak et al. arXiv:2406.07016; Liang et al. arXiv:2404.01268), single words like `robust` or `comprehensive` occur normally in technical writing, whereas clustering 3+ distinct excess words/collocations inside one paragraph signals unedited LLM prose.",
|
|
156
|
-
"zh": "基于文献超额词统计(Kobak et al., 2024; Liang et al., 2024),单个 `robust` 或 `comprehensive` 在技术文档里常见,但单段内聚集 3 个及以上不同超额词/搭配即为高置信 AI 腔信号。"
|
|
157
|
-
},
|
|
158
|
-
"tags": ["excess-words", "cluster", "kobak", "en", "meticulous", "pivotal", "foster", "underscore", "英文词簇"],
|
|
159
|
-
"falsePositiveGuards": [
|
|
160
|
-
"Requires >= 3 distinct excess signals inside a single prose paragraph.",
|
|
161
|
-
"Single occurrences of `robust`, `comprehensive`, or `leverage` in engineering specs stay completely silent."
|
|
162
|
-
],
|
|
163
|
-
"modelTendencies": ["gpt-family", "claude-family", "gemini-family"],
|
|
164
|
-
"exemplar": {
|
|
165
|
-
"bad": "This comprehensive platform seamlessly leverages a robust, holistic architecture to foster pivotal collaboration and underscore our meticulous design.",
|
|
166
|
-
"trap": "This platform isn't just robust — it's built for modern teams.",
|
|
167
|
-
"good": "The platform syncs edits across 12 regional clusters in under 150 ms using a single Postgres primary.",
|
|
168
|
-
"source": "original"
|
|
169
|
-
}
|
|
170
|
-
},
|
|
171
|
-
{
|
|
172
|
-
"id": "pat-zh-dev-jargon",
|
|
173
|
-
"ruleId": "zh-dev-jargon",
|
|
174
|
-
"packId": "business-brief",
|
|
175
|
-
"category": "language-lexicon",
|
|
176
|
-
"detectionAngle": "lexicon-cluster",
|
|
177
|
-
"status": "active",
|
|
178
|
-
"severityDefault": "warning",
|
|
179
|
-
"languages": ["zh"],
|
|
180
|
-
"modalities": ["markdown", "text", "html", "docx", "pptx"],
|
|
181
|
-
"evidenceLevel": "empirical-corpus",
|
|
182
|
-
"name": { "en": "Chinese Engineering/Product Jargon Density", "zh": "中文研发与产品自嗨黑话簇" },
|
|
183
|
-
"mechanism": {
|
|
184
|
-
"en": "Dense stacking of 3+ Chinese AI/engineering buzzwords (`全闭环`, `收口`, `强兜底`, `硬熔断`, `拉齐`, `零误差`, `体系化`) inside a single paragraph hides actual retry/exit behavior.",
|
|
185
|
-
"zh": "单段堆砌 3 处及以上中文研发/产品自嗨黑话(全闭环、收口、强兜底、硬熔断、拉齐、零误差、……化),用强硬姿态词替代具体的重试次数、状态码与限流阈值。"
|
|
186
|
-
},
|
|
187
|
-
"tags": ["dev-jargon", "zh", "闭环", "兜底", "收口", "熔断", "黑话"],
|
|
188
|
-
"falsePositiveGuards": ["Requires >= 3 distinct buzzwords in the same paragraph or table cell so single standard architecture terms do not fire."],
|
|
189
|
-
"modelTendencies": ["qwen-family", "deepseek-family", "general-llm"],
|
|
190
|
-
"exemplar": {
|
|
191
|
-
"bad": "本次发布建立全闭环校验机制,通过硬熔断完成总收口并形成强兜底,确保链路零误差交付。",
|
|
192
|
-
"trap": "这不只是发布脚本,而是零缺陷交付的工程铁律。",
|
|
193
|
-
"good": "发布脚本在合入前运行单测与类型检查;任一失败直接退出非零状态码,并保留前一次构建产物用于回滚。",
|
|
194
|
-
"source": "original"
|
|
195
|
-
}
|
|
196
|
-
}
|
|
197
|
-
]
|
|
198
|
-
}
|
|
@@ -1,258 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"schema": "dislop.pattern-library/1",
|
|
3
|
-
"dimension": "rhythm",
|
|
4
|
-
"version": "1.0.0",
|
|
5
|
-
"patterns": [
|
|
6
|
-
{
|
|
7
|
-
"id": "pat-excessive-em-dash-density",
|
|
8
|
-
"ruleId": "excessive-em-dash-density",
|
|
9
|
-
"packId": "literary-essay",
|
|
10
|
-
"category": "language-punctuation",
|
|
11
|
-
"detectionAngle": "rhythm-statistics",
|
|
12
|
-
"status": "active",
|
|
13
|
-
"severityDefault": "info",
|
|
14
|
-
"languages": ["en", "zh"],
|
|
15
|
-
"modalities": ["markdown", "text", "html", "docx"],
|
|
16
|
-
"evidenceLevel": "empirical-corpus",
|
|
17
|
-
"name": { "en": "Excessive Em-Dash Density", "zh": "破折号密度过高" },
|
|
18
|
-
"mechanism": {
|
|
19
|
-
"en": "Models overuse parenthetical em-dashes (`—` / `——`) to insert breathless commentary inside prose paragraphs.",
|
|
20
|
-
"zh": "模型在长段中高频使用破折号插话(每 300 词单位超 4 次且单段 >= 5 次),形成急促的生成式节奏。"
|
|
21
|
-
},
|
|
22
|
-
"tags": ["em-dash", "punctuation", "rhythm", "破折号", "插话腔"],
|
|
23
|
-
"falsePositiveGuards": [
|
|
24
|
-
"Chinese `——` counts as ONE logical dash; single or paired dashes in normal prose stay exempt."
|
|
25
|
-
],
|
|
26
|
-
"modelTendencies": ["gpt-family", "claude-family"],
|
|
27
|
-
"exemplar": {
|
|
28
|
-
"bad": "The station clock — brass-rimmed — stopped at 4:10 — right before the snow — while three passengers — coats buttoned — waited outside.",
|
|
29
|
-
"trap": "Brass clock. 4:10 sharp. Snow falling. Three passengers waiting.",
|
|
30
|
-
"good": "The brass-rimmed station clock stopped at 4:10, right before the snow, while three passengers waited outside in buttoned coats.",
|
|
31
|
-
"source": "original"
|
|
32
|
-
}
|
|
33
|
-
},
|
|
34
|
-
{
|
|
35
|
-
"id": "pat-zh-halfwidth-punctuation",
|
|
36
|
-
"ruleId": "zh-halfwidth-punctuation",
|
|
37
|
-
"packId": "literary-essay",
|
|
38
|
-
"category": "language-punctuation",
|
|
39
|
-
"detectionAngle": "regex-invariant",
|
|
40
|
-
"status": "active",
|
|
41
|
-
"severityDefault": "warning",
|
|
42
|
-
"languages": ["zh"],
|
|
43
|
-
"modalities": ["markdown", "text", "html", "docx"],
|
|
44
|
-
"evidenceLevel": "objective-invariant",
|
|
45
|
-
"name": { "en": "Half-Width ASCII Punctuation Between Han Characters", "zh": "中文混排半角西文标点" },
|
|
46
|
-
"mechanism": {
|
|
47
|
-
"en": "Multilingual tokenizers frequently emit ASCII `,;:!?` directly between Chinese characters, violating W3C CLREQ spacing.",
|
|
48
|
-
"zh": "多语种分词器常在汉字间直接输出半角 `,;:!?`,破坏中文阅读节奏与排版规范。"
|
|
49
|
-
},
|
|
50
|
-
"tags": ["punctuation", "halfwidth", "clreq", "zh", "半角标点", "中英混排"],
|
|
51
|
-
"falsePositiveGuards": [
|
|
52
|
-
"Inline code, fenced code blocks, and URLs are masked before scanning."
|
|
53
|
-
],
|
|
54
|
-
"modelTendencies": ["general-llm", "deepseek-family"],
|
|
55
|
-
"exemplar": {
|
|
56
|
-
"bad": "冬至那天下了初雪,院子里的腊梅开了三朵;香气一直飘到走廊。",
|
|
57
|
-
"trap": "冬至初雪。腊梅三朵。暗香盈袖。",
|
|
58
|
-
"good": "冬至那天下了初雪,院子里的腊梅开了三朵;香气一直飘到走廊。",
|
|
59
|
-
"source": "original"
|
|
60
|
-
}
|
|
61
|
-
},
|
|
62
|
-
{
|
|
63
|
-
"id": "pat-comma-chain-runon",
|
|
64
|
-
"ruleId": "comma-chain-runon",
|
|
65
|
-
"packId": "business-brief",
|
|
66
|
-
"category": "language-rhythm",
|
|
67
|
-
"detectionAngle": "rhythm-statistics",
|
|
68
|
-
"status": "active",
|
|
69
|
-
"severityDefault": "info",
|
|
70
|
-
"languages": ["en", "zh"],
|
|
71
|
-
"modalities": ["markdown", "text", "html", "docx"],
|
|
72
|
-
"evidenceLevel": "empirical-corpus",
|
|
73
|
-
"name": { "en": "Flat Comma-Chain Run-on Cadence (5+ Clauses)", "zh": "单句连续逗号链(5 分句以上平铺)" },
|
|
74
|
-
"mechanism": {
|
|
75
|
-
"en": "LLM drafts flatten multiple clauses into one long comma-chained sentence without subordination or period breaks.",
|
|
76
|
-
"zh": "模型在中文汇报和英文说明中常把 5 个以上等权动作或修饰语用逗号一串到底,缺少主次与停顿。"
|
|
77
|
-
},
|
|
78
|
-
"tags": ["comma-chain", "cadence", "rhythm", "逗号链", "串句", "节奏"],
|
|
79
|
-
"falsePositiveGuards": [
|
|
80
|
-
"Strips formatted numbers (`12,000,000`), inline code, parenthetical notes, and Markdown link lists (>= 3 links).",
|
|
81
|
-
"Language-calibrated minimum clause length & average length exempt short noun/format enumerations (`Markdown, HTML, CSS, SVG, DOCX, PPTX`)."
|
|
82
|
-
],
|
|
83
|
-
"modelTendencies": ["gemini-family", "qwen-family", "general-llm"],
|
|
84
|
-
"exemplar": {
|
|
85
|
-
"bad": "在项目初期,团队整理了接口文档,梳理了历史日志,核对了权限列表,补齐了监控告警,最终在周五前完成了灰度发布。",
|
|
86
|
-
"trap": "整理文档。梳理日志。核对权限。周五发布。",
|
|
87
|
-
"good": "项目初期团队先补齐了接口文档、权限清单与监控告警。历史日志核对完毕后,服务在周五前完成灰度发布。",
|
|
88
|
-
"source": "original"
|
|
89
|
-
}
|
|
90
|
-
},
|
|
91
|
-
{
|
|
92
|
-
"id": "pat-low-burstiness-vapor",
|
|
93
|
-
"ruleId": "low-burstiness-vapor",
|
|
94
|
-
"packId": "business-brief",
|
|
95
|
-
"category": "language-rhythm",
|
|
96
|
-
"detectionAngle": "rhythm-statistics",
|
|
97
|
-
"status": "active",
|
|
98
|
-
"severityDefault": "info",
|
|
99
|
-
"languages": ["en", "zh"],
|
|
100
|
-
"modalities": ["markdown", "text", "html", "docx"],
|
|
101
|
-
"evidenceLevel": "empirical-corpus",
|
|
102
|
-
"name": { "en": "Low-Burstiness Metronome Prose", "zh": "低突发性句长节拍器效应" },
|
|
103
|
-
"mechanism": {
|
|
104
|
-
"en": "Autoregressive smoothing avoids both crisp short punch sentences and deep subordinate clauses, pulling paragraph sentence-length CV below 0.16 across >= 5 low-specificity sentences.",
|
|
105
|
-
"zh": "自回归平滑使段落内连续 5 句以上的句长集中在极窄区间(CV < 0.16),读起来像节拍器。"
|
|
106
|
-
},
|
|
107
|
-
"tags": ["monotony", "burstiness", "cv", "metronome", "rhythm", "句长均一", "节拍器"],
|
|
108
|
-
"falsePositiveGuards": [
|
|
109
|
-
"Requires >= 5 prose sentences and skips headings, lists, tables, and short paragraphs."
|
|
110
|
-
],
|
|
111
|
-
"modelTendencies": ["general-llm", "gpt-family", "qwen-family"],
|
|
112
|
-
"exemplar": {
|
|
113
|
-
"bad": "系统每天定时拉取上游交易流水日志记录。系统随后按渠道编码拆分全部明细数据。系统接着校验每条记录的金额字段格式。系统最后生成标准日报并推送至审校群。系统同时保留三十天原始文件用于复查。",
|
|
114
|
-
"trap": "拉取流水。拆分明细。校验金额。推送日报。",
|
|
115
|
-
"good": "服务每小时拉取一次上游流水。遇到单笔超十万元且渠道未登记的记录,校验器会直接挂起批次并标出行号。其余正常数据进入日终归档,次日六点推送复核表。",
|
|
116
|
-
"source": "original"
|
|
117
|
-
}
|
|
118
|
-
},
|
|
119
|
-
{
|
|
120
|
-
"id": "pat-opener-anaphora-monotony",
|
|
121
|
-
"ruleId": "opener-anaphora-monotony",
|
|
122
|
-
"packId": "pattern-bank",
|
|
123
|
-
"category": "language-rhythm",
|
|
124
|
-
"detectionAngle": "rhythm-statistics",
|
|
125
|
-
"status": "active-bank",
|
|
126
|
-
"severityDefault": "info",
|
|
127
|
-
"languages": ["en", "zh"],
|
|
128
|
-
"modalities": ["markdown", "text", "html", "docx"],
|
|
129
|
-
"evidenceLevel": "empirical-corpus",
|
|
130
|
-
"name": { "en": "Repetitive Mechanical Sentence Openers", "zh": "连续机械同构句首" },
|
|
131
|
-
"mechanism": {
|
|
132
|
-
"en": "Template generation repeatedly opens 4+ consecutive sentences inside a prose paragraph with the exact same subject/prefix (`The platform... The platform...` or `该系统……该系统……`).",
|
|
133
|
-
"zh": "模板化生成常在同一段内连续 4 句及以上重复同一个机械句首(如连续“该系统……”“团队随后……”或连续 “The system ...”)。"
|
|
134
|
-
},
|
|
135
|
-
"tags": ["anaphora", "repetition", "opener", "rhythm", "重复句首", "同构开头"],
|
|
136
|
-
"falsePositiveGuards": [
|
|
137
|
-
"Requires >= 4 consecutive sentences inside the same non-list, non-table prose paragraph starting with the identical normalized opener token.",
|
|
138
|
-
"Exempts short 1-char pronouns or numbered step lists."
|
|
139
|
-
],
|
|
140
|
-
"modelTendencies": ["general-llm", "qwen-family"],
|
|
141
|
-
"exemplar": {
|
|
142
|
-
"bad": "The platform ingests telemetry every five seconds. The platform indexes payloads by region. The platform routes alerts to Slack. The platform archives logs for ninety days.",
|
|
143
|
-
"trap": "Ingests fast. Indexes clean. Alerts instant. Archives forever.",
|
|
144
|
-
"good": "The platform ingests telemetry every five seconds and indexes payloads by region. Alerts route to Slack, while raw logs archive for ninety days.",
|
|
145
|
-
"source": "original"
|
|
146
|
-
}
|
|
147
|
-
},
|
|
148
|
-
{
|
|
149
|
-
"id": "pat-inline-bold-saturation",
|
|
150
|
-
"ruleId": "inline-bold-saturation",
|
|
151
|
-
"packId": "pattern-bank",
|
|
152
|
-
"category": "language-rhythm",
|
|
153
|
-
"detectionAngle": "rhythm-statistics",
|
|
154
|
-
"status": "active-bank",
|
|
155
|
-
"severityDefault": "info",
|
|
156
|
-
"languages": ["en", "zh"],
|
|
157
|
-
"modalities": ["markdown", "text"],
|
|
158
|
-
"evidenceLevel": "editorial-consensus",
|
|
159
|
-
"name": { "en": "Inline Bold Highlight Saturation", "zh": "正文段落加粗词泛滥" },
|
|
160
|
-
"mechanism": {
|
|
161
|
-
"en": "Assistant-style Markdown scatters `**bold**` keyword highlights every few words inside normal prose paragraphs, turning paragraphs into visual confetti.",
|
|
162
|
-
"zh": "助手式 Markdown 常在普通自然段里每隔十来个字就加一个 `**加粗词**`(单段 >= 4 处且密度过高),满屏视觉噪点。"
|
|
163
|
-
},
|
|
164
|
-
"tags": ["bold-spam", "markdown", "emphasis", "formatting", "加粗泛滥", "过度强调"],
|
|
165
|
-
"falsePositiveGuards": [
|
|
166
|
-
"Skips tables, headings, list items, and code spans.",
|
|
167
|
-
"Requires >= 4 bold spans inside a single prose paragraph AND high bold-span density (>= 1 bold span per 28 words / 55 CJK chars)."
|
|
168
|
-
],
|
|
169
|
-
"modelTendencies": ["gemini-family", "gpt-family"],
|
|
170
|
-
"exemplar": {
|
|
171
|
-
"bad": "Our **unified** pipeline uses **automated** checks to ensure **consistent** quality, **faster** releases, and **reliable** rollbacks across every **production** cluster.",
|
|
172
|
-
"trap": "Unified pipeline. Automated checks. Consistent quality. Faster releases.",
|
|
173
|
-
"good": "Our release pipeline runs automated checks before deploy and supports one-command rollbacks across production clusters.",
|
|
174
|
-
"source": "original"
|
|
175
|
-
}
|
|
176
|
-
},
|
|
177
|
-
{
|
|
178
|
-
"id": "pat-paragraph-length-uniformity",
|
|
179
|
-
"ruleId": "paragraph-length-uniformity",
|
|
180
|
-
"packId": "pattern-bank",
|
|
181
|
-
"category": "language-rhythm",
|
|
182
|
-
"detectionAngle": "rhythm-statistics",
|
|
183
|
-
"status": "active-bank",
|
|
184
|
-
"severityDefault": "info",
|
|
185
|
-
"languages": ["en", "zh"],
|
|
186
|
-
"modalities": ["markdown", "text", "html", "docx"],
|
|
187
|
-
"evidenceLevel": "empirical-corpus",
|
|
188
|
-
"name": { "en": "Uniform Paragraph-Length Budget (Chunked Output)", "zh": "整篇段落字数高度均一" },
|
|
189
|
-
"mechanism": {
|
|
190
|
-
"en": "Long LLM outputs allocate nearly identical token budgets to every section paragraph (CV < 0.14 across >= 5 substantial prose paragraphs), betraying template chunking.",
|
|
191
|
-
"zh": "长篇生成稿常按固定字数预算均匀切块(>= 5 个正文自然段且段长变异系数 CV < 0.14),缺乏详略节奏变化。"
|
|
192
|
-
},
|
|
193
|
-
"tags": ["paragraph", "uniformity", "cv", "cadence", "段落均一", "节奏"],
|
|
194
|
-
"falsePositiveGuards": [
|
|
195
|
-
"Requires >= 5 substantial non-list, non-heading, non-table prose paragraphs (mean >= 40 units) with CV < 0.14."
|
|
196
|
-
],
|
|
197
|
-
"modelTendencies": ["gpt-family", "qwen-family"],
|
|
198
|
-
"exemplar": {
|
|
199
|
-
"bad": "Five consecutive 65-character summary paragraphs with nearly identical 63–67 character lengths.",
|
|
200
|
-
"trap": "Five consecutive 8-character slogan lines.",
|
|
201
|
-
"good": "One crisp 22-character thesis paragraph followed by a detailed 140-character walkthrough and a 35-character constraint note.",
|
|
202
|
-
"source": "original"
|
|
203
|
-
}
|
|
204
|
-
},
|
|
205
|
-
{
|
|
206
|
-
"id": "pat-zh-exclamation",
|
|
207
|
-
"ruleId": "zh-exclamation",
|
|
208
|
-
"packId": "business-brief",
|
|
209
|
-
"category": "language-rhythm",
|
|
210
|
-
"detectionAngle": "rhythm-statistics",
|
|
211
|
-
"status": "active",
|
|
212
|
-
"severityDefault": "warning",
|
|
213
|
-
"languages": ["zh"],
|
|
214
|
-
"modalities": ["markdown", "text", "html", "docx", "pptx"],
|
|
215
|
-
"evidenceLevel": "editorial-consensus",
|
|
216
|
-
"name": { "en": "Chinese Hype Exclamation Stacking", "zh": "中文正文感叹号煽动语气" },
|
|
217
|
-
"mechanism": {
|
|
218
|
-
"en": "Multi-sentence Chinese prose paragraphs stack exclamation marks (`!`/`!`) or pair exclamations with hype phrases (`太棒了`, `重磅`, `彻底告别`).",
|
|
219
|
-
"zh": "中文正文段出现多处感叹号或“太棒了/重磅/彻底告别”等煽动感叹句,破坏工作文档克制平实的语气。"
|
|
220
|
-
},
|
|
221
|
-
"tags": ["exclamation", "zh", "hype", "punctuation", "感叹号", "鸡血腔"],
|
|
222
|
-
"falsePositiveGuards": ["Exempts short standalone taglines (<20 CJK chars), quoted dialogue, parentheticals, and literal prompt examples."],
|
|
223
|
-
"modelTendencies": ["general-llm", "marketing-llm"],
|
|
224
|
-
"exemplar": {
|
|
225
|
-
"bad": "太棒了!新版工具帮你彻底告别繁琐的人工排查!",
|
|
226
|
-
"trap": "别再手查了!立刻开启自动化新体验!",
|
|
227
|
-
"good": "新版工具会在提交前自动扫描未填占位符和超长列表,减少人工复核遗漏。",
|
|
228
|
-
"source": "original"
|
|
229
|
-
}
|
|
230
|
-
},
|
|
231
|
-
{
|
|
232
|
-
"id": "pat-zh-mega-sentence",
|
|
233
|
-
"ruleId": "zh-mega-sentence",
|
|
234
|
-
"packId": "business-brief",
|
|
235
|
-
"category": "language-rhythm",
|
|
236
|
-
"detectionAngle": "rhythm-statistics",
|
|
237
|
-
"status": "active",
|
|
238
|
-
"severityDefault": "warning",
|
|
239
|
-
"languages": ["zh"],
|
|
240
|
-
"modalities": ["markdown", "text", "html", "docx"],
|
|
241
|
-
"evidenceLevel": "empirical-corpus",
|
|
242
|
-
"name": { "en": "Chinese Mega-Sentence (>180 CJK chars)", "zh": "中文单句超长一逗到底" },
|
|
243
|
-
"mechanism": {
|
|
244
|
-
"en": "LLM Chinese explanations pack 180+ CJK characters into a single period-free clause chain with weak topic transitions.",
|
|
245
|
-
"zh": "大模型解释复杂机制时容易写出超过 180 汉字不打句号的连续逗号长句,挤压读者工作记忆。"
|
|
246
|
-
},
|
|
247
|
-
"tags": ["mega-sentence", "run-on", "zh", "长难句", "一逗到底"],
|
|
248
|
-
"falsePositiveGuards": ["Protects decimals and version strings during sentence segmentation."],
|
|
249
|
-
"modelTendencies": ["general-llm", "claude-family"],
|
|
250
|
-
"exemplar": {
|
|
251
|
-
"bad": "我们在周一完成双集群切分后虽然平均延迟上升三毫秒但考虑到异步落盘可避开主线程阻塞并保留链路信息于是决定周四继续观察四十八小时内存波动直到大促前定容。",
|
|
252
|
-
"trap": "切双集群。延迟升三毫秒。决定周四再看。",
|
|
253
|
-
"good": "周一双集群切分后平均延迟上升 3ms,但异步落盘能防主线程阻塞并保留链路信息。团队将在周四继续观察 48 小时内存波动后再定扩容阈值。",
|
|
254
|
-
"source": "original"
|
|
255
|
-
}
|
|
256
|
-
}
|
|
257
|
-
]
|
|
258
|
-
}
|