#11002·zeroclaw

[Feature]: Ship zeroclaw-gw as a standalone IPC client

Author: JordanTheJetCreated Sep 20, 2026Updated Sep 30, 2026
Labelsenhancementgatewaydomain:architecturestatus:blockedstatus:acceptedrisk:hightype:refactorrelease:v0.9.0

Summary

Complete #7432 G3 / Phase 3 D3 by shipping the web dashboard and HTTP gateway as an optional separate process.

Problem statement

The gateway crate already exists, but directly depends on runtime/channels and starts through an in-process daemon callback. That does not let a headless core omit web assets or isolate agent execution from gateway restarts.

Proposed solution

Add the zeroclaw-gw executable and release artifact using #11000 and #11001. Move web asset embedding and server composition into the gateway artifact and replace process-local runtime access with IPC calls.

Non-goals / out of scope

Deleting or renaming the entire runtime crate; Tauri supervision; vendor-specific webhook migration; treating viewer-disconnect fixes as proof of process isolation.

Alternatives considered

Reuse the existing implementation and extend its missing boundary; a parallel subsystem would create another source of truth.

Acceptance criteria

  • Build and distribute a standalone zeroclaw-gw that connects to the supported core endpoint and serves a working dashboard.
  • The core release artifact contains no web assets or HTTP server implementation; attach build-feature/dependency evidence and artifact inspection results.
  • The gateway client boundary has no direct runtime/channel implementation coupling or shared-memory registry requirements; domain operations go through the reviewed IPC API.
  • Stopping, restarting, or removing the gateway leaves healthy agent execution and supported non-web channel operation intact; webhook ingress availability is reported accurately while its HTTP process is absent.
  • Version mismatch, unavailable core, endpoint configuration, and reconnect behavior have actionable diagnostics and integration coverage.
  • Document command/configuration migration, separate installation, and rollback before retiring the in-process gateway entry point; link evidence to #7432 G3.

Architecture impact

Gateway binary/crate, application composition, assets, release packaging, and IPC client. Coordinate webhook IPC work and reconcile overlapping viewer-lifetime PRs #10538/#9002.

Risk and rollback

Process separation changes deployment and failure behavior. Preserve a documented compatible migration path, test process-kill scenarios, and retain rollback artifacts. Any intentional command/config break must be reviewed and release-held.

Expected routing

Should attach to an existing roadmap/tracker issue

Next decision surface

#7432 G3, v0.9.0. Depends on reviewed #11000 and implemented #11001; prepare extraction only against that agreed boundary.

Breaking change?

No

Data hygiene checks

  • I removed personal/sensitive data from examples, payloads, and logs.
  • I used neutral, project-focused wording and placeholders.