Repository navigation
fix(gateway): honor external status target context - #119015
fuller-stack-dev merged 2 commits into
Conversation
|
Codex review: stale review; fresh review needed. Summary Next step |
|
Merged via squash.
|
|
Landed proof for exact prepared head
Known proof limitation: a safe temporary macOS HOME is intentionally classified as a non-default install identity, so compiled black-box validation cannot impersonate the real account-default identity without touching live user service/config paths. Exact-head focused tests cover managed/default and standalone negative controls. All six landed file blobs exactly match the prepared head. No review threads required replies. The latest visible ClawSweeper comment was stale and contained no |
* commit '25e3b6c9b79dadb912195d86fbff968602d58798': (54 commits) fix(cli): honor local port in gateway call (#119046) fix(gateway): honor external status target context (#119015) test(qa): cover agent session streaming (#119028) test(qa): cover sandbox workspace isolation (#119038) test(qa): cover progress followthrough evidence (#119039) fix(auth): cooldown inline api key billing failures (#88709) chore(gateway): cover update and setup RPCs test(qa): prove ClawHub catalog discovery (#118934) chore(qa): cover plugin testing harness contracts (#118933) test(xai): cover playback mark overflow fix(xai): bound realtime playback marks test(qa): prove failure recovery visibility (#119034) test(qa): cover direct tool invocation (#119025) test(qa): close external app SDK proof gaps (#118978) test(qa): prove container health endpoints (#119012) test(qa): claim sessionless heartbeat coverage (#119027) fix(gateway): keep plugin model allowlists static (#118854) fix(plugins): refresh bundled channel skills (#119020) test(qa): cover ClawHub package compatibility (#118985) test(qa): cover agent session reconnect dedupe (#119013) ...
* fix(gateway): preserve external status target context * fix(gateway): keep status service authority scoped
What Problem This Solves
openclaw gateway statuscould retarget a non-default or externally supervised invocation to an unrelated host-native gateway service. For OCM environments, that meant a selected environment on one configured port could be diagnosed through legacy service metadata on port 18789.Why This Change Was Made
Status gathering now uses native-service command and environment metadata for probe targeting only when the active process owns that native-service identity and is not externally supervised. The service remains visible in diagnostic output, but it cannot override the active environment's config, auth, TLS, port, or restart-health context.
The resulting precedence is:
--urlUser Impact
OCM and other externally supervised or relocated OpenClaw environments diagnose their selected gateway instead of a coexisting legacy/default service. Ordinary standalone and profile-native service diagnostics retain their existing behavior.
Evidence
ws://127.0.0.1:18789.node scripts/run-vitest.mjs src/cli/daemon-cli/status.gather.test.ts(41 passed).node scripts/run-tsgo.mjs -b tsconfig.projects.json(passed).