Merged
Conversation
…-regression Fix verify share payloads in SSR/OG (support ?p= compact payloads)
Motivation
Link previews regressed after introducing compact ?p= share payloads because server-side SSR/meta and OG image generator only handled legacy ?r= decoding and defaulted to STANDBY/placeholder images.
The goal is to make VerifyPage previews correctly show VERIFIED and the real PNG receipt card for both compact ?p=c1:... and legacy ?r=... share URLs without changing any cryptographic semantics.
Server-side decode must remain safe: apply existing deflate-bomb protections and strict caps when decoding ?p= payloads.
Description
Added a server-safe shared decoder helper api/shareBundle.ts that reads p first then r, uses decodeSharePayload / decodeLegacyRParam, and returns normalized bundle info including { bundle, mode, isVerified, keyShort, pulse, checks } while relying on existing size limits in src/utils/shareBundleCodec.ts.
Updated SSR meta generation in api/verify.ts to prefer decoded share bundle data for status/title/description and to set og:image to the absolute PNG generator URL at /og/verify/<slug>.png while propagating the same p or r payload param; also added og:image:width and og:image:height metadata.
Extended the OG PNG generator api/og/verify.ts to parse p (and fallback to r), decode the bundle via the shared decoder, render the actual verified receipt PNG (pulse, ΦKey, KAS/G16 badges, VERIFIED/STANDBY label), and include the same share param in the verify QR URL embedded in the image.
Updated client-side VerifyPage meta code in src/pages/VerifyPage.tsx to attach the p/r payload to the generated OG image URL so client and SSR produce consistent image links.
Added a Vercel rewrite for the new path '/og/verify/:slug.png' -> '/api/og/verify?slug=:slug' and avoided changing any verification or proof semantics.
…ink-preview-regression Revert "Fix verify share payloads in SSR/OG (support ?p= compact payloads)"
…o-metadata Fix verify metadata and deterministic OG image for verified links
…atus-and-seo-metadata Revert "Fix verify metadata and deterministic OG image for verified links"
## Phi Network — Release Notes (v42.4.0) **Codename:** *Kairos Kurrency Receipt Standard* **Classification:** Public Verification Artifact Upgrade **Status:** Deployed / Active --- ### Executive Summary Version **42.4.0** establishes the **Kairos Kurrency Verified Card** as a first-class, audit-grade visual instrument: a sovereign, banknote-style proof surface that renders **steward verification, valuation, and cryptographic identifiers** with consistent, non-overlapping layout and strict provenance rules. This release upgrades the verified card from “pretty receipt” to **usable verification instrument** suitable for public distribution, archiving, and cross-system audit. --- ## What’s New ### 1) Sovereign Banknote Header Standard * Introduced the official header block: * **KAIROS KURRENCY** * **ISSUED UNDER YAHUAH’S LAW OF ETERNAL LIGHT — Φ • KAI-TURAH** * Maintains a stable “instrument identity” independent of the underlying glyph mode. ### 2) Verified Instrument Modes * The card now renders explicit mode stamps with strict logic: * **VERIFIED ORIGIN** (origin glyph) * **VERIFIED RECEIVE** (derivative/receive glyph) * Mode is resolved with **strict receive detection** (no valuation-flavor inference), ensuring provenance correctness. ### 3) Audit-Grade Hash & Proof Surface The card now consistently publishes the verification identifiers needed to locate and validate the underlying proof pack: * **BUNDLE** hash * **RECEIPT** hash * **ZK** hash * **VERSION** identifier * **VERIFIER** identity marker These are laid out as a structured footer with increased spacing to prevent collisions and preserve readability at poster scale. ### 4) Proof of Breath Seal Integration * Integrated **Proof of Breath** badge as an instrument seal. * Adjusted placement/scale to avoid QR collision: * Badge positioned to remain visible and non-overlapping with the scan surface. ### 5) QR Verification Block * QR block remains the canonical “verification pointer.” * Position refined (moved left) to balance the right-side column with the proof seal and prevent crowding. ### 6) Valuation Metadata Lane * Added a stable valuation line with explicit labeling: * **VALUATION** (pulse + algorithm when available) * **HASH (VALUATION)** (moved slightly down for improved separation) * This is “real data only” — no placeholder randomness. ### 7) Φ Watermark Restoration * Restored the Φ watermark as a subtle security mark: * Larger, heavier weight * Low-opacity fill + light stroke for banknote-grade watermark behavior * Designed to be “barely noticeable,” present primarily as anti-counterfeit visual texture. ### 8) Layout Hardening (No Overlap Policy) This release enforces an explicit non-overlap layout approach: * Left identity/valuation block moved up/left for balance. * Footer moved up and spaced to remain fully on-card. * Footer columns spaced to avoid collisions on narrow renders. * Visual lanes now behave predictably across different proof payload lengths. --- ## Security & Integrity Notes * The card is a **visual instrument**, not the proof itself. * Cryptographic verification remains anchored in the underlying proof bundle / receipt payload. * Rendering is designed to prevent “soft spoofing” by ensuring: * mode correctness (origin vs receive) * stable identifiers (hashes + version + verifier marker) * consistent layout that makes anomalies obvious --- ## Compatibility * SVG output remains standards-compliant and web-safe. * Backward compatible with existing VerifyPage flows. * Supports both: * **Sigil-Seal (Proof)** output * **Redeemable Note (Money)** output paths --- ## Operational Impact * Improves shareability without loss of audit clarity. * Reduces verification ambiguity for recipients reviewing artifacts in feeds, chats, or archives. * Provides a consistent visual format suitable for: * screenshots * posters * printed receipts * government/enterprise compliance records --- ## Version **Phi Network v42.4.0** — *Kairos Kurrency Receipt Standard* Effective immediately.
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.
Phi Network — Release Notes (v42.4.0)
Codename: Kairos Kurrency Receipt Standard
Classification: Public Verification Artifact Upgrade
Status: Deployed / Active
Executive Summary
Version 42.4.0 establishes the Kairos Kurrency Verified Card as a first-class, audit-grade visual instrument: a sovereign, banknote-style proof surface that renders steward verification, valuation, and cryptographic identifiers with consistent, non-overlapping layout and strict provenance rules. This release upgrades the verified card from “pretty receipt” to usable verification instrument suitable for public distribution, archiving, and cross-system audit.
What’s New
1) Sovereign Banknote Header Standard
Introduced the official header block:
Maintains a stable “instrument identity” independent of the underlying glyph mode.
2) Verified Instrument Modes
The card now renders explicit mode stamps with strict logic:
Mode is resolved with strict receive detection (no valuation-flavor inference), ensuring provenance correctness.
3) Audit-Grade Hash & Proof Surface
The card now consistently publishes the verification identifiers needed to locate and validate the underlying proof pack:
These are laid out as a structured footer with increased spacing to prevent collisions and preserve readability at poster scale.
4) Proof of Breath Seal Integration
Integrated Proof of Breath badge as an instrument seal.
Adjusted placement/scale to avoid QR collision:
5) QR Verification Block
6) Valuation Metadata Lane
Added a stable valuation line with explicit labeling:
This is “real data only” — no placeholder randomness.
7) Φ Watermark Restoration
Restored the Φ watermark as a subtle security mark:
Designed to be “barely noticeable,” present primarily as anti-counterfeit visual texture.
8) Layout Hardening (No Overlap Policy)
This release enforces an explicit non-overlap layout approach:
Security & Integrity Notes
The card is a visual instrument, not the proof itself.
Cryptographic verification remains anchored in the underlying proof bundle / receipt payload.
Rendering is designed to prevent “soft spoofing” by ensuring:
Compatibility
SVG output remains standards-compliant and web-safe.
Backward compatible with existing VerifyPage flows.
Supports both:
Operational Impact
Improves shareability without loss of audit clarity.
Reduces verification ambiguity for recipients reviewing artifacts in feeds, chats, or archives.
Provides a consistent visual format suitable for:
Version
Phi Network v42.4.0 — Kairos Kurrency Receipt Standard
Effective immediately.