# OneOrq security architecture white paper

## Trust boundaries

The architecture separates the agent runtime from provider credentials. Scoped executors are responsible for provider API calls. Provider data remains authoritative, and personal mailbox access and privileged tenant operations have distinct boundaries.

## Lifecycle of a change

The policy gateway validates the proposal and determines whether approval is needed. When required, approval identifies the exact effect. The executor rechecks state and scope, and records the result for verification and reconciliation.

## Failure handling and verification
An enrolment may create an account before licence assignment fails. The design calls for an execution journal so a retry can distinguish completed effects from pending ones. Verification compares provider state with expected outcomes, and reconciliation handles unresolved differences.

## Evaluation criteria
Test isolation between tenants and personal mailboxes. Confirm proposals read from external content cannot grant authority. Verify approval cannot be reused after a material change or expiry, and that logs identify the outcome without storing unnecessary message content. These are architecture criteria; deployment evidence should be assessed independently.
