docs/adrs/0003-authentication-authorization-model.md
plans/desktop-mobile-web-unification.mdA multi-platform Dyad requires remote privileged execution. This introduces security requirements not present in desktop-only local mode:
Adopt an identity-first model using OIDC authentication, workspace RBAC authorization, and policy-gated privileged operations.
Base roles:
owneradmineditorviewerPermissions are evaluated against:
In addition to RBAC, high-risk operations require policy checks:
Policy outcomes:
Every privileged operation must log:
Audit logs must be immutable and queryable for incident response.
Rejected due to poor revocation, weak identity semantics, and high leakage risk.
Rejected because role permissions alone are too coarse for high-risk operations.
Rejected because it increases exposure and complicates cross-device continuity.