rooster

Report Code Graph Freshness

Changed on

The code map's job says how stale its index is, every pass. Feeds the audit check code_graph_stale (issue #7220, OPEN_ITEMS CODEGRAPH-1). Called by tools/rooster_worker/code_graph.report_freshness on the same rooster:seat:probe grant the brain's own presence report uses (/worker/presence): both are the container reporting about itself, and a new grant would need its service token minted by hand. Ruling docs/01_decisions/rulings/2026-11-02-the-code-map-reports-how-stale-it-is.md.

put/api/rooster/code-graph/freshness

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

CodeGraphFreshnessReport required

How fresh the rooster container's code map is, posted after every pass. See settings_service.CODE_GRAPH_FRESHNESS. Every field is optional: a container that has never indexed sends None.

indexed_sha, string nullable
indexed_at, string nullable
main_sha, string nullable
error, string nullable

Response

Successful Response

object required

Changes