Bot-to-PR workflow for idea capture and weekly curation
Hypothesis for a safe editorial intake where bots submit structured drafts strictly via Draft PRs, leaving every publishing decision human.
The hypothesis
Most ideas I jot down during a busy week die inside scattered notes, self-messages, or 20 forgotten browser tabs. By Saturday morning, the context is gone and nothing ships.
My bet here is straightforward. Helper bots can collect links, reading notes, and rough build concepts throughout the week and package them into schema-valid drafts. The boundary is non-negotiable because I do not trust autonomous AI publishing. No bot touches the main branch or publishes on its own.
How the loop should run
Instead of holding write access to production, every automated submission starts in isolation. The bot fills one of the 2 fixed templates in the repository (lab-entry or log-weekly), matching the Zod content schema.
When an intake issue gets labeled, automation opens a Draft PR on a dedicated branch, runs build checks, and generates a live preview link. At the end of the week I open that preview, cut half of what reads generic, rewrite the commentary in my own voice, and decide in 10 minutes whether to merge or close.
Next test
Both templates and the Draft PR trigger are ready in the repository. I plan to run this loop for 4 straight weeks to measure whether it actually raises output in the Lab and Log or just turns into another stalled queue.