Security & privacy architecture.

Built with host-separated sessions, fail-closed workspace permissions, private object encryption, and automatic artifact expiration.

Sessions & Origin

Host-isolated workspaces

Apex pages render with strict script-src 'none' policies. Workspace sessions bind strictly to tenant origins with host-matched Origin validation on every mutation.

Access control

Default-deny roles & scopes

Every action checks both capability permissions and hierarchical scope grants (Read, Write, Export). Role names alone never authorize data access.

Audio privacy

Short-lived encrypted storage

Uploaded and live audio lands in private SSE-AES256 S3 buckets with public access blocked, single-object presigned PUTs, 1-day raw expiration, and 7-day result expiration.

Governance

Revisioned audit log

Policy edits, invitations, group assignments, and record mutations carry optimistic concurrency revisions and append events to /admin/audit.

Operational boundaries & retention guarantees

No customer audio leaves private AWS storage for external model APIs; processing stays inside local ONNX workers.

SurfaceBoundaryRetention / Enforcement
Raw audio inputs
input/ prefix
Private S3 + BucketOwnerEnforced + TLS onlyAuto-expires after 1 day (current, noncurrent, and multipart aborts)
Transcripts & redacted WAV
output/ prefix
Gated by live records.export check per downloadAuto-expires after 7 days; downloadable only via time-limited signed grants
Live Studio audio
/api/audio/realtime/*
16 kHz PCM bounded to <=10 min & <128 KiB/chunkQuarantines pending tail words under live redaction before confirmation
Administration & audit
/admin/*
Explicit AccessManage / TeamManage capabilitiesFormula-safe CSV export and monotonic policy revision numbers