Skip to content

Make admission alerts precede authority - #188

Merged
ael-dev3 merged 1 commit into
mainfrom
codex/notification-before-admission
Aug 4, 2026
Merged

Make admission alerts precede authority#188
ael-dev3 merged 1 commit into
mainfrom
codex/notification-before-admission

Conversation

@ael-dev3

@ael-dev3 ael-dev3 commented Aug 3, 2026

Copy link
Copy Markdown
Owner

What changed

  • fixes Cloudflare notification delivery by using manual redirect handling with fail-closed status classification
  • stages an idempotent alert against the exact pending access-request generation
  • requires Farcaster provider acceptance before Hermes mutates admission for opted-in players
  • validates founder eligibility, credentials, Realm graph state, and resource state before the notification gate
  • preserves rollback-compatible consent storage and self-heals mixed-version delivery state
  • tombstones replaced tokens and adds privacy-safe delivery diagnostics
  • recognizes both pending-request and legacy epoch notification launches in the Mini App

Why

The prior Worker used a redirect mode that Cloudflare rejected before issuing the provider subrequest. Admission could therefore become visible while its notification remained in transport retry. This change fixes that transport boundary and changes normal admission ordering so provider handoff is established first.

Farcaster provider acceptance is evidence of handoff, not proof that a device displayed or opened the notification. The pre-admission copy therefore says that Realm access is being finalized.

Validation

  • full repository check: 2,996 tests, TypeScript, production build, asset/provenance checks, Mini App verification
  • auth bridge: 308 unit tests, 12 Workerd tests, both TypeScript checks
  • focused operator/Mini App suites: 104 tests
  • clean diff validation

@ael-dev3
ael-dev3 force-pushed the codex/notification-before-admission branch from 9a982df to 2287358 Compare August 3, 2026 23:51
@ael-dev3
ael-dev3 merged commit f496563 into main Aug 4, 2026
5 checks passed
@ael-dev3
ael-dev3 deleted the codex/notification-before-admission branch August 4, 2026 00:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant