#6512: Claude/setup open claw agent f v sqk
gateway
docker
Cluster:
Security Enhancements and Fixes
<!-- greptile_comment -->
<h2>Greptile Overview</h2>
<h3>Greptile Summary</h3>
This PR adjusts container startup to run the gateway in a platform-friendly way (binding and allowing unconfigured runs) and adds a simple HTTP health check endpoint (`/health` and `/healthz`) in the gateway HTTP server.
The changes touch runtime entrypoints (Docker CMD) and request routing in `createGatewayHttpServer`, which sits in front of hooks/tools/slack/openai/control UI handlers and is an appropriate place to add a lightweight health probe.
<h3>Confidence Score: 3/5</h3>
- This PR is probably safe to merge, but has a couple deployment-critical edge cases around port/bind behavior and health check matching.
- Changes are small and localized, but Docker CMD behavior is easy to get subtly wrong on PaaS (platform port wiring and bind interface), and the health endpoint currently misses common URL variants (query strings/trailing slash).
- Dockerfile, src/gateway/server-http.ts
<!-- greptile_other_comments_section -->
<sub>(3/5) Reply to the agent's comments like "Can you suggest a fix for this @greptileai?" or ask follow-up questions!</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
#7892: Claude/setup agent firewall ww xsv
by starwreckntx · 2026-02-03
83.7%
#4695: Fixed the default CLI image to use published GHCR image
by TASMAYU · 2026-01-30
83.2%
#15852: fix: pass agentId when resolving IRC session paths
by MisterGuy420 · 2026-02-14
80.5%
#10676: Claude/authorize external access lbcnb
by zacharyjleach-stack · 2026-02-06
79.9%
#13539: Claude/update dockerfile cmd 1 te te
by federiconicolasvozza-oss · 2026-02-10
79.9%
#9190: feat(docker): Add autonomous container self-restart and runtime pac...
by alexdredmon · 2026-02-05
79.5%
#14871: Claude/audit codebase architecture 8a ql2
by MagnoliaLex · 2026-02-12
79.1%
#12599: Fix gateway bind
by WeiKuo06 · 2026-02-09
78.8%
#8713: feat: gateway memory monitor, install linger, docs and failover
by quratus · 2026-02-04
78.6%
#13792: Claude/openclaw token efficiency q ni2s
by imecostalima · 2026-02-11
78.1%