Repository navigation
chore(docs): prose is US English here too - #936
Merged
Merged
Conversation
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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."
misspellalready enforced that insideGo source --
.golangci.yamlsetslocale: US, and it caught a British spelling in a Go comment on #933 the sameday. It was the only thing that did. Nothing checks prose here, so 110 British spellings across 45 files had
drifted in:
licence29,behaviour24,cancelled9,neighbours6,analogue5,modelledandartefacts4 each, 26 distinct words in all.
analoguegoes toanalogunder the ruling, even though all five are the counterpart sense -- "the closeststructural analogue" -- where the
-ueform is standard in American writing andanalogreads as the electronicsterm. No word is exempt. The same question was asked of
cataloguein noblefactor-ops and answered the same way,where it also named a document family and three constants in a CI script.
docs/plans/fix/935-prose-carries-110-british.mdactive: Phase 4 closes noblefactor-ops#234, which is another repository's pull requestThree stems needed care, and the third was found rather than foreseen
programmeis matched as a whole word. This tree holdsprogramming(21),programmatic(9),programmer(3) and
programmers(2) -- every one begins with it, so a stem replace producesprogramr. There is exactly oneProgrammeto correct.cataloguedis corrected before thecataloguestem runs, which turned it intocatalogdinnoblefactor-ops.
cancell->cancelover-reached. It is right forcancelledandcancelling, the only two forms thedictionary asks for, and wrong for the 23
cancellationand 2cancellableit also hit.cancellationiscorrect 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 itwas 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.0was already correct and is untouched:CONTRIBUTING.md## Licence and sign-off## License and sign-offCONTRIBUTING.mdlicence, any contributionlicense, any contributionTRADEMARK.md...Apache License 2.0. That licence...That licenseTRADEMARK.mdProgramme terms will liveProgram terms will liveTest plan
make vet,make lintandmake testpass. golangci-lint clean includesmisspellwithlocale: US,so the two Go files the sweep touched satisfy the Go-side gate as well
gofmt -lclean; the Go footprint is three doc comments,acknowledgement->acknowledgmenten-GB_to_en-USdictionary (535entries), fetched because codespell is not installed on this host and there is no Python to install it with
grep -Iq .first, after a noblefactor-ops sweep rewrote a.wasmand shortened it by 98 bytesNo 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
Computed by the algorithm of noblefactor-ops#188 at merge.