[Tracker]: Runtime and gateway delivery - v0.8.6 and v0.9.0
Purpose
This tracker is the source of truth for completing the remaining Phase 2 runtime work in v0.8.6 and Phase 3 gateway separation in v0.9.0 from RFC #5574.
It owns the deliverable map, remaining gaps, sequencing, and release-completion evidence. The v0.8.6 milestone and v0.9.0 milestone provide release assignment views. Existing implementation trackers, especially #8850, retain their detailed work lists; link them here instead of opening duplicate program trackers.
This revises the earlier fixes-only description of v0.8.6 to include the remaining Phase 2 work alongside compatible fixes. v0.9.0 is centered on separating the web surface from the agent core. Existing authentication, principal-isolation, security, and ZeroRelay work must integrate with that boundary.
Evidence and scope
Audit date: 2026-09-18. Source baseline: core master ecc0c30c6b, live issue/PR states, and the official plugin repository.
“Landed” below means the named implementation was merged and/or is present in the inspected source. It does not certify the complete release acceptance scenario. No release-artifact or live-service acceptance test was run for this planning audit. All delivery checkboxes remain open until their acceptance evidence is attached.
Delivery-issue pass: 2026-09-20, checked against core master a7dad4ae5c and the live open-issue inventory. The uncovered work now has 12 focused sub-issues: seven assigned to v0.8.6 and five to v0.9.0. Each has acceptance criteria and links to the relevant existing work. status:accepted records the agreed delivery scope; it does not ratify an unresolved design or approve an implementation. Native blocking relationships record the explicit dependencies between these new issues.
The maintained FND-001, ADR-006, ADR-007, and ADR-009 qualify the older RFC excerpts:
- The accepted plugin execution backend is direct Wasmtime with WIT components. Extism was superseded by ADR-009.
- WATI was retired by #9571 and removed from FND-001's migration target. It is not a remaining channel deliverable.
- A
zeroclaw-gatewaycrate and local daemon RPC already exist. A standalonezeroclaw-gwprocess and its complete supported IPC boundary do not. - The current IPC endpoint is
<data_dir>/daemon.sockon Unix and a data-directory-derived named pipe on Windows. The futurezeroclaw-kernel,ipcfeature, andkernel.socknames in the old text need an explicit mapping to the current implementation; they are not existing components. - This plan does not require deleting all of
zeroclaw-runtimebefore the gateway can be separated.
v0.8.6 runtime
Theme: formalize a clean agent runtime and let users install optional capabilities without rebuilding ZeroClaw.
| Deliverable | Existing work and verified state | Remaining work |
|---|---|---|
| D1: Clean runtime composition boundary | #5559 landed the workspace split; #7430 landed DaemonRegistry. Current daemon/registry.rs registers subsystem starters. The old #5618 issue is closed as not planned, so its state alone is not delivery evidence. |
Define and finish the public runtime/registry composition contract, or record the reviewed equivalent of the RFC sketch. Move concrete provider/tool/channel construction to the owning composition layer. Runtime still depends on zeroclaw-tools and constructs concrete tools. Prove independent runtime use and a thin executable entry point. Delivery: #10993, with existing channel dependency work in #6864. |
| D2: WASM execution bridge | #8368 landed the Wasmtime component host; #10146 activates logical channel instances; #9582 governs tool HTTP egress; #10750 governs channel HTTP egress. ADR-009 owns the accepted backend design. | Complete the supported release-artifact backend/permission/configuration path and its end-to-end proof. #8863 supplies the still-open WebSocket capability needed by Discord and declares #8923 as its prerequisite. The existence of a host adapter does not prove every channel's networking or lifecycle is supported. Delivery: #10994 (supported artifact) and #10999 (Discord acceptance). |
| D3: Registry client and package lifecycle | #8264 landed registry search and install-by-name. Current src/plugin_registry.rs reads the official JSON registry, resolves versions, downloads archives, and checks provided hashes. PluginHost applies the configured manifest signature policy. CLI list/search/install/remove/info/migrate exist. #7333 was closed unmerged; #8264 is the landed implementation. |
plugin update is absent from the current command enum. Define update/rollback and trust/compatibility behavior. Existing open work: #9584 grant ceremony, #10746 install load-verification, #10752 info/list load verdicts (depends on #10746), #10162 incomplete install/config seeding, and #9624 host/registry WIT compatibility. New delivery issues: #10995 (update/rollback) and #10996 (channel-instance configuration/grants). |
| D4: Plugin installation during onboarding | #9009 owns the broader operator onboarding program. Current Quickstart configures agents and channels. | Add an explicit onboarding-to-registry install/configure/activate flow that works from a downloaded binary without Cargo. Delivery: #10997; no implementation PR for the complete flow was found in the audit. Reconcile the original zeroclaw onboard command wording with the maintained CLI/Quickstart interface. |
| D5: Core tools only in the default runtime | #8850 is the existing optional-channel/tool migration tracker. Historical #5617 was closed with a “requirements have shifted” comment; its associated #5566 PR was closed unmerged. | Reconfirm the core tool set and move optional capability construction out of the default runtime. Current all_tools_with_runtime still builds cron, scheduling, Pushover, calculator, weather, canvas, and other tools beyond the RFC list. Delivery: #10998, including the focused composition slice and binary-size proof under #8850. |
Runtime implementation PRs
PR states below were checked on 2026-09-18. Each link identifies the slice it supplies; the phase acceptance criteria still require the complete user-facing outcome.
| Deliverable | PRs to follow | Coverage and missing PRs |
|---|---|---|
| D1: Runtime composition | Merged: PR #5559: workspace split; PR #7430: daemon registry. Open supporting extraction: PR #10557: extract cron into its own crate. | Cron extraction reduces the holding crate, but does not complete the generic runtime composition contract. No open PR completing the full D1 boundary was found. |
| D2: WASM execution and channel support | Merged: PR #8368: Wasmtime component host; PR #10146: activate channel instances; PR #9582: govern tool HTTP egress; PR #10750: govern channel HTTP egress. Open drafts for the Discord transport path: PR #9142: named TLS profiles; PR #8923: TCP and STARTTLS; PR #8863: channel WebSocket capability. | The execution foundations are present. The transport drafts, release backend/configuration choices, compatible Discord package publication, and end-to-end artifact proof remain. |
| D3: Registry and package lifecycle | Merged: PR #8264: registry search and install by name. Open: PR #9584: install/list egress-grant ceremony; PR #10746: load-verify installation; PR #10752: report info/list load verdicts. Merged supporting fix: PR #11107: escape apostrophes in egress remedy commands, preserving the complete grant list as one shell argument. | These cover install usability and verification. No open PR implementing the missing plugin-update/rollback command was found. Channel-only grant seeding is explicitly outside #9584's scope. |
| D4: Install plugins during onboarding | No dedicated open implementation PR found. Existing coordination: #9009 and #8850. | Link the eventual install/configure/activate onboarding PR here; general onboarding changes alone do not meet D4. |
| D5: Minimal core tools | No open PR delivering the complete core-only runtime tool set was found. Existing coordination: #8850; historical #5617. | A focused tool-composition/packaging PR and binary-size evidence are still required. |
Declared prerequisite order:
- PR #10746: install verification precedes PR #10752: load verdicts.
- PR #9142: named TLS profiles precedes PR #8923: TCP/STARTTLS, which precedes PR #8863: WebSocket capability.
- #9142 still cites PR #8857: scoped secrets and encrypted state, which is closed unmerged. Its closure record identifies merged PR #9128: scoped tool secret service and PR #9129: channel config services as the scoped-secrets replacement; the encrypted-state portion was deferred. Its other declared foundation, PR #9137: shared egress policy, is merged. Reconcile that stale prerequisite before treating the transport chain as ready.
These dependency links come from the current PR descriptions and the verified predecessor dispositions. They do not certify that each branch has already incorporated the latest predecessor revision.
Runtime gaps to close
- R1: Runtime API and ownership. #10993; supporting channel dependency cleanup remains in #6864. Finish D1 with explicit injection boundaries, dependency checks, and an independently usable runtime; incorporate the landed
DaemonRegistryinstead of treating it as missing. - R2: Supported plugin distribution. #10994. Select and verify the execution backend for each shipped target and record the loading, grants, signature, and compatibility decisions. The current Cargo default feature set omits the plugin host. #8135 is still an unaccepted RFC with older Extism assumptions; citing it does not approve a default-on policy change.
- R3: Registry update and install completeness. #10995 (update/rollback) and #10996 (channel-instance configuration/grants), alongside existing #10162 (install recovery) and #9624 (compatibility). Finish the relevant #8850 install/verification work and define the missing update/rollback command. Include channel-instance grant/config seeding; #9584 explicitly excludes channel-only grant seeding.
- R4: Install-from-onboarding experience. #10997, coordinated with #9009/#8850. Provide a focused implementation under the existing onboarding/plugin programs and prove the complete user flow without a Rust toolchain.
- R5: Minimal core and size evidence. #10998. Agree the retained core tools, implement the optional-tool boundary, and record binary size for named release targets/profiles in release notes. Reuse #8850; historical issue closure is not proof of this criterion.
- R6: Discord acceptance. #10999. The official plugin repository contains Discord source, but its README requires host WebSocket capability. #8863 is open, that host feature is absent from the inspected master, and the official registry index has no Discord entry. Publish and verify the compatible package and demonstrate install, configuration, inbound delivery, and replies from the supported release binary. Reconcile the original
channel-discordexample with the actual package namediscord.
The RFC core-tool baseline is shell, file_read, file_write, file_edit, git_operations, glob_search, content_search, memory_recall, memory_store, memory_forget, and web_fetch. Any revised set needs a recorded rationale before D5 is marked complete.
Runtime acceptance: an independently usable runtime with the agreed dependency boundary; a real Rust/WIT tool plugin executing under the shipped host; Discord plugin installation and operation without recompilation; onboarding that installs plugins without Cargo; and published size measurements for the supported runtime artifact. A component unit test or a source directory alone does not establish these product outcomes.
v0.9.0 gateway
Theme: make the web surface a separate, optional process that can be omitted or restarted without interrupting healthy agent execution.
| Deliverable | Existing work and verified state | Remaining work |
|---|---|---|
| D1: Agreed kernel IPC contract | RPC socket documentation, zeroclaw-api/src/jsonrpc.rs, and the runtime RPC code define an existing NDJSON/JSON-RPC transport. The gateway also generates a partial OpenAPI 3.1 document in openapi.rs. #9133 recorded ADR-007; #8691 remains its decision-record home. |
Agree the complete core-to-gateway contract for messages/streams, sessions, installed plugins, status, memory, and cron, including identity, permissions, version negotiation, cancellation, errors, reconnect, and lifecycle. Explicitly resolve how the requested OpenAPI 3.1 specification relates to existing non-HTTP JSON-RPC and the no-HTTP-server-in-core success criterion. Design delivery: #11000, with the review and decision linked through #8691/ADR-007 before dependent implementation. |
| D2: Supported local IPC server | rpc/local.rs already implements Unix sockets and Windows named pipes. Existing session/turn methods and protocol initialization are useful foundations. #8289/#7141 and open #10259 supply related principal/authentication work. |
Complete the D1 method and lifecycle coverage for an external gateway; record the core owner/feature/endpoint mapping; prove isolation, authentication, version mismatch, cancellation, and reconnection on supported platforms. Existing local transport is partial delivery, not a reason to write a second server. Delivery: #11001, after #11000's contract review. |
| D3: Standalone zeroclaw-gw | zeroclaw-gateway already exists. ADR-007 describes the intended process boundary. Its current manifest still directly depends on zeroclaw-runtime and zeroclaw-channels; the daemon starts it through an in-process registry callback. PR #11041 supplies the dashboard/OpenAPI Nix package and NixOS module wiring as a packaging slice; it does not provide the standalone gateway process or IPC boundary. |
Build and ship the standalone executable as an IPC client, move web assets and the HTTP server into its release artifact, replace process-local runtime access, and prove operation/restart/removal independently of the core. Delivery: #11002; no existing PR completing this extraction was found in the audit. |
| D4: Channel-owned webhook behavior | #8862 and #8949 are merged; generic plugin ingress and typed challenge replies are in current source. #8850 owns plugin migration. #8586 owns a narrower webhook-dispatch cleanup and explicitly does not implement the plugin migration. | Finish WhatsApp Cloud, Linq, Nextcloud Talk, and Gmail migrations with vendor-owned parsing/authentication, challenge replies, media, and delivery parity. Carry plugin route registration and dispatch across IPC: today's gateway receives an in-process Arc<PluginWebhookRegistry>. WATI is excluded because it was removed. Cross-process delivery: #11003; #8850 retains vendor migration ownership. |
| D5: Tauri starts both processes | #8708 and #9032 are merged, providing earlier sidecar packaging and dashboard embedding work. Current desktop code supervises the existing daemon/gateway product. | Package and supervise the separate core and zeroclaw-gw executables: startup ordering, readiness, authentication, compatible versions, gateway restart, coordinated shutdown, and upgrades. Delivery: #11004, after #11002; no implementation PR for the final two-process arrangement was found in the audit. |
Gateway implementation PRs
| Deliverable | PRs to follow | Coverage and missing PRs |
|---|---|---|
| D1: IPC contract | Merged design record: PR #9133: record gateway process and channel-plugin targets. | No open PR completing the full gateway IPC contract was found. The remaining design belongs with #8691 and ADR-007. |
| D2: Local IPC parity and authority | Open: PR #10259: authenticated RPC principals. Open draft: PR #10274: gateway route-layer principal consumption. | These are supporting authentication slices. No single PR completing gateway IPC method/lifecycle parity was found. The existing socket/pipe server is already present. |
| D3: Standalone gateway | No standalone zeroclaw-gw extraction PR found. Supporting viewer-lifetime work: PR #10538: preserve a turn after WebSocket disconnect and PR #9002: gateway session lifecycle and reconnect, both open. |
The two viewer-lifetime PRs overlap and need scope reconciliation. Neither implements the separate executable, removes direct runtime dependencies, or proves gateway-process fault isolation. |
| D4: Channel webhooks across IPC | Merged: PR #8862: generic plugin webhook ingress; PR #8949: typed plugin challenge replies. | No verified open PR completing the required vendor migrations and cross-process webhook registration/dispatch was found. Continue through #8850; #8586 remains a narrower dispatch-cleanup issue. |
| D5: Two-process desktop | Merged predecessors: [PR #8708: desktop sidecar packaging](https://github.com/zeroclaw-labs/zeroclaw/pull/87 |
Source: zeroclaw-labs/zeroclaw