# Quickgency — third-edition product audit

Updated 13 October 2026. This edition preserves the Site's existing public audience and account-scoped records. The public preview is not an operational emergency service.

## Product changes

| Finding | Implemented change |
| --- | --- |
| Identity lacked a distinct mark | Original filled Q / forward-connection monogram, consistent in header, favicon, authentication and all PNG cards. |
| Initials made people interchangeable | Twenty original SVG portrait illustrations, with a persisted personal avatar selector. No third-party avatar service or real-person photographs. |
| Home page did not explain community activity | Registered donors, distinct people who donated, verified donations and active requests. Demo and real figures are explicitly separated. Anonymous demo counts are labelled illustrative starting data. |
| Existing recognition ledger was invisible | Individual donor point cards, a personal points tab, a demo donor selector and dated point history. Ten points per independently verified donation; no points on acceptance/reporting, no duplicate credits, revoked credits excluded. |
| Location support stopped at Dhaka | Cascading division / district / upazila selectors; 8 divisions, 64 districts, 500 upazilas; district matching and user-supplied hospital references. Existing hospital-radius discovery remains available. |
| Sharing a private request URL could not produce an accessible preview | Explicit owner-created, random public share tokens. Seven-day expiry, owner revocation, current request status, Open Graph and Twitter PNG metadata, and square poster downloads. Account deletion revokes shares. |
| Share artwork did not have a recognizable hierarchy | Two editorial layouts: vermilion blood-group panel for social previews, and charcoal masthead with oversized group for posters. Bangla text is shaped with HarfBuzz and rasterized to paths with local fonts. |
| Independent sign-in absent | Conditional Supabase SSR integration for Google PKCE, email OTP and Bangladesh mobile SMS OTP. Sign-up and return sign-in share the same flow. ChatGPT sign-in remains available. Provider setup is still required. |

## UX decisions

- The lead message is “আপনার রক্তের গ্রুপ। কারও আশার খবর।” The primary actions clearly distinguish requesting blood from joining as a donor.
- Warm paper, charcoal and vermilion remain the coherent foundation. Bengali uses locally hosted Anek Bangla; Latin display uses Bricolage Grotesque, with DM Sans for body text.
- Region discovery never presents invented kilometre distances from district centroids. Precise coordinates are excluded from donor API projections.
- A hospital typed by a requester is clearly a supplied reference, not a verified listing or an implied partner.
- Recognition rewards a verified contribution without streaks, ranking or pressure to donate more often. Points have no cash value and say nothing about eligibility.
- GSAP handles restrained title, portrait, connection-line and count-section entrances. Interactive cards have modest hover feedback. Reduced-motion preferences disable movement. No scroll hijacking, fake urgency or animated fabricated counters.
- Native controls, associated form labels, keyboard focus indicators, accessible dialog controls and responsive layouts are retained. The directory allows optional upazilas for city-area users rather than forcing an inaccurate municipality-to-upazila mapping.

## Data and security audit

Additive D1 migration adds profile region IDs, avatar seeds, hospital region IDs and expiring public shares. Existing demo availability and donation history remain untouched. Legacy Dhaka profiles and demo portrait seeds are backfilled.

Request mutation uses compare-and-swap version guards and transactional batches. Recognition is uniquely tied to a donation. Private drafts cannot be shared. Share pages expose only group, component, units, hospital, area, deadline, status and whether the request is a sample; they never expose responses, phones, actor IDs or audit history. Public links can be disabled, but downloaded images and social network caches cannot be recalled.

Auth input is bounded and validated, same-origin POSTs are required, OTP attempts have persistent target/IP limits, return paths are restricted to this site, and the server validates Supabase users with `getUser()`. Provider error details and authentication tokens are not logged. No accounts are merged merely because their emails match.

## Verification

- TypeScript check passed.
- 38 service/security tests passed against the actual SQL migrations.
- 65 built Worker integration checks passed. They cover SSR routes, D1, owner isolation, nation-wide catalogue and matching, the full synthetic donation workflow, point balances, public share projection and revocation, PNG generation, provider-unconfigured behavior and CSRF validation.
- Social and square sample cards were rendered and visually inspected, with a further brand/long-name layout check.
- No browser-control capability was available in the supported managed environment. Full hydrated desktop/mobile, keyboard, animation and screen-reader checks were not performed. This is an explicit verification limit.
- Google OAuth, real email delivery and real SMS delivery cannot be exercised before connecting and configuring the providers. No real messages were sent.

## Remaining operational work

The product preview and sandbox are usable. Live operations still require configured authentication delivery, an authorized independent verification team, real hospital arrangements, consented contact channels, data-retention rules, provider monitoring and device/browser acceptance checks. There is no claim of nationwide live donor coverage or an exhaustive verified hospital directory.
