rooster

tools/rooster_worker/drain.py posts the prompt each build attempt is given, once, right after it is rendered and before the builder starts. Keeps it on the attempt's open seat_build_sessions row with a hash the API computes (seat_usage.record_brief). RRC-15-READ-STORED, decided 2026-11-18 (triage lead, owner brief U1; ledger row RRC-15-READ-STORED).

Bookkeeping, never a gate: it spends no attempt, moves no status, and never 404s. An issue with no open session comes back recorded: false with sha256: null, which the drain ignores.

post/api/rooster/issues/{issue_id}/build-brief

Request

  • Base URL
    https://api.pigeonly.com (the document declares no server; this is the origin it was published from)
  • Auth
    none declared

Path parameters

issue_id, string uuid required

Request body

BuildBriefRequest required

The prompt one build attempt was given, and the slice block rendered into it.

RRC-15-READ-STORED, decided 2026-11-18 (triage lead, owner brief U1). The drain sends the text it actually handed the builder, so the stored brief is what the builder read, not a re-render from later data. Bounds are generous for a real prompt and refuse only a runaway payload.

prompt, string required
slice_block, string

Response

Successful Response

object required

Changes