Skip to content

docs: align British spellings to the repo's American English convention - #17821

Open
yjg-djb wants to merge 1 commit into
OpenHands:mainfrom
yjg-djb:docs/fix-typos-17798
Open

yjg-djb wants to merge 1 commit into
OpenHands:mainfrom
yjg-djb:docs/fix-typos-17798

Conversation

@yjg-djb

@yjg-djb yjg-djb commented Sep 30, 2026

Copy link
Copy Markdown

Why

The docs/ directory consistently uses American English spellings (organization, customization, containerized, deserialization — 11 occurrences across DEVELOPMENT.md, architecture.md, DefenseClaw.md, ACP_AGENTS.md), but five words still used British variants, which is exactly the "inconsistent spelling" problem described in the issue.

Summary

  • materialise → materialize (×2) and materialisation → materialization in docs/ACP_AGENTS.md
  • initialise → initialize in the docs/DefenseClaw.md installation heading
  • pre-emptively → preemptively in docs/DefenseClaw.md

Prose-only word substitutions. Links, code fences, commands, env vars, and paths are unchanged (the # Initialise config comment inside a bash code fence in DefenseClaw.md was deliberately left as-is to respect the "code fences unchanged" acceptance criterion). A repo-wide scan (grep -o -E "pre-?emptive[a-z]*" src/ docs/ README.md) confirms no other occurrences of these variants remain.

Issue Number

Fixes #17798

How to Test

Docs-only change; no runtime behavior is affected. Verified:

  • git diff shows only the five word substitutions shown above.
  • npm run lint only covers src/**/*.{ts,tsx} (typecheck + eslint + prettier), so a docs-only change cannot affect it; CI will confirm.
  • Reviewed each edited sentence in context for meaning preservation.

Video/Screenshots

Not applicable — text-only documentation changes with no UI or runtime behavior. The diff above serves as before/after evidence.

Type

  • Bug fix
  • Feature
  • Refactor
  • Breaking change
  • Docs / chore

Notes

I also ran a cspell pass over docs/*.md; the only remaining "unknown words" are project/product proper nouns (openhands, defenseclaw, certbot, codeguard, etc.), which are correct as written.

@github-actions github-actions Bot added the type: docs Documentation only changes label Sep 30, 2026
The docs/ directory consistently uses American English spellings
(organization, customization, containerized, deserialization), but five
words used British variants. Align them for consistency:

- materialise -> materialize (x2, ACP_AGENTS.md)
- materialisation -> materialization (ACP_AGENTS.md)
- initialise -> initialize (DefenseClaw.md heading)
- pre-emptively -> preemptively (DefenseClaw.md)

Prose-only word substitutions; links, code fences, commands, env vars,
and paths are unchanged.

@all-hands-bot all-hands-bot left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

This review was posted by an AI agent (OpenHands).

Scope

Docs-only change under docs/, which this repository owns (Agent Canvas documentation). No src/, config, or code changes. In scope; no product/architecture decision needed.

Verification

I checked out exact head a61f55eefa5d50adb399c062e3d6657420ded67e and reviewed the diff against the base.

  • docs/ACP_AGENTS.md: materialise → materialize (×2) and materialisation → materialization. Meaning preserved; the surrounding LookupSecret / acp_file_secrets text is untouched.
  • docs/DefenseClaw.md: initialise → initialize in the ### 1. Install and initialize DefenseClaw heading; pre-emptively → preemptively in prose.
  • A repo-wide scan for -ise/-isation and other British variants across docs/ and README.md leaves exactly one occurrence: # Initialise config inside the bash code fence at docs/DefenseClaw.md:62. The linked issue's acceptance criterion "code fences ... unchanged" explicitly protects that, so it is consistent rather than a defect.
  • No links, paths, environment variables, or commands changed.

Acceptance criteria (issue #17798 — ready-for-dev, priority:low)

  • Only Markdown files under docs/ are modified.
  • Inconsistent spelling corrected, with the code-fence exception the issue carves out.
  • Meaning preserved — prose-only substitutions.
  • Link targets, code fences, command examples, env var names, and paths unchanged.
  • Internal links still resolve (no links touched).
  • Repository checks pass: test-and-build (ubuntu) and test-and-build (windows) are green on this head.

CI note (non-blocking; needs the human author)

The Validate PR description check is red on this head: the PR body omits the template's HUMAN:/AGENT: markers, so .github/scripts/check_pr_description.py fails ("The first visible line of the PR description must be HUMAN:", "Add a short human-written note between HUMAN: and AGENT:"). This is not a merge blocker — the only required status check is test-and-build (ubuntu), which passes — and it is not a defect in the diff. Per AGENTS.md, the HUMAN: section is reserved for humans and AI must not edit it, so the author needs to restore the template's human note. No change to the code is required.

No material correctness, security, compatibility, or architecture findings.

✅ APPROVED

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: docs Documentation only changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Correct typos and grammars in the docs directory

2 participants