Repository navigation
RFC 0027: OpenClaw as the Open Enterprise Agent Platform - #35
Conversation
|
Codex review: needs real behavior proof before merge. Reviewed August 1, 2026, 2:13 AM ET / 06:13 UTC. ClawSweeper reviewWhat this changesThis PR adds a draft RFC for a Kubernetes-based, multi-tenant OpenClaw Enterprise control plane that manages isolated gateways, agent workloads, authorization, integrations, secrets, and audit boundaries. Merge readinessThis is still a live draft RFC, not an implemented or superseded change. It should remain open for a maintainer product-direction decision; the proposal needs explicit rationale and unresolved-question sections before it is acceptance-ready. Priority: P3 Review scores
Verification
How this fits togetherThe proposed Enterprise layer sits above the existing OpenClaw gateway. It would admit tenant-scoped requests, reconcile isolated namespace gateways and agent workloads, and coordinate policy, identity, secret, integration, and audit boundaries with Kubernetes and external systems. flowchart TD
A[Enterprise administrator] --> B[OpenClaw Controller]
C[Authenticated tenant request] --> D[Access gateway]
D --> B
B --> E[Authorization and policy]
B --> F[Namespace OpenClaw gateway]
F --> G[Agent workload]
B --> H[Kubernetes and external integrations]
E --> I[Audit evidence]
Decision needed
Why: The proposal adds a large product and ownership surface whose split between Kubernetes-native infrastructure, OpenClaw core, and later RFCs cannot be resolved by a mechanical document review. Before merge
Findings
Agent review detailsSecurityNone. Review metrics
Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Have a maintainer sponsor or defer the Enterprise control-plane direction, then revise the draft to compare Kubernetes-native and custom-resource boundaries and to record the remaining tenancy, authorization, security, and operational questions before acceptance. Do we have a high-confidence way to reproduce the issue? Not applicable: this PR proposes a new platform direction rather than reporting an existing behavior failure. The reviewable evidence is the RFC content, lifecycle metadata, and repository policy. Is this the best way to solve the issue? No: accepting the current document would skip the key Kubernetes-native versus custom-controller tradeoff and leave material platform questions unstructured; a sponsored, narrowed RFC revision is the safer path. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against cf89a2bd089a. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (9 earlier review cycles; latest 8 shown)
|
|
Thanks for putting this together — the agent lifecycle model (Agent → AgentRevision → AgentInstance → Cell) with immutable revision snapshots is genuinely novel and addresses a real gap that Kubernetes doesn't cover natively. The plugin action authorization with risk classification is also strong, and the fail-closed posture throughout is solid work. My general instinct with platform work on Kubernetes is to start with native primitives and only introduce custom abstractions when I hit a wall or find myself building complex workarounds. Not because it's always right, but because each custom layer carries ongoing maintenance and security cost that's easy to underestimate early on. Reading this, I kept asking myself: what would break if Configuration were just a ConfigMap? If WorkloadIdentity were a ServiceAccount with annotations? If Restrictions were Gatekeeper constraints? Some of those might have answers I'm not seeing — genuinely curious which ones you ran into limits on. One pattern I'd love to see preserved is the idea of an OpenClaw Controller as a CRD + operator. A Claw CRD that captures agent config, credentials, network policy, and persona — reconciled by a standard controller-runtime operator — would give you GitOps deployment via Argo CD, native RBAC, watch/informer infrastructure, and garbage collection for free, while still letting you model the agent-specific lifecycle (revisions, instances, cells) as the genuinely custom part. Could we scope the custom abstractions to the agent-domain concepts that Kubernetes truly can't express, and lean on native primitives for the infrastructure plumbing? |
@pavelanni thanks for the initial comments - the rfc wasn't ready for review yet. i've removed most of the details and unnecessary abstractions. it's now good to review in terms of using k8 primitives - i'm completely for it. we would be using configmap for this and service account for workload identities. restrictions encompass also sandbox restrictions and is occ specific so we wouldn't be able to just rely on k8 |
Initial RFC for OpenClaw Enterprise.