Skip to content

feat: ci-harper — grammar for prose, complementing typos for code#2

Merged
sebhoss merged 1 commit into
mainfrom
feat/harper-prose-lint
Jul 9, 2026
Merged

feat: ci-harper — grammar for prose, complementing typos for code#2
sebhoss merged 1 commit into
mainfrom
feat/harper-prose-lint

Conversation

@sebhoss

@sebhoss sebhoss commented Jul 9, 2026

Copy link
Copy Markdown
Member

harper-cli joins the shared lint gate: typos owns spelling (code identifiers, low-FP corrections), harper owns grammar (repetition, agreement, style) — so the wrapper ships with SpellCheck off (typos' job) and UseTitleCase off (heading case is a style choice). Repos append rules via HARPER_IGNORE; scope defaults to docs/ and kb/ (the prose homes), with explicit paths overriding. Exits non-zero via xargs when any file has findings.

Heads-up for adopters: harper joins wrapped lines, so hand-wrapped markdown can trip false positives (a split word across a line break reads as one word) — repos with tightly wrapped design docs may want this advisory rather than gating.

harper-cli joins the shared lint gate: typos owns spelling (code
identifiers, low-FP corrections), harper owns grammar (repetition,
agreement, style) — so the wrapper ships with SpellCheck off (typos'
job) and UseTitleCase off (heading case is a style choice). Repos
append rules via HARPER_IGNORE; scope defaults to docs/ and kb/ (the
prose homes), with explicit paths overriding. Exits non-zero via xargs
when any file has findings.

Heads-up for adopters: harper joins wrapped lines, so hand-wrapped
markdown can trip false positives (a split word across a line break
reads as one word) — repos with tightly wrapped design docs may want
this advisory rather than gating.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Signed-off-by: Sebastian Hoß <seb@xn--ho-hia.de>
@sebhoss sebhoss merged commit 94efbe6 into main Jul 9, 2026
6 checks passed
@sebhoss sebhoss deleted the feat/harper-prose-lint branch July 9, 2026 21:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant