Repository navigation
feat(custom): run approved harnesses through common Sandbox - #354
Merged
Merged
Conversation
Reuse the common executor for governed Custom creation, retained lifecycle, typed Gateway and network controls, private Chat and isolated terminal access. Preserve image entrypoints and non-root identities while retaining existing managed and non-Sandbox behavior.\n\nInclude generated policy schemas, Portal wiring, static probe packaging and offline regression coverage. Keep unsupported identity, mTLS and desktop combinations fail-closed and document the live qualification boundary. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Retain Custom ingress and terminal contracts alongside native identity pinning and expectation validation. Update the Entra renderer tests for the shared validation signature and preserve fail-closed handling of unsupported Custom Entra projection. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Yield to the Node scheduler within act before arming the window access trap. Preserve the stale-dispatch negative control and late Chat completion assertions without retries or a longer timeout. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This was referenced Oct 29, 2026
This was referenced Oct 29, 2026
7 of 8 tasks
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
Run approved Custom harnesses through the existing common Sandbox executor on Kata and the ordinary-container backend, without introducing another lifecycle engine or treating a Custom image as a managed harness.
Related issue
Reuses the Custom-specific implementation from #350 as an independently reviewable change. It does not import mandatory governance for every Agent, removal of existing ungoverned paths, or running Team changes. #350 and #353 are unchanged.
Based on main
c5f0eb827, retaining the newly merged credential-policy and OpenClaw startup fixes from #346 and #352.Validation
Offline checks use Go 1.27.3, controller-gen v0.21.0, Helm 3.22.1, local Kubernetes/envtest 1.37.0 and Hugo 0.164.0 extended. Dependencies were restored from pinned local caches; no live cluster or identity-provider access was used.
The initial unfiltered controller race run exceeded its aggregate 20-minute package limit while an existing migration case was running; it did not report an assertion failure before the limit. The full ordinary unit gate passed. No runtime/lifecycle deadline or repository test budget was increased.
Compatibility and operational impact
Custom remains opt-in: the Team must permit
custom, the common executor and backend must be registered, and the image digest must be approved and Gateway-qualified. HTTP probing and terminal access require a pinned platform terminal image. The terminal has independent network/RBAC authority and receives no Agent HOME or model credential. Portal addsget-only Cilium access and namespaced execution-ConfigMap access, not Secret access.The current common Custom path explicitly rejects desktop, ingress mTLS and Agent Identity/Connections execution. Scoped Kubernetes and Entra/FQDN integration require their separately delivered adapters and qualification. This PR is not a claim that the complete live Custom acceptance matrix or identity-provider qualification is finished.
Deploy matching Operator/admission, runtime chart and Portal artifacts. Existing managed harness behavior and the non-Sandbox Custom path are preserved. The Portal module records already-pinned indirect dependencies exposed by its local Operator dependency; no dependency versions are upgraded.
Checklist