promptdojo_

Status from artifacts — the roll-up that can't lie, and the not-ready call — step 8 of 8

Checkpoint

One last thing before we move on. Same surface as a write step — but the lesson doesn't complete until this passes.

Checkpoint: the whole chapter in one function. Acceptance records in, steering-committee status out — no human opinion anywhere in the pipeline.

Write status_report(project) where project maps workstream name → list of tasks (each with id, launch_blocking, accepted, rework, overdue). Using task_rag and worst-of severity (green < amber < red), print:

  1. One line per workstream, in dict order: {name}: {worst-of its task rags}
  2. project: {worst-of the workstream rags}
  3. The gate: collect ids of launch-blocking, non-green tasks across all workstreams (workstream order, then task order). Print verdict: GO if none, else verdict: NO-GO — {ids comma-joined}.

Expected output:

payments: green
onboarding: amber
reporting: red
project: red
verdict: NO-GO — O-2, R-1

full-screen editor opens — close anytime to keep reading.