diff --git a/AGENTS.md b/AGENTS.md index a83c113..c482424 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -52,7 +52,7 @@ If you suspect a security issue, run `snyk test`. Transitive CVEs with no npm re - Media cards live in `data/media.json`. Helpers stay in `data/media.ts`. `url` is optional. Use `sources` for syndications of the same story; the primary `source`/`url` should be the strongest public outlet. Clickable source tags open that outlet's URL. - Hosted PDFs live in `public/papers/`. Listing and featured selection live in `lib/papers.ts` (`getJournalPapers` / `getOtherPapers`); detail pages at `/publications/[slug]` (slug = PDF filename without `.pdf`, URL-encoded in links via `getPaperDetailPath`). Citation metadata (title, authors, journal, DOI, abstract, `scholar_pub_id`) lives in `data/papers.json` keyed by PDF filename and is merged into API responses. Prefer author names like `Jodie L. Rummer`. Featured papers are the newest by year in the filename. Per-paper Crossref / Altmetric / Scholar metrics are fetched server-side in `lib/paper-metrics.ts` (daily revalidate, shared with `GET /api/papers/metrics`); `/publications` passes a metrics map into `PublicationsBrowser` / presentational `PaperMetrics`. Scholar profile header stats use `getScholarProfileMetrics` (daily cache). JSON-LD for publications lives in `lib/schema/publications.ts` (`CollectionPage` + `ItemList` on listing, `ScholarlyArticle` on detail). Machine-readable feeds: `GET /publications/feed.xml` (RSS), `public/llms.txt` documents APIs. Sister sites consume `GET /api/papers` and `GET /api/papers/featured` (daily revalidate; each paper includes `detailUrl`). Use plain `` for static `/papers/*.pdf` and external DOI/Scholar URLs — not `next/link` (avoids RSC prefetch 404s on hover). After adding PDFs, run `pnpm run extract-paper-metadata` then `pnpm run enrich-papers-scholar` (Crossref + Scholar ID matching; preserves curated overrides). Featured journal covers live in `data/publication-covers.ts` (optional images under `public/images/covers/`). - Team page sections are partitioned in `lib/team.ts` (PI, current members, collaborators, past/alumni). Collaborator map points live in `data/collaborator-locations.ts` (`maplibre-gl` flat mercator map on `/collaborators`, with a globe toggle). MapLibre GL JS v6 needs worker assets under `public/maplibre/` — `predev` / `prebuild` run `scripts/copy-maplibre-worker.mjs`. The regional collaborators directory on `/collaborators` is curated in `data/collaborators.json` (helpers in `data/collaborators.ts`); refresh affiliations / Scholar IDs with `pnpm run sync-collaborators-scholar` (add `-- --add` to append new Scholar coauthors). -- Mailbox catch-up for Google Alerts / digests / Isentia PDFs: follow [`MEDIA-ALERTS.md`](MEDIA-ALERTS.md). +- Mailbox catch-up for Google Alerts / digests / Isentia PDFs on `athletesofthereef@gmail.com`: follow [`MEDIA-ALERTS.md`](MEDIA-ALERTS.md). Primary Inbox subjects are `Google Alert - Daily Digest` (from `googlealerts-noreply@google.com`) and `Daily research watch` (from Alex Morgan / `athletesofthereef@gmail.com`); also process RummerLab media digests, Scholar alerts (media only), and Jodie/Luen forwards when present. - Use `git mv` when moving files. - Complete the change: no TODOs or placeholders. File a GitHub issue for follow-up work instead of leaving TODO comments or README notes. diff --git a/MEDIA-ALERTS.md b/MEDIA-ALERTS.md index 6e40e50..b6a7cde 100644 --- a/MEDIA-ALERTS.md +++ b/MEDIA-ALERTS.md @@ -33,7 +33,9 @@ Process **Inbox** unless a thread is clearly related. Read **full bodies and att | Source | How to find | | --- | --- | -| Google Alerts | `from:googlealerts-noreply@google.com` OR `subject:"Google Alert"` | +| Google Alert Daily Digest | `from:googlealerts-noreply@google.com` AND `subject:"Google Alert - Daily Digest"` (main Inbox backlog; one message may bundle multiple alert queries — apply include/skip per linked story) | +| Google Alerts (other) | `from:googlealerts-noreply@google.com` OR `subject:"Google Alert"` (name-specific subjects such as `Google Alert - Dr Jodie Rummer`) | +| Daily research watch | `from:athletesofthereef@gmail.com` AND `subject:"Daily research watch"` (Alex Morgan automated scan; process Inbox copies for Jodie/lab media mentions — skip pure field-literature flags with no media angle) | | RummerLab media digest | `subject:"RummerLab media digest"` (from the [media-alerts](https://github.com/RummerLab/media-alerts) Docker digest) | | Scholar alerts | `from:scholaralerts-noreply@google.com` (only if about Jodie/lab media; still do not edit Scholar unless asked) | | Jodie | `jodie.rummer@jcu.edu.au` and other addresses you find |