Lens / Scrolloop Sentry

Engineering decisions

Decision

Schema per tenant (ADR-0001)

Proposed

Decision

Global owner modules for stateful services (ADR-0002)

Proposed

Decision

Cookie-only access tokens (ADR-0003)

Proposed

Decision

Per-tenant signing keys with scheduled rotation (ADR-0004)

Proposed

Decision

No foreign keys from tenant schemas to public.tenants (ADR-0005)

Proposed

Decision

Per-tenant CORS origins (ADR-0006)

Proposed

Decision

One-time link tokens and number-matched magic links (ADR-0007)

Proposed

Decision

PKCE: S256 only, explicit, mandatory for public clients

Proposed

Decision

Tenant-aware background jobs (TenantJobRunner)

Proposed

Decision

Mail through a queue, events after commit

Proposed

Decision

LDAP: checked egress and a deactivation safety valve

Proposed

Decision

The SDK and portal never fake a missing contract

Proposed