# Current edition verification — 13 October 2026

Third edition: TypeScript passed; 38 service tests passed against actual migrations. 65 built Worker integration checks passed, covering SSR, D1, complete synthetic donations, individual points, nationwide matching, expiring/revocable public shares, auth-unconfigured paths and generated PNGs. Browser/hydration/mobile checks and real Google/email/SMS tests remain unavailable.

See [the current audit](09-third-edition-audit.md) and [provider/data setup](10-nationwide-and-auth.md). The evidence below records the earlier edition and is retained as history.

---

# Quickgency — QA evidence

Verification date: 13 October 2026. These results concern synthetic data and the private pilot. They are not evidence of clinical efficacy, live donor availability or an operational hospital service.

## Passed

| Check | Evidence / boundary |
|---|---|
| Service workflows | 29 tests, 29 passed, 0 failed; actual SQL migration, Node SQLite with D1-compatible adapter |
| TypeScript | Strict `tsc --noEmit` passed |
| Production build | Supported Sites Vinext build passed; all intended routes emitted |
| Built Worker integration | 47 assertions/checkpoints passed in local Miniflare/workerd with an ephemeral D1 database |
| Bengali PNG generation | Native Worker route returned PNGs at 1200×630 and 1080×1080; HarfBuzz shaping and OpenType paths |
| Static visual inspection | Sample social card and square poster inspected; Bengali conjuncts and vowel placement corrected |

Service tests cover strict input validation, normalized Bangladesh phone syntax, zero baseline statistics, idempotent request saves, duplicate requests, private drafts, unverified profiles, availability guards, sandbox isolation, coarse search projections, hospital distance, empty searches, notification deduplication, account-scoped recipients, donor-specific response visibility, acceptance/consent separation, permission expiry, withdrawal, partial/complete fulfilment, rejected outcomes, unique recognition, version conflicts, stale-batch side-effect prevention, closed requests, role denial, persistent rate limiting, profile deletion and reviewed community publication.

The Worker integration test runs the **built output**, not source mocks. It checks fifteen HTML routes; missing identity; admin denial; cross-origin POST rejection; forged verification input; demo creation and ownership isolation; donor invitation; two complete accept → consent → handoff → report → verify paths; exclusion of demo records from live metrics; sample social/poster and closed request PNG responses; unconfigured OTP returning 503; twenty-person idempotent setup; all-group search; persisted availability; owner isolation; personal-dashboard exclusion; a custom sample requirement; and an oversized body returning 413. It uses synthetic identity headers only inside Miniflare, never against a hosted service.

## Second-edition verification

The 20-person seed is idempotent, spans all eight blood groups, and starts six scoped requests. Service tests additionally verify saved availability changes, namespace separation, a B+ platelet request through fulfilment and idempotency keys shared across sample/personal creation. The new Anek Bangla and Bricolage social card/poster were rendered and visually inspected.

## Problems found and fixed

- A sample request could reuse a personal request’s idempotency key. Separate namespaces now preserve both records and are regression-tested.
- Sample requests and notices previously appeared in the personal dashboard. Both queries now exclude them.
- Search results now ignore stale requests after a filter/environment change.
- Expired contact permission can be renewed from the donor role.
- Bengali text was incorrectly shaped by the image rasterizer. Text now passes through HarfBuzz before conversion to vector glyph paths.
- Live-namespace invitation notices addressed donor-record IDs instead of account IDs. Recipient lookup and a regression test now verify the correct inbox.
- A direct donor response could create a row before the request mutation check. Response insertion now participates in the version-guarded batch.
- Donors could not see their own response on the request detail page. The server now returns only their own response; other donors' rows remain hidden.
- Published community content was disconnected from the page. Reviewed/published database records now render as escaped text with source links.
- Requester/donor response controls and an invitations tab now connect to the existing persistent actions.

## Not performed / not claimed

- Browser or mobile device testing: the supported browser tool was unavailable. No browser preview was started and no alternative browser was installed. Responsive, keyboard, assistive technology, hydration and visual layout checks remain outstanding.
- Lighthouse, Core Web Vitals, slow-network benchmarks or high-concurrency load tests.
- External crawler/Open Graph fetching: the Site is private and crawler access is not expected.
- Real OTP/SMS/email/push delivery, telephone disclosure, hospital verification, or real donor contact.
- Independent penetration testing, legal compliance audit, data recovery drill or production uptime observation.
- Multiple real authenticated users through the hosted sign-in boundary; local identity simulation verifies application scoping only.

## Performance targets for a later measured pilot

Aim for p75 LCP ≤2.5s, INP ≤200ms and CLS ≤0.1 on representative mobile conditions; measure rather than promise. Set server/API latency and availability objectives after observing a consented pilot. The bounded query cap and area centroids require reevaluation before expanding coverage. No donor-response-time target is advertised as an achieved result.

## Reproduction

```sh
node --experimental-strip-types --test tests/*.test.ts
node node_modules/typescript/bin/tsc --noEmit
# Run the supported Sites build helper, then:
node tests/worker-smoke.mjs
node --experimental-strip-types scripts/render-cards.mjs
```

The Worker test has a 45-second timeout and disposes its test runtime. It never targets the hosted Site or uses real account credentials. The image script writes disposable local QA images; runtime images are generated from current authorized request data.
