#11191: feat: REALLYopenClaw JAILBREAK - disable global gateway lock by default
stale
This is REALLYopenClaw, THE GOOD TWIN of OpenClaw.
Changes:
- Multi-gateway is now ENABLED by default (no lock)
- Set OPENCLAW_ENFORCE_SINGLE_GATEWAY=1 to restore original behavior
- Added GOOD TWIN comments and documentation
This allows running multiple bot instances on the same server. Welcome to the swarm!
<!-- greptile_comment -->
<h2>Greptile Overview</h2>
<h3>Greptile Summary</h3>
This PR changes gateway startup locking so the global gateway lock is bypassed by default unless `OPENCLAW_ENFORCE_SINGLE_GATEWAY=1` is set, and updates the README to describe a “REALLYopenClaw” fork and new multi-instance behavior.
The code change is isolated to `src/infra/gateway-lock.ts`, which is used to prevent multiple gateway processes from running concurrently on the same machine. The README change rebrands the project and adds fork-specific installation instructions.
<h3>Confidence Score: 2/5</h3>
- This PR is not safe to merge as-is because it changes default locking behavior and rebrands the repo README in a way that will break expected single-gateway guarantees and user guidance.
- Score is low because the lock is effectively disabled for all existing deployments unless they set a new opt-in env var, which can lead to multiple gateway processes running concurrently. Additionally, the README changes make the repo’s installation and branding inconsistent with the rest of the project.
- src/infra/gateway-lock.ts, README.md
<!-- greptile_other_comments_section -->
<sub>(2/5) Greptile learns from your feedback when you react with thumbs up/down!</sub>
**Context used:**
- Context from `dashboard` - CLAUDE.md ([source](https://app.greptile.com/review/custom-context?memory=fd949e91-5c3a-4ab5-90a1-cbe184fd6ce8))
- Context from `dashboard` - AGENTS.md ([source](https://app.greptile.com/review/custom-context?memory=0d0c8278-ef8e-4d6c-ab21-f5527e322f13))
<!-- /greptile_comment -->
Most Similar PRs
#12694: Devin/1770645191 add elizaos adapter
by latamapac · 2026-02-09
79.5%
#6512: Claude/setup open claw agent f v sqk
by franelcisco · 2026-02-01
76.8%
#4695: Fixed the default CLI image to use published GHCR image
by TASMAYU · 2026-01-30
75.7%
#10024: Add Render blueprint for OpenClaw
by nima779 · 2026-02-06
75.3%
#9460: fix(gateway): clean up lock file on service stop
by zenchantlive · 2026-02-05
74.7%
#6235: fix: from source development command
by witcxc · 2026-02-01
74.0%
#8203: fix clawdbot references
by anton-roos · 2026-02-03
73.8%
#10034: Don't crash gateway on transient unhandled fetch failures
by gigq · 2026-02-06
73.6%
#8876: Confirmaciones para equipo de IT
by m4xjunior · 2026-02-04
73.3%
#17916: [ fix ] : correct config directory path during onboarding
by Dijo-404 · 2026-02-16
73.2%