#8290·zeroclaw

[Tracker]: multi-user milestone: per-principal isolation + per-sender authz

Author: singleriderCreated Jun 24, 2026Updated Sep 30, 2026
Labelsenhancementgatewayruntimesecuritypriority:p2status:acceptedstatus:no-stalerisk:high

Current status — 2026-09-28

The foundation and initial principal-owned storage have landed; the program is incomplete. #10248 established canonical identity/grants; #10259, #10263 and #10265 plus #11082 delivered the core enforcement, session and private-memory slices. It is no longer necessary to wait for Stage 2 or to extract the first storage slice from #8672.

The open implementation queue remains #9646/#9746, #9647/#9745 and #5982/#11068, together with the later principal/revocation follow-ups #11126, #11127, #11197 and #11198. #11068 is only the sender-role slice, not proof of complete principal-aware RBAC or memory isolation. Keep the close criteria below unchecked until their full boundaries are verified.


Tracker kind

roadmap / implementation tracker

Purpose

This tracker coordinates the detailed multi-user authorization program: principal-owned session and memory storage, per-sender authorization across users and agents, and the scope-hardening work that builds on those boundaries.

It depends on Stage 2 of #8289: canonical identity and the shared grant resolver defined by #7141. Authentication providers verify credentials into authenticated identities; the shared resolver produces a canonical PrincipalId and effective ZeroClaw grants. This tracker consumes that principal and those grants. It does not ask providers or raw IdP roles to make authorization decisions.

The principal-owned storage work may begin once the canonical identity/resolver contract lands. It does not need to wait for the later OIDC provider and gateway stages in #8289.

Scope and non-goals

In scope:

  • Principal-owned sessions. Every session lookup, approval, attachment, resume, mutation, and deletion agrees on one canonical owner. Unknown, conflicting, and legacy-unowned records fail closed for scoped principals.
  • Principal-owned private memory. Principal ownership is enforced in atomic storage predicates alongside applicable agent, session, namespace, and tenant dimensions. Session checks or post-filtered reads alone are not sufficient.
  • Explicit shared memory. Shared agent memory is visible only when the deployment enables it and the principal has the corresponding grant.
  • Per-sender authorization. Authorization decisions use the resolved principal rather than a client-asserted sender, username, session, or agent identity.
  • Per-sender RBAC. Multi-user deployments map authenticated identities through the shared ZeroClaw permission-profile vocabulary.
  • Scope hardening. High-risk cross-agent and per-agent operations, including model selection and session/channel tools, enforce the same principal and ownership boundaries.
  • Migration and auditability. Existing single-operator records have an explicit migration policy, and administrative cross-principal access remains owned and auditable.

Out of scope:

  • Credential verification, provider selection, OIDC enrollment, native pairing, peer credentials, and gateway login flows. #8289 tracks those authentication stages.
  • Provider-specific authorization vocabularies or direct IdP-role grants. #7141 requires the shared resolver and permission profiles.
  • The runtime tool and command security-decision pipeline in #7142 and operating-system sandbox policy in #6996.
  • Completing every future provider, channel identity, agent-to-agent identity, or policy-administration interface.

Linked work

Dependencies and governing contracts:

  • #7141: accepted and closed governing contract; implementation acceptance remains here
  • #8289: Stage 2 canonical identity/shared resolver and Stage 4 dependency tracking

Current implementation queue:

  • #9646 / #9746: scope session/channel tools and Discord archive search to trusted agent ownership
  • #9647 / #9745: add per-agent attribution and migration policy to the knowledge graph
  • #5982: per-sender RBAC for multi-tenant agent deployments
  • #8672: closed prototype; canonical identity and core session/private-memory slices landed individually and through #11082

Completed groundwork:

  • #8044 / #8690: harden /model --agent scope with per-sender authorization

Routing evidence and next decision

  • Reason to stay open: this issue is the active detailed queue for principal-owned storage, per-sender authorization, and later scope-hardening work.
  • Next decision: land #9646 and #9647 as independent agent-boundary prerequisites. The canonical identity/resolver and initial principal-owned session/private-memory slices are already merged. Complete the remaining issue-level ownership and revocation acceptance against that landed foundation.
  • Dependency boundary: #5982 and broader principal-aware RBAC depend on canonical principal and grant resolution, but #9646 and #9647 address current agent-ownership gaps and can proceed independently.
  • Visible owner and cadence: implementation ownership belongs on each child issue or PR. Refresh this body whenever a child opens, merges, is replaced, or is deferred.

Close criteria

Close when:

  • sessions and private memory enforce canonical principal ownership at their storage boundaries;
  • private and shared memory have distinct, tested visibility rules;
  • session, approval, attachment, resume, deletion, and cross-agent operations fail closed for foreign or unresolved ownership;
  • per-sender authorization and RBAC consume the shared resolver's principal and effective grants rather than provider-specific or client-asserted identity;
  • the current agent and knowledge-graph ownership gaps are closed or explicitly deferred;
  • administrative cross-principal access is explicit and audited; and
  • the required work has landed as independently reviewable and reversible storage and authorization changes.

Later provider implementations, channel or agent-to-agent identity, broader policy administration, and unrelated sandbox work do not block closure unless a later decision explicitly promotes them into this tracker.

Stale-exemption requested?

Yes - this tracker is the active detailed queue for the multi-user authorization program. Revisit the exemption when the program closes, is superseded, or stops representing live implementation state.