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
version: 1
capability: current_instance_permissions
observations:
- id: OBS-PERMISSIONS-001
source: issue_contract
related_scenarios:
- PERMISSIONS-001
- PERMISSIONS-002
- PERMISSIONS-003
- PERMISSIONS-009
summary: Permissions authority is the existing Avibe session plus the paired exact-instance credential, not a second Cloud user session.
previous_assumption: Embedded Organization management needed a browser-held Management OAuth grant.
observed_behavior: Backend now accepts a device-secret capability bound to exactly one instance and independently enforces policy authority.
required_updates:
- never accept target instance or Organization identifiers from the browser
- require owner or can_manage_instance before paired mutations
- remove Management OAuth cookies callbacks and proxy routes
- id: OBS-PERMISSIONS-002
source: issue_contract
related_scenarios:
- PERMISSIONS-005
- PERMISSIONS-006
- PERMISSIONS-007
- PERMISSIONS-008
summary: Authority connectivity convergence and conflict are separate user-visible states.
previous_assumption: A failed Cloud request could collapse to one generic empty or login-required state.
observed_behavior: Cloud-owned policy is readable, offline uses last-known exact-instance data, applying waits for acknowledgement, and conflict retains the draft for explicit retry.
required_updates:
- cache only sanitized successful projections bound to the paired instance
- never mask credential or authorization failures with cached policy
- keep revisions explicit on every mutation
- id: OBS-PERMISSIONS-003
source: issue_contract
related_scenarios:
- PERMISSIONS-011
- PERMISSIONS-012
summary: Resource ACL is bound to the exact-current-instance credential and covers agent / vault_secret / skill only; Show Page sharing is the local single-axis /p model with no Resource ACL row.
previous_assumption: Show Page Workspace access was a show_page Resource ACL kind that the access panel could derive Organization ownership for from a browser claim.
observed_behavior: The local service resolves pairing ownership, proxies canonical Resource ACL reads and writes for the remaining kinds, preserves stale drafts on revision conflict, and rejects the retired show_page kind before Backend contact.
required_updates:
- bind every Resource ACL request to the paired instance and strip the browser match field before Backend contact
- keep Show Page link visibility and Limited-email grants as a separate local policy dimension with no show_page Resource ACL
- reject the retired show_page resource kind as invalid_request without any Backend contact
- id: OBS-PERMISSIONS-004
source: approved_owner_contract
related_scenarios:
- PERMISSIONS-014
- PERMISSIONS-015
- PERMISSIONS-016
- PERMISSIONS-017
- PERMISSIONS-018
- PERMISSIONS-019
summary: Member manages and operates the current instance without becoming Owner or rewriting stored ACLs.
previous_assumption: Organization Member management could coexist with hidden Agents Projects and standalone sessions.
observed_behavior: Management and use conflicted at resource and runtime consumers; management SSE was also dropped after its role gate.
required_updates:
- use existing management capabilities for operation scope and keep access administration separate
- retain Editor and Viewer restrictions and true signed principal identity
- preserve shared inbox read markers and existing Show publication policy
- validate actual signed HTTP storage and SSE consumers rather than capability predicates alone
- give every instance-scoped signal the role gate admits an actual page consumer, so a bare refetch frame wakes the view it was admitted for instead of being delivered to nobody
- include released Member deferred snapshots in binding migration without reopening unattributed or later work
- serialize migration provenance reads row decisions and marker seal with the existing SQLite writer reservation
- id: OBS-PERMISSIONS-005
source: approved_owner_contract
related_scenarios:
- PERMISSIONS-020
- PERMISSIONS-021
- PERMISSIONS-022
- PERMISSIONS-023
- PERMISSIONS-024
- PERMISSIONS-026
- PERMISSIONS-027
- PERMISSIONS-028
summary: Ordinary product operations need the initiating user, not the machine that happens to run them.
previous_assumption: Role enforcement at the HTTP surface was enough because everything below it acted for the local Owner.
observed_behavior: A remote caller's Agent turn reached CLI commands, raw operations and deferred rows that all resolved to standalone Owner, so a role refused in the browser succeeded through the same person's Agent.
required_updates:
- resolve one invocation-scoped authority at the CLI entry point and pass it to guards that already exist
- classify every parser leaf with a role floor whose default is deny, and refuse before any effect is written
- treat an unusable remote provenance as anonymous remote rather than falling back to local Owner
- record the initiating authority on deferred rows at the producer and read it back at the consumer
- admit the effective target before producing deferred work, so a refusal costs no Run definition or Session row rather than surfacing at dispatch where nobody is waiting
- let the edit decide which target is effective, so a definition that replaces its Session is admitted for the destination it chooses and never for the one it abandons
- read the follow-the-Session marker from the edit's final session policy, and resolve and admit the Agent every future fire will select before work becomes per-run
- treat a target whose Session has not been opened yet as the placement it is rather than as no target, without giving a blank or unusable target any authorization meaning
- keep saved automation control on the authority the definition already carries instead of restamping it to whoever pressed run or pause
- keep every outward projection of a deferred row free of the recorded authority
- keep a genuinely local invocation byte-for-byte unchanged so standalone administration is unaffected
- separate use from management on the surfaces that mix them, without turning Member-tier controls into Editor ones
known_by_design:
- historical rows written before this change carry no authority snapshot; they stay unattributed rather than being backfilled or inferred (UNPROVEN)
- host screenshot and prompt-template export remain host-scoped operations
- terminal, filesystem, shell and SQL sandboxing is a separate boundary and is out of this class