Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

T05 Decide rumdl MD013 policy and wire the gate

Question

rumdl.toml exists (MD013 line-length 120, SUMMARY excluded) but is never run by any gate, no justfile target, no lefthook command, no CI step, nothing in .woodpecker. The standard’s prose.md disables MD013 entirely (“prose is written in paragraphs, not one sentence per line”).

One decision to put to the human, then a mechanical wire-up:

  1. MD013 policy, adopt the standard (turn line-length off) or keep the existing cap at 120? If kept, which files does the cap gate?
  2. Wire rumdl check into: a just target, a lefthook *.md glob, and a CI step (all three, so the gate is one definition, see T06).

Exit predicate

Human ruling on MD013 recorded in Resolution; rumdl.toml reflects it; rumdl appears in just --list, in lefthook under a *.md guard, and in a Woodpecker docs step; rumdl check docs/ README.md AGENTS.md is green (or its findings fixed at root cause, not suppressed).

Resolution

Ruling (human, 2026-11-11): adopt the standard’s verdict, MD013 off. The measured cost of the cap was the AGENTS.md GSD-generated blocks (37 of 39 findings; those regenerate long every time GSD writes) plus 2 in README.md; the book pages passed either way. A divergence that only ever fires on generated text is not worth an ADR.

Facts the wiring produced:

  • Baseline with MD013 on: 160 findings in 3 files. With MD013 off: 121 in 2 files. rumdl fmt fixed 119 mechanically; 3 fixed by hand at root cause: the CRITICAL banner’s #-comment lines restructured into one H1 with a bullet list (they were seven top-level headings), a duplicated ### Codeberg, Not GitHub heading removed (a real content bug), and the emphasis-only **Cerebro TUI** title paragraph folded into its prose.
  • Gate defined once as just md-lint (rumdl check docs/ README.md AGENTS.md), folded into just quality. lefthook pre-commit runs it under a *.md glob; .woodpecker/docs.yml gained an md-lint step (binstall just + rumdl, then just md-lint). Exit predicate green: rumdl check docs/ README.md AGENTS.md reports 0 issues in 55 files.
  • Durability caveat: the AGENTS.md fixes sit partly inside GSD-generated blocks; a regeneration can reintroduce findings. T17 (AGENTS.md rewrite) owns making the file’s shape stable against its generator.
  • Scope drift for T13/T06 to settle: rumdl now gates README.md + AGENTS.md, while vale still gates docs/ only. Vale on README/AGENTS today reports 77 errors / 36 warnings unmeasured by any CI step; that is T13’s fog, not suppressed here.
  • CI loop evidence: pipeline 596 failed the Vale step because this Resolution contained a spaced em dash, which the CI-pinned Vale 3.17.1 flags and the local 3.26.0 does not. That drift is T13’s fog. Fixed at root cause in 8cf7b07 and re-verified with the pinned binary.

PR: rust-standard alignment branch feature/t05-rumdl-gate.