Repository navigation
Restore reviewed capabilities under MXC containment - #235
Merged
Merged
Conversation
Keep remembered MXC startup on one locked Gateway generation, gate the bundled node on authenticated RPC readiness, and hot-promote the exact agent policy with verified rollback. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Reject DACL-only isolation, pin and revalidate the MXC runtime at launch, and disable per-command DACL fallback so approved folder roots remain a hard filesystem boundary. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Keep the pinned launcher identity and expiring readiness proof valid through process creation. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Attest the pinned MXC build contract, preserve backend probe facts, and block enablement, startup, and folder-policy transitions before launching a node when no exact backend is available. Surface host-specific remediation while keeping DACL containment rejected. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Gate every explicit MXC enable and Full/Limited switch behind a localized capability disclosure before preflight or lifecycle side effects. Preserve the Limited DACL acknowledgement and lock disclosure content to reviewed policy invariants. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Build promotion fixtures through the production policy transformer so they remain aligned with the current OpenClaw policy schema. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Require an explicit sender identity for MXC WeChat ingress and reject agent-controlled remote media before host network access while preserving local brokered media and non-MXC compatibility. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Integrates the reviewed MXC capability stack onto the latest
mainand adapts its fail-closed compatibility layer to OpenClaw 2026.10.2.The change adds explicit Off, Full, and Limited (DACL) modes, compact containment controls, capability-disclosure consent, lifecycle attestation, and transition hardening. Upstream local-model and provider-selection behavior is preserved.
Containment modes
Capability release fails closed when policy generation, host preparation, readiness proof, attestation, pinned OpenClaw compatibility, or transition checks fail.
OpenClaw 2026.10.2 compatibility
The guarded compatibility layer is pinned to the exact OpenClaw 2026.10.2 Web, Cron, Hooks, and Canvas generated modules and hashes.
The integration adapts to the current 2026.10.2 APIs and implementation structure, including:
deferAgentWork{ node, result }Restored capabilities
internetClientcapability. This does not claim access to every LAN or private-network destination.Paused and restored capabilities
Intentionally disabled capabilities
The excluded remote-approval experiment is not present: there is no phone/plain-text approval flow, approval pipe/token contract, plugin interceptor, audit path, or unavailable Settings card. WeChat-triggered execution decisions remain local-desktop-only.
Security invariants
Explicit exclusions
The following remote WeChat approval experiment commits are intentionally excluded:
dbbc56bd135087ac5ea36dc2aafea5778967502e77fccd34b570d9a2790373246dd36071829bcf10cf2f3ce7aae064cb0633ce693c937b30c75bd396fa2231aa7bdd2602f30026f0e9803c6f8cc400bdAll four are non-ancestors of this integration and none is patch-equivalent to a commit in this branch. Searches confirmed the absence of the experiment's remote-approval runtime/test files, server/interceptor, pipe and token names, environment contract, Settings keys and copy, plugin prompt contract, and audit implementation. The historical design document already present on
mainis unchanged by this branch.Validation
microclaw-portable.zip— 307.01 MBMicroClawInstaller.zip— 331.36 MBMicroClawSetup.exe— 327.33 MBgit diff --checkchecks: cleanThe full desktop lint command retains two unrelated errors already present unchanged on
origin/main: the control-character regular expression inchat-attachments.tsand an unused helper inopenclaw-upgrade-recovery.ts.Known environmental limitations
Compress-Archiveexhausted memory while creating the large release ZIP on this machine. The final validation reran the same release pipeline withtar.exe -afor archive creation only; all seven stages and final artifacts completed successfully.