Skip to content

enforce v3 verification levels and add health - #235

Draft
soamdesai-tfh wants to merge 14 commits into
mainfrom
codex/v3-enforcement-health-pr
Draft

enforce v3 verification levels and add health#235
soamdesai-tfh wants to merge 14 commits into
mainfrom
codex/v3-enforcement-health-pr

Conversation

@soamdesai-tfh

Copy link
Copy Markdown

Summary

  • Enforce the requested v3 verification_level instead of silently defaulting to Orb.
  • Require a real inclusion proof for the presented credential and keep dummy proofs limited to the explicit invalid-proof test path.
  • Forward expected v3 credential failures to the bridge with credential_unavailable and add a simulator /api/health endpoint.

Why

The v3 simulator path could report success when the active identity did not actually have the requested credential proof. The request-level verification_level was ignored in parts of the flow, ModalConfirm reset the presented credential to Orb, and getMerkleProof silently returned dummy proof data when inclusion proof state was missing.

Validation

  • ./node_modules/.bin/tsc --noEmit --emitDeclarationOnly false --declaration false
  • ./node_modules/.bin/next lint (passes with existing Tailwind classname warnings)
  • ./node_modules/.bin/prettier --check src/**
  • curl -sS -i http://localhost:3010/api/health returned HTTP/1.1 200 OK with {"ok":true}

@vercel

vercel Bot commented Jun 22, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
worldcoin-simulator Ready Ready Preview, Comment Jun 25, 2026 4:55pm

Request Review

@soamdesai-tfh soamdesai-tfh changed the title [codex] enforce v3 verification levels and add health enforce v3 verification levels and add health Jun 23, 2026
@vercel

vercel Bot commented Jun 26, 2026

Copy link
Copy Markdown

You must have Developer access to commit code to Tools For Humanity on Vercel. If you contact an administrator and receive Developer access, commit again to see your changes.

Learn more: https://vercel.com/docs/accounts/team-members-and-roles/access-roles#team-level-roles

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