promptdojo_

Acceptance before the build — review against checks, not vibes — 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 review queue, end to end — verdicts, rework notes, the two-strikes escalation, and the summary line you'd paste into the workstream channel.

Write process_queue(queue, checks) that prints one line per deliverable, then a summary:

  • Verdict per deliverable via the last step's rules (failing = not "pass", missing fails; any blocking failure → REWORK; else failures → ACCEPT-WITH-NOTES; else ACCEPT).
  • Line format: {id}: {verdict} plus — {ids} (comma-joined) when there are failures.
  • Escalation: if the verdict is REWORK and the deliverable's attempt is 3 or more, append [attempt {n} — stop and respec].
  • Summary: queue: {a} accept, {n} notes, {r} rework (counting ACCEPT-WITH-NOTES under notes).

Expected output:

D-31: ACCEPT
D-32: REWORK — C1 [attempt 3 — stop and respec]
D-33: ACCEPT-WITH-NOTES — C3
D-34: REWORK — C2
queue: 1 accept, 1 notes, 2 rework

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