Open-source Grok Bot alternative with a virtual machine that bots can use
Optional desktop organization connection
Run the actual renderer and production desktop preload/client in a disposable Electron window:
node scripts/verify-organization-settings.mjs
The script accepts no external URL. It creates its own loopback Vite preview,
fake-engine workspace, synthetic Admin HTTP server, temporary HOME and Electron
profile. Renderer requests outside the preview and fixture runtime are blocked.
It never opens the user's app, browser profile, saved connections or keychain.
Linux needs a graphical session (or xvfb-run -a).
The smoke checks:
The optional organization logo and shared bot-icon grid arrive in the authenticated native snapshot. Selecting an icon uploads a durable local attachment through the real fixture runtime. Admin removal clears the logo and library after Refresh without changing the bot's chosen local avatar. Branding is excluded from the strict runtime model grant and credential store.
Loading Settings does not enroll or open a browser. Sign in with your organization uses the standard OpenMaus Admin; a separate custom Admin address remains available under Advanced.
The production client opens the browser and connects automatically after approval. The optional verification code stays collapsed under Security details, and cancelling returns to the signed-out view.
Synthetic browser approval yields the company name, employee email and approved model counts. No device token or private connection method reaches renderer JavaScript.
Organization sign-in leaves the native renderer local, including macOS on-device speech. A true remote workspace remains classified as remote and receives no local speech capability.
The private process receives only the separate model capability, never the device credential used for session and backup authority.
Disconnect has a separate confirmation. Cancel preserves the connection; confirm clears the saved grant and requests device revocation.
Revoked access requires disconnecting before signing in again, without suggesting personal billing as an automatic fallback.
The 390px layout has no horizontal overflow.
A remote-origin page gets neither the organization bridge nor Node access.
The actual fresh app still opens its existing optional welcome flow, not an organization sign-in wall. Explicit Settings → Organization works before completing local provider onboarding.
A persisted old hosted selection loads the old server's page without an organization bridge. Cancelling native organization sign-in leaves the saved selection byte-for-byte unchanged. Confirming through the production native menu opens local Organization Settings, preserves the hosted entry and does not enroll automatically. Recreating the renderer from the saved choice stays local. A completion receipt is required, not merely an exit code.
The printed evidence directory retains receipt.json, electron.log, and
connected, narrow confirmation and in-app screenshots. Cleanup removes only
the fixture's home/profile and fake-engine workspace; no user data is changed.
This is a renderer/preload/client workflow check against synthetic HTTP
responses. It substitutes an in-memory credential store, captured browser-open
requests and a fake utility-process acknowledgement. It does not prove
real Admin consent, OS keychain persistence, private runtime synchronization,
native provider execution, cloud backups, public DNS/TLS or paid model calls.
Provider isolation, expiry and no-personal-fallback behavior are separately
covered by server/managed-desktop.test.ts. Read-only Company engine settings
and preservation of personal controls have focused renderer regressions.
Returning from a hosted workspace
Use Server → Sign in with your organization… in the installed desktop app, or
Use desktop app → Open desktop app in Admin. The fixed
openmausbot://organization link opens local settings only; it carries no
credentials and does not approve enrollment. Remote pages do not gain access
to the organization bridge. Existing hosted server selections are not reset
on an ordinary update.
When a hosted workspace is selected, the native confirmation explains that
its data stays on the server. The hosted entry remains saved. In desktop
companion mode, confirming explicitly disconnects and restarts locally; the
local Settings destination is remembered in the same encrypted write. A
failed write or cancelled dialog does not disconnect. The pending destination
is consumed only when the local Organization panel acknowledges its mount.
Relaunch arguments exclude the consumed one-shot link so later updates cannot
replay it. Restore/retry and
stale-confirmation cases are covered by
node --test electron/organization-entry.node-test.mjs.
The Electron smoke uses actual menu selection, renderer navigation and a disposable saved-environments file, but substitutes native confirmation and credential storage. It recreates the renderer rather than installing a real update or invoking an OS protocol handler. Companion restart/keychain behavior is controller-tested, not a production migration claim.
2026-09-20: the extended isolated desktop workflow passed. Evidence:
/var/folders/91/pdc4mdh53xs59x0r4z7_0qzc0000gn/T/omb-organization-ui-kdmfy4/.
Installed-app update/protocol testing and production rollout remain separate
follow-ups; no customer workspace was changed.
2026-09-16: the extended isolated Electron workflow passed, including logo
decoding, avatar selection/retrieval and removal propagation. Evidence:
/var/folders/91/pdc4mdh53xs59x0r4z7_0qzc0000gn/T/omb-organization-ui-ndaRQH/.
The separate private Admin/native runtime integration also passed with branding
enabled (/tmp/omb-desktop-integration-ql2mMS/receipt.json). Neither test used
customer accounts or changed the operator's desktop app.
2026-09-23 renewal, licence lapse and organization policy
Unit and node tests only; the Electron smoke above was not re-run for this change, and no installed app, keychain, production Admin or customer data was used.
node --test electron/managed-desktop.node-test.mjs: renewal on start and when fewer than seven days remain, only when Admin advertisescapabilities.deviceRenewal; samedeviceId; a rotated token is written to the encrypted record before use; a later session expiry is adopted and an earlier one ends access; an Admin without renewal or policies sees exactly today's requests; 503admin_license_expiredbecomeslicense-expired(Company instances kept but suspended, no DELETE, no sign-in prompt, keeps polling, recovers); sign-in against an expired Admin says so; the policy is sent to the runtime separately from the model grant, persisted with the encrypted grant, re-applied before any network call after an offline restart, kept when a later policy is malformed, reported back to Admin, and lifted on disconnect, revocation or expiry.node --test electron/company-backup-schedule.node-test.mjs: a schedule saved under the old device-scoped key is adopted (not turned off) on upgrade and on re-enrolment; losing the connection pauses it; another organization or account still clears it.pnpm vitest run server/managed-policy.test.ts server/managed-desktop.test.ts server/store-rename-instances.test.ts: refusal sentences, MCP name/address matching, computer-kind mapping, the realbindTurnComputerguard fromindex.ts, expiry of the last policy; renewal and licence suspension applied without restarting Company instances; stable Company ids across re-enrolment with the old id's native home and saved selections, cursors and handed records moved once.- Mutation checks (each failed its test, then was restored): strict expiry
equality on the session response; treating the licence 503 as offline;
not restoring the saved policy on start; removing the
bindTurnComputerguard; replacing instances on a renewal; skipping the legacy-id rename; forgetting instead of adopting a legacy backup key. - Against the Admin itself (in the openmaus-cloud
feat/desktop-lifecycleworktree, disposable fixtures): this client enrolled, reported its version and policy, renewed a week later to now + 30 days with the same device, stayed connected past the original 30 days and showedlicense-expiredafter the grace period; against the current Adminmainit made no renewal call, received no policy and kept today's behaviour.
Review fixes (same day, same limits): MCP address entries are parsed as HTTPS
URLs and matched by whole host labels and path, with tests for the path,
suffix, credential, scheme, port and bare-wildcard bypasses; an enrollment
that expired or is being cleared sends its identity (never its token) so its
old ids and backup key still migrate after a later re-enrolment, and the
backup key match ignores the deviceId; migration is best effort and logged;
a disconnected computer still shows a paused daily schedule with its off
switch, and an overdue backup waits 15 minutes after the connection returns;
the saved policy is re-sent before any network call; a rotated token is
adopted only once stored; room turns refuse a disallowed place before
provisioning, the shared-computer lease honours "this computer", and room LLM
titles skip a disallowed engine. Turning the companion on is refused inside
startDesktopCompanion itself (switch, Tailscale "Turn on and check" and
launch auto-start); that Electron main path is checked by inspection only.
2026-09-23 Company models used after sign-in
Unit, component and node tests only. The Electron smoke above was not re-run for this change, and no installed app, keychain, production Admin, engine account or paid model call was used.
pnpm vitest run server/default-model-selection.test.ts: with no saved default, an enrolled desktop picks an instance that can run now: a signed-in personal engine first (Claude first), then a Company model (Claude first), then today's choice. An installed but signed-out personal Claude therefore no longer wins over a working Company model. Without an enrolment the result is identical to before, including a signed-out Claude beating a signed-in Codex. An engine the organization's policy refuses (company models only, or an engine allow-list) is never picked, and a refused saved default sends new bots to setup.pnpm vitest run server/managed-desktop.test.ts: against the real provider registry with fake engines, new bots land on Company Claude while enrolled and on the personal engine again after disconnect; disconnecting leaves a personal bot's selection untouched and keeps a Company bot's stable id for the next sign-in.pnpm vitest run src/lib/company-models.test.ts src/components/CompanyModels.test.ts src/components/OrganizationSettings.test.ts: the connected panel shows each Company engine as ready, blocked by policy, or needing its CLI installed (reusing the engine's own install action, without a personal sign-in). The inline Use {Company model} for N bots that can't run button counts only bots whose engine is missing, unavailable, signed out or refused by policy, names them, dispatches nothing until pressed, and then sends the model chip's ownPATCH /api/bots/:id. Bots on working personal engines (including a signed-out CLI's custom models, and a bot whose selected thread still runs) are never counted; bots with elevated permissions on another engine are listed for their own model chip instead. Disconnecting dispatches nothing.node --test electron/managed-desktop.node-test.mjs electron/organization-reopen.node-test.mjs: Open the sign-in page again reopens only the pending attempt's validated/enroll?code=page, makes no portal request, ignores any renderer argument at the preload, IPC and client layers, answers only the local main window's main frame, and does nothing after approval, cancellation or expiry.- Mutation checks (each failed its test, then was restored): no enrolled branch; no policy filter; enrolled rules applied without an enrolment; returning a refused saved default; Company before a working personal engine; ignoring the selected thread; ignoring policy in the switch; ignoring elevated permissions; counting working bots; dispatching at render; opening a renderer-supplied address; reopening after expiry; forwarding IPC arguments; dropping the local-window guard; forwarding preload arguments.
Review fixes (same day, same limits): archived bots are never counted or
switched; the "Now using …" status names only bots the server kept on the
Company model after their PATCH settled (none when every PATCH was refused);
the note now says bots not allowed by the organization change too; and
server/default-model-selection.test.ts runs index.ts's actual
defaultSelection and policyModelRefusal against a synthetic registry,
enrolment and policy. Mutation checks: counting archived bots, naming every
requested bot, and dropping the whole context, the enrolment or the policy
from index.ts each failed a test, then was restored.
2026-09-24 Organization and installation words
Copy only; no behaviour, identifier, menu id, IPC channel, query parameter or
locale key changed. The app now says Organization (US spelling, as Admin
does), Settings → Servers / Server → Connect to another computer… for saved
remote servers, Settings → Installations for the fleet screen, "this
installation" for the whole app and its data, and "folder" for bot and task
folders. The Anthropic Console's "workspace API key" and ChatGPT's "workspace
admin" keep their own words. server/hosted-models.ts keeps its two model
errors word for word, because the cloud Slack worker matches that text.
Tested, not production qualification:
pnpm vitest run src(223 files),pnpm vitest run electron, andnode --test electron/*.node-test.mjs, with the assertions that named the old labels updated.src/locales/words.test.tsfails on any English value that says "Organisation" or a non-Slack "workspace", apart from the two third-party terms. Mutation check: putting back "Organisation" and "New workspace" failed it, a "Slack workspace" value did not, then en.json was restored.pnpm i18n:check: translations whose meaning changed were removed so those keys fall back to English; spelling-only keys were re-accepted.scripts/verify-organization-settings.mjsandscripts/verify-server-connection.mjsnow look for the new labels. They were not run locally, because they launch the real Electron app.