rooster

Record Seat Call

Changed on

tools/rooster_worker/claude_cli.py posts every claude -p run it makes for a lane whose server files no row of its own (bug intake, fix review, board seat, the seat probe), so model_calls says what the Claude seat spent, per lane. Frederick, 2026-10-06: "make sure it's built to be token efficient and not burn through the weekly allocation again."

The rooster container has no database, so the worker cannot write the row itself (app.modules.rooster.seat_calls); a 2xx here is the receipt the worker counts on. 422 for a lane or provider this will not file (a lane whose server already records it would be counted twice). Bookkeeping only, never a gate: it moves nothing and spends nothing. Ruling: docs/01_decisions/rulings/2026-10-06-the-claude-seat-is-for-intake- fixes-and-the-board.md.

post/api/rooster/seat-calls

Request

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

Request body

SeatCallRequest required

One claude run, as tools/rooster_worker/claude_cli.py saw it. Every count is the CLI's own --output-format json usage block; None means the run reported none (timed out, could not start, plain-text output).

lane, string required
provider, string required
model, string required
ok, boolean required
latency_ms, integer required
turns, integer nullable
input_tokens, integer nullable
cache_creation_tokens, integer nullable
cache_read_tokens, integer nullable
output_tokens, integer nullable
error, string nullable
seat, string
rate_limit, object nullable
list_cost_usd, number nullable

Response

Successful Response

object required

Changes

    • info

      added the new optional request property list_cost_usd

    • info

      added the new optional request property rate_limit

    • info

      added the new optional request property seat