dislop 0.7.1 → 0.8.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.
Files changed (45) hide show
  1. package/.claude-plugin/marketplace.json +3 -3
  2. package/.claude-plugin/plugin.json +2 -2
  3. package/.codex-plugin/plugin.json +4 -3
  4. package/.cursor-plugin/plugin.json +3 -2
  5. package/PRODUCT.md +18 -4
  6. package/README.md +72 -38
  7. package/README.zh-CN.md +70 -40
  8. package/bin/dislop.mjs +2883 -309
  9. package/gemini-extension.json +2 -2
  10. package/package.json +19 -3
  11. package/packs/business-brief/pack.json +336 -6
  12. package/packs/core/pack.json +14 -7
  13. package/packs/deck-and-ui/pack.json +255 -6
  14. package/packs/literary-essay/pack.json +20 -0
  15. package/patterns/ai-tic-rubric.json +252 -0
  16. package/patterns/banks/composite-fusion.json +13 -1
  17. package/patterns/banks/lexical-signals.json +20 -2
  18. package/patterns/banks/syntactic-frames.json +10 -3
  19. package/patterns/banks/visual-deck.json +7 -0
  20. package/patterns/dimensions/discourse.json +26 -0
  21. package/patterns/dimensions/lexical.json +26 -0
  22. package/patterns/dimensions/rhythm.json +52 -0
  23. package/patterns/dimensions/visual-and-deck.json +209 -1
  24. package/plugin.json +4 -3
  25. package/server.json +2 -2
  26. package/skills/dislop/SKILL.md +35 -41
  27. package/skills/dislop/agents/openai.yaml +1 -1
  28. package/skills/dislop/references/essay.md +24 -0
  29. package/skills/dislop/references/essay.zh-CN.md +24 -0
  30. package/skills/dislop/references/office.md +23 -0
  31. package/skills/dislop/references/office.zh-CN.md +23 -0
  32. package/skills/dislop/references/web-ui.md +24 -0
  33. package/skills/dislop/references/web-ui.zh-CN.md +24 -0
  34. package/skills/dislop/references/work-docs.md +25 -0
  35. package/skills/dislop/references/work-docs.zh-CN.md +24 -0
  36. package/src/binary-node.mjs +1716 -1
  37. package/src/core.mjs +3215 -247
  38. package/src/local-model.mjs +31 -11
  39. package/src/pattern-engine.mjs +174 -24
  40. package/src/pocket-model.mjs +27 -5
  41. package/src/review-client.mjs +1064 -0
  42. package/skills/dislop/references/business-and-rfc.md +0 -26
  43. package/skills/dislop/references/editorial-and-essay.md +0 -20
  44. package/skills/dislop/references/regulated-and-precision.md +0 -27
  45. package/skills/dislop/references/web-ui-and-deck.md +0 -26
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "schema": "dislop.pack/2",
3
3
  "id": "deck-and-ui",
4
- "version": "0.2.0",
4
+ "version": "0.3.0",
5
5
  "tier": "taste",
6
6
  "extends": ["core"],
7
7
  "name": {
@@ -9,10 +9,10 @@
9
9
  "zh": "演示文稿、Web 界面与平面视觉"
10
10
  },
11
11
  "summary": {
12
- "en": "Flags PowerPoint slide word-walls, bullet overload, autofit text shrink, weak topic titles, default purple-pink AI gradients, pill-badge soup, triple nested cards, and prompt-echo chrome.",
13
- "zh": "检查幻灯片文字墙、要点过多、字号自动缩排、空泛标题,以及网页里的默认紫粉渐变、满屏胶囊标签、三层套盒与提示词营销徽章。"
12
+ "en": "Flags PowerPoint and PDF slide word-walls, autofit text shrink, generic titles, Web UI neon gradients, glow orbs, emoji chrome, icon-tile grids, SVG layout defects, and raster image AI workflow/palette slop.",
13
+ "zh": "检查 PPT 与横版 PDF 文字墙、自动缩排、空泛标题,以及网页里的紫粉渐变、霓虹光球、Emoji 图标堆砌、模板卡格、SVG 排版缺陷和图片工作流残留与塑料配色。"
14
14
  },
15
- "modalities": ["html", "css", "jsx", "svg", "pptx"],
15
+ "modalities": ["html", "css", "jsx", "svg", "pptx", "pdf", "image"],
16
16
  "thresholds": {
17
17
  "maxSlideWords": 120,
18
18
  "maxSlideCharsZh": 280,
@@ -27,7 +27,7 @@
27
27
  "severity": "warning",
28
28
  "family": "deck/density",
29
29
  "probe": "slide-word-wall",
30
- "modalities": ["pptx"],
30
+ "modalities": ["pptx", "pdf"],
31
31
  "message": {
32
32
  "en": "Slide exceeds readable copy budget (> 120 Latin words or > 280 Chinese characters).",
33
33
  "zh": "单页幻灯片可见文字超载(英文 > 120 词或中文 > 280 字),变成文档搬家。"
@@ -147,7 +147,7 @@
147
147
  "severity": "warning",
148
148
  "family": "ui/slop-chrome",
149
149
  "probe": "ui-ai-gradient",
150
- "modalities": ["html", "css", "jsx", "svg"],
150
+ "modalities": ["html", "css", "jsx", "svg", "pdf"],
151
151
  "message": {
152
152
  "en": "Default purple/indigo-to-pink generator gradient or gradient-clipped display headline.",
153
153
  "zh": "使用默认紫粉/蓝紫高饱和渐变或渐变裁切艺术字标题(典型生成式模板特征)。"
@@ -285,6 +285,255 @@
285
285
  "<button type=\"submit\">Run check</button>"
286
286
  ]
287
287
  }
288
+ },
289
+ {
290
+ "id": "ui-glow-blob-chrome",
291
+ "tier": "taste",
292
+ "severity": "warning",
293
+ "family": "ui/slop-chrome",
294
+ "probe": "ui-glow-blob-chrome",
295
+ "modalities": ["html", "css", "jsx", "svg"],
296
+ "message": {
297
+ "en": "Decorative ambient blur orbs (`blur-3xl`), neon box-shadows, pulsing `animate-ping` pill dots, or heavy SVG glow filters.",
298
+ "zh": "堆砌装饰性环境光晕球(`blur-3xl`)、霓虹色阴影、闪烁 `animate-ping` 小圆点或重度 SVG 发光滤镜。"
299
+ },
300
+ "deletionTest": {
301
+ "en": "Delete decorative blur orbs and colored glow shadows; separate layers with solid surface tokens and crisp 1px borders.",
302
+ "zh": "删掉无功能的光晕球和霓虹发光阴影,改用单调阶梯底色和 1px 实线分隔层次。"
303
+ },
304
+ "exemplar": {
305
+ "bad": "<div class=\"blur-3xl rounded-full bg-purple-500/30\"></div><button class=\"shadow-indigo-500/50\">Launch</button>",
306
+ "trap": "<div class=\"blur-3xl rounded-full bg-amber-500/20\"></div><button class=\"shadow-teal-500/50\">Launch</button>",
307
+ "good": "<section class=\"surface-sheet border\"><button class=\"btn-primary\">Launch</button></section>",
308
+ "note": {
309
+ "en": "Swapping purple glow for teal glow repeats the same decorative haze; use solid ink contrast.",
310
+ "zh": "把紫色光晕换成青色光晕还是同一种发光套路,直接去掉模糊光斑即可。"
311
+ },
312
+ "source": "original"
313
+ },
314
+ "fixtures": {
315
+ "hit": [
316
+ "<div class=\"blur-3xl rounded-full bg-indigo-500/30\"></div>",
317
+ "<span class=\"rounded-full\"><span class=\"animate-ping bg-emerald-400\"></span>Live</span>",
318
+ "<svg viewBox=\"0 0 100 100\"><defs><filter id=\"g\"><feGaussianBlur stdDeviation=\"12\"/></filter></defs></svg>"
319
+ ],
320
+ "clean": [
321
+ "<section class=\"border bg-white p-6\"><h2>Release status</h2></section>",
322
+ "<svg viewBox=\"0 0 100 100\"><rect width=\"100\" height=\"100\" fill=\"#F6F7F5\"/></svg>"
323
+ ]
324
+ }
325
+ },
326
+ {
327
+ "id": "ui-emoji-icon-chrome",
328
+ "tier": "taste",
329
+ "severity": "warning",
330
+ "family": "ui/slop-chrome",
331
+ "probe": "ui-emoji-icon-chrome",
332
+ "modalities": ["html", "jsx", "svg"],
333
+ "message": {
334
+ "en": "Three or more decorative AI stock emojis (`🚀`, `✨`, `⚡`, `🛡️`) used as interface or heading icons.",
335
+ "zh": "在界面标题、按钮或卡片里堆砌 3 处及以上通用 Emoji(如 `🚀`、`✨`、`⚡`、`🛡️`)充当图标。"
336
+ },
337
+ "deletionTest": {
338
+ "en": "Strip decorative emojis from headings and controls; use plain typography or a consistent single-stroke SVG icon set.",
339
+ "zh": "删去标题与按钮里的装饰 Emoji,改用纯文字层级或统一线宽的单色矢量图标。"
340
+ },
341
+ "exemplar": {
342
+ "bad": "<h3>🚀 Fast</h3><h3>⚡ Sync</h3><h3>🛡️ Safe</h3>",
343
+ "trap": "<h3>🌟 Fast</h3><h3>💎 Sync</h3><h3>🎯 Safe</h3>",
344
+ "good": "<h3>Sub-50 ms checks</h3><h3>Local sync</h3><h3>Offline by default</h3>",
345
+ "note": {
346
+ "en": "Swapping rockets for sparkles and gems still looks like generated filler; plain concrete headings read faster.",
347
+ "zh": "把火箭换成星星和钻石仍是生成式拼贴味,直接用具体小标题更利落。"
348
+ },
349
+ "source": "original"
350
+ },
351
+ "fixtures": {
352
+ "hit": [
353
+ "<h3>🚀 Deploy</h3><h3>✨ Smart</h3><h3>⚡ Fast</h3>"
354
+ ],
355
+ "clean": [
356
+ "<h3>Deploy CLI</h3><h3>Run offline checks</h3><h3>Export SARIF</h3>"
357
+ ]
358
+ }
359
+ },
360
+ {
361
+ "id": "ui-template-card-grid",
362
+ "tier": "taste",
363
+ "severity": "warning",
364
+ "family": "ui/slop-chrome",
365
+ "probe": "ui-template-card-grid",
366
+ "modalities": ["html", "jsx"],
367
+ "message": {
368
+ "en": "Stock generator UI boilerplate: tinted rounded-square icon tiles (>= 3), fake macOS 3-dot window chrome, or sequential `01`/`02`/`03` eyebrow kickers.",
369
+ "zh": "命中生成式界面三大件:彩色圆角方块图标卡(>= 3 组)、假 macOS 三色窗口圆点或 `01`/`02`/`03` 编号眉题。"
370
+ },
371
+ "deletionTest": {
372
+ "en": "Remove fake window dots, sequential numeric kickers, and tinted icon tiles; organize cards with real headings and alignment.",
373
+ "zh": "删去假窗口圆点、编号眉题和马卡龙图标块,靠真实小标题和对齐建立网格秩序。"
374
+ },
375
+ "exemplar": {
376
+ "bad": "<div class=\"rounded-xl w-10 h-10 bg-indigo-50\">A</div><div class=\"rounded-xl w-10 h-10 bg-purple-50\">B</div><div class=\"rounded-xl w-10 h-10 bg-pink-50\">C</div>",
377
+ "trap": "<div><span>01</span><h3>Speed</h3><span>02</span><h3>Scale</h3><span>03</span><h3>Trust</h3></div>",
378
+ "good": "<section class=\"grid\"><div><h3>CLI</h3><p>Checks Markdown and PPTX locally.</p></div><div><h3>MCP</h3><p>Connects to coding agents.</p></div></section>",
379
+ "note": {
380
+ "en": "Replacing tinted icon tiles with `01`/`02`/`03` kickers swaps one boilerplate chrome for another.",
381
+ "zh": "把彩色图标块换成 `01`/`02`/`03` 编号眉题只是换了另一种模板壳。"
382
+ },
383
+ "source": "original"
384
+ },
385
+ "fixtures": {
386
+ "hit": [
387
+ "<div class=\"rounded-xl w-10 h-10 bg-indigo-50\">1</div><div class=\"rounded-xl w-10 h-10 bg-blue-50\">2</div><div class=\"rounded-xl w-10 h-10 bg-emerald-50\">3</div>",
388
+ "<div><span class=\"rounded-full bg-red-500\"></span><span class=\"rounded-full bg-yellow-400\"></span><span class=\"rounded-full bg-green-500\"></span></div>",
389
+ "<section><span>01</span><span>02</span><span>03</span></section>"
390
+ ],
391
+ "clean": [
392
+ "<section class=\"grid\"><article><h3>Parser</h3><p>Reads OOXML locally.</p></article></section>"
393
+ ]
394
+ }
395
+ },
396
+ {
397
+ "id": "svg-layout-slop",
398
+ "tier": "taste",
399
+ "severity": "warning",
400
+ "family": "graphic/svg-structure",
401
+ "probe": "svg-layout-slop",
402
+ "modalities": ["svg"],
403
+ "message": {
404
+ "en": "SVG graphic has structural generation defects: missing `viewBox` on a large canvas, overlapping `<text>` coordinates, or >= 2 orphaned `<defs>` entries.",
405
+ "zh": "SVG 平面图形存在生成式结构缺陷:大画布缺失 `viewBox`、文字坐标重叠或 `<defs>` 中残留 2 处及以上孤立未用定义。"
406
+ },
407
+ "deletionTest": {
408
+ "en": "Add an explicit `viewBox`, separate `<text>` coordinates cleanly, and delete unused gradients or filters from `<defs>`.",
409
+ "zh": "补齐显式 `viewBox`,拉开重叠文字坐标,并清理 `<defs>` 里未被引用的冗余渐变与滤镜。"
410
+ },
411
+ "exemplar": {
412
+ "bad": "<svg width=\"640\" height=\"360\"><text x=\"40\" y=\"50\">Step 1</text><text x=\"42\" y=\"52\">Overlap</text></svg>",
413
+ "trap": "<svg viewBox=\"0 0 640 360\" width=\"640\" height=\"360\"><defs><linearGradient id=\"u1\"/><linearGradient id=\"u2\"/></defs><rect width=\"640\" height=\"360\"/></svg>",
414
+ "good": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 640 360\" width=\"640\" height=\"360\"><text x=\"40\" y=\"50\">Step 1</text><text x=\"40\" y=\"96\">Step 2</text></svg>",
415
+ "note": {
416
+ "en": "Non-icon SVGs need a responsive `viewBox`, non-overlapping text coordinates, and zero orphaned `<defs>` bloat.",
417
+ "zh": "非小图标画布应声明 `viewBox`、保证文字坐标不碰撞,并删去未被引用的 `<defs>`。"
418
+ },
419
+ "source": "original"
420
+ },
421
+ "fixtures": {
422
+ "hit": [
423
+ "<svg width=\"480\" height=\"320\"><rect width=\"480\" height=\"320\"/></svg>",
424
+ "<svg viewBox=\"0 0 400 200\"><text x=\"20\" y=\"40\">A</text><text x=\"22\" y=\"43\">B</text></svg>",
425
+ "<svg viewBox=\"0 0 200 200\"><defs><linearGradient id=\"unused1\"/><filter id=\"unused2\"/></defs><rect width=\"100\" height=\"100\"/></svg>"
426
+ ],
427
+ "clean": [
428
+ "<svg viewBox=\"0 0 400 200\" width=\"400\" height=\"200\"><text x=\"20\" y=\"40\">Input</text><text x=\"20\" y=\"88\">Output</text></svg>"
429
+ ]
430
+ }
431
+ },
432
+ {
433
+ "id": "image-ai-workflow-residue",
434
+ "tier": "taste",
435
+ "severity": "warning",
436
+ "family": "graphic/image-residue",
437
+ "probe": "image-ai-workflow-residue",
438
+ "modalities": ["image"],
439
+ "message": {
440
+ "en": "Raster image embeds unstripped AI generation prompt/workflow parameters (warning) or explicit synthetic provenance tags (info — retain required legal disclosures).",
441
+ "zh": "图片文件内嵌了未清理的生成提示词/工作流参数(提醒),或带有显式 AI 生成来源标识(提示:合规场景请保留法定标识,重点复核成图质感)。"
442
+ },
443
+ "deletionTest": {
444
+ "en": "Strip accidental raw prompt/seed workflow JSON before shipping assets; keep legally required C2PA or IPTC `trainedAlgorithmicMedia` disclosures intact.",
445
+ "zh": "交付前清理意外残留的提示词与工作流 JSON;属于法规要求的 C2PA 或 `trainedAlgorithmicMedia` 标识请勿私自剥除,仅作质感复核。"
446
+ },
447
+ "exemplar": {
448
+ "bad": "PNG tEXt chunk `parameters`: `masterpiece, neon glow\\nNegative prompt: blurry\\nSteps: 28, Sampler: Euler a, CFG scale: 7`",
449
+ "trap": "Stripping legal C2PA / `trainedAlgorithmicMedia` provenance tags instead of inspecting or re-shooting the asset",
450
+ "good": "Clean PNG/JPEG export with raw prompt/node-graph chunks removed and natural photographic or editorial raster assets",
451
+ "note": {
452
+ "en": "Removing leaked ComfyUI/A1111 prompt strings protects internal workflows; never strip legally mandated AI disclosures.",
453
+ "zh": "清理工作流参数块可避免提示词与节点图外泄;面向公众分发的合成图片应依法保留来源标识。"
454
+ },
455
+ "source": "original"
456
+ },
457
+ "fixtures": {
458
+ "hit": [
459
+ "IMG_WORKFLOW:parameters: cyberpunk UI\\nNegative prompt: text\\nSteps: 30, CFG scale: 7",
460
+ "IMG_PROVENANCE:xmp: trainedAlgorithmicMedia"
461
+ ],
462
+ "clean": [
463
+ "IMG_CLEAN:800x600 editorial screenshot"
464
+ ]
465
+ }
466
+ },
467
+ {
468
+ "id": "image-ai-palette-slop",
469
+ "tier": "taste",
470
+ "severity": "info",
471
+ "family": "graphic/image-aesthetics",
472
+ "probe": "image-ai-palette-slop",
473
+ "modalities": ["image"],
474
+ "message": {
475
+ "en": "PNG pixel profile matches default AI-slop aesthetics: dominant neon purple-indigo-pink palette or hyper-saturated airbrushed plastic sheen.",
476
+ "zh": "PNG 像素分布呈现典型生成式视觉套路:高占比蓝紫霓虹主色,或大面积高饱和光滑“塑料感”涂抹。"
477
+ },
478
+ "deletionTest": {
479
+ "en": "Review the rendered image for plastic skin/surfaces or generic neon-purple backdrops; re-grade toward natural micro-contrast and restrained accents.",
480
+ "zh": "人工复核图片是否存在塑料反光质感或默认黑底蓝紫霓虹,改用自然材质细节与克制配色。"
481
+ },
482
+ "exemplar": {
483
+ "bad": "1024x1024 dark-mode hero PNG with 42% #0B0B14 dark backdrop and 28% glowing #7C3AED/#EC4899 purple-pink pixels",
484
+ "trap": "1024x1024 PNG pushing every surface to 92% saturation with airbrushed zero-texture gradients",
485
+ "good": "1024x1024 PNG on #F6F7F5 paper ground with crisp ink typography and <= 5% single vermilion accent",
486
+ "note": {
487
+ "en": "Pixel heuristics are advisory signals; crisp UI screenshots on neutral grounds stay cleanly below thresholds.",
488
+ "zh": "像素分布仅作温和提示,白底或克制暗底的正常 UI 截图不会误报。"
489
+ },
490
+ "source": "original"
491
+ },
492
+ "fixtures": {
493
+ "hit": [
494
+ "IMG_NEON_PALETTE:neonPurple=28%,darkBg=42%",
495
+ "IMG_PLASTIC:highSat=48%,smooth=78%"
496
+ ],
497
+ "clean": [
498
+ "IMG_CLEAN:neutral=95%,neonPurple=0%"
499
+ ]
500
+ }
501
+ },
502
+ {
503
+ "id": "pdf-visual-layout-slop",
504
+ "tier": "taste",
505
+ "severity": "warning",
506
+ "family": "graphic/pdf-layout",
507
+ "probe": "pdf-visual-layout-slop",
508
+ "modalities": ["pdf"],
509
+ "message": {
510
+ "en": "PDF slide/poster layout exhibits synthetic template defects: multi-page raster-only slides, collapsed font hierarchy, crushed < 9.5pt body copy, or 4+ consecutive identical landscape slide skeletons.",
511
+ "zh": "PDF 演示页或海报存在排版缺陷:多页全图无可选文字、横版页字阶扁平或正文缩至 < 9.5pt,或连续 4 页及以上同骨架纯字横版页。"
512
+ },
513
+ "deletionTest": {
514
+ "en": "Export slides with selectable vector text, restore a >= 1.2x title-to-body type scale, keep body type >= 11pt, and vary layout structure across slides.",
515
+ "zh": "导出可选择矢量文本而非整页贴图,拉开至少 1.2 倍的标题与正文字号阶梯(正文 >= 11pt),并穿插表格或图表。"
516
+ },
517
+ "exemplar": {
518
+ "bad": "4-page landscape 960x540 PDF deck where every slide is a single rasterized PNG image with 0 selectable text operators",
519
+ "trap": "4-page landscape PDF deck shrinking all body text to 8.5pt with 10pt titles (1.17x ratio) to cram paragraphs",
520
+ "good": "5-page landscape PDF deck with 28pt assertion headlines, 13pt body copy, and alternating tables and charts",
521
+ "note": {
522
+ "en": "Portrait prose reports and single-page portfolios are exempt from landscape slide density and monotony rules.",
523
+ "zh": "竖版长文报告与单页作品集豁免横版幻灯片单调与文字墙检查。"
524
+ },
525
+ "source": "original"
526
+ },
527
+ "fixtures": {
528
+ "hit": [
529
+ "PDF_RASTER_DECK:3 raster-only landscape pages",
530
+ "PDF_FLAT_TYPE:min=8.5pt,max=10pt",
531
+ "PDF_MONOTONY:4 consecutive identical pages"
532
+ ],
533
+ "clean": [
534
+ "PDF_CLEAN:varied typography and portrait report"
535
+ ]
536
+ }
288
537
  }
289
538
  ]
290
539
  }
@@ -117,6 +117,19 @@
117
117
  "en": "Replace the abstract contrast with what the person actually did, said, or noticed.",
118
118
  "zh": "删掉抽象对比金句,改写人物实际做出的动作或看到的细节。"
119
119
  },
120
+ "registerOverrides": {
121
+ "argumentative": {
122
+ "severity": "info",
123
+ "message": {
124
+ "en": "Dialectic 'Not X, but Y' contrast is a valid rhetorical move in argumentative writing; keep it if Y carries a real premise or bound, not an empty slogan.",
125
+ "zh": "议论文中“不是 A,而是 B”常用于立论辨析;只要 B 给出真实前提、界定或论据即可保留,仅删空洞口号式对仗。"
126
+ },
127
+ "deletionTest": {
128
+ "en": "Check whether clause B states an explicit premise, boundary, or piece of evidence rather than a vague slogan.",
129
+ "zh": "确认“而是 B”是否给出了明确前提、概念边界或事实论据,而非拔高口号。"
130
+ }
131
+ }
132
+ },
120
133
  "exemplar": {
121
134
  "bad": "老周留下的那把旧刨子不是工具,而是手艺人的尊严。",
122
135
  "trap": "一把旧刨子。半生木工活。满手老茧。",
@@ -136,6 +149,13 @@
136
149
  "clean": [
137
150
  "那班绿皮车停靠的不是三号站台,而是最北边的五号货运站台。",
138
151
  "He ordered tea, not coffee, and waited by the window."
152
+ ],
153
+ "register": [
154
+ {
155
+ "register": "argumentative",
156
+ "text": "那盏台灯不是照明器具,而是深夜里的陪伴。",
157
+ "expect": "info"
158
+ }
139
159
  ]
140
160
  }
141
161
  },
@@ -0,0 +1,252 @@
1
+ {
2
+ "schema": "dislop.ai-tic-rubric/1",
3
+ "version": "1.0.0",
4
+ "license": "Apache-2.0",
5
+ "title": {
6
+ "en": "Multi-Layer AI-Tic Feature Library & Cross-Check Rubric",
7
+ "zh": "五层 AI 口癖特征库与多信号交叉核对准则"
8
+ },
9
+ "synthesizedFrom": [
10
+ { "id": "wp-signs-of-ai-writing", "focus": "Inflated significance, -ing commentary tails, copula inflation, negative parallelisms, rule of three" },
11
+ { "id": "blader/humanizer", "focus": "24 concrete AI writing tells, author voice loading, soul/personality preservation" },
12
+ { "id": "op7418/Humanizer-zh", "focus": "Chinese translationese, abstract noun stacking, stiff structural signposting" },
13
+ { "id": "hardikpandya/stop-slop", "focus": "Banned structural transitions, formulaic openers/closers, anti-drama restraint" },
14
+ { "id": "petergyang/no-ai-slop", "focus": "20+ punchy writing filters against robotic symmetry and corporate fluff" },
15
+ { "id": "Adkid-Zephyr/anti-defensive-writing-Skill", "focus": "Removing pre-emptive hedging and defensive boundary disclaimers" },
16
+ { "id": "larashero3-dotcom/lieflat-less-ai-tone", "focus": "Empirical cross-model frequency baselines for Chinese AI cliché phrases" },
17
+ { "id": "MrGeDiao/shuorenhua", "focus": "Register separation and blocking cheesy forced-casual fake-human fillers" },
18
+ { "id": "jiji262/humanizer-chinese", "focus": "36 Chinese AI habits paired with anti-overcorrection guards" },
19
+ { "id": "eqbench-slop-score", "focus": "Multi-axis weighting (excess lexicon + contrast frames + frequent trigrams)" },
20
+ { "id": "seyedehsanhadi/sloptrim", "focus": "Zero-dependency deterministic probes + burstiness/entropy scoring" },
21
+ { "id": "FeedHive/ai-slop-detector", "focus": "Categorized pattern matching paired with structural density checks" }
22
+ ],
23
+ "layers": [
24
+ {
25
+ "id": "lexical",
26
+ "order": 1,
27
+ "name": {
28
+ "en": "Lexical Buzzwords, Calques & Forced Synonym Cycling",
29
+ "zh": "词汇层:AI 集中黑话、翻译腔与强行同义词轮换"
30
+ },
31
+ "detectionPrimary": "hybrid",
32
+ "borrowedFrom": [
33
+ "wp-signs-of-ai-writing",
34
+ "blader/humanizer",
35
+ "op7418/Humanizer-zh",
36
+ "larashero3-dotcom/lieflat-less-ai-tone",
37
+ "eqbench-slop-score"
38
+ ],
39
+ "signals": {
40
+ "en": [
41
+ "Over-represented AI vocabulary clusters: delve, tapestry, pivotal, holistic, seamless, underscore, testament to, realm of, ever-evolving, navigate complexities",
42
+ "Empty abstract buzzwords replacing concrete nouns/verbs (empower, leverage, robust ecosystem, transformative paradigm)",
43
+ "Forced synonym cycling ('the engine -> the platform -> the architecture -> the backbone' for one concrete component)"
44
+ ],
45
+ "zh": [
46
+ "空洞 AI 集中黑话集群:赋能、抓手、闭环/全闭环、生态矩阵、深度协同、降本增效、维度、心智、颗粒度、组合拳",
47
+ "高密度中文翻译腔与公文抽象名词堆叠:在……的背景下、不可否认的是、毫不夸张地说、扮演着……角色、提供有力支撑、进行优化/开展推进",
48
+ "强行同义词轮换(同一具体系统在同一段内先后被改写为“该系统/该平台/该架构/该底座”)"
49
+ ]
50
+ },
51
+ "falsePositiveGuards": {
52
+ "en": [
53
+ "Never flag grounded technical or domain identifiers when tied to concrete files, configs, protocols, or numeric bounds",
54
+ "Allow single isolated words; flag only paragraph-level clusters or unsupported marketing adjectives"
55
+ ],
56
+ "zh": [
57
+ "严格区分 AI 空洞黑话与真实工程/业务行业黑话(如 Redis 兜底、WAL 落盘、PR 收口、告警打通均属扎实表达,不得误报)",
58
+ "单词孤立出现且上下文有事实锚点时不误报,仅在段落共现成簇或无事实支撑时标记"
59
+ ]
60
+ },
61
+ "llmCheckPrompt": {
62
+ "en": "Check for AI buzzword clusters, nominalization bloat, and forced synonym cycling while leaving grounded domain terminology untouched.",
63
+ "zh": "识别空洞 AI 黑话簇、虚化动宾搭配与同义词强行轮换;严禁误伤带真实技术/业务锚点的行业术语。"
64
+ }
65
+ },
66
+ {
67
+ "id": "syntactic",
68
+ "order": 2,
69
+ "name": {
70
+ "en": "Syntactic Frames, Inflated Copulas & Participle Tails",
71
+ "zh": "句法层:模板句壳、虚假施事与分词附庸尾句"
72
+ },
73
+ "detectionPrimary": "hybrid",
74
+ "borrowedFrom": [
75
+ "wp-signs-of-ai-writing",
76
+ "hardikpandya/stop-slop",
77
+ "VincentOld/stop-slop-zh",
78
+ "petergyang/no-ai-slop"
79
+ ],
80
+ "signals": {
81
+ "en": [
82
+ "Formulaic contrast pivots ('Not just X, but Y', 'It isn't about A; it's about B')",
83
+ "Dangling -ing commentary tails tacked onto factual clauses (', highlighting its pivotal role', ', underscoring the importance', ', ensuring seamless integration')",
84
+ "Inflated copulas & false-agency verbs ('serves as a testament to', 'stands as a beacon', 'boasts an array of', 'the data tells us')",
85
+ "Three-part balanced semicolon pitches, staccato slogan runs, and staged self-Q&A ('Why does this matter? Because...')"
86
+ ],
87
+ "zh": [
88
+ "反转金句套壳(“不是 A,而是 B”“与其说……不如说……”高密度套用)",
89
+ "角色隐喻与伪载体句式(“扮演着重要角色”“作为……的重要载体/基石/桥梁”)",
90
+ "抽象跨度伪排比(“从……到……再到……”连接无实体落点的概念)、四字成语排比串与自问自答过渡(“这意味着什么?意味着……”)"
91
+ ]
92
+ },
93
+ "falsePositiveGuards": {
94
+ "en": [
95
+ "Distinguish literal architectural roles ('proxy serves as TLS terminator') from puffed-up claims ('serves as a pivotal paradigm')",
96
+ "Allow genuine parallel debugging steps or crisp specifications"
97
+ ],
98
+ "zh": [
99
+ "区分真实机制对比与空洞反转金句(如真实规格说明“A 不走 TCP,而是走 Unix socket”不应误报)",
100
+ "代码或表格中的并列技术参数列表不按排比口癖处罚"
101
+ ]
102
+ },
103
+ "llmCheckPrompt": {
104
+ "en": "Spot formulaic syntactic shells (negation pivots, dangling -ing significance tails, inflated copulas, 3-part symmetry) that persist even after synonyms are swapped.",
105
+ "zh": "检查换词后仍在的句法骨架(“不是A而是B”反转、角色隐喻载体句、伪跨度排比与自问自答套壳),区分真实机制对比与空洞修辞。"
106
+ }
107
+ },
108
+ {
109
+ "id": "rhythm",
110
+ "order": 3,
111
+ "name": {
112
+ "en": "Rhythm, Burstiness & Formatting Confetti",
113
+ "zh": "节奏层:句长节拍器、长逗号链与助手排版噪点"
114
+ },
115
+ "detectionPrimary": "deterministic",
116
+ "borrowedFrom": [
117
+ "seyedehsanhadi/sloptrim",
118
+ "FeedHive/ai-slop-detector",
119
+ "hardikpandya/stop-slop",
120
+ "blader/humanizer"
121
+ ],
122
+ "signals": {
123
+ "en": [
124
+ "Metronome sentence-length uniformity (low CV across 5+ sentences) and equal paragraph word budgets",
125
+ "Flat 5+ comma run-on chains and mechanical repetitive sentence openers",
126
+ "Inline **bold** lead-in bullet walls, confetti bolding inside prose, and excessive em-dashes"
127
+ ],
128
+ "zh": [
129
+ "连续 5 句以上长度高度均一的节拍器节奏,或连续段落字数几乎均等切割",
130
+ "单句连续 5 个以上逗号平铺、机械同构句首开头",
131
+ "无节制加粗标签列表墙(`**关键词**:说明` 连续刷屏)、段内加粗噪点与过密破折号"
132
+ ]
133
+ },
134
+ "falsePositiveGuards": {
135
+ "en": [
136
+ "Concise checklists, changelogs, API reference tables, and code blocks naturally share uniform line lengths and must not be penalized",
137
+ "Allow short, punchy cadence when deliberate in dialogue, release notes, or rules"
138
+ ],
139
+ "zh": [
140
+ "规则清单、接口参数表、变更日志天然具有短句和规则排布,不得硬性要求改写打乱结构",
141
+ "中文技术列表与规范条目允许稳定格式,不与散文节奏混为一谈"
142
+ ]
143
+ },
144
+ "llmCheckPrompt": {
145
+ "en": "Verify whether statistical flatness reflects true assistant smoothing rather than an intentional reference list or changelog.",
146
+ "zh": "结合文体判断平直节奏是否真是 AI 平滑铺陈;若原文是严谨操作规程或参数清单,勿为制造起伏而破坏清晰度。"
147
+ }
148
+ },
149
+ {
150
+ "id": "cognitive-framing",
151
+ "order": 4,
152
+ "name": {
153
+ "en": "Cognitive Framing: False Neutrality, Elevation & Fake Specificity",
154
+ "zh": "思维与表达层:虚假端水、强行宏大升华与无依据精确"
155
+ },
156
+ "detectionPrimary": "llm-primary",
157
+ "borrowedFrom": [
158
+ "wp-signs-of-ai-writing",
159
+ "Adkid-Zephyr/anti-defensive-writing-Skill",
160
+ "op7418/Humanizer-zh",
161
+ "MrGeDiao/shuorenhua",
162
+ "AIScientists-Dev/academic-humanizer"
163
+ ],
164
+ "signals": {
165
+ "en": [
166
+ "False-neutral 'both-sides' hedging ('on the one hand ... on the other hand ... ultimately depends on your needs') refusing to make a concrete engineering/editorial call",
167
+ "Forced macro elevation & significance inflation ('marks a pivotal turning point', 'lays a solid foundation for future innovation')",
168
+ "Pre-emptive defensive disclaimers ('it is worth noting that no single approach solves everything')",
169
+ "Fake specificity / ghost attribution ('industry experts widely agree', 'studies show dramatic improvements')"
170
+ ],
171
+ "zh": [
172
+ "虚假客观“端水”思维(“有利有弊,仁者见仁智者见智”“既要效率又要稳定,具体取决于业务场景”——回避直接下判断)",
173
+ "强行拔高意义与宏大叙事(“标志着……迈入新阶段”“为后续演进奠定了坚实基础”“彰显了深远价值”)",
174
+ "防御性免责铺垫(“需要客观说明的是,任何方案都非完美,但只要……”)",
175
+ "无来源伪具体背书(“业内专家普遍认为”“多项实测指标显示显著提升”)"
176
+ ]
177
+ },
178
+ "falsePositiveGuards": {
179
+ "en": [
180
+ "Preserve legitimate trade-off analysis backed by concrete conditions, numbers, or threshold boundaries ('Use SQLite under 50k writes/day; move to Postgres beyond that')",
181
+ "Never strip real uncertainty qualifiers ('estimated', 'unless', 'pending verification')"
182
+ ],
183
+ "zh": [
184
+ "区分“虚假端水”与“有边界条件的真权衡”(如明确写出“日写入低于 5 万用 SQLite,超过再切 Postgres”是精准判断,必须保留)",
185
+ "严禁把合理的风险限定词(“预计/仅在/除非/待实测确认”)当成防御性废话删掉"
186
+ ]
187
+ },
188
+ "llmCheckPrompt": {
189
+ "en": "Inspect the reasoning frame: flag false-neutral hedging that dodges a clear judgment, ungrounded macro significance inflation, defensive padding, and fake-specificity attributions. Keep bounded trade-offs and real caveats intact.",
190
+ "zh": "重点审查思维与立意角度:抓出回避明确判断的“端水套话”、无支撑的宏大升华、冗余免责铺垫与伪权威归因;保留带真实边界条件与实测范围的严谨权衡。"
191
+ }
192
+ },
193
+ {
194
+ "id": "rhetorical-stance",
195
+ "order": 5,
196
+ "name": {
197
+ "en": "Rhetorical Stance: Lecturing, Over-Explaining & Fake-Human Overcorrection",
198
+ "zh": "表达角度层:居高临下说教、冗余复述与廉价“装人味”"
199
+ },
200
+ "detectionPrimary": "llm-primary",
201
+ "borrowedFrom": [
202
+ "MrGeDiao/shuorenhua",
203
+ "jiji262/humanizer-chinese",
204
+ "blader/humanizer",
205
+ "hardikpandya/stop-slop"
206
+ ],
207
+ "signals": {
208
+ "en": [
209
+ "Didactic lecturing & faux profundity ('Let that sink in.', 'The real truth nobody talks about:', 'At its core, quality isn't a tool—it's a mindset')",
210
+ "Over-explaining & spoon-feeding (announcing what a clear datum obviously means right after stating it, plus redundant 'Key Takeaways' on short notes)",
211
+ "Sycophancy & chatbot residue leaks ('Great question!', 'I'd be happy to help')",
212
+ "Fake-human overcorrection: inserting forced slang, exclamation confetti, or fake typos just to sound casual"
213
+ ],
214
+ "zh": [
215
+ "说教口吻与伪金句收尾(“本质上来说……”“说白了就是……”“真正的……从来不是……而是……”)",
216
+ "保姆式重复解释与强行总结(刚给出清楚的表格或数字,紧接着再用三句话“换言之,这充分说明了……”;短文硬塞“核心总结 / 下一步展望”)",
217
+ "助手客套残留与媚俗“装人味”过度纠偏(生硬插入“哈哈/家人们/绝绝子/其实吧/讲真”,破坏专业语体与原声风格)"
218
+ ]
219
+ },
220
+ "falsePositiveGuards": {
221
+ "en": [
222
+ "Respect the author's real voice, sharp opinions, humor, and personal register when consistent with their voice card or literary/editorial genre",
223
+ "Never rewrite vivid human metaphors or crisp stance into bland bureaucratic prose"
224
+ ],
225
+ "zh": [
226
+ "尊重并保留作者本来就有的锋芒观点、个人幽默、口语节奏或文风卡习惯,不得一刀切磨平成白开水",
227
+ "严禁通过塞入“说白了/其实吧”或磨平个性来伪造“人味”"
228
+ ]
229
+ },
230
+ "llmCheckPrompt": {
231
+ "en": "Check writer-reader stance: flag didactic lecturing, spoon-feeding summaries after concrete facts, chatbot leaks, and cheesy fake-human slang. Protect genuine author personality, crisp humor, and direct judgment.",
232
+ "zh": "审查叙事姿态与视角:抓出居高临下的说教金句、事实后的保姆式复述、残留客套与廉价“装人味”口水词;同时保护作者原本鲜明的态度、个人视角与真实语气。"
233
+ }
234
+ }
235
+ ],
236
+ "antiDegradationPrinciples": {
237
+ "en": [
238
+ "Preserve original author perspective, voice tension, and rhetorical personality; never flatten lively prose into sterile report boilerplate.",
239
+ "Preserve burstiness and natural short-long sentence rhythm contrast.",
240
+ "Preserve grounded industry/technical terms and concrete information density; delete padding, never delete substance.",
241
+ "Preserve modality bounds and uncertainty qualifiers (e.g., 'estimated', 'about', 'only if', 'pending benchmark').",
242
+ "Reject secondary AI slop and fake-human overcorrection slogans during edits."
243
+ ],
244
+ "zh": [
245
+ "保留原作者的人称视角、鲜明态度与表达魅力,绝不把有个性的文章改笨、改呆或磨平为千篇一律的干瘪公文。",
246
+ "保留长短句自然起伏,防止为了消解排比或长句而把全文切成均一短句。",
247
+ "保留带事实锚点的行业/技术专名与真实信息密度;只删水词废话,不删实质机制与判断依据。",
248
+ "严格保留数值、专名与范围/不确定限定词(预计、约、仅在、除非、待确认),绝不夸大成绝对承诺或幻觉编造数字。",
249
+ "禁止在改写或审校建议中引入新的 AI 套词(全闭环、赋能、抓手、“不是A而是B”)或廉价装人味填充词。"
250
+ ]
251
+ }
252
+ }
@@ -24,7 +24,19 @@
24
24
  "助力[^,。!?\\n]{0,8}(?:发展|增长|升级|转型)",
25
25
  "实现[^,。!?\\n]{0,6}(?:跨越|跃升|升级|突破)",
26
26
  "值得(?:关注|深思|期待)",
27
- "成为[^,。!?\\n]{0,8}(?:关键|核心|趋势)"
27
+ "成为[^,。!?\\n]{0,8}(?:关键|核心|趋势)",
28
+ "标志着[^,。!?\\n]{2,14}(?:新阶段|里程碑)",
29
+ "奠定[^,。!?\\n]{0,6}坚实基础",
30
+ "彰显(?:了)?[^,。!?\\n]{1,10}",
31
+ "有利有弊",
32
+ "仁者见仁",
33
+ "说白了",
34
+ "归根结底",
35
+ "\\btestament to\\b",
36
+ "\\bmarks a pivotal\\b",
37
+ "\\bworth noting\\b",
38
+ "\\bultimately depends\\b",
39
+ ",\\s+(?:highlighting|underscoring|showcasing|fostering)\\s+(?:its|the|how)\\b"
28
40
  ],
29
41
  "concreteFactPatterns": [
30
42
  "\\b\\d+(?:\\.\\d+)?\\s*(?:ms|s|sec|seconds?|min|minutes?|hours?|days?|weeks?|KB|MB|GB|TB|QPS|TPS|%|px|pt|Hz|UTC)\\b",