Skip to main content

Cloudflare Session Provider

The Cloudflare session provider is for applications that want edge-native session state near UnifiedMemory recall. It belongs in infrastructure code, not in public agent prompts.

Pattern

  • Keep session handles browser-only.
  • Resolve auth and scoped identity at the edge.
  • Use D1/Vectorize bindings for hot reads.
  • Forward heavy cognition, Courtroom judgment, and backfills to FastAPI.

Safety

Fail closed if the D1 auth store is unavailable unless an explicit break-glass mode is enabled and surfaced as degraded.