---
title: "Report Pipeline Finding"
method: POST
path: "/api/system/pipeline-findings"
tags: ["system"]
---

# Report Pipeline Finding

`POST /api/system/pipeline-findings`

## Request

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

The deployer's watchdog (`ops/railway-ci/deployer/watchdog.py`,
release-path unit U6, design section 3.7) reports a release-pipeline
condition it noticed on its 2-minute tick -- a dead fixer, a red main,
staging or production falling behind, a stalled CI queue, a stale
image build, ci-service drift, a ready pull request sitting unmerged,
a stranded branch, `PROMOTE_ALLOW_RED_CI` used.

Deliberately the SAME channel Rooster's own findings already use
(`app.modules.rooster.supervision.record_finding`,
`POST /api/rooster/supervision/report`), not a second one: the System
page and Frederick's Slack DMs already read that one card/DM path, and
a release-pipeline finding is exactly the same shape -- an observed
condition, deduped by `reference` so a still-red main is one open
card, not one per 2-minute tick, and cleared automatically the next
time supervision.record_resolution sees the reference reported
healthy.

⭐A NON-URGENT FINDING IS A BOARD CARD AND IS NEVER SENT TO A PERSON
(Fable, the dev-cycle owner, 2026-10-15; Frederick 2026-10-14, #4676: "not
bringing in humans unless it requires human hands"). `urgent=False` used to
be stored `pending` and DM'd by the 30-minute digest sweep; every such
finding is now recorded `board_only` (status `board`, closed by the resolve
route) and echoes `"delivery": "board"`. Urgent findings are unchanged
(`"delivery": "person"`; the rest of OPEN_ITEMS STUCK-1).
`board_only_supported` is always `true` here: a deployer tests the capability
by THAT field, never by `delivery`, which reads `person` for a non-urgent
repeat of a card already `sent`.

Gated on `system:pipeline_findings:write` (migration 202609301620,
same two-part pattern #2515 used for the GitHub App token mint), not
on `rooster:supervision:write` -- the deployer's principal is not
Rooster's own pipeline principal and should not inherit whatever else
that grant happens to cover.

⭐`lane="code"` (2026-10-15, RDC-E2E-4; Frederick, 2026-10-14, #4676:
"Rooster should be the manger and not bringing in humans unless it requires
human hands"): the finding is filed through `intake_service.
file_or_bump_self_defect` as a code-lane bug, exactly as `audit/ci_red_pull_
requests.py` files a red pull request, and NO supervision card is raised:
the board's stuck-issue review already covers an issue the builders cannot
finish by its own rules. `reference` is the defect key (422 without it) and
`urgent` is refused (a code-lane bug never pages). The response carries
`lane`, `issue_id` and `filed` (false when the dedup bumped an issue that
was already open, or settling).

## Request body

- PipelineFindingRequest: One row the deployer's watchdog observed this tick -- same shape `rooster/supervision_routes.py`'s own `ReportFindingRequest` uses, because this route's whole job is handing the same four rows (`supervision.KINDS`) into the SAME `record_finding` card/DM path, not inventing a second one for the release pipeline.
  - `kind` string, required
  - `subject` string, required
  - `detail` string, required
  - `reference` string, nullable
  - `urgent` boolean
  - `recipient_email` string, nullable
  - `lane` 'code', nullable
  - `priority` 'high', nullable
  - `severity` 'stopped' | 'degrading', nullable

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

## Changes

- **2026-11-01** `53c5c9d13998`: 1 info
  - added the new optional request property `severity`
- **2026-11-01** `3dbaa3e2c12d`: 1 info
  - added the new optional request property `priority`
- **2026-10-15** `c456fbed79e1`: 1 info
  - added the new optional request property `lane`

[Operation history](https://skmtc.dev/pigeonly/apis/roost-v2-pigeonly-company-os/changes/api/system/pipeline-findings/post.md)

---

[API](https://skmtc.dev/pigeonly/apis/roost-v2-pigeonly-company-os.md) - [All operations](https://skmtc.dev/pigeonly/apis/roost-v2-pigeonly-company-os/llms.txt) - [OpenAPI document](https://skmtc.dev/pigeonly/apis/roost-v2-pigeonly-company-os/revisions/14571c4b7007?raw)
