print-agent

Store the files the local OPEX watcher on station reports, once each (opex_scan_seen).

WHY THIS ROUTE. The office road (agent 1.67, an ask every minute or more) takes minutes to show a file; the local watcher on the scanner PC sees it within seconds and posts it here. Rule and reason: the 2026-11-10 ruling (docs/01_decisions/rulings/2026-11-10-a-roost-agent-on-each-opex-pc-is-the-fast-road.md, owner's order of 2026-11-09, "I thought you installed an agent on every one of them").

WHAT IT WRITES. Only opex_scan_seen, through opex_scan_watch.store_listing, the same once-per-file store the office road uses (dedupe key station + path + written_at). It writes no change to any scanner file, profile or setting; a file it cannot read the time of is counted as skipped, never guessed.

THE TOKEN IS BOUND TO ITS STATION. The token's print agent row is named for the PC (Scanner02, OpexScanner), and a token posts only for that station: any other name is refused 403 before anything is written (_bound_to_its_station). Decision: lane scanner-agents-and-score, 2026-11-16, closing OPEX-LOCAL-2 under the owner's 2026-11-11 delegation to the lead. Until a PC has its own row the watcher cannot post; a Transform PC needs its own row named Transform. The event records source=local_watch and the station, which is now the token's own.

The clock is Roost's (seen_at), so the delay the report measures is seen_at minus the scanner's own write time.

post/api/print/agent/opex-seen

Request

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

Headers

authorization, string nullable

Request body

OpexSeenBody required

A batch of new scanner files from the local watcher on one OPEX PC (ruling 2026-11-10, "a Roost agent on each OPEX PC"). At most 200 per post; the watcher splits a larger batch and posts again. From watch 1.1 an empty batch may carry beat (the watcher's own state); a 1.0 watcher never sends one.

station, 'Transform' | 'OpexScanner' | 'Scanner02' required
files, OpexSeenFile[]
beat, OpexWatchBeat nullable

The local watcher's own state, sent every 10 minutes from watch 1.1 (rule SCN-5; owner 2026-11-15, "Did you get the agent on the both scanning computers so that we can now have visibility into problems").

Response

Successful Response

object required

Changes