Skip to content

Articles

src/retrospeedlab/articles/ writes RetroSpeedLab's technical articles and shows each draft as a card in the owner's console. The backend's critic reviews each draft and publishes it to the blog, then LinkedIn and dev.to. It runs in the maintainer's container, beside the maintainer but on its own.

uv run python -m retrospeedlab.articles article
uv run python -m retrospeedlab.articles launch
uv run python -m retrospeedlab.articles board
uv run python -m retrospeedlab.articles art a-published-slug --out art
Command What it does
article Drafts the weekly technical article; Mondays at 06:00
launch Drafts the next due open-source launch article; Mondays and Thursdays at 08:00
board The articles process: every 30 seconds it keeps each draft's console card and the LinkedIn renewal
art Redraws the cover and figures of a published article in the brand style into a folder; run by hand

The weekly article

Every Monday it gathers the lake's public numbers and 30 days of git history, and Claude writes a technical article with figures in the brand palette, rendered to PNG with the bundled fonts; Codex draws the cover in the brand's shared style block (web/branding/image-prompts.md) with two agent portraits and the stage background as reference images. A draft with a number found in neither the facts nor the history is never uploaded. The draft's Markdown, LinkedIn text, facts, cover, figures and a preview.html stay in articles/<slug>/ of the maintainer's workspace; its card in the console follows the draft while the backend's critic reviews it and publishes it, and goes once it is published or held. A week before the LinkedIn sign-in expires, a Renew card asks the owner for one LinkedIn sign-in.

Open-source launches

Each open-source repository the suite uses gets one launch article, in the order of LAUNCHES in articles/launches.py: ops-gate, kanso-runner, repo-steward, experimentation-toolkit and agentic-data-analyst, two a week from 7 December 2026. Every Monday and Thursday launch takes the first launch whose earliest date has come and whose README GitHub serves publicly; a repository that is not public yet waits for the next run. Claude writes the article from that README and the lake's public numbers (LAUNCH.md, with the weekly article's writing rules from WRITING.md), and it goes through the same number check, card, critic and publishing as the weekly article. articles/launches.json in the workspace lists the launches already drafted. The backend's critic passes at most three articles a week: the weekly one and two launches.

Configuration

articles/settings.py holds the models, the facts and the folders as constants. The environment provides GITHUB_TOKEN, UPLOAD_API_KEY, CONSOLE_API_KEY for the console's producer API, CODEX_HOME and CLAUDE_CODE_OAUTH_TOKEN; BUGSINK_DSN is optional. Codex signs in once for the covers, apart from the maintainer's agent: codex login --device-auth inside the container.