Check a draft's changes before publishing
dropslop_diff_gateCI/CD & CMS Pre-Publish Diff Gate (PASS | WARN | BLOCK). Accepts a unified git diff (diff_text) or before_text + after_text, extracts only added/modified prose blocks (>= 18 words, skipping fenced code, YAML frontmatter, and raw tables), batch-scores AI probability + Brand Voice + banned terms + AI tells + broken markdown links [text](), and returns file/line-anchored annotations.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "dropslop_diff_gate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| diff_text | No | Unified `git diff` string (supports multi-file diffs). | |
| file_path | No | document.md | |
| after_text | No | Optional updated text when not passing `diff_text`. | |
| before_text | No | Optional baseline text when not passing `diff_text`. | |
| banned_terms | No | ||
| min_block_words | No | ||
| max_ai_prob_warn | No | ||
| voice_profile_id | No | ||
| max_ai_prob_block | No | ||
| min_voice_score_warn | No | ||
| min_voice_score_block | No |