dislop dele mark dislop v0.2.0 · Apache-2.0

00 / PRE-PUBLICATION QUALITY GATE

Lint deliverables before you publish. Catch leaked paths, stock filler, and overloaded slides—then verify edits kept numbers, dates, links, and citations intact.

Deterministic probes for Markdown, HTML/CSS/SVG, Word (.docx), PowerPoint (.pptx), and PDF metadata. Runs offline in Node.js, Python, or this browser sheet with zero text uploaded.

RUN IMMEDIATELY (NODE 20+ OR PYTHON 3.10+)

npx --yes github:dislop-ai/dislop check .
uvx --from git+https://github.com/dislop-ai/dislop dislop check .
0 runtime dependencies · Exit 1 on invariant errors dislop-ai/dislop →
01 / INTERACTIVE GALLEY PROOF WORKBENCH (SHARED src/core.mjs)
    error: core invariant (solid red) warn/info: taste query (dashed blue) stet: protected fact locked by verify

    02 / REPOSITORY SELF-CHECK

    What an unguarded prompt wrote vs. what shipped

    Every Markdown file, SVG banner, and HTML/CSS template in this repository runs through `dislop check . --fail-on warning` in CI. Left is a raw model-generated pitch; right is the factual copy after applying the Deletion Test.

    RAW GENERATED DRAFT · FLAGGED BY DISLOP

    SHIPPED REPOSITORY COPY · 0 FINDINGS

    Checked by `business-brief` + `deck-and-ui` · 0 errors, 0 warnings

    03 / DETERMINISTIC PROBE & TASTE PACK INDEX

    29 rules across Core Invariants and 3 Genre Packs

    Generated directly from `packs/*/pack.json`. Objective publication failures live in `core` (`error`); genre conventions live in modular Taste Packs (`warning` / `info`) paired with a Deletion Test and before/after exemplars.

    Rule ID Pack / Tier Modalities What It Catches & Deletion Test Before → After Exemplar

    04 / DESIGN SYSTEM SPECIMEN

    Architectural Galley Tokens & Two-Pencil Semantics

    Neutral cotton press stock in light mode and monotonic graphite elevation (`L* 5.2 → 8.6 → 12.8`) in dark mode—avoiding both neon purple gradients and warm-stone cream templates.

    Full Design Spec →

    LIVE SURFACE & PENCIL TOKENS (WCAG AA VERIFIED)

    --stage
    L* 97.2 / 4.6
    --sheet
    L* 100 / 8.1
    --raised
    L* 93.8 / 12.6
    --ink
    17.8:1 / 15.6:1
    --mark-error
    6.8:1 / 7.0:1 (dele)
    --mark-warn
    7.2:1 / 8.5:1 (query)
    --mark-stet
    6.6:1 / 9.4:1 (stet)
    --rule
    1px structural rail

    TYPOGRAPHIC ROLES (ZERO EXTERNAL FONT CDN)

    MANUSCRIPT SERIF · 17px / 1.68 · 65ch EN / 36汉字 ZH
    傍晚六点半,修表匠把三枚铜齿轮泡进煤油皿里。
    CHROME SANS · SYSTEM NATIVE GROTESK
    Lint drafts and verify revisions before publication.
    APPARATUS MONO · TABULAR FIGURES
    slide 3 · 215 words > 120 max · verify: ACCEPTED

    05 / CLI, GIT DIFF, GITHUB ACTIONS & MCP

    Wire into local agents and pull requests

    Use `dislop check --changed` to gate only modified lines on existing repositories, or attach `dislop --mcp` so Claude Code, Codex, and Cursor run `check → edit → verify` automatically.