Skip to content

Restore arXiv ingestion and improve editorial review - #7

Open
Muawiya-contact wants to merge 6 commits into
mainfrom
feat/editorial-analysis-and-images
Open

Muawiya-contact wants to merge 6 commits into
mainfrom
feat/editorial-analysis-and-images

Conversation

@Muawiya-contact

Copy link
Copy Markdown
Member

What changed

  • Move both arXiv feeds to the official rss.arxiv.org host and wait at least three seconds between arXiv requests, including the robots.txt check. Existing trusted source rows keep their IDs and history.
  • Store a plain-language AI editorial assessment with each enriched story, and show editors the importance, Pakistan relevance, trusted-source coverage, freshness, and trust adjustment behind the priority score.
  • Generate up to two original illustrations per ingest run for the highest-scoring AI stories that do not already have an owned illustration. Keep them in private draft storage and require an editor to approve each image before it is placed in the LaTeX issue.
  • Include approved illustrations in the magazine PDF using short-lived signed URLs, with file-type, path, and size checks in the compile workflow.

Publisher Open Graph images are not copied automatically because a trusted news source does not by itself grant reuse rights. Generated images are labeled as illustrations, not documentary photographs.

Validation

  • npm run typecheck
  • npm run lint
  • npm run test:ingest
  • npm run test:magazine
  • npm run build
  • The two official arXiv category feeds returned HTTP 200.
  • Local browser check: the public home page loads and the editor desk redirects to the login page. A local editor-session check requires Supabase credentials.

Manual step after merge

Apply the three pending Supabase migrations before dispatching the ingest workflow. Then run Scheduled ingest once from GitHub Actions to confirm the full source pass and image generation, or wait for its next scheduled run. Generated illustrations will appear in Desk → Images for editor approval.

@vercel

vercel Bot commented Nov 22, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
machine-intelligence-app Ready Ready Preview Nov 22, 2026 7:54am UTC

@chatgpt-codex-connector

Copy link
Copy Markdown
Codex Review Summary: ❌ Failed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ❌ Failed 2026-11-22T07:45:42.557564Z
We couldn’t complete this review. Comment @codex review to try again.
593eee3 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant