Add public genesis receipt proof page and site links#380
Merged
GsCommand merged 1 commit intoMay 29, 2026
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation
POST /api/verify-id→GET /api/receipts/:id) without changing verification or receipt-generation backend logic.Description
public/genesis-proof.htmlimplementing the verification-by-ID UI with required metadata, hero copy, input (Genesis Receipt ID), submit behavior, visible states (IDLE, LOADING, VERIFIED, INVALID, RECEIPT NOT FOUND, ERROR), copy buttons, and JSON panel; it posts toPOST /api/verify-idand on success fetchesGET /api/receipts/${encodeURIComponent(receiptId)}to show public receipt JSON.status,receipt_id,receipt_type,agent,verb,signer, andverificationbooleanshash_matches,signature_valid, andens_resolved, pluspublic_key_sourceandkey_idwhen present fromPOST /api/verify-idresponses./genesis-proof.htmlfrom the verifier (public/verify.html), receipts (public/receipts.html), homepage (public/index.html), docs home (public/docs.html), protocol (public/protocol.html), live proof (public/proof.html), production proof (public/stack-proof-demo.html), and the API reference (public/api.html), and include a compact developer example forPOST /api/verify-idinpublic/api.html./receipts.html,/verify.html, existing API handlers) and do not alter cryptographic/verification backend code or genesis generation logic.Testing
npm testand all tests passed (125tests passed,0failures), includingapi/verify-idandGET /api/receipts/:idcontract tests that exerciseVERIFIED,INVALID, andRECEIPT_NOT_FOUNDflows.npm run check:linksand the local link checker reported all local links/assets resolved across the site.cd examples/webhook-auto-verify && npm run check(example checks) and it passed.public/genesis-proof.htmlto check required copy and absence of forbidden admin/payment tokens, and loaded the page via a local static server to confirm it serves correctly (local curl load check succeeded).Codex Task