# JW Evidence CV — v2.7 Candidate 16

**Date:** October 19, 2026
**Deployment ID:** JW-CV-CF-v2.7-CANDIDATE-16
**Rollback baseline:** v2.7 Candidate 15

## Purpose
Adds ORCID and PubMed import code and a Connected Research Profiles section, on in Preview and off in Production.

## Changes
- New Pages Function GET /api/research/profile returns a normalized public snapshot of works reported by ORCID (public API, read-public, fixed owner iD) and PubMed (matched only by the ORCID author identifier [auid] or the reviewed PMID list at /research/connected/pubmed-allowlist.json, never by name). Records are deduplicated by DOI or PMID and labelled source-reported.
- The snapshot is kept in RESEARCH_CACHE and refreshed on the first request after RESEARCH_REFRESH_SECONDS (one day), in the background behind a short lock. A provider failure keeps the last good records marked stale and does not advance lastSuccessAt; each source reports disabled, not_configured, ok, empty, stale or error on its own.
- Connected Research Profiles section added to the ORCID page: per-source status, works with a Source-reported badge, DOI and PMID links, and source links that work without JavaScript or when loading fails. 'No matching PubMed records found' appears only after a successful search.
- Imports are switched on for Preview deployments only. Production keeps NCBI_ENABLED and ORCID_ENABLED false until the preview is reviewed.
- 18 automated checks of the adapters (disabled, not configured, invalid credentials, empty, timeout, malformed and 503 responses, stale cache on failure, partial failure, refresh lock, name-only exclusion, allowlist, no secret in output or cache) pass.

## Required checks
- Preview (with Preview secrets): /api/research/profile shows ORCID ok or empty and PubMed ok or empty; /orcid/ shows Connected Research Profiles with Source-reported badges; the homepage is unchanged.
- Production after merge: /api/research/profile shows both sources "disabled"; /orcid/ says "Import turned off".
- Turning Production on is a separate, reviewed change (NCBI_ENABLED and ORCID_ENABLED in wrangler.jsonc).
- The footer shows "Deployment v2.7 Candidate 16 · October 19, 2026".
