Repository navigation
Conversation
🦋 Changeset detectedLatest commit: 360dffb The changes in this PR will be included in the next version bump. This PR includes changesets to release 16 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Scope checkThis PR changes 825 lines across 9 files. Large PRs are harder to review and more likely to be closed without review. If this scope is intentional, no action needed. A maintainer will review it. If not, please consider splitting this into smaller PRs. See CONTRIBUTING.md for contribution guidelines. |
Deploying with
|
| Status | Name | Latest Commit | Updated (UTC) |
|---|---|---|---|
| ❌ Deployment failed View logs |
emdash-demo-do | 360dffb | Jul 12 2026, 08:13 AM |
Deploying with
|
| Status | Name | Latest Commit | Updated (UTC) |
|---|---|---|---|
| ❌ Deployment failed View logs |
emdash-demo-cache | 360dffb | Jul 12 2026, 08:13 AM |
Deploying with
|
| Status | Name | Latest Commit | Updated (UTC) |
|---|---|---|---|
| ✅ Deployment successful! View logs |
emdash-playground | 360dffb | Jul 12 2026, 08:13 AM |
There was a problem hiding this comment.
This PR implements the right slice of the delegated release plan: configurable WebAuthn user verification (preferred/required/discouraged) plus typed, versioned challenge contexts bound to ceremonies via SHA-256 digests. It fits cleanly into the existing @emdash-cms/auth passkey module, keeps the CMS default at preferred, and requires atomic challenge consumption whenever a context is used — which avoids the replay/TOCTOU issue that would otherwise undercut the feature.
What I checked:
- Read the full diff and every changed file in
packages/auth/src/passkey/. - Traced the context binding/unbinding flow in
challenge-context.ts(canonical serialization, type/version checks, digest verification). - Verified UV wiring into registration/authentication options and enforcement in response verification.
- Checked overloads on
verifyAuthenticationResponseandverifyRegistrationResponse; the existing 3- and 4-argument call signatures remain supported. - Confirmed
AtomicChallengeStoreis only required when a context codec is supplied, and that a non-atomic store still falls back toget/deletefor plain ceremonies. - Searched the tree for consumers; this change is self-contained in
@emdash-cms/auth.
I found no logic bugs, security issues, regressions, or AGENTS.md violations. The changeset is present and correctly scoped to @emdash-cms/auth. Tests cover UV behavior, context round-trips, atomic-store requirements, and context-digest mismatch.
Headline: approve — clean implementation, no blocking findings.
5b8ae32
into
feat/delegated-release-service
What does this PR do?
Implements W3.6 from the delegated release plan. It adds configurable WebAuthn user verification and typed, versioned challenge contexts, with required UV enforced during both registration and authentication verification and atomic challenge consumption for context-bound ceremonies. Existing CMS behavior remains
preferredby default.Part of #1908 and implements the approved protocol in #1870.
Closes: N/A, integration work for #1908.
Type of change
Checklist
pnpm typecheckpassespnpm lintpassespnpm testpasses (or targeted tests for my change)pnpm formathas been runmessages.pochanges except in translation PRs. N/A: no admin UI changes.AI-generated code disclosure
Screenshots / test output
No visual changes.
attwcrashes internally withCannot read properties of undefined (reading 'filename').Try this PR
Open a fresh playground →
A full working EmDash site, deployed from this branch. Each visit gets its own session-scoped sandbox: no login needed and no shared state. Try the admin, edit content, hit the public site.
Tracks
feat/delegated-release-service-12-passkey-uv. Updated automatically when the playground redeploys.