Skip to content

Build RSS newsroom and editable AI magazine drafts - #4

Merged
Muawiya-contact merged 7 commits into
mainfrom
feat/ai-magazine-builder
Nov 19, 2026
Merged

Muawiya-contact merged 7 commits into
mainfrom
feat/ai-magazine-builder

Conversation

@Muawiya-contact

@Muawiya-contact Muawiya-contact commented Nov 19, 2026 •

Copy link
Copy Markdown
Member

What changed

  • Add authenticated RSS ingestion, source tracking, deduplication, story preparation, and optional Gemini summaries and checks.
  • Replace the sample source/story editor views with Supabase-backed review and quarantine actions.
  • Add an editable magazine template: title and masthead, cover and back-cover text, theme, section names and slot targets, supervisor and student editor credits, and editor note.
  • Let Gemini arrange only approved stories inside their assigned sections; validate the plan and use a deterministic fallback if planning fails. Section setting changes regenerate the plan while preserving the editor's current note. Render escaped LaTeX into the private drafts bucket for editor review.
  • Replace the old site mark and favicon with the supplied Machine Intelligence logo pack.
  • Show a clear setup message if editor sign-in is visited in a deployment without the required Supabase public settings.
  • Update setup/privacy documentation and CI/LaTeX checks.

Validation

  • npm run lint
  • npm run typecheck
  • npm run test:ingest
  • npm run test:magazine
  • npm run build
  • browser-use --doctor
  • Live Vercel preview: checked the home/logo, issue archive, password login, /api/health, and unauthenticated /desk setup redirect.
  • GitHub quality and LaTeX checks pass.

Follow-up

The Supabase migrations 202611180001 and 202611190001 are not applied to the linked production database yet. After merging, preview with npx supabase migration list --remote, run npx supabase db push --remote --dry-run, review it, then apply with npx supabase db push --remote.

Production already has the Supabase and cron variables. Add GEMINI_API_KEY to Vercel's Production environment to enable AI summaries and layout planning; the planner uses a deterministic fallback without it. Keep production secrets out of Preview deployments. GitHub Actions secrets APP_URL and CRON_SECRET are already configured.

Editors need both a row in public.editors and a matching Supabase Auth account with a password. The editor login uses email and password, so SMTP is not required. After the migration and production key setup, run the Scheduled ingest workflow once or wait for its next scheduled run.

This PR creates private LaTeX drafts; PDF compilation and issue publication are still future work. No remote database changes or live Gemini requests were made.

@vercel

vercel Bot commented Nov 19, 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 19, 2026 5:57am 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-19T05:28:27.355575Z
We couldn’t complete this review. Comment @codex review to try again.
0ba4288 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.

@Muawiya-contact Muawiya-contact left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok

@Muawiya-contact
Muawiya-contact merged commit 53c0a02 into main Nov 19, 2026
5 checks passed
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