List content tasks, show the pipeline queue, or check task status. Use when the user says "show tasks", "what's in the queue", "pipeline status", "list posts", or "what's pending".
Retrieves tasks from the Glad Labs content pipeline via GET /api/tasks with optional
status filtering.
scripts/run.sh [status] [limit]
status (optional): filter by task status. Valid values:
pending — queued, waiting for the workerin_progress — actively moving through the pipelineawaiting_approval — passed QA, in the human review queue at /pipelinepublished — approved and live on R2 static exportrejected — pipeline rejected (off-brand, failed QA after max rewrites, etc.)failed — pipeline errored (timeout, worker crash, etc.)cancelled — manually cancelledLegacy values and were removed in the 2026-04 refactor and will return empty results.
completedapprovedlimit (optional): max tasks to return. Defaults to 20.
Each task shows id, task_name, topic, status, and created_at. The worker
processes tasks serially — a single in_progress task blocks the rest of the queue
until it terminates.