Skip to content

fix(typos): allow DUM as scansion vocalization - #349

Merged
kyle-sexton merged 3 commits into
mainfrom
fix/typos-allow-dum-scansion
Aug 11, 2026
Merged

kyle-sexton merged 3 commits into
mainfrom
fix/typos-allow-dum-scansion

Conversation

@kyle-sexton

Copy link
Copy Markdown
Member

What

Adds DUM = "DUM" to [default.extend-identifiers] so typos stops correcting
the token to DUMB.

Why

DUM is not a misspelling in prosody and meter documentation. "DUM da DUM da" is
the standard vocalization of a stressed-versus-unstressed syllable pattern, and it
appears throughout Pat Pattison's scansion material.

The songwriting plugin in melodic-software/claude-code-plugins currently works
around this with inline <!-- spellchecker:off --> / <!-- spellchecker:on -->
guards scattered across five craft files. Those guards exist solely to defeat this
one correction, and each one is a place where a future edit can silently drop out
of spell-checking. This config is synced verbatim to consumers and has no layering,
so the exception cannot live locally — the header comment routes exactly this case
here via an upstream PR.

Scope

[default.extend-identifiers] is case-sensitive and matches whole tokens only, so
the entry is inert everywhere else:

  • DUM (uppercase, whole token) — allowed
  • dum (lowercase) — still flagged as dumb
  • any word merely containing the sequence — unaffected

Both directions verified locally with typos --config _typos.toml. Repo-wide run is
otherwise unchanged; the only remaining findings are in
components/typos/fixtures/bad/Violations.txt, which is intentional test data and
already fails on main.

Related

No linked issue.

`typos` corrects the token `DUM` to `DUMB`. It is not a misspelling in
prosody and meter documentation, where "DUM da DUM da" is the standard
vocalization of a stressed-versus-unstressed syllable pattern. The
songwriting plugin currently works around this with inline
`<!-- spellchecker:off -->` guards scattered through five craft files;
those guards exist only to defeat this one correction.

Added to `[default.extend-identifiers]`, which is case-sensitive and
matches whole tokens only, so lowercase `dum` stays flagged and no word
containing the sequence is affected. Verified both directions locally.

Co-authored-by: Claude Opus 5 (1M context) <[email protected]>
@cursor

cursor Bot commented Aug 11, 2026

Copy link
Copy Markdown

Bugbot is not enabled for your account, so this pull request was not reviewed.

Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs.

@claude

claude Bot commented Aug 11, 2026 •

Copy link
Copy Markdown

Claude finished @kyle-sexton's task in 1m 42s —— View job


Review: fix/typos-allow-dum-scansion

  • Gather context (PR diff, _typos.toml, AGENTS.md/CLAUDE.md, components/typos/README.md and test fixtures)
  • Understand the request (code review of a 1-file, +4/-0 diff)
  • Review for correctness and alignment with CLAUDE.md/REVIEW.md
  • Post findings

Summary

Small, well-scoped change: adds DUM = "DUM" to [default.extend-identifiers] in _typos.toml.

No blocking issues found.

  • Alignment with the file's own policy header: [default.extend-identifiers] is documented (lines 27–34) as the constellation-wide, case-sensitive, whole-token union, with routing upstream for exceptions that can't live as a local edit — exactly the mechanism this PR uses, and it matches the motivation given in the PR body (replacing scattered spellchecker guards in a downstream plugin).
  • Ordering: entries are case-insensitively alphabetical (abd, BAAs, DUM, FoD, PnPCapabilities); DUM's placement is correct.
  • Annotation: every entry in this block is required to carry a comment (line 33-34's "keep every entry annotated"); this one does. It's three lines versus the single line the sibling entries use, but the extra context (the specific correction it suppresses, and that it's case-sensitive/whole-token) is accurate and not misleading — a style nit at most, not worth blocking on.
  • Test coverage: components/typos/typos.test.sh and its fixtures never exercised [default.extend-identifiers] entries before this change either (abd/BAAs/FoD/PnPCapabilities are likewise untested there), so this PR isn't introducing a coverage gap relative to existing precedent.
  • Scope claims: the PR body's claims about case-sensitivity and whole-token matching are correct per typos' documented extend-identifiers semantics and match how the sibling entries in this same block already rely on that behavior (e.g. abd vs. any longer word containing it). I could not independently run typos in this sandbox to re-verify the "both directions verified locally" claim — typos is not installed here (consistent with AGENTS.md's note that it's an external engine only available in CI) — so that verification is author-claimed and unverified by me.
  • REVIEW.md always-checks: neither the audit-log/observability check nor the multi-write atomicity check applies — this is a single-line, single-file config addition with no related-write or high-risk-action shape.

No security-relevant surface in this diff (config data only, no code path), so nothing routed to the security lane either.

@github-actions

Copy link
Copy Markdown

Claude has reviewed this PR 1 time. The lane skips further automatic reviews after 5; deleting this comment resets the count.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: b40ce604ee

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread _typos.toml Resolved
cursoragent and others added 2 commits August 11, 2026 23:22
Add fixtures proving uppercase DUM passes under the allowlist, the
lowercase token remains a finding, and the parent config without the
entry rejects uppercase DUM.

Co-authored-by: Kyle Sexton <[email protected]>
ScansionLower.txt is the sole case-sensitive negative fixture.

Co-authored-by: Kyle Sexton <[email protected]>
@kyle-sexton
kyle-sexton merged commit 51bd3a4 into main Aug 11, 2026
1 check passed
@kyle-sexton
kyle-sexton deleted the fix/typos-allow-dum-scansion branch August 11, 2026 23:32
kyle-sexton added a commit to melodic-software/claude-code-plugins that referenced this pull request Aug 12, 2026
…Challenge #N boundary (#2261)

Closes the six follow-ups tracked in issue #2233. Version **1.1.1**.

Both audit denominators are unchanged and were **read from the ledger,
not
inherited**: **Axis 1 = 44/44, Axis 2 = 226/226.** Nothing here opens a
new
unit — no new reading was done.

## A claim shipped in 1.1.0 was false

1.1.0 recorded fig `image_rsrc34F`'s five-line lyric as image-only,
*"absent
from the gated 1991 text layer, confirmed against a known-present
control"*.
**It is not.** The verse is printed as prose in the 1991 spine in
**Chapter 4**,
two chapters before the figure; the original search was scoped to the
spine file
holding the figure.

**The control could not have caught it.** A grep for line five —
`make everything so clear` — returns zero across all four books, because
the
text layer prints `averything` (confirmed genuine to the EPUB, one
occurrence in
the corpus). A known-present control proves your *search* works; it can
never
prove your *target* is absent.

## What changed

- **Fig `34F`'s lyric is transcribed** in `hook.md`, read one row at a
time at
  **12-13x by eye, no OCR**, from named PNG files.
- **A standing rule for image-only figure content** in
`book-references.md`.
It codifies what `hook.md` (fig `34G`), `cliche.md` and `bridge.md`
already
did rather than inventing a practice — ruling the other way would have
obliged
  stripping shipped, audited transcriptions.
- **50 bare `Chapter N` / `Challenge N` citations now name their book**,
each
resolved by matching the introduced block against the four spines under
a
  control that fails the run if matching breaks.
- **`Challenge #N` split by role**: citations drop the hash, verbatim
  reproduction keeps it. 10 normalized, 2 deliberate keeps.
- **Suno**: a first-party citation that does not support its claim
removed
**without substituting another**; an unproven "silently ignored"
softened;
never-audited positional weighting demoted to marked prose; the
voice-privacy
warning now governs every voice creation; the `LOW-MEDIUM` rung two
files were
  already using is now defined.

## Two things recorded and deliberately NOT resolved

- Fig `34F` drops a `that` that the prose keeps; figs `34F` and `32V`
print
`everything` against the text layer's `averything`. Two photographs of
the
printed page against one reflowed run — **the text layer carries the
defect.**
This is the only site in the corpus where a figure adjudicates the
spine.
- `voices.md`'s account-locked line versus the reported default-public
toggle:
  both stated, the conflict stated, conservative reading governs, no
  reconciliation invented.

## Verification

Two checks the resolver itself could not perform, because it only ever
proved
the *book*:

- **Chapter numbers** verified against all **266** spine headings — this
caught
a real defect in `rhyme-types.md` (the `travel` search is printed in
both
Chapter 4 and Chapter 6; the reproduced block is Chapter 6's printing).
  Now **OK=58, MISMATCH=0**.
- **Books** re-verified independently: **63 correct, 0 wrong**, 21
blocks that
  are plugin-authored summaries rather than quoted source.
- **Loose vs tight diffed both ways**: tight\loose = 0, loose\tight = 9
(six
  false positives inside HTML comments, **three real**, now fixed).

`typos` exit 0, **verified with a control that correctly fails** (exit
2) ·
`markdownlint-cli2` 0 errors, 103 files · `check-changelog-parity.sh
--check-bump` pass · `validate-plugins.sh` not run locally (segfaults on
every
plugin here); CI runs it.

## Follow-ups this PR surfaced and does NOT close

Listed so they are owned rather than stranded in a receipt — the failure
mode
that cost a full release last time:

- `power-tips.md:29` ("Order encodes priority") is the same
never-audited claim
  class demoted at `:7-13`, in the same file. No audit row covers it.
- The `tips.md` timing-cue entry's `~70%` figure has no basis recorded
anywhere
  in this repo. Flagged `LOW-MEDIUM` and left flagged.
- 32 citations are unverifiable for chapter number because their blocks
are
  plugin-authored summaries, not quoted source. Not defects.
- `melodic-software/standards#349` is **merged upstream**, but
`_typos.toml`
here has not synced, so the 56 inline spellchecker guards must stay.
External,
  blocks nothing.

## Related

Closes #2233

---------

Co-authored-by: Claude Opus 5 (1M context) <[email protected]>
kyle-sexton added a commit that referenced this pull request Sep 4, 2026
…gins and claude-code-proxy (#524)

Refs: melodic-software/github-iac#367
No related issue: follow-up recorded on each disarmed target's own
comment in sync-manifest.yml; its removal trigger has fired.

## Summary

Drops `automerge: false` from the three Phase 4 sync targets that were
disarmed only because their default branches carried no required status
checks: agent-plugins, cursor-plugins and claude-code-proxy. Each now
emits the four ci-gate contexts, and github-iac#367 makes them required.

## Fix

- Remove the three `automerge: false` keys and replace each "Disarmed"
comment with the dated evidence that armed it.
- Reword the codex-plugins note, which described it as the lone covered
marketplace target.

Merge order: after github-iac#367 is merged and deployed, so the first
armed sync PR into each repository is gated by the four required
contexts from the start.

## Verification

- `bash distribution/sync-manifest.test.sh`: 312 PASS, 0 FAIL, with the
edited manifest.
- Probe PRs agent-plugins#12, cursor-plugins#25 and
claude-code-proxy#215 each showed `pr-title / pr-title`, `do-not-merge /
do-not-merge`, `pr-issue-linkage / pr-issue-linkage` and `ci-status`
SUCCESS after the callers landed on main.
- After github-iac#367 deploys, `gh api
repos/melodic-software/<repo>/rules/branches/main` lists the four
contexts under `required_status_checks` for all three.

## Related

- melodic-software/github-iac#367 and #349: the ruleset extension.
- agent-plugins#11, cursor-plugins#24, claude-code-proxy#214: the caller
workflows.
- agent-plugins#12, cursor-plugins#25, claude-code-proxy#215: the closed
probe PRs.

---------

Co-authored-by: Claude Fable 5.1 <[email protected]>
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.

2 participants