feat(ci): daily arXiv strong-lensing paper digest → Slack #papers#58
Merged
Conversation
Sibling of morning_status.yml (the commit digest): a Mon–Fri GitHub Actions job that fetches new strong-lensing papers from the arXiv API, has Claude summarise them (curated highlights + list), and posts to Slack #papers. - Fetch (.github/scripts/arxiv_fetch.py): recall-first astro-ph.CO/GA query over strong-lensing vocabulary (lensed quasar, lens modelling, Einstein ring, quadruply/doubly imaged, double source plane, …), not just the literal phrase "strong lensing" — validated to catch the Li+Collett WFI2033 lensed-quasar paper a phrase-only query missed. Filtered by original submission date (v1), 24h window (72h Mondays to sweep the weekend), stateless, deduped. - Summarise: claude-code-action@v1 reusing CLAUDE_CODE_OAUTH_TOKEN (the Claude *subscription* token — no API key, no metered billing); drops keyword false-positives; skipped on empty days. - POST: to PYAUTO_PAPERS_WEBHOOK_URL; silent skip when nothing on-topic. - Timing: 06:00 UTC Mon–Fri; with cron jitter delivers UK ~07:00–10:00, after arXiv's overnight announcement, so it reads as "this morning's". Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
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.
Closes #57.
Adds a Mon–Fri GitHub Actions job (sibling of
morning_status.yml) that fetches new strong-lensing papers from arXiv, has Claude summarise them, and posts to Slack #papers.Files
.github/workflows/arxiv_papers.yml— cron0 6 * * 1-5(+workflow_dispatch), 3 steps: fetch → Claude summarise → POST..github/scripts/arxiv_fetch.py— recall-first arXiv fetcher (strong-lensing vocabulary), v1-submission-date window, stateless + deduped.feature/pyautomind/arxiv_papers_digest.md— the Mind prompt.Runs on the Claude subscription
Summarise step reuses
CLAUDE_CODE_OAUTH_TOKEN(subscription OAuth token, already set for the commit digest) — no API key, no metered billing. A daily handful of abstracts is negligible usage.Timing
0 6 * * 1-5(06:00 UTC); GitHub cron jitters 0–3h later → UK ~07:00–10:00, after arXiv's overnight announcement → "this morning's papers" for UK scientists.Validation
PYAUTO_PAPERS_WEBHOOK_URLset; end-to-end POST proven (test message returnedok).--auto ship gate
After merge
workflow_dispatcha live full-pipeline test-fire (fetch → Claude → real #papers post).🤖 Generated with Claude Code