Report Brain Presence
Changed onThe brain's worker says what it has in flight, every tick, so a deploy can wait for it.
Frederick, 2026-10-23 (issue #7126), after a Slack answer died under a deploy's SIGTERM: "Why is the brain stuck in the deployment process to get restarted every single time we deploy code?" The deployer repoints the rooster service only when his own code changed, and before it does it asks the worker to drain and reads turns_in_flight off GET /api/health/build-floor, which relays this report (settings_service.brain_presence). Called by tools/rooster_worker/worker.py report_presence on the same rooster:seat:probe grant the container's seat probe already reports through (/seat/probe-result): both are the container reporting about itself, and a new grant would need the service token minted again by hand (mint_service_token.GRANTS). Ruling docs/01_decisions/rulings/2026-10-23-the-brain-is-out-of-the-deploy-flow.md.
Request
- Base URLhttps://api.pigeonly.com (the document declares no server; this is the origin it was published from)
- Authnone declared
Request body
What the worker has in flight right now. See settings_service.ROOSTER_BRAIN_PRESENCE.
Response
Successful Response
Changes
- info
endpoint added
- info