Skip to content

feat(brand): rename OpenMausBot to OpenMyBot (script, guard test, keep-list for names others rely on) - #35

Merged
zereight merged 5 commits into
mainfrom
feat/rename-openmybot
Nov 15, 2026
Merged

zereight merged 5 commits into
mainfrom
feat/rename-openmybot

Conversation

@zereight

@zereight zereight commented Nov 15, 2026 •

Copy link
Copy Markdown
Owner

Summary

Renames the product name OpenMausBot → OpenMyBot everywhere people read it or code names it: UI text, i18n catalogs (all 16 languages), docs, tests, identifiers (OpenMausBot* → OpenMyBot*, openMausBot → openMyBot), and the entry file server/openmausbot.ts → server/openmybot.ts (with every reference: package scripts, Dockerfile, bundle script, workflow entry names).

The rename is done by a script, scripts/brand-rename.mjs (--check / --apply, idempotent), so it can be replayed after every merge of upstream (milind-soni/OpenMausBot). The procedure is in docs/brand-rename.md.

Commits (review them in this order):

  1. script and guard test – the script, and src/lib/brand-name.test.ts that fails if anything outside the keep list still says OpenMausBot or if a kept name was renamed.
  2. apply the rename – only the output of node scripts/brand-rename.mjs --apply (re-running it gives the same diff, so this commit does not need line-by-line review).
  3. fixes the script cannot make – the lowercase forgery filters (HEADER_WORDS, FORGED_START now accept both openmybot and openmausbot), regenerated tool-list goldens, two test expectations, NOTICE fork line, doc.
  4. docs – small doc follow-up.

Why

This fork is called OpenMyBot; the UI, logs, prompts and file names still said OpenMausBot.

Kept on purpose (renaming these would break installed apps, other servers or the user's disk)

Kept Reason
~/.openmausbot data dir, openmausbot CLI, systemd units, /opt /etc /var/lib paths, localStorage openmausbot.*, MCP names openmausbot_*, _openmausbot._tcp, openmausbot:// existing installs / saved settings / pairing read them
*.openmausbot.com/.app/.test/.local hosts, milind-soni/OpenMausBot GitHub / ghcr / release-feed URLs servers and feeds we do not own (auto-update still reads the upstream feed)
OPENMAUSBOT_* env vars, x-openmausbot-* headers, com.openmausbot.* ids, HPKE info OpenMausBot phone credential v1 wire / config contract with other builds and the iOS app
npm package openmausbot, @openmausbot/*, pnpm-lock.yaml published names
electron-builder.yml, .github/workflows/ (entry rename only), cloudflare/ release pipeline, tied to the OS product name
OpenMausBot.app/.exe/.dmg/.deb, Application Support/OpenMausBot, OpenMausBot Safe Storage, electron.app.OpenMausBot, update feed repo: OpenMausBot derived from productName (see below)
LICENSE, NOTICE, CLA.md, LICENSING.md, enterprise/, third_party/ upstream legal text; NOTICE gets a "this is a fork of OpenMausBot" line

Not done in this PR (stated up front)

  • productName / Dock and installer name still say OpenMausBot. Electron derives userData (incl. credentials.bin) and the macOS Keychain item OpenMausBot Safe Storage from it; changing it without a data migration would drop users' saved credentials. Needs its own PR.
  • The built-in assistant persona MausBot (a separate name, ~3500 occurrences) is not renamed.
  • Merging upstream will conflict in many files: take upstream's side, then run node scripts/brand-rename.mjs --apply (docs/brand-rename.md).

Test

node scripts/brand-rename.mjs --check        # 0 files would change, 0 would move
npx vitest run src/lib/brand-name.test.ts    # guard test
pnpm typecheck && pnpm lint
node scripts/generate-locale.mjs --check     # locale catalogs valid (the script moves the hashes of keys that changed only by the rename)
node --test "electron/*.node-test.mjs"

Before / After

Before (main e366535b8): node scripts/brand-rename.mjs --check → 2652 lines in 848 files still say OpenMausBot outside the keep list (so the guard test leaves no OpenMausBot outside the keep list has nothing to pass on before commit 2).

After (HEAD): --check → 0 files would change, 0 would move; guard test, pnpm typecheck, pnpm lint, generate-locale --check, electron node tests all pass.

Tests: I ran the 254 test files this diff touches, one file at a time, on this branch and on a baseline worktree of main:

  • First pass of the rename: 22 files failed; 9 of them fail the same way on main (docker-image, hostile-pages.e2e, cloud-credit.e2e, cloud-lending-memory.e2e, delta-context.e2e, direct-coordination.e2e, index.test, parallel-threads.e2e, PlacesRail — timeouts/existing failures), 13 were caused by the rename and are fixed here:
    • peer-provenance, records-block, runtime/envelope, context-rebuild, bot-messages-apps: the forged-header filters only knew openmausbot (now also openmybot)
    • phone-secret: HPKE info string shared with the iOS app was renamed (now kept)
    • ChatMarkdown.renderers: OpenMausBot:// link scheme (now kept)
    • companion/control: mixed-case *.OpenMausBot.Test host (now kept)
    • agents-catalog-wire, agents-bridge-wire: tool-list goldens (bytes/sha256) regenerated
    • vocabulary, TaskPicker: test expectations updated
    • runtime-roots.e2e: port-in-use flake, passes alone
  • After the fixes: those 13 files pass (310 tests in the 11 re-run files + 15 in runtime-roots + 95 in the two golden files). The 9 baseline failures were not re-run after the fixes.
  • I did not run the whole suite: on this machine the full vitest run does not finish in 30 minutes, on main either.

Follow-up: Docker names (34a08b8)

Docker is unused here, so the Docker-local names were renamed too: image tags, compose project / volume names (openmybot, openmybot-local, openmybot-podman), /opt/openmybot-browser (Dockerfile, ci.yml, docker-image test), and the in-image CLI openmybot + OMB_CLI_PREFIX.
Kept on purpose: the /api/health body {"app":"openmausbot"} that all healthchecks grep for, /run/openmausbot sockets, the upstream ghcr.io/milind-soni/openmausbot image, and an openmausbot CLI alias in the image (deploy/update.sh runs openmausbot doctor).
Tests: brand-name, docker-image, cli-invocation, cli-reach, environment pass; the one remaining failure (resolves the current Chrome…) fails identically on the baseline. Before: docker-image passed 15/16 → after the first edit 3 failed (path regex in the test) → fixed, back to 15/16.

tao.exe added 5 commits November 16, 2026 07:37
…rename (keep-list for names others rely on)
…, goldens, test queries), NOTICE fork line, merge-upstream doc
Image / compose project / volume names, /opt/openmybot-browser, the in-image
openmybot CLI and OMB_CLI_PREFIX. The health body, /run/openmausbot sockets,
upstream ghcr image and an openmausbot CLI alias stay (wire contract / deploy scripts).
@zereight
zereight merged commit 031d2bc into main Nov 15, 2026
11 of 12 checks passed
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