Make your computer a home for your AI partner. Avibe is the local-first Agent OS: Vibey, its built-in AI partner, works out of the box, and Claude Code, Codex & OpenCode run unchanged beside it — reach them from your browser, phone, or any chat app.
Python agentagent-osaiai-agentsai-partnerchatopsclaudeclaude-codecodexdevtoolsdiscord-botlark-botllmlocal-firstlong-term-memoryopencodeslack-botvibe-codingvibeywechat
docs(acl): describe organization resource enforcement
Maxvinte1d5ba1c539f
diff --git a/docs/plans/resource-acl-sync.md b/docs/plans/resource-acl-sync.mdindex 9f121e3cf..c9a40a3f1 100644--- a/docs/plans/resource-acl-sync.md+++ b/docs/plans/resource-acl-sync.md@@ -1,4 +1,4 @@-# Resource ACL Sync Foundation+# Organization Resource ACL## Background@@ -8,9 +8,10 @@ projection that can be updated only by versioned control-plane intents.## Goal-Add the SQLite policy state, signed-session organization context, and paired-device sync needed by later resource-specific enforcement work. This change-does not add enforcement to agents, vaults, skills, or Show Pages.+Keep resource content local while enforcing organization-managed access for+Agents, Vault secrets, Skills, and Show Pages. The hosted control plane owns+desired ACL policy; the paired local runtime stores and enforces a transactional+projection of that policy.## Design@@ -24,10 +25,48 @@ does not add enforcement to agents, vaults, skills, or Show Pages.SQLite transaction, then acknowledge that exact revision.- Do not mutate an organization policy through a local standalone revision.The hosted organization resource API remains the writer of desired intents.+- Treat a missing policy as local-private. Trusted local callers and the signed+ instance owner retain access to legacy resources; other remote callers fail+ closed.+- Register resources created by an active organization member as private and+ owned by that member. External instance guests cannot create organization+ resources.++## Authorization model++- `private`: only the resource owner can use the resource.+- `public`: any active member of the resource's organization can use it.+- `scope`: active organization members can use it when at least one signed+ group claim matches a policy group binding.+- Resource owners and organization owners/admins can manage an existing+ resource. Public or scoped use does not imply management access.+- Trusted local requests bypass organization ACLs. Remote identity, instance+ role, organization membership, and group claims must come from the validated+ OIDC exchange and signed local session cookie.++## Enforcement++- Agents: filter listing and lookup, gate use, and require management access+ for update/removal.+- Vault secrets: filter metadata, gate secret use and request creation, and+ require management access for metadata, rotation, pin, and deletion changes.+- Skills: filter backend-specific global/project resources, gate updates and+ removals, and register remotely created Skills.+- Show Pages: filter listing and lookup, gate session access, and require+ management access for visibility, share, icon, and archive mutations. Public+ share URLs remain governed by Show Page visibility rather than organization+ ACL.++Instance-wide endpoint roles and project ownership are separate authorization+layers. They are intentionally not derived from organization resource ACL and+are tracked in avibe-bot/avibe#981 and avibe-bot/avibe#982.## Verification- Unit test private, public, scoped, and missing-group policy evaluation.- Unit test newer-only intent application, exact ACK behavior, and offlineretention of the prior local policy.+- Unit test list filtering, use checks, management checks, private policy+ registration, and fail-closed request context resolution for every resource+ kind.- Run the repository's unit, static syntax, and lint commands before commit.