Skip to content

chore(docs): prose is US English here too - #936

Merged
David-Noble-at-work merged 3 commits into
developfrom
fix/935-prose-carries-110-british
Sep 23, 2026
Merged

David-Noble-at-work merged 3 commits into
developfrom
fix/935-prose-carries-110-british

Conversation

@David-Noble-at-work

@David-Noble-at-work David-Noble-at-work commented Sep 23, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Phase 4 of NobleFactor/noblefactor-engprod#234, whose Phases 1-3 merged as noblefactor-ops#235. Lane 18 of
noblefactor-ops#217, lane 4 of noblefactor-ops#232.

Ruled 2026-09-23: "we're US ... all words should be in US English." misspell already enforced that inside
Go source -- .golangci.yaml sets locale: US, and it caught a British spelling in a Go comment on #933 the same
day. It was the only thing that did. Nothing checks prose here, so 110 British spellings across 45 files had
drifted in: licence 29, behaviour 24, cancelled 9, neighbours 6, analogue 5, modelled and artefacts
4 each, 26 distinct words in all.

analogue goes to analog under the ruling, even though all five are the counterpart sense -- "the closest
structural analogue" -- where the -ue form is standard in American writing and analog reads as the electronics
term. No word is exempt. The same question was asked of catalogue in noblefactor-ops and answered the same way,
where it also named a document family and three constants in a CI script.

Commit What
plan docs/plans/fix/935-prose-carries-110-british.md
sweep 45 files, 26 words
plan Phase 3 recorded, and why the plan stays active: Phase 4 closes noblefactor-ops#234, which is another repository's pull request

Three stems needed care, and the third was found rather than foreseen

programme is matched as a whole word. This tree holds programming (21), programmatic (9), programmer
(3) and programmers (2) -- every one begins with it, so a stem replace produces programr. There is exactly one
Programme to correct.

catalogued is corrected before the catalogue stem runs, which turned it into catalogd in
noblefactor-ops.

cancell -> cancel over-reached. It is right for cancelled and cancelling, the only two forms the
dictionary asks for, and wrong for the 23 cancellation and 2 cancellable it also hit. cancellation is
correct US English
-- the dictionary says nothing about it precisely because there is nothing to say. Both were
restored.

That last one is why the plan requires checking every word the sweep produces, not every word it replaces:
re-running the British-word search cannot see cancelation, which is a word in neither language. What found it
was comparing each form's count on the removed and added lines. All 33 forms balance.

The legal lines

Four, and they change spelling and nothing else. Apache License 2.0 was already correct and is untouched:

File Was Becomes
CONTRIBUTING.md ## Licence and sign-off ## License and sign-off
CONTRIBUTING.md licence, any contribution license, any contribution
TRADEMARK.md ...Apache License 2.0. That licence ...That license
TRADEMARK.md Programme terms will live Program terms will live

Test plan

  • make vet, make lint and make test pass. golangci-lint clean includes misspell with locale: US,
    so the two Go files the sweep touched satisfy the Go-side gate as well
  • gofmt -l clean; the Go footprint is three doc comments, acknowledgement -> acknowledgment
  • Zero hits across all 1663 tracked files against codespell's own en-GB_to_en-US dictionary (535
    entries), fetched because codespell is not installed on this host and there is no Python to install it with
  • Every produced word inspected as a count on the removed and added lines; all 33 balance
  • No binary touched -- each file is tested with grep -Iq . first, after a noblefactor-ops sweep rewrote a
    .wasm and shortened it by 98 bytes
  • CI on this PR

No prose gate is added here. It arrives with #932, which consolidates document checks into star; a bash gate
now would be one more thing for that lane to delete. This closes the drift, #932 closes the hole that let it in.

Plan: docs/plans/fix/935-prose-carries-110-british.md

Resolves #935

Time

Marker UTC Elapsed
opened (first commit) 2026-09-23T16:54:10Z —
submitted (PR opened) 2026-09-23T17:23:07Z 0.5 h after opened
merged 2026-09-23T17:45:30Z 0.4 h after submitted; 0.9 h in all

Computed by the algorithm of noblefactor-ops#188 at merge.

David Noble added 3 commits September 23, 2026 18:54
Phase 4 of noblefactor-ops#234, whose Phases 1-3 merged as noblefactor-ops#235.
misspell enforces the rule inside Go source and nothing checks prose, so 110
British spellings across 45 tracked files have drifted in.

The plan carries the two stems that bite. `programme` is matched as a whole
word, because this tree holds programming, programmatic, programmer and
programmers -- every one begins with it, and a stem replace produces
"programr". And `catalogued` is corrected before the `catalogue` stem runs,
because the stem alone turned it into "catalogd" in the other repository.

It also carries the rule that catches both: check every word the sweep
PRODUCES, not every word it replaces. "catalogd" is not a British spelling and
no British-spelling search finds it afterwards.
Phase 4 of noblefactor-ops#234, whose Phases 1-3 merged as noblefactor-ops#235.
Ruled 2026-09-23: "we're US ... all words should be in US English."

110 British spellings across 45 files, 26 distinct words. licence 29, behaviour
24, cancelled 9, neighbours 6, analogue 5, modelled and artefacts 4 each.

analogue goes to analog under the ruling even though every use is the
counterpart sense -- "the closest structural analogue" -- where the -ue form is
standard in American writing. No word is exempt; the same question was asked of
catalogue in the other repository and answered the same way.

Three stems needed care, and the third was found by the rule rather than
foreseen. programme is matched as a whole word: this tree holds programming,
programmatic, programmer and programmers, and a stem replace makes "programr".
catalogued is corrected before the catalogue stem, which turned it into
"catalogd" in noblefactor-ops. And cancell -> cancel over-reached: it is right
for cancelled and cancelling, the only two forms the dictionary asks for, and
wrong for the 23 cancellation and 2 cancellable it also hit. cancellation is
correct US English. Both restored.

That was caught by comparing each word form's count on the removed and added
lines, not by re-running the British-word search -- which by construction
cannot see "cancelation", a word in neither language. All 33 forms balance.

The legal lines are four, and they change spelling and nothing else. Apache
License 2.0 was already correct and is untouched:

  CONTRIBUTING.md  "## Licence and sign-off"     -> "## License and sign-off"
  CONTRIBUTING.md  "licence, any contribution"   -> "license, any contribution"
  TRADEMARK.md     "That licence"                -> "That license"
  TRADEMARK.md     "Programme terms will live"   -> "Program terms will live"

No prose gate is added here. It arrives with #932, which consolidates document
checks into star; a bash gate now would be one more thing for that lane to
delete.

Verified: zero dictionary hits across all 1663 tracked files; no binary touched.
vet, lint and test all rc=0. golangci-lint clean includes misspell with locale
US, so the two Go files the sweep touched satisfy the Go-side gate as well as
the prose rule they were changed for -- three doc comments in pkg/op,
acknowledgement to acknowledgment, no identifier touched.

An earlier gate run reported vet failing on pkg/op. It does not: go vet and go
build both exit 0 on this branch, and the run that said otherwise was cut off
when its session ended. Re-run rather than explained away.

Requirement 1 says two stems bite and three did. The third, cancell, was found
by Requirement 3 after the sweep rather than foreseen before it, which is what
that requirement is for; the heading now says so.

Phase 4 closes noblefactor-ops#234, which is a noblefactor-ops pull request, so
this plan stays active until then -- the same shape #234 itself is in, and for
the same reason.
@David-Noble-at-work
David-Noble-at-work merged commit 3479cca into develop Sep 23, 2026
13 checks passed
@David-Noble-at-work
David-Noble-at-work deleted the fix/935-prose-carries-110-british branch September 23, 2026 17:45
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.

Prose carries 110 British spellings: the US English ruling reaches this repository

1 participant