dislop 0.9.0 → 1.0.1
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 -57
- package/README.md +360 -252
- package/README.zh-CN.md +390 -240
- package/action.yml +30 -39
- package/bin/dislop-mcp.mjs +3 -4
- package/bin/dislop.mjs +4 -4582
- package/gemini-extension.json +2 -2
- package/llms-install.md +68 -0
- package/package.json +17 -55
- 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 +173 -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 +290 -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 +8 -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/references/essay.md +1 -1
- package/skills/dislop/references/essay.zh-CN.md +1 -1
- package/skills/dislop/references/office.md +1 -1
- package/skills/dislop/references/office.zh-CN.md +1 -1
- package/skills/dislop/references/web-ui.md +1 -1
- package/skills/dislop/references/web-ui.zh-CN.md +1 -1
- package/skills/dislop/references/work-docs.md +1 -1
- package/skills/dislop/references/work-docs.zh-CN.md +1 -1
- package/src/cli-main.mjs +210 -0
- package/src/commands/check-fix.mjs +169 -0
- package/src/commands/doctor.mjs +110 -0
- package/src/commands/init.mjs +49 -0
- package/src/commands/login.mjs +82 -0
- package/src/commands/model.mjs +130 -0
- package/src/commands/packs.mjs +44 -0
- package/src/commands/verify.mjs +133 -0
- package/src/commands/voice.mjs +84 -0
- package/src/kernel/config.mjs +232 -0
- package/src/kernel/document-model.mjs +1412 -0
- package/src/kernel/fact-gate.mjs +615 -0
- package/src/kernel/file-discovery.mjs +139 -0
- package/src/{binary-node.mjs → kernel/ooxml-binary.mjs} +532 -893
- package/src/kernel/pack-loader.mjs +715 -0
- package/src/kernel/patcher.mjs +341 -0
- package/src/kernel/pipeline.mjs +267 -0
- package/src/kernel/prompt-assembler.mjs +307 -0
- package/src/kernel/voice-profile.mjs +177 -0
- package/src/mcp/stdio-server.mjs +372 -0
- package/src/runners/auto-fix.mjs +59 -0
- package/src/runners/interactive-tty.mjs +461 -0
- package/src/runners/reporters.mjs +256 -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 +136 -0
- package/src/runtime/providers/gemini.mjs +91 -0
- package/src/runtime/providers/local-model.mjs +139 -0
- package/src/runtime/providers/openai-compat.mjs +130 -0
- package/src/runtime/router.mjs +315 -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
package/README.md
CHANGED
|
@@ -1,300 +1,408 @@
|
|
|
1
|
-
|
|
2
|
-
<picture>
|
|
3
|
-
<source media="(prefers-color-scheme: dark)" srcset="./assets/banner-dark.svg">
|
|
4
|
-
<img src="./assets/banner-light.svg" alt="dislop — Cutting AI slop is real productivity." width="100%">
|
|
5
|
-
</picture>
|
|
6
|
-
</p>
|
|
7
|
-
|
|
8
|
-
<p align="center">
|
|
9
|
-
<a href="./README.zh-CN.md">简体中文</a> ·
|
|
10
|
-
<a href="https://dislop.com/">Try it at dislop.com</a> ·
|
|
11
|
-
<a href="https://dislop.com/guides/">Guides</a> ·
|
|
12
|
-
<a href="https://dislop.com/rules/">Rule Catalog</a> ·
|
|
13
|
-
<a href="./awesome/README.md">Awesome Anti-Slop</a> ·
|
|
14
|
-
<a href="https://www.npmjs.com/package/dislop">npm</a> ·
|
|
15
|
-
<a href="https://pypi.org/project/dislop/">PyPI</a> ·
|
|
16
|
-
<a href="https://x.com/dislop_ai">X (@dislop_ai)</a> ·
|
|
17
|
-
<a href="./LICENSE">Apache-2.0</a>
|
|
18
|
-
</p>
|
|
19
|
-
|
|
20
|
-
**Cutting AI slop is real productivity.** `dislop` is a linter for AI slop. It catches AI-sounding text and template layouts in docs, web pages, and slides before you send them. Its rules come from vetted community projects and corpus findings, and the repo keeps a list of 90 related tools.
|
|
21
|
-
|
|
22
|
-
It comes in three parts:
|
|
23
|
-
|
|
24
|
-
- **Markdown-only Skill**: genre reference cards with zero scripts.
|
|
25
|
-
- **Open-source CLI & editor plugins**: offline checks across Markdown, HTML/CSS/JSX/SVG, PNG/JPEG/WebP/GIF, Word, PowerPoint, and PDF slides.
|
|
26
|
-
- **Official Cloud MCP & Web Workbench** (`https://dislop.com/mcp`): multi-model review by genre without local setup.
|
|
27
|
-
|
|
28
|
-
Here is a short launch note straight from a model:
|
|
1
|
+
# dislop
|
|
29
2
|
|
|
30
|
-
|
|
31
|
-
Certainly! Here is the launch note. It's worth noting that exports are a game-changer, finishing in up to 12 minutes for workspaces above 500,000 rows.
|
|
32
|
-
```
|
|
33
|
-
|
|
34
|
-
`dislop check launch-note.md` flags three things:
|
|
35
|
-
|
|
36
|
-
```text
|
|
37
|
-
[ERROR] launch-note.md:1:1 chatbot-artifact "Certainly! Here is"
|
|
38
|
-
[WARNING] launch-note.md:1:37 en-throat-clearing-opener "It's worth noting that"
|
|
39
|
-
[INFO] launch-note.md:1:75 en-cliche-lexicon "game-changer"
|
|
40
|
-
```
|
|
3
|
+
English | [Chinese (zh-CN)](./README.zh-CN.md)
|
|
41
4
|
|
|
42
|
-
|
|
5
|
+
**Cutting AI slop is real productivity.**
|
|
43
6
|
|
|
44
|
-
|
|
45
|
-
<img src="./assets/demos/proof-cycle-en-v2.gif" alt="dislop checking a launch note across 3 states: flagging chatbot artifact and filler, catching a second-order slogan, and passing with exit 0" width="840">
|
|
46
|
-
</p>
|
|
7
|
+
`dislop` is a pluggable editorial and artifact linter built on a zero-dependency Node.js (`>= 20`) micro-kernel. It audits Markdown, plain text, HTML/CSS/JSX/TSX/SVG, Word (`.docx`), PowerPoint (`.pptx`), PDF, and raster images before publication, separating objective delivery **Defects** from non-blocking editorial **Suggestions**.
|
|
47
8
|
|
|
48
|
-
|
|
9
|
+
See [docs/architecture.md](./docs/architecture.md) for the full kernel lifecycle, [CONTRIBUTING.md](./CONTRIBUTING.md) for custom Pack authoring, [slop-samples/](./slop-samples/) for language-specific test samples (`en.md`, `zh-CN.md`), and [docs/MIGRATION-TODO.md](./docs/MIGRATION-TODO.md) for pending repository extraction items.
|
|
49
10
|
|
|
50
|
-
|
|
11
|
+
## Core Design
|
|
51
12
|
|
|
52
|
-
|
|
13
|
+
1. **Micro-Kernel + Stage-Gated Packs (`dislop/sdk`)**:
|
|
14
|
+
- The kernel owns document coordinate parsing (`DocumentModel`), immutable safety and prompt-injection invariants, the Dual Post-LLM Fact Gate, 3-Tier LLM routing, lossless coordinate patching, and CI exit-code arbitration.
|
|
15
|
+
- Rules live in modular Packs under `packs/<scope-or-lang>/<scenario>/{pack.json,scripts/,prompts/}` (`common/*` structural checks + `en/*` and `zh/*` language packs across `artifact-qa`, `prose`, `web-ui`, and `slide-deck`), where `scripts/` and `prompts/` are loaded lazily on demand.
|
|
16
|
+
2. **Dual-Track Taxonomy (`Defect` vs. `Suggestion`)**:
|
|
17
|
+
- **Prose never breaks CI**: Editorial anti-slop findings are `Suggestion`s (`strong | moderate | hint`) and always return **Exit Code `0`** (mapped to `"note"` in SARIF).
|
|
18
|
+
- **Objective delivery bugs fail CI**: Unfilled `[TODO]` placeholders, stray chatbot wrappers, broken local links, and raw Markdown leaked into `.docx`/`.pptx` are `Defect`s (`error | warning`) emitted strictly by deterministic `scripts/` hooks. Only unresolved `Defect: error` returns **Exit Code `1`**.
|
|
19
|
+
3. **Local-First Privacy with 3-Tier Semantic Upgrade**:
|
|
20
|
+
- Runs locally with zero external uploads by default (`--engine local`), using deterministic Pack scripts plus an optional Tier 3 local model (`dislop model pull`, powered by [Ollama](https://ollama.com); if Ollama is not installed, `dislop` falls back to offline deterministic rules and notes how to install it).
|
|
21
|
+
- Opt into `--engine auto`, `--engine cloud` (`dislop login`), or `--engine byok` (OpenAI-compatible, Anthropic, Gemini, local proxies, Ollama/vLLM) guarded by a first-run host consent gate (`privacy-gate.mjs`).
|
|
22
|
+
4. **Dual Post-LLM Fact & Anti-Injection Gate**:
|
|
23
|
+
- Every proposed replacement is verified to preserve numbers, units, percentages, URLs, inline code spans, and proper nouns—while blocking fabricated numbers, injected URLs, or injected code spans and running custom `verifyFix()` hooks.
|
|
53
24
|
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
Paste this sentence into your coding or office agent (Claude Code, Codex, Cursor, OpenClaw, etc.) so it reads `https://dislop.com/llms.txt`, selects the right surface for your environment, configures it, and checks existing files:
|
|
57
|
-
|
|
58
|
-
```text
|
|
59
|
-
Read https://dislop.com/llms.txt, evaluate which dislop setup fits my environment and project (Skill, offline CLI, or Cloud MCP), install and configure it, and run a first check on our files.
|
|
60
|
-
```
|
|
61
|
-
|
|
62
|
-
### Node.js 20+ (npm, zero dependencies, all 7 packs bundled offline)
|
|
25
|
+
## Quick Start
|
|
63
26
|
|
|
64
27
|
```bash
|
|
65
|
-
# 1.
|
|
66
|
-
npx --yes dislop check .
|
|
28
|
+
# 1. Read-only check (local by default, zero network upload)
|
|
29
|
+
npx --yes dislop check README.md
|
|
67
30
|
|
|
68
|
-
# 2.
|
|
69
|
-
npx --yes dislop
|
|
31
|
+
# 2. Compact output for coding and writing agents
|
|
32
|
+
npx --yes dislop check docs/ --format agent
|
|
70
33
|
|
|
71
|
-
# 3.
|
|
72
|
-
npx --yes dislop
|
|
73
|
-
```
|
|
34
|
+
# 3. Interactive hunk-by-hunk review in terminal (y/n/e/p/a/A/s/u/q)
|
|
35
|
+
npx --yes dislop fix draft.md
|
|
74
36
|
|
|
75
|
-
|
|
76
|
-
|
|
37
|
+
# 4. Non-interactive batch cleanup of verified deterministic 'safe' items
|
|
38
|
+
npx --yes dislop fix draft.md --auto --backup
|
|
77
39
|
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
npx --yes dislop check draft.md --pack auto --register argumentative --deep --profile --compact --json
|
|
81
|
-
|
|
82
|
-
# Multi-signal BYOK review, scenario-aware anti-degradation check, three-layer doctor, and offline voice card
|
|
83
|
-
npx --yes dislop review draft.md --register casual
|
|
84
|
-
npx --yes dislop verify --git HEAD draft.md --register casual
|
|
85
|
-
npx --yes dislop doctor
|
|
86
|
-
npx --yes dislop voice my-notes.md
|
|
87
|
-
|
|
88
|
-
# Python 3.10+ (PyPI, zero dependencies)
|
|
89
|
-
uvx dislop check quarterly-review.pptx
|
|
90
|
-
pip install dislop && dislop check .
|
|
40
|
+
# 5. Verify a revised draft preserved all facts against git HEAD
|
|
41
|
+
npx --yes dislop verify --git HEAD draft.md
|
|
91
42
|
```
|
|
92
43
|
|
|
93
|
-
|
|
44
|
+
## Execution Tiers on `slop-samples/en.md`
|
|
94
45
|
|
|
95
|
-
|
|
96
|
-
<img src="./assets/demos/cli-check-en-v2.gif" alt="dislop CLI offline check failing with exit code 1 on draft and passing with exit code 0 after cleanup" width="840">
|
|
97
|
-
</p>
|
|
46
|
+
All outputs below were captured verbatim against [slop-samples/en.md](./slop-samples/en.md) (for Chinese anti-slop use cases on [slop-samples/zh-CN.md](./slop-samples/zh-CN.md), see [README.zh-CN.md](./README.zh-CN.md)).
|
|
98
47
|
|
|
99
|
-
###
|
|
48
|
+
### Baseline: Deterministic Script Packs (`--no-llm`, 0 tokens, offline)
|
|
100
49
|
|
|
101
|
-
|
|
50
|
+
Runs only Pack `scripts/` hooks (`prompts/` are never loaded). Catches objective delivery `DEFECT`s (`[oaicite:1]`, `[Company Name]`, `[TODO: ...]`, empty/dead links, assistant wrappers) and self-contained syntactic `SUGGESTION`s in milliseconds:
|
|
102
51
|
|
|
103
|
-
```
|
|
104
|
-
dislop
|
|
105
|
-
dislop review draft.md --offline --json > review.json
|
|
106
|
-
dislop apply --review-file review.json --source-file draft.md --include 2,5
|
|
52
|
+
```bash
|
|
53
|
+
dislop check slop-samples/en.md --no-llm --format agent
|
|
107
54
|
```
|
|
108
55
|
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
| **OpenAI Codex Plugin** | `codex plugin marketplace add dislop-ai/dislop` then `codex plugin add dislop@dislop-ai` | Ships native UI card metadata ([openai.yaml](./skills/dislop/agents/openai.yaml)) and `$dislop` trigger |
|
|
168
|
-
| **Gemini CLI Extension** | `gemini extensions install https://github.com/dislop-ai/dislop` | Connects Official Cloud MCP `https://dislop.com/mcp` via [gemini-extension.json](./gemini-extension.json) |
|
|
169
|
-
| **Official MCP Registry** | Search `io.github.dislop-ai/dislop` on `registry.modelcontextprotocol.io` | Lists the Official Cloud MCP endpoint `https://dislop.com/mcp` (Streamable HTTP) |
|
|
170
|
-
| **VS Code / Cursor 1-Click MCP** | [Install in VS Code (Cloud MCP)](https://vscode.dev/redirect/mcp/install?name=dislop&config=%7B%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fdislop.com%2Fmcp%22%7D) · [Install in Cursor (Cloud MCP)](cursor://anysphere.cursor-deeplink/mcp/install?name=dislop&config=eyJ0eXBlIjoiaHR0cCIsInVybCI6Imh0dHBzOi8vZGlzbG9wLmNvbS9tY3AifQ==) | Opens the editor's native confirmation dialog without manual JSON edits |
|
|
171
|
-
| **GitHub Action / `pre-commit`** | Reference `uses: dislop-ai/dislop@main` ([action.yml](./action.yml) and [.pre-commit-hooks.yaml](./.pre-commit-hooks.yaml)) | Gates modified lines in PRs with inline annotations or SARIF 2.1.0 |
|
|
172
|
-
|
|
173
|
-
<p align="center">
|
|
174
|
-
<img src="./assets/demos/agent-workflow-en-v2.gif" alt="Coding Agent and CI loop: reading pure-Markdown SKILL.md, gating PR diff with exit code 1, and passing dislop verify" width="840"><br>
|
|
175
|
-
<sub>Agent + CI closed loop: Skill before drafting, diff gate before commit, verify after edits</sub>
|
|
176
|
-
</p>
|
|
177
|
-
|
|
178
|
-
### Connect Official Cloud MCP (`Claude Code`, `Codex`, `Cursor`, `WorkBuddy`, `Claude Cowork`)
|
|
179
|
-
|
|
180
|
-
```json
|
|
181
|
-
{
|
|
182
|
-
"mcpServers": {
|
|
183
|
-
"dislop": {
|
|
184
|
-
"type": "http",
|
|
185
|
-
"url": "https://dislop.com/mcp",
|
|
186
|
-
"headers": {
|
|
187
|
-
"Authorization": "Bearer dslp_your_token_here"
|
|
188
|
-
}
|
|
189
|
-
}
|
|
190
|
-
}
|
|
191
|
-
}
|
|
56
|
+
```text
|
|
57
|
+
# dislop file=slop-samples/en.md engine=deterministic defects=8 suggestions=6
|
|
58
|
+
[P1-S1|L1] DEFECT(error,safe) en/artifact-qa/chatbot-artifact
|
|
59
|
+
quote: "Certainly! Here is a polished draft of your Q3 database migration postmortem."
|
|
60
|
+
reason: Conversational English assistant wrapper left in the deliverable; safe to delete.
|
|
61
|
+
fix: DELETE
|
|
62
|
+
[P3-S2|L5] DEFECT(error,safe) common/artifact-qa/chatbot-citation-leak
|
|
63
|
+
quote: "[oaicite:1]"
|
|
64
|
+
reason: Internal AI search/citation token leaked into output text.
|
|
65
|
+
fix: DELETE
|
|
66
|
+
[P3-S2|L5] DEFECT(error,manual) en/artifact-qa/unfilled-placeholder
|
|
67
|
+
quote: "[Company Name]"
|
|
68
|
+
reason: Unfilled English template placeholder or dummy Latin copy left in deliverable.
|
|
69
|
+
prompt: Supply the real copy in place of '[Company Name]', or delete the unfinished sentence.
|
|
70
|
+
[P5-S2|L9] DEFECT(error,manual) common/artifact-qa/unfilled-placeholder
|
|
71
|
+
quote: "[TODO: confirm incident owner]"
|
|
72
|
+
reason: Unfilled developer or template token left in deliverable.
|
|
73
|
+
prompt: Replace '[TODO: confirm incident owner]' with the real value before publishing, or remove the unfinished sentence.
|
|
74
|
+
[P5-S2|L9] DEFECT(error,manual) common/artifact-qa/empty-link-target
|
|
75
|
+
quote: "[on-call runbook]()"
|
|
76
|
+
reason: Link has an empty destination URL.
|
|
77
|
+
prompt: Provide a valid destination URL or unwrap the link.
|
|
78
|
+
[P12-S1|L20] DEFECT(error,safe) en/artifact-qa/chatbot-artifact
|
|
79
|
+
quote: "I hope this helps!"
|
|
80
|
+
reason: Conversational English assistant wrapper left in the deliverable; safe to delete.
|
|
81
|
+
fix: DELETE
|
|
82
|
+
[P12-S2|L20] DEFECT(error,safe) en/artifact-qa/chatbot-artifact
|
|
83
|
+
quote: "Let me know if you'd like any further adjustments."
|
|
84
|
+
reason: Conversational English assistant wrapper left in the deliverable; safe to delete.
|
|
85
|
+
fix: DELETE
|
|
86
|
+
[P5-S2|L9] DEFECT(warning,manual) common/artifact-qa/placeholder-dead-link
|
|
87
|
+
quote: "[incident timeline](#)"
|
|
88
|
+
reason: Placeholder non-navigating link target '#'.
|
|
89
|
+
prompt: Wire a real destination URL or use a <button type="button"> control.
|
|
90
|
+
[P3-S1|L5] SUGGESTION(strong,safe) en/prose/hollow-transition
|
|
91
|
+
quote: "In today's rapidly evolving digital landscape, infrastructure reliability is a top priority."
|
|
92
|
+
reason: Zero-information macro filler sentence; deleting it preserves all factual claims and causal links.
|
|
93
|
+
fix: DELETE
|
|
94
|
+
[P4-S1|L7] SUGGESTION(strong,safe) en/prose/throat-clearing
|
|
95
|
+
quote: "It is worth noting that PostgreSQL p95 query latency dropped from 142ms to 18ms across 4 read replicas in `{{cluster_region}}`."
|
|
96
|
+
reason: Removes zero-information throat-clearing opener so the sentence opens directly on the claim.
|
|
97
|
+
fix: "PostgreSQL p95 query latency dropped from 142ms to 18ms across 4 read replicas in `{{cluster_region}}`."
|
|
98
|
+
[P5-S1|L9] SUGGESTION(strong,review) en/prose/unprompted-negation
|
|
99
|
+
quote: "This isn't just a configuration tweak — it's a new reliability baseline for our checkout pipeline."
|
|
100
|
+
reason: Formulaic 'Not just X — it's Y' contrast shell; state the actual point directly without theatrical negation.
|
|
101
|
+
fix: "It is a new reliability baseline for our checkout pipeline."
|
|
102
|
+
[P11-S1|L18] SUGGESTION(strong,safe) en/prose/hollow-transition
|
|
103
|
+
quote: "Looking ahead, the possibilities are truly endless."
|
|
104
|
+
reason: Zero-information macro filler sentence; deleting it preserves all factual claims and causal links.
|
|
105
|
+
fix: DELETE
|
|
106
|
+
[P4-S2|L7] SUGGESTION(moderate,review) en/prose/rhetorical-self-qa
|
|
107
|
+
quote: "Why does this matter?"
|
|
108
|
+
reason: Removes mechanical assistant rhetorical bridge question so the answer states the point directly.
|
|
109
|
+
fix: DELETE
|
|
110
|
+
[P6-S1|L11] SUGGESTION(hint,manual) en/prose/bold-lead-list-wall
|
|
111
|
+
quote: "**Faster Failover**: Automated promotion finished in 9 seconds during chaos drills."
|
|
112
|
+
reason: Four or more consecutive '**Label**: description' list items create a mechanical assistant list wall.
|
|
113
|
+
prompt: Convert uniform bold-lead bullets into direct sentences or plain list items without bold title prefixes.
|
|
192
114
|
```
|
|
193
115
|
|
|
194
|
-
|
|
116
|
+
### Tier 1: Official Cloud (`--engine cloud`)
|
|
195
117
|
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
```json
|
|
201
|
-
{
|
|
202
|
-
"failOn": "error",
|
|
203
|
-
"ignore": ["vendor/**", "dist/**"],
|
|
204
|
-
"overrides": [
|
|
205
|
-
{ "files": ["docs/**/*.md"], "pack": "business-brief" },
|
|
206
|
-
{ "files": ["essays/**/*.md"], "pack": "literary-essay" },
|
|
207
|
-
{ "files": ["site/**/*.{html,css,svg}"], "pack": "deck-and-ui" }
|
|
208
|
-
],
|
|
209
|
-
"allow": ["Delve", "Bayeux Tapestry"],
|
|
210
|
-
"rules": {
|
|
211
|
-
"bold-lead-list-wall": "info"
|
|
212
|
-
}
|
|
213
|
-
}
|
|
118
|
+
```bash
|
|
119
|
+
dislop login --token dslp_...
|
|
120
|
+
dislop check slop-samples/en.md --engine cloud --format agent
|
|
214
121
|
```
|
|
215
122
|
|
|
216
|
-
|
|
123
|
+
> **Status:** Official Cloud backend support for the `dislop.report/1` micro-kernel contract is currently under construction; sample output will be added once the hosted endpoint is live.
|
|
217
124
|
|
|
218
|
-
|
|
219
|
-
<!-- dislop-ignore-next-line en-cliche-lexicon -- quoting vendor press release verbatim -->
|
|
220
|
-
```
|
|
125
|
+
### Tier 2: BYOK / OpenAI-Compatible Endpoint (`--engine byok`)
|
|
221
126
|
|
|
222
|
-
|
|
127
|
+
Combines deterministic `DEFECT` detection with frontier semantic `SUGGESTION` analysis—catching unchosen `Option A / Option B` branches (`[P10-S1|L16]`), disguised prose placeholders (`Mention the Q3 error-budget burn rate here once SRE signs off` at `[P10-S3|L16]`), and implicit assistant handoffs (`Based on the notes you shared...` at `[P3-S2|L5]`), while the Dual Fact Gate withholds any rewrite that drops entities (`[P1-S1|L1]`):
|
|
223
128
|
|
|
224
129
|
```bash
|
|
225
|
-
|
|
226
|
-
npm install -g dislop
|
|
227
|
-
dislop check .
|
|
228
|
-
|
|
229
|
-
# Or Python 3.10+ (published on PyPI, zero external dependencies)
|
|
230
|
-
pip install dislop
|
|
231
|
-
dislop check .
|
|
130
|
+
dislop check slop-samples/en.md --engine byok --format agent
|
|
232
131
|
```
|
|
233
132
|
|
|
234
|
-
|
|
133
|
+
```text
|
|
134
|
+
# dislop file=slop-samples/en.md engine=byok:gpt-6.2-astra defects=8 suggestions=14
|
|
135
|
+
[P1-S1|L1] DEFECT(error,safe) en/artifact-qa/chatbot-artifact
|
|
136
|
+
quote: "Certainly! Here is a polished draft of your Q3 database migration postmortem."
|
|
137
|
+
reason: Conversational English assistant wrapper left in the deliverable; safe to delete.
|
|
138
|
+
fix: DELETE
|
|
139
|
+
[P3-S2|L5] DEFECT(error,safe) common/artifact-qa/chatbot-citation-leak
|
|
140
|
+
quote: "[oaicite:1]"
|
|
141
|
+
reason: Internal AI search/citation token leaked into output text.
|
|
142
|
+
fix: DELETE
|
|
143
|
+
[P3-S2|L5] DEFECT(error,manual) en/artifact-qa/unfilled-placeholder
|
|
144
|
+
quote: "[Company Name]"
|
|
145
|
+
reason: Unfilled English template placeholder or dummy Latin copy left in deliverable.
|
|
146
|
+
prompt: Supply the real copy in place of '[Company Name]', or delete the unfinished sentence.
|
|
147
|
+
[P5-S2|L9] DEFECT(error,manual) common/artifact-qa/unfilled-placeholder
|
|
148
|
+
quote: "[TODO: confirm incident owner]"
|
|
149
|
+
reason: Unfilled developer or template token left in deliverable.
|
|
150
|
+
prompt: Replace '[TODO: confirm incident owner]' with the real value before publishing, or remove the unfinished sentence.
|
|
151
|
+
[P5-S2|L9] DEFECT(error,manual) common/artifact-qa/empty-link-target
|
|
152
|
+
quote: "[on-call runbook]()"
|
|
153
|
+
reason: Link has an empty destination URL.
|
|
154
|
+
prompt: Provide a valid destination URL or unwrap the link.
|
|
155
|
+
[P12-S1|L20] DEFECT(error,safe) en/artifact-qa/chatbot-artifact
|
|
156
|
+
quote: "I hope this helps!"
|
|
157
|
+
reason: Conversational English assistant wrapper left in the deliverable; safe to delete.
|
|
158
|
+
fix: DELETE
|
|
159
|
+
[P12-S2|L20] DEFECT(error,safe) en/artifact-qa/chatbot-artifact
|
|
160
|
+
quote: "Let me know if you'd like any further adjustments."
|
|
161
|
+
reason: Conversational English assistant wrapper left in the deliverable; safe to delete.
|
|
162
|
+
fix: DELETE
|
|
163
|
+
[P5-S2|L9] DEFECT(warning,manual) common/artifact-qa/placeholder-dead-link
|
|
164
|
+
quote: "[incident timeline](#)"
|
|
165
|
+
reason: Placeholder non-navigating link target '#'.
|
|
166
|
+
prompt: Wire a real destination URL or use a <button type="button"> control.
|
|
167
|
+
[P1-S1|L1] SUGGESTION(strong,manual) en/artifact-qa/implicit-assistant-framing
|
|
168
|
+
quote: "Certainly! Here is a polished draft of your Q3 database migration postmortem."
|
|
169
|
+
reason: This announces delivery of a draft to its requester. The title already introduces the migration to readers.
|
|
170
|
+
note: Fact Gate withheld replacement (dropped proper noun/entity: Q3).
|
|
171
|
+
[P3-S1|L5] SUGGESTION(strong,safe) en/prose/hollow-transition
|
|
172
|
+
quote: "In today's rapidly evolving digital landscape, infrastructure reliability is a top priority."
|
|
173
|
+
reason: Zero-information macro filler sentence; deleting it preserves all factual claims and causal links.
|
|
174
|
+
fix: DELETE
|
|
175
|
+
[P3-S2|L5] SUGGESTION(strong,review) en/artifact-qa/implicit-assistant-framing
|
|
176
|
+
quote: "Based on the notes you shared, I have organized the key findings for [Company Name] below [oaicite:1]."
|
|
177
|
+
reason: The sentence tells the requester how their notes were used rather than reporting a finding. Removing it also removes the company placeholder and stray citation marker.
|
|
178
|
+
fix: DELETE
|
|
179
|
+
[P4-S1|L7] SUGGESTION(strong,safe) en/prose/throat-clearing
|
|
180
|
+
quote: "It is worth noting that PostgreSQL p95 query latency dropped from 142ms to 18ms across 4 read replicas in `{{cluster_region}}`."
|
|
181
|
+
reason: Removes zero-information throat-clearing opener so the sentence opens directly on the claim.
|
|
182
|
+
fix: "PostgreSQL p95 query latency dropped from 142ms to 18ms across 4 read replicas in `{{cluster_region}}`."
|
|
183
|
+
[P5-S1|L9] SUGGESTION(strong,review) en/prose/unprompted-negation
|
|
184
|
+
quote: "This isn't just a configuration tweak — it's a new reliability baseline for our checkout pipeline."
|
|
185
|
+
reason: Formulaic 'Not just X — it's Y' contrast shell; state the actual point directly without theatrical negation.
|
|
186
|
+
fix: "It is a new reliability baseline for our checkout pipeline."
|
|
187
|
+
[P5-S2|L9] SUGGESTION(strong,manual) en/artifact-qa/disguised-placeholder-prose
|
|
188
|
+
quote: "Review the [incident timeline](#) or open the [on-call runbook]() before Friday, and assign follow-up verification to [TODO: confirm incident owner]."
|
|
189
|
+
reason: The TODO is an instruction to the writer, not an assignee. The timeline and runbook links also lack usable destinations, so readers cannot act on the Friday instruction as written.
|
|
190
|
+
prompt: Supply [incident timeline URL], [on-call runbook URL], and [confirmed incident owner] while retaining the Friday instruction.
|
|
191
|
+
[P10-S1|L16] SUGGESTION(strong,manual) common/artifact-qa/unchosen-draft-options
|
|
192
|
+
quote: "Option A: Roll out pooler settings to EU shards on Tuesday."
|
|
193
|
+
reason: The Tuesday rollout and the following billing-freeze hold are competing drafts of the same next step. The text does not establish which was approved.
|
|
194
|
+
prompt: Confirm [approved EU rollout decision]. Keep the matching instruction without its option label and remove the other alternative.
|
|
195
|
+
[P10-S3|L16] SUGGESTION(strong,manual) en/artifact-qa/disguised-placeholder-prose
|
|
196
|
+
quote: "Mention the Q3 error-budget burn rate here once SRE signs off."
|
|
197
|
+
reason: This tells the writer what to add after sign-off rather than giving readers a confirmed result.
|
|
198
|
+
prompt: Report [SRE-confirmed Q3 error-budget burn rate] after sign-off, or omit the reminder before publication.
|
|
199
|
+
[P11-S1|L18] SUGGESTION(strong,safe) en/prose/hollow-transition
|
|
200
|
+
quote: "Looking ahead, the possibilities are truly endless."
|
|
201
|
+
reason: Zero-information macro filler sentence; deleting it preserves all factual claims and causal links.
|
|
202
|
+
fix: DELETE
|
|
203
|
+
[P12-S1|L20] SUGGESTION(strong,review) en/artifact-qa/implicit-assistant-framing
|
|
204
|
+
quote: "I hope this helps!"
|
|
205
|
+
reason: This closes a conversation with the requester rather than the postmortem.
|
|
206
|
+
fix: DELETE
|
|
207
|
+
[P12-S2|L20] SUGGESTION(strong,review) en/artifact-qa/implicit-assistant-framing
|
|
208
|
+
quote: "Let me know if you'd like any further adjustments."
|
|
209
|
+
reason: The offer concerns revisions to the draft, not follow-up work on the migration.
|
|
210
|
+
fix: DELETE
|
|
211
|
+
[P4-S2|L7] SUGGESTION(moderate,review) en/prose/rhetorical-self-qa
|
|
212
|
+
quote: "Why does this matter?"
|
|
213
|
+
reason: Removes mechanical assistant rhetorical bridge question so the answer states the point directly.
|
|
214
|
+
fix: DELETE
|
|
215
|
+
[P11-S1|L18] SUGGESTION(moderate,review) en/prose/moralizing-closer
|
|
216
|
+
quote: "Looking ahead, the possibilities are truly endless."
|
|
217
|
+
reason: The optimistic sign-off names no operational consequence or next step. The rollout decision, once confirmed, makes a more useful ending.
|
|
218
|
+
fix: DELETE
|
|
219
|
+
[P6-S1|L11] SUGGESTION(hint,manual) en/prose/bold-lead-list-wall
|
|
220
|
+
quote: "**Faster Failover**: Automated promotion finished in 9 seconds during chaos drills."
|
|
221
|
+
reason: Four or more consecutive '**Label**: description' list items create a mechanical assistant list wall.
|
|
222
|
+
prompt: Convert uniform bold-lead bullets into direct sentences or plain list items without bold title prefixes.
|
|
223
|
+
```
|
|
235
224
|
|
|
236
|
-
|
|
237
|
-
- **Official Cloud MCP & Web Workbench (`https://dislop.com/mcp`, `https://dislop.com/#pricing`)**: Closed-source hosted backend calling paid-tier Google Gemini endpoints that do not train on your text (no draft storage or text logging; see [privacy.md](https://dislop.com/privacy.md)). Deterministic `dislop_check`, `dislop_verify`, and `dislop_rules` run at 0 credits without login; OAuth 2.1 or a free key unlocks **30 monthly credits** for `dislop_review` (1 credit), `dislop_deslop` (2 credits), `dislop_office` (2–3 credits), `dislop_visual_review` (2 credits), and `dislop_voice_extract` (2 credits, `dislop.voice/1`), with early-access waitlists for Pro (`$12/mo`, 1,500 credits), PAYGO (`$10 / 800 credits`), and Team (`$29/seat/mo`).
|
|
225
|
+
### Tier 3: Managed Local Small Model (`--engine local`)
|
|
238
226
|
|
|
239
|
-
|
|
227
|
+
> **Prerequisite — [Ollama](https://ollama.com):** Tier 3 local semantic checks (`--engine local` LLM mode and `dislop model pull`) require **Ollama** installed and running locally (`http://127.0.0.1:11434/v1`). `dislop --help`, `dislop doctor`, `dislop model`, and `dislop check --engine local` automatically detect whether Ollama is missing or stopped and show installation instructions when needed.
|
|
240
228
|
|
|
241
|
-
|
|
229
|
+
Runs completely on-device via Ollama with zero external network traffic. Even when an ultra-small 1.5B model (`qwen2.5:1.5b`) produces noisy rule classifications on bullet items, `dislop` confines all LLM items strictly to `SUGGESTION` and downgrades unverified rewrites to `manual` so `dislop fix --auto` never corrupts technical metrics (use `qwen2.5-7b-instruct` for tighter local precision):
|
|
242
230
|
|
|
243
231
|
```bash
|
|
244
|
-
|
|
245
|
-
|
|
232
|
+
# Install and start Ollama (macOS Homebrew example; see https://ollama.com for Linux/Windows)
|
|
233
|
+
brew install ollama
|
|
234
|
+
ollama serve &
|
|
246
235
|
|
|
247
|
-
|
|
236
|
+
# Pull and register a Tier 3 model, then run local checks
|
|
237
|
+
dislop model pull qwen2.5-1.5b-instruct
|
|
238
|
+
dislop check slop-samples/en.md --engine local --format agent
|
|
239
|
+
```
|
|
248
240
|
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
-
|
|
252
|
-
|
|
253
|
-
|
|
241
|
+
```text
|
|
242
|
+
# dislop file=slop-samples/en.md engine=local:qwen2.5:1.5b defects=8 suggestions=20
|
|
243
|
+
[P1-S1|L1] DEFECT(error,safe) en/artifact-qa/chatbot-artifact
|
|
244
|
+
quote: "Certainly! Here is a polished draft of your Q3 database migration postmortem."
|
|
245
|
+
reason: Conversational English assistant wrapper left in the deliverable; safe to delete.
|
|
246
|
+
fix: DELETE
|
|
247
|
+
[P3-S2|L5] DEFECT(error,safe) common/artifact-qa/chatbot-citation-leak
|
|
248
|
+
quote: "[oaicite:1]"
|
|
249
|
+
reason: Internal AI search/citation token leaked into output text.
|
|
250
|
+
fix: DELETE
|
|
251
|
+
[P3-S2|L5] DEFECT(error,manual) en/artifact-qa/unfilled-placeholder
|
|
252
|
+
quote: "[Company Name]"
|
|
253
|
+
reason: Unfilled English template placeholder or dummy Latin copy left in deliverable.
|
|
254
|
+
prompt: Supply the real copy in place of '[Company Name]', or delete the unfinished sentence.
|
|
255
|
+
[P5-S2|L9] DEFECT(error,manual) common/artifact-qa/unfilled-placeholder
|
|
256
|
+
quote: "[TODO: confirm incident owner]"
|
|
257
|
+
reason: Unfilled developer or template token left in deliverable.
|
|
258
|
+
prompt: Replace '[TODO: confirm incident owner]' with the real value before publishing, or remove the unfinished sentence.
|
|
259
|
+
[P5-S2|L9] DEFECT(error,manual) common/artifact-qa/empty-link-target
|
|
260
|
+
quote: "[on-call runbook]()"
|
|
261
|
+
reason: Link has an empty destination URL.
|
|
262
|
+
prompt: Provide a valid destination URL or unwrap the link.
|
|
263
|
+
[P12-S1|L20] DEFECT(error,safe) en/artifact-qa/chatbot-artifact
|
|
264
|
+
quote: "I hope this helps!"
|
|
265
|
+
reason: Conversational English assistant wrapper left in the deliverable; safe to delete.
|
|
266
|
+
fix: DELETE
|
|
267
|
+
[P12-S2|L20] DEFECT(error,safe) en/artifact-qa/chatbot-artifact
|
|
268
|
+
quote: "Let me know if you'd like any further adjustments."
|
|
269
|
+
reason: Conversational English assistant wrapper left in the deliverable; safe to delete.
|
|
270
|
+
fix: DELETE
|
|
271
|
+
[P5-S2|L9] DEFECT(warning,manual) common/artifact-qa/placeholder-dead-link
|
|
272
|
+
quote: "[incident timeline](#)"
|
|
273
|
+
reason: Placeholder non-navigating link target '#'.
|
|
274
|
+
prompt: Wire a real destination URL or use a <button type="button"> control.
|
|
275
|
+
[P1-S1|L1] SUGGESTION(strong,review) common/artifact-qa/unchosen-draft-options
|
|
276
|
+
quote: "Certainly!"
|
|
277
|
+
reason: The phrase 'Certainly!' is redundant and does not add any value to the document.
|
|
278
|
+
fix: DELETE
|
|
279
|
+
[P2-S1|L3] SUGGESTION(strong,manual) common/artifact-qa/meta-editing-note
|
|
280
|
+
quote: "Q3 Storage Tier Migration Notes"
|
|
281
|
+
reason: The note is a placeholder for future editorial work and does not belong in the published document.
|
|
282
|
+
prompt: Remove the stray editorial meta-note.
|
|
283
|
+
[P3-S1|L5] SUGGESTION(strong,safe) en/prose/hollow-transition
|
|
284
|
+
quote: "In today's rapidly evolving digital landscape, infrastructure reliability is a top priority."
|
|
285
|
+
reason: Zero-information macro filler sentence; deleting it preserves all factual claims and causal links.
|
|
286
|
+
fix: DELETE
|
|
287
|
+
[P3-S1|L5] SUGGESTION(strong,manual) en/artifact-qa/implicit-assistant-framing
|
|
288
|
+
quote: "In today's rapidly evolving digital landscape, infrastructure reliability is a top priority."
|
|
289
|
+
reason: The sentence is a placeholder for future editorial work and does not belong in the published document.
|
|
290
|
+
prompt: Remove the assistant handoff sentence.
|
|
291
|
+
[P4-S1|L7] SUGGESTION(strong,safe) en/prose/throat-clearing
|
|
292
|
+
quote: "It is worth noting that PostgreSQL p95 query latency dropped from 142ms to 18ms across 4 read replicas in `{{cluster_region}}`."
|
|
293
|
+
reason: Removes zero-information throat-clearing opener so the sentence opens directly on the claim.
|
|
294
|
+
fix: "PostgreSQL p95 query latency dropped from 142ms to 18ms across 4 read replicas in `{{cluster_region}}`."
|
|
295
|
+
[P4-S1|L7] SUGGESTION(strong,manual) en/artifact-qa/disguised-placeholder-prose
|
|
296
|
+
quote: "It is worth noting that PostgreSQL p95 query latency dropped from 142ms to 18ms across 4 read replicas in `{{cluster_region}}`."
|
|
297
|
+
reason: The placeholder is a reminder to the writer and does not belong in the published document.
|
|
298
|
+
prompt: Replace the placeholder with the confirmed figure or link.
|
|
299
|
+
[P5-S1|L9] SUGGESTION(strong,review) en/prose/unprompted-negation
|
|
300
|
+
quote: "This isn't just a configuration tweak — it's a new reliability baseline for our checkout pipeline."
|
|
301
|
+
reason: Formulaic 'Not just X — it's Y' contrast shell; state the actual point directly without theatrical negation.
|
|
302
|
+
fix: "It is a new reliability baseline for our checkout pipeline."
|
|
303
|
+
[P5-S1|L9] SUGGESTION(strong,manual) en/artifact-qa/synthetic-example-entity
|
|
304
|
+
quote: "This isn't just a configuration tweak — it's a new reliability baseline for our checkout pipeline."
|
|
305
|
+
reason: The placeholder is a reminder to the writer and does not belong in the published document.
|
|
306
|
+
prompt: Replace the placeholder with the real organization or contact details.
|
|
307
|
+
[P6-S1|L11] SUGGESTION(strong,manual) en/prose/unprompted-negation
|
|
308
|
+
quote: "**Faster Failover**: Automated promotion finished in 9 seconds during chaos drills."
|
|
309
|
+
reason: The placeholder is a reminder to the writer and does not belong in the published document.
|
|
310
|
+
prompt: Replace the placeholder with the confirmed figure or link.
|
|
311
|
+
[P7-S1|L12] SUGGESTION(strong,manual) en/prose/hollow-transition
|
|
312
|
+
quote: "**Lower Memory**: Worker nodes stayed below 4.2GB RSS at peak load."
|
|
313
|
+
reason: The placeholder is a reminder to the writer and does not belong in the published document.
|
|
314
|
+
prompt: Replace the filler sentence with the concrete claim.
|
|
315
|
+
[P8-S1|L13] SUGGESTION(strong,manual) en/prose/throat-clearing
|
|
316
|
+
quote: "**Cleaner Telemetry**: Slow-query logs now sample queries above 50ms."
|
|
317
|
+
reason: The placeholder is a reminder to the writer and does not belong in the published document.
|
|
318
|
+
prompt: Replace the filler sentence with the concrete claim.
|
|
319
|
+
[P9-S1|L14] SUGGESTION(strong,manual) en/prose/moralizing-closer
|
|
320
|
+
quote: "**Simpler Rollbacks**: Snapshot restore scripts run from a single CLI flag."
|
|
321
|
+
reason: The placeholder is a reminder to the writer and does not belong in the published document.
|
|
322
|
+
prompt: Replace the filler sentence with the concrete claim.
|
|
323
|
+
[P11-S1|L18] SUGGESTION(strong,safe) en/prose/hollow-transition
|
|
324
|
+
quote: "Looking ahead, the possibilities are truly endless."
|
|
325
|
+
reason: Zero-information macro filler sentence; deleting it preserves all factual claims and causal links.
|
|
326
|
+
fix: DELETE
|
|
327
|
+
[P4-S2|L7] SUGGESTION(moderate,review) en/prose/rhetorical-self-qa
|
|
328
|
+
quote: "Why does this matter?"
|
|
329
|
+
reason: Removes mechanical assistant rhetorical bridge question so the answer states the point directly.
|
|
330
|
+
fix: DELETE
|
|
331
|
+
[P6-S1|L11] SUGGESTION(hint,manual) en/prose/bold-lead-list-wall
|
|
332
|
+
quote: "**Faster Failover**: Automated promotion finished in 9 seconds during chaos drills."
|
|
333
|
+
reason: Four or more consecutive '**Label**: description' list items create a mechanical assistant list wall.
|
|
334
|
+
prompt: Convert uniform bold-lead bullets into direct sentences or plain list items without bold title prefixes.
|
|
335
|
+
[P10-S1|L16] SUGGESTION(hint,manual) en/prose/rhetorical-self-qa
|
|
336
|
+
quote: "Option A: Roll out pooler settings to EU shards on Tuesday."
|
|
337
|
+
reason: The placeholder is a reminder to the writer and does not belong in the published document.
|
|
338
|
+
prompt: Merge the artificial question-and-answer pair into a single direct statement.
|
|
339
|
+
[P10-S2|L16] SUGGESTION(hint,manual) en/prose/rhetorical-self-qa
|
|
340
|
+
quote: "/ Option B: Hold EU rollout until after the billing freeze."
|
|
341
|
+
reason: The placeholder is a reminder to the writer and does not belong in the published document.
|
|
342
|
+
prompt: Merge the artificial question-and-answer pair into a single direct statement.
|
|
343
|
+
[P10-S3|L16] SUGGESTION(hint,manual) en/prose/rhetorical-self-qa
|
|
344
|
+
quote: "Mention the Q3 error-budget burn rate here once SRE signs off."
|
|
345
|
+
reason: The placeholder is a reminder to the writer and does not belong in the published document.
|
|
346
|
+
prompt: Merge the artificial question-and-answer pair into a single direct statement.
|
|
347
|
+
[P11-S1|L18] SUGGESTION(hint,manual) en/prose/rhetorical-self-qa
|
|
348
|
+
quote: "Looking ahead, the possibilities are truly endless."
|
|
349
|
+
reason: The placeholder is a reminder to the writer and does not belong in the published document.
|
|
350
|
+
prompt: Merge the artificial question-and-answer pair into a single direct statement.
|
|
351
|
+
[P12-S1|L20] SUGGESTION(hint,manual) en/prose/rhetorical-self-qa
|
|
352
|
+
quote: "I hope this helps!"
|
|
353
|
+
reason: The placeholder is a reminder to the writer and does not belong in the published document.
|
|
354
|
+
prompt: Merge the artificial question-and-answer pair into a single direct statement.
|
|
355
|
+
```
|
|
254
356
|
|
|
255
|
-
|
|
357
|
+
## CLI Reference
|
|
256
358
|
|
|
257
|
-
|
|
359
|
+
```text
|
|
360
|
+
dislop check <files/globs...> [options] Read-only Dual-Track audit
|
|
361
|
+
dislop fix <files/globs...> [options] Interactive TTY hunk loop, or batch safe fixes (--auto)
|
|
362
|
+
dislop verify <before> <after> [--json] Verify edits preserved facts, units, links, and entities
|
|
363
|
+
dislop verify --git [ref] <file> [--json] Verify working-tree edits against a Git revision
|
|
364
|
+
dislop init [--global] [--voice <glob>] Initialize .dislop.json or ~/.config/dislop/config.json
|
|
365
|
+
dislop login [--token <dslp_*>] Save Official Cloud credentials
|
|
366
|
+
dislop logout Remove Official Cloud credentials
|
|
367
|
+
dislop voice <extract|show|clear> [files] Manage personal voice profile (voice.json)
|
|
368
|
+
dislop model <list|pull|rm> [name] Manage Tier 3 local models (requires Ollama)
|
|
369
|
+
dislop packs [--json] List built-in multi-level Packs
|
|
370
|
+
dislop doctor [--json] Diagnose active routing tier, Ollama status, auth, config, and Packs
|
|
371
|
+
dislop mcp Start local stdio MCP server (also `dislop-mcp`)
|
|
372
|
+
```
|
|
258
373
|
|
|
259
|
-
|
|
374
|
+
## Configuring an LLM Provider (`~/.config/dislop/config.json` or `.dislop.json`)
|
|
260
375
|
|
|
261
|
-
|
|
376
|
+
```json
|
|
377
|
+
{
|
|
378
|
+
"routing": "byok",
|
|
379
|
+
"activeProvider": "openai-default",
|
|
380
|
+
"approvedHosts": ["api.openai.com"],
|
|
381
|
+
"providers": {
|
|
382
|
+
"openai-default": {
|
|
383
|
+
"protocol": "openai",
|
|
384
|
+
"baseUrl": "https://api.openai.com/v1",
|
|
385
|
+
"apiKeyEnv": "OPENAI_API_KEY",
|
|
386
|
+
"model": "gpt-4o-mini",
|
|
387
|
+
"structuredOutput": "json_schema",
|
|
388
|
+
"maxInputTokens": 16000
|
|
389
|
+
},
|
|
390
|
+
"local-ollama": {
|
|
391
|
+
"protocol": "openai",
|
|
392
|
+
"baseUrl": "http://127.0.0.1:11434/v1",
|
|
393
|
+
"apiKey": "ollama",
|
|
394
|
+
"model": "qwen2.5:7b",
|
|
395
|
+
"structuredOutput": "json_object",
|
|
396
|
+
"maxInputTokens": 8000
|
|
397
|
+
}
|
|
398
|
+
}
|
|
399
|
+
}
|
|
400
|
+
```
|
|
262
401
|
|
|
263
|
-
|
|
264
|
-
- [Architecture](./docs/architecture.md) ([zh-CN](./docs/architecture.zh-CN.md)) · [Design System](./docs/design-system.md) ([zh-CN](./docs/design-system.zh-CN.md))
|
|
265
|
-
- [Roadmap](./ROADMAP.md) ([zh-CN](./ROADMAP.zh-CN.md)) · [Releasing](./docs/releasing.md) · [Contributing](./CONTRIBUTING.md) · [Research Index](./docs/research/README.md) · [Changelog](./CHANGELOG.md)
|
|
402
|
+
## Contributing & Custom Packs
|
|
266
403
|
|
|
267
|
-
|
|
268
|
-
dislop/
|
|
269
|
-
├── .agents/plugins/ # OpenAI Codex marketplace manifest (marketplace.json)
|
|
270
|
-
├── .claude-plugin/ # Claude Code plugin & marketplace manifests (pure-doc Skill + Official Cloud MCP)
|
|
271
|
-
├── .codex-plugin/ # OpenAI Codex native plugin manifest & UI card metadata
|
|
272
|
-
├── plugin.json # Agent Plugins 1.0 portable manifest (paired with root mcp.json)
|
|
273
|
-
├── gemini-extension.json # Gemini CLI Extension Gallery manifest
|
|
274
|
-
├── server.json # Official MCP Registry manifest (Official Cloud HTTP MCP)
|
|
275
|
-
├── action.yml # Reusable GitHub Marketplace incremental check Action
|
|
276
|
-
├── awesome/ # Awesome Anti-Slop (README.md & README.zh-CN.md, 90 entries)
|
|
277
|
-
├── benchmarks/ # Offline anti-slop benchmark datasets (CC0-1.0) & reproducible reports
|
|
278
|
-
├── bin/ # Node.js CLI (dislop.mjs) and compatibility launcher (dislop-mcp.mjs)
|
|
279
|
-
├── src/
|
|
280
|
-
│ ├── core.mjs # Zero-dep ES module shared by Node CLI, MCP, and browser workbench
|
|
281
|
-
│ ├── pattern-engine.mjs # Multi-angle 12-probe extended pattern-bank scanner
|
|
282
|
-
│ ├── pocket-model.mjs# Bundled 14.6 KB gzip zero-dep Pocket ML ensemble & domain pack router
|
|
283
|
-
│ ├── local-model.mjs# Hardware-aware optional local small-model advisor (Node.js)
|
|
284
|
-
│ ├── binary-node.mjs# Zero-dep ZIP, PNG/JPEG/WebP/GIF, and PDF reader for Node.js
|
|
285
|
-
│ └── dislop/ # Zero-dep Python 3.10+ engine, pattern scanner, local-model advisor, CLI, and MCP
|
|
286
|
-
├── packs/ # Declarative dislop.pack/2 manifests (7 built-in packs, 53 rules, 214 fixtures)
|
|
287
|
-
├── patterns/ # Structured 65-pattern anti-slop catalog across 6 dimensions & 7 angles
|
|
288
|
-
├── skills/dislop/ # Cross-host Agent Skill (SKILL.md + local ./references/ + openai.yaml)
|
|
289
|
-
├── tests/ # 26 Python unittest tests, Node/Python conformance, and site tests
|
|
290
|
-
├── scripts/ # Manifest lockstep sync (sync_manifests.mjs), site compiler & benchmarks
|
|
291
|
-
├── site/ # Compiled dislop.com workbench, /awesome/, and /llms.txt pages
|
|
292
|
-
├── assets/ # Logo mark, light/dark banners, and 1200x630 social preview card
|
|
293
|
-
└── docs/ # Brand guide, architecture, design system, roadmap, and research
|
|
294
|
-
```
|
|
404
|
+
To build custom Packs (separated `pack.json` + `scripts/` + `prompts/`, single-file `<name>.pack.md` Markdown Packs, or programmatic `definePack()` plugins), see [CONTRIBUTING.md](./CONTRIBUTING.md).
|
|
295
405
|
|
|
296
406
|
## License
|
|
297
407
|
|
|
298
|
-
[Apache
|
|
299
|
-
|
|
300
|
-
<!-- mcp-name: io.github.dislop-ai/dislop -->
|
|
408
|
+
[Apache-2.0](./LICENSE)
|