dislop 0.0.0-stage → 0.6.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/.agents/plugins/marketplace.json +20 -0
- package/.claude-plugin/marketplace.json +33 -0
- package/.claude-plugin/plugin.json +22 -0
- package/.codex-plugin/plugin.json +49 -0
- package/.mcp.json +12 -0
- package/.pre-commit-hooks.yaml +13 -0
- package/LICENSE +202 -0
- package/README.md +222 -2
- package/README.zh-CN.md +219 -0
- package/action.yml +90 -0
- package/assets/logo.svg +8 -0
- package/bin/dislop-mcp.mjs +5 -0
- package/bin/dislop.mjs +1967 -0
- package/gemini-extension.json +13 -0
- package/mcp.json +13 -0
- package/models/manifest.json +90 -0
- package/models/pocket-slop-v1.json +1 -0
- package/package.json +89 -4
- package/packs/business-brief/pack.json +598 -0
- package/packs/core/pack.json +192 -0
- package/packs/deck-and-ui/pack.json +290 -0
- package/packs/engineering-spec/pack.json +144 -0
- package/packs/executive-deck/pack.json +98 -0
- package/packs/literary-essay/pack.json +324 -0
- package/packs/regulated-comms/pack.json +99 -0
- package/patterns/README.md +39 -0
- package/patterns/banks/composite-fusion.json +36 -0
- package/patterns/banks/discourse-rhythm.json +95 -0
- package/patterns/banks/lexical-signals.json +74 -0
- package/patterns/banks/syntactic-frames.json +45 -0
- package/patterns/banks/visual-deck.json +37 -0
- package/patterns/dimensions/artifacts.json +121 -0
- package/patterns/dimensions/discourse.json +412 -0
- package/patterns/dimensions/lexical.json +172 -0
- package/patterns/dimensions/rhythm.json +206 -0
- package/patterns/dimensions/syntactic.json +285 -0
- package/patterns/dimensions/visual-and-deck.json +322 -0
- package/patterns/taxonomy.json +112 -0
- package/plugin.json +41 -0
- package/server.json +50 -0
- package/skills/dislop/SKILL.md +60 -0
- package/skills/dislop/agents/openai.yaml +6 -0
- package/skills/dislop/references/business-and-rfc.md +26 -0
- package/skills/dislop/references/editorial-and-essay.md +20 -0
- package/skills/dislop/references/regulated-and-precision.md +27 -0
- package/skills/dislop/references/web-ui-and-deck.md +26 -0
- package/src/binary-node.mjs +85 -0
- package/src/core.mjs +2488 -0
- package/src/local-model.mjs +977 -0
- package/src/pattern-engine.mjs +853 -0
- package/src/pocket-model.mjs +707 -0
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schema": "dislop.pattern-bank/1",
|
|
3
|
+
"id": "discourse-rhythm",
|
|
4
|
+
"version": "1.0.0",
|
|
5
|
+
"description": {
|
|
6
|
+
"en": "Declarative signal lists and calibrated thresholds for rhythm, cadence, formatting density, and mechanical discourse signposting.",
|
|
7
|
+
"zh": "节奏、韵律、排版密度与机械过渡路标簇的声明式信号词库与校准阈值。"
|
|
8
|
+
},
|
|
9
|
+
"commaChain": {
|
|
10
|
+
"ruleId": "comma-chain-runon",
|
|
11
|
+
"dimension": "rhythm",
|
|
12
|
+
"detectionAngle": "rhythm-statistics",
|
|
13
|
+
"severity": "info",
|
|
14
|
+
"minCommas": 5,
|
|
15
|
+
"minLongClauses": 4,
|
|
16
|
+
"zh": { "minClauseUnits": 4, "minAvgClauseUnits": 5.0 },
|
|
17
|
+
"en": { "minClauseUnits": 3, "minAvgClauseUnits": 3.2 },
|
|
18
|
+
"maxMarkdownLinks": 2
|
|
19
|
+
},
|
|
20
|
+
"sentenceLengthMonotony": {
|
|
21
|
+
"ruleId": "low-burstiness-vapor",
|
|
22
|
+
"dimension": "rhythm",
|
|
23
|
+
"detectionAngle": "rhythm-statistics",
|
|
24
|
+
"severity": "info",
|
|
25
|
+
"minSentences": 5,
|
|
26
|
+
"minSentenceUnits": 4,
|
|
27
|
+
"maxCv": 0.16,
|
|
28
|
+
"minMeanUnitsZh": 14,
|
|
29
|
+
"minMeanUnitsEn": 10
|
|
30
|
+
},
|
|
31
|
+
"openerAnaphora": {
|
|
32
|
+
"ruleId": "opener-anaphora-monotony",
|
|
33
|
+
"dimension": "rhythm",
|
|
34
|
+
"detectionAngle": "rhythm-statistics",
|
|
35
|
+
"severity": "info",
|
|
36
|
+
"minConsecutive": 4,
|
|
37
|
+
"minOpenerCharsZh": 2,
|
|
38
|
+
"minOpenerWordsEn": 2
|
|
39
|
+
},
|
|
40
|
+
"inlineBoldSaturation": {
|
|
41
|
+
"ruleId": "inline-bold-saturation",
|
|
42
|
+
"dimension": "rhythm",
|
|
43
|
+
"detectionAngle": "rhythm-statistics",
|
|
44
|
+
"severity": "info",
|
|
45
|
+
"minBoldSpans": 4,
|
|
46
|
+
"maxWordsPerBoldEn": 28,
|
|
47
|
+
"maxCjkPerBoldZh": 55
|
|
48
|
+
},
|
|
49
|
+
"paragraphLengthUniformity": {
|
|
50
|
+
"ruleId": "paragraph-length-uniformity",
|
|
51
|
+
"dimension": "rhythm",
|
|
52
|
+
"detectionAngle": "rhythm-statistics",
|
|
53
|
+
"severity": "info",
|
|
54
|
+
"minParagraphs": 5,
|
|
55
|
+
"minMeanUnits": 35,
|
|
56
|
+
"maxCv": 0.13
|
|
57
|
+
},
|
|
58
|
+
"discourseMarkers": {
|
|
59
|
+
"ruleId": "discourse-marker-cluster",
|
|
60
|
+
"dimension": "discourse",
|
|
61
|
+
"detectionAngle": "discourse-structure",
|
|
62
|
+
"severity": "warning",
|
|
63
|
+
"minConsecutiveParagraphs": 3,
|
|
64
|
+
"minMarkersInParagraph": 3,
|
|
65
|
+
"zhLeadMarkers": [
|
|
66
|
+
"首先",
|
|
67
|
+
"其次",
|
|
68
|
+
"再次",
|
|
69
|
+
"此外",
|
|
70
|
+
"另外",
|
|
71
|
+
"与此同时",
|
|
72
|
+
"不仅如此",
|
|
73
|
+
"进一步来说",
|
|
74
|
+
"进一步来看",
|
|
75
|
+
"最后",
|
|
76
|
+
"总而言之",
|
|
77
|
+
"综上所述",
|
|
78
|
+
"归根结底"
|
|
79
|
+
],
|
|
80
|
+
"enLeadMarkers": [
|
|
81
|
+
"Firstly",
|
|
82
|
+
"Secondly",
|
|
83
|
+
"Thirdly",
|
|
84
|
+
"Furthermore",
|
|
85
|
+
"Moreover",
|
|
86
|
+
"Additionally",
|
|
87
|
+
"In addition",
|
|
88
|
+
"Consequently",
|
|
89
|
+
"Ultimately",
|
|
90
|
+
"In conclusion",
|
|
91
|
+
"To summarize",
|
|
92
|
+
"Notably"
|
|
93
|
+
]
|
|
94
|
+
}
|
|
95
|
+
}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schema": "dislop.pattern-bank/1",
|
|
3
|
+
"id": "lexical-signals",
|
|
4
|
+
"version": "1.0.0",
|
|
5
|
+
"description": {
|
|
6
|
+
"en": "Weighted, evidence-graded bilingual lexical, collocation, and Chinese translation-calque signal banks. Triggers only on paragraph-level clusters to avoid single-word false positives.",
|
|
7
|
+
"zh": "带权重与证据分级的双语高频 AI 词汇、词组搭配与中文翻译腔信号库;仅按段落簇密度触发,避免单词误报。"
|
|
8
|
+
},
|
|
9
|
+
"zhCalqueCluster": {
|
|
10
|
+
"ruleId": "zh-ai-calque-cluster",
|
|
11
|
+
"dimension": "lexical",
|
|
12
|
+
"detectionAngle": "lexicon-cluster",
|
|
13
|
+
"severity": "info",
|
|
14
|
+
"minDistinctHits": 2,
|
|
15
|
+
"minWeightedScore": 2.2,
|
|
16
|
+
"signals": [
|
|
17
|
+
{ "id": "zh-bg-context", "pattern": "在[^,。!?\\n]{2,18}的背景下", "weight": 1.2 },
|
|
18
|
+
{ "id": "zh-undeniable", "pattern": "不可否认(?:的是)?", "weight": 1.3 },
|
|
19
|
+
{ "id": "zh-no-exaggeration", "pattern": "毫不夸张地说", "weight": 1.4 },
|
|
20
|
+
{ "id": "zh-in-a-sense", "pattern": "从某种意义上(?:来)?说", "weight": 1.3 },
|
|
21
|
+
{ "id": "zh-in-other-words", "pattern": "换句话说", "weight": 1.0 },
|
|
22
|
+
{ "id": "zh-huan-yan-zhi", "pattern": "换言之", "weight": 1.1 },
|
|
23
|
+
{ "id": "zh-not-only-that", "pattern": "不仅如此", "weight": 1.0 },
|
|
24
|
+
{ "id": "zh-plays-role", "pattern": "扮演着[^,。!?\\n]{0,10}角色", "weight": 1.4 },
|
|
25
|
+
{ "id": "zh-double-edged", "pattern": "是一把双刃剑", "weight": 1.4 },
|
|
26
|
+
{ "id": "zh-strong-support", "pattern": "提供(?:了)?有力支撑", "weight": 1.3 },
|
|
27
|
+
{ "id": "zh-crucial", "pattern": "至关重要", "weight": 1.0 },
|
|
28
|
+
{ "id": "zh-unprecedented", "pattern": "前所未有", "weight": 1.1 },
|
|
29
|
+
{ "id": "zh-quietly-change", "pattern": "(?:深刻|悄然)改变", "weight": 1.2 },
|
|
30
|
+
{ "id": "zh-especially-key", "pattern": "尤为关键", "weight": 1.1 },
|
|
31
|
+
{ "id": "zh-self-evident", "pattern": "不言而喻", "weight": 1.2 },
|
|
32
|
+
{ "id": "zh-obvious", "pattern": "显而易见", "weight": 1.1 },
|
|
33
|
+
{ "id": "zh-cannot-ignore", "pattern": "不容忽视", "weight": 1.1 },
|
|
34
|
+
{ "id": "zh-undoubtedly", "pattern": "毋庸置疑", "weight": 1.2 },
|
|
35
|
+
{ "id": "zh-wide-attention", "pattern": "引发了广泛关注", "weight": 1.3 },
|
|
36
|
+
{ "id": "zh-worth-pondering", "pattern": "值得深思的是", "weight": 1.3 },
|
|
37
|
+
{ "id": "zh-long-run", "pattern": "从长远来看", "weight": 1.0 }
|
|
38
|
+
]
|
|
39
|
+
},
|
|
40
|
+
"enPhraseCluster": {
|
|
41
|
+
"ruleId": "en-ai-phrase-cluster",
|
|
42
|
+
"dimension": "lexical",
|
|
43
|
+
"detectionAngle": "lexicon-cluster",
|
|
44
|
+
"severity": "info",
|
|
45
|
+
"minDistinctHits": 3,
|
|
46
|
+
"minWeightedScore": 3.2,
|
|
47
|
+
"signals": [
|
|
48
|
+
{ "id": "en-meticulous", "pattern": "\\bmeticulous(?:ly)?\\b", "weight": 1.2 },
|
|
49
|
+
{ "id": "en-intricate", "pattern": "\\bintricate\\b", "weight": 1.2 },
|
|
50
|
+
{ "id": "en-pivotal", "pattern": "\\bpivotal\\b", "weight": 1.3 },
|
|
51
|
+
{ "id": "en-foster", "pattern": "\\bfoster(?:s|ed|ing)?\\b", "weight": 1.1 },
|
|
52
|
+
{ "id": "en-underscore", "pattern": "\\bunderscore(?:s|d|ing)?\\b", "weight": 1.2 },
|
|
53
|
+
{ "id": "en-nuanced", "pattern": "\\bnuanced\\b", "weight": 1.2 },
|
|
54
|
+
{ "id": "en-seamless", "pattern": "\\bseamless(?:ly)?\\b", "weight": 1.2 },
|
|
55
|
+
{ "id": "en-holistic", "pattern": "\\bholistic\\b", "weight": 1.3 },
|
|
56
|
+
{ "id": "en-groundbreaking", "pattern": "\\bgroundbreaking\\b", "weight": 1.3 },
|
|
57
|
+
{ "id": "en-ever-evolving", "pattern": "\\bever-evolving\\b", "weight": 1.4 },
|
|
58
|
+
{ "id": "en-realm-of", "pattern": "\\brealm of\\b", "weight": 1.3 },
|
|
59
|
+
{ "id": "en-landscape-of", "pattern": "\\blandscape of\\b", "weight": 1.2 },
|
|
60
|
+
{ "id": "en-navigate-complexities", "pattern": "\\bnavigate the complexities\\b", "weight": 1.5 },
|
|
61
|
+
{ "id": "en-crucial-role", "pattern": "\\bcrucial role\\b", "weight": 1.2 },
|
|
62
|
+
{ "id": "en-serves-as-a", "pattern": "\\bserve(?:s)? as a\\b", "weight": 1.0 },
|
|
63
|
+
{ "id": "en-boasts-a", "pattern": "\\bboasts a\\b", "weight": 1.3 },
|
|
64
|
+
{ "id": "en-tapestry", "pattern": "\\btapestry\\b", "weight": 1.2 },
|
|
65
|
+
{ "id": "en-leverage", "pattern": "\\bleverage(?:s|d|ing)?\\b", "weight": 1.0 },
|
|
66
|
+
{ "id": "en-comprehensive", "pattern": "\\bcomprehensive\\b", "weight": 0.9 },
|
|
67
|
+
{ "id": "en-robust", "pattern": "\\brobust\\b", "weight": 0.9 },
|
|
68
|
+
{ "id": "en-transformative", "pattern": "\\btransformative\\b", "weight": 1.2 },
|
|
69
|
+
{ "id": "en-paramount", "pattern": "\\bparamount\\b", "weight": 1.2 },
|
|
70
|
+
{ "id": "en-multifaceted", "pattern": "\\bmultifaceted\\b", "weight": 1.3 },
|
|
71
|
+
{ "id": "en-streamline", "pattern": "\\bstreamline(?:s|d|ing)?\\b", "weight": 1.0 }
|
|
72
|
+
]
|
|
73
|
+
}
|
|
74
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schema": "dislop.pattern-bank/1",
|
|
3
|
+
"id": "syntactic-frames",
|
|
4
|
+
"version": "1.0.0",
|
|
5
|
+
"description": {
|
|
6
|
+
"en": "Declarative syntactic and rhetorical frame patterns for balanced concession clichés, poster pull-quote closers, and staged self-Q&A transitions.",
|
|
7
|
+
"zh": "模板化两面平衡让步句、金句卡片式海报收尾与自问自答过渡句的声明式句法模式库。"
|
|
8
|
+
},
|
|
9
|
+
"concessionSymmetry": {
|
|
10
|
+
"ruleId": "concession-symmetry-frame",
|
|
11
|
+
"dimension": "syntactic",
|
|
12
|
+
"detectionAngle": "syntactic-frame",
|
|
13
|
+
"severity": "info",
|
|
14
|
+
"enPatterns": [
|
|
15
|
+
"\\b(?:While|Although)\\s+[^.!?\\n]{4,75}\\b(?:challenges?|hurdles?|drawbacks?|limitations?|complexities)\\b[^.!?\\n]{0,40},\\s+(?:it|they|this|these)\\s+(?:also\\s+)?(?:offers?|brings?|presents?|delivers?|unlocks?|provides?)\\s+(?:tremendous|significant|meaningful|immense|unprecedented|substantial)\\s+(?:opportunities?|value|benefits?|potential|advantages?)\\b"
|
|
16
|
+
],
|
|
17
|
+
"zhPatterns": [
|
|
18
|
+
"(?:虽然|尽管)[^。!?\\n]{2,28}(?:面临|存在|带来)[^。!?\\n]{0,12}(?:挑战|局限|难题|风险)[,,]\\s*(?:但(?:是)?(?:不可否认)?[^。!?\\n]{0,16})?(?:也|同时)(?:带来|蕴含|提供|创造)了[^。!?\\n]{0,12}(?:机遇|价值|潜力|空间)"
|
|
19
|
+
]
|
|
20
|
+
},
|
|
21
|
+
"pullQuoteCloser": {
|
|
22
|
+
"ruleId": "pull-quote-closer",
|
|
23
|
+
"dimension": "syntactic",
|
|
24
|
+
"detectionAngle": "syntactic-frame",
|
|
25
|
+
"severity": "warning",
|
|
26
|
+
"skipQuoted": true,
|
|
27
|
+
"patterns": [
|
|
28
|
+
"笔一直在你手里",
|
|
29
|
+
"这才是[^。!?\\n]{2,18}真正的(?:温度|力量|底气|价值|魅力|意义)",
|
|
30
|
+
"\\bthe pen stays in your hand\\b",
|
|
31
|
+
"\\bbuilt for the future\\b",
|
|
32
|
+
"\\bquality ships\\."
|
|
33
|
+
]
|
|
34
|
+
},
|
|
35
|
+
"rhetoricalSelfQa": {
|
|
36
|
+
"ruleId": "rhetorical-qa-cadence",
|
|
37
|
+
"dimension": "syntactic",
|
|
38
|
+
"detectionAngle": "syntactic-frame",
|
|
39
|
+
"severity": "info",
|
|
40
|
+
"patterns": [
|
|
41
|
+
"(?:^|[。!?\\n]\\s*)(?:这意味着什么|结果呢|为什么这很重要|这说明了什么)[??]\\s*(?:意味着|因为|答案(?:很)?简单|事实是|结果是|它(?:不仅|直接))",
|
|
42
|
+
"(?:^|[.!?\\n]\\s*)(?:Why does this matter|What does this mean|The result|What changed|The takeaway)\\?\\s+(?:Because|It means|Simple|Teams|In short|Ultimately)\\b"
|
|
43
|
+
]
|
|
44
|
+
}
|
|
45
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schema": "dislop.pattern-bank/1",
|
|
3
|
+
"id": "visual-deck",
|
|
4
|
+
"version": "1.0.0",
|
|
5
|
+
"description": {
|
|
6
|
+
"en": "Declarative structural thresholds and regexes for Web UI glassmorphism overuse, thick accent-stripe card stacks, and PowerPoint cross-slide layout monotony.",
|
|
7
|
+
"zh": "网页毛玻璃面板滥用、侧边粗彩条卡片堆叠与 PPT 跨页版式单调的声明式检测配置。"
|
|
8
|
+
},
|
|
9
|
+
"glassmorphismOveruse": {
|
|
10
|
+
"ruleId": "ui-glassmorphism-overuse",
|
|
11
|
+
"dimension": "visual-and-deck",
|
|
12
|
+
"detectionAngle": "visual-markup-ooxml",
|
|
13
|
+
"severity": "warning",
|
|
14
|
+
"minOccurrences": 3,
|
|
15
|
+
"pattern": "\\bbackdrop-blur(?:-[a-z0-9]+)?\\b|backdrop-filter\\s*:\\s*blur\\("
|
|
16
|
+
},
|
|
17
|
+
"accentStripeCard": {
|
|
18
|
+
"ruleId": "ui-accent-stripe-card",
|
|
19
|
+
"dimension": "visual-and-deck",
|
|
20
|
+
"detectionAngle": "visual-markup-ooxml",
|
|
21
|
+
"severity": "warning",
|
|
22
|
+
"minOccurrences": 3,
|
|
23
|
+
"pattern": "\\bborder-l-(?:4|8)\\b|border-left\\s*:\\s*(?:[4-9]|\\d{2,})px\\s+solid\\b",
|
|
24
|
+
"exemptLookbehindChars": 48,
|
|
25
|
+
"exemptPattern": "\\bblockquote\\b"
|
|
26
|
+
},
|
|
27
|
+
"pptxLayoutMonotony": {
|
|
28
|
+
"ruleId": "pptx-layout-monotony",
|
|
29
|
+
"dimension": "visual-and-deck",
|
|
30
|
+
"detectionAngle": "visual-markup-ooxml",
|
|
31
|
+
"severity": "info",
|
|
32
|
+
"minContentSlides": 5,
|
|
33
|
+
"minConsecutivePlainBulletSlides": 4,
|
|
34
|
+
"minSlideLatinWords": 12,
|
|
35
|
+
"minSlideCjkChars": 25
|
|
36
|
+
}
|
|
37
|
+
}
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schema": "dislop.pattern-library/1",
|
|
3
|
+
"dimension": "artifacts",
|
|
4
|
+
"version": "1.0.0",
|
|
5
|
+
"patterns": [
|
|
6
|
+
{
|
|
7
|
+
"id": "pat-unfilled-placeholder",
|
|
8
|
+
"ruleId": "unfilled-placeholder",
|
|
9
|
+
"packId": "core",
|
|
10
|
+
"category": "delivery-hygiene",
|
|
11
|
+
"detectionAngle": "regex-invariant",
|
|
12
|
+
"status": "active",
|
|
13
|
+
"severityDefault": "error",
|
|
14
|
+
"languages": ["en", "zh"],
|
|
15
|
+
"modalities": ["markdown", "text", "html", "jsx", "svg", "docx", "pptx"],
|
|
16
|
+
"evidenceLevel": "objective-invariant",
|
|
17
|
+
"name": { "en": "Unfilled Template Placeholder", "zh": "未填写模板占位符" },
|
|
18
|
+
"mechanism": {
|
|
19
|
+
"en": "Models emit bracketed or Mustache template slots (`[insert ...]`, `{{var}}`, `【待补充】`) when source facts are missing.",
|
|
20
|
+
"zh": "缺少事实时模型会顺手输出括号或双花括号占位槽(如 `[insert ...]`、`{{var}}`、`【待补充】`),漏改即成硬伤。"
|
|
21
|
+
},
|
|
22
|
+
"tags": ["placeholder", "template", "lorem", "tbd", "占位符", "待补充", "待填写"],
|
|
23
|
+
"falsePositiveGuards": [
|
|
24
|
+
"Code blocks, inline code, and URLs are masked in `prose`.",
|
|
25
|
+
"Numeric array subscripts (`items[0]`) and standard section numbers do not match."
|
|
26
|
+
],
|
|
27
|
+
"modelTendencies": ["general-llm"],
|
|
28
|
+
"exemplar": {
|
|
29
|
+
"bad": "Q3 settlement ran across 14 gateways; p95 latency was [insert p95 latency].",
|
|
30
|
+
"trap": "Q3 settlement improved dramatically across 14 gateways.",
|
|
31
|
+
"good": "Q3 settlement ran across 14 gateways (p95 latency pending load-test sign-off).",
|
|
32
|
+
"source": "original"
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"id": "pat-chatbot-artifact",
|
|
37
|
+
"ruleId": "chatbot-artifact",
|
|
38
|
+
"packId": "core",
|
|
39
|
+
"category": "delivery-hygiene",
|
|
40
|
+
"detectionAngle": "regex-invariant",
|
|
41
|
+
"status": "active",
|
|
42
|
+
"severityDefault": "error",
|
|
43
|
+
"languages": ["en", "zh"],
|
|
44
|
+
"modalities": ["markdown", "text", "html", "jsx", "docx", "pptx"],
|
|
45
|
+
"evidenceLevel": "objective-invariant",
|
|
46
|
+
"name": { "en": "Chatbot Conversational Wrapper & Citation Residue", "zh": "对话寒暄壳与检索残迹" },
|
|
47
|
+
"mechanism": {
|
|
48
|
+
"en": "Copy-pasting model responses leaves assistant greetings, sign-offs, or internal citation tokens (`[oaicite:...]`, `【4†source】`, `utm_source=chatgpt.com`).",
|
|
49
|
+
"zh": "直接粘贴模型输出时残留“好的,以下是……”“希望这对你有帮助”或内部检索引用标记。"
|
|
50
|
+
},
|
|
51
|
+
"tags": ["chatbot", "wrapper", "greeting", "oaicite", "寒暄", "以下是", "希望这对你有帮助"],
|
|
52
|
+
"falsePositiveGuards": [
|
|
53
|
+
"Plain document intros like `以下是本周进展:` without conversational lead-ins (`好的`/`当然可以`) stay exempt.",
|
|
54
|
+
"Natural idioms like `Sure enough` stay exempt."
|
|
55
|
+
],
|
|
56
|
+
"modelTendencies": ["general-llm", "web-chat-ui"],
|
|
57
|
+
"exemplar": {
|
|
58
|
+
"bad": "Certainly! Here is the revised rollout note: Cluster B migrates on November 24 at 02:00 UTC.",
|
|
59
|
+
"trap": "Cluster B isn't just migrating — it's entering a new chapter on November 24 at 02:00 UTC.",
|
|
60
|
+
"good": "Cluster B migrates on November 24 at 02:00 UTC.",
|
|
61
|
+
"source": "original"
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"id": "pat-markdown-leak",
|
|
66
|
+
"ruleId": "markdown-leak",
|
|
67
|
+
"packId": "core",
|
|
68
|
+
"category": "office-structure",
|
|
69
|
+
"detectionAngle": "visual-markup-ooxml",
|
|
70
|
+
"status": "active",
|
|
71
|
+
"severityDefault": "error",
|
|
72
|
+
"languages": ["en", "zh"],
|
|
73
|
+
"modalities": ["docx", "pptx"],
|
|
74
|
+
"evidenceLevel": "objective-invariant",
|
|
75
|
+
"name": { "en": "Unrendered Markdown Syntax in Office Documents", "zh": "Office 文档裸露 Markdown 符号" },
|
|
76
|
+
"mechanism": {
|
|
77
|
+
"en": "LLM markdown output pasted into DOCX/PPTX preserves literal `**bold**` asterisks or `## ` headings inside OOXML text runs.",
|
|
78
|
+
"zh": "将大模型生成的 Markdown 直接贴进 Word/PPT,导致 `**加粗**` 或 `## 标题` 原样暴露在正文里。"
|
|
79
|
+
},
|
|
80
|
+
"tags": ["markdown", "docx", "pptx", "asterisks", "裸符号", "星号"],
|
|
81
|
+
"falsePositiveGuards": [
|
|
82
|
+
"Evaluated only inside extracted DOCX `<w:t>` and PPTX `<a:t>` text runs, excluding deleted revisions `<w:del>`."
|
|
83
|
+
],
|
|
84
|
+
"modelTendencies": ["general-llm"],
|
|
85
|
+
"exemplar": {
|
|
86
|
+
"bad": "**Key Milestone**: Ship v0.2 parser before Friday.",
|
|
87
|
+
"trap": "Key Milestone — a game-changing v0.2 parser ships Friday.",
|
|
88
|
+
"good": "Key Milestone: Ship v0.2 parser before Friday.",
|
|
89
|
+
"source": "original"
|
|
90
|
+
}
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
"id": "pat-ui-dead-control",
|
|
94
|
+
"ruleId": "ui-dead-control",
|
|
95
|
+
"packId": "core",
|
|
96
|
+
"category": "ui-design",
|
|
97
|
+
"detectionAngle": "visual-markup-ooxml",
|
|
98
|
+
"status": "active",
|
|
99
|
+
"severityDefault": "error",
|
|
100
|
+
"languages": ["en", "zh"],
|
|
101
|
+
"modalities": ["html", "jsx"],
|
|
102
|
+
"evidenceLevel": "objective-invariant",
|
|
103
|
+
"name": { "en": "Dead Placeholder Link or Button", "zh": "空链接与占位假按钮" },
|
|
104
|
+
"mechanism": {
|
|
105
|
+
"en": "Generated HTML mockups routinely leave `href=\"#\"`, `javascript:void(0)`, empty buttons, or unexplained static `disabled` buttons.",
|
|
106
|
+
"zh": "AI 生成的界面原型常留下 `href=\"#\"`、`javascript:void(0)`、无标签空按钮或未解释原因的禁用按钮。"
|
|
107
|
+
},
|
|
108
|
+
"tags": ["dead-link", "href", "button", "disabled", "空链接", "假按钮"],
|
|
109
|
+
"falsePositiveGuards": [
|
|
110
|
+
"Real fragment anchors (`href=\"#pricing\"`), click-handled anchors (`onClick`/`hx-get`), and disabled buttons with `title` or `aria-describedby` are exempt."
|
|
111
|
+
],
|
|
112
|
+
"modelTendencies": ["frontend-codegen"],
|
|
113
|
+
"exemplar": {
|
|
114
|
+
"bad": "<a href=\"#\" class=\"btn\">Download report</a>",
|
|
115
|
+
"trap": "<button disabled class=\"btn\">Download AI-Powered Insights</button>",
|
|
116
|
+
"good": "<a href=\"./reports/q3-audit.pdf\" class=\"btn\">Download Q3 audit (PDF)</a>",
|
|
117
|
+
"source": "original"
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
]
|
|
121
|
+
}
|