PipelineAgent
An agent that watches data pipelines, repairs the breaks it can, opens a pull request and merges it after a scripted gate passes, and hands the rest to a person with one issue.
Most monitoring asks whether a job exited 0. This asks whether fresh data landed. A job that succeeds while writing nothing is the failure it is built around.
Everything below is live: 8 public feeds, checked every hour, rendered by the loop itself.
Self-test on canary_selfcheck: 2/3 drills correct · last: green_job_dead_data injected 2026-11-25T02:24Z → CORRECT (ESCALATED, detected in 181 min) · evidence
Failed self-test, since resolved: schema_drift drill injected 2026-11-11 02:24Z ended WRONG (ESCALATED) (expected FIXED). human:B-cmd-alt on 2026-11-11: A test pinned the exact failure the drill asks the agent to repair, so correct patches were rejected; the test was fixed. · the fix
What the agent has done
No repair recorded yet.
Does it work? Injected failures, scored
| Feed | Injected | Triaged as | At (UTC) | MTTD min | Outcome | Expected | MTTR min | Gate rejects | Verdict | Evidence |
|---|---|---|---|---|---|---|---|---|---|---|
| coingecko_prices | schema_drift schema_rename | schema_drift | 2026-11-08T22:23Z | 182 | FIXED | FIXED | 85 | 6 | CORRECT | PR #10 |
| github_status | stale_source stale_source | stale_source | 2026-11-09T03:24Z | 182 | ESCALATED | ESCALATED | 60 | 0 | CORRECT | issue #19 |
| ieso_ontario_demand | green_job_dead_data frozen_payload | green_job_dead_data | 2026-11-09T03:30Z | 1616 | ESCALATED | ESCALATED | 59 | 0 | CORRECT | issue #22 |
| canary_selfcheck | schema_drift schema_rename | schema_drift | 2026-11-11T02:24Z | 122 | ESCALATED | FIXED | 120 | 3 | WRONG (ESCALATED) | issue #31 |
| canary_selfcheck | stale_source stale_source | stale_source | 2026-11-18T02:24Z | 121 | ESCALATED | ESCALATED | 60 | 0 | CORRECT | issue #39 |
| canary_selfcheck | green_job_dead_data frozen_payload | stale_source | 2026-11-25T02:24Z | 181 | ESCALATED | ESCALATED | 0 | 0 | CORRECT | issue #44 |
Faults are injected between the HTTP client and the parser; everything downstream reacts as to a real upstream change. Baseline: detectors without the agent find the same failures at the same time, then wait for a person. Detection time is bounded below by each feed's SLA: 3 hours for the hourly feeds, 30 hours for IESO's once-a-day file.
How it works
Fetch7 public feeds + a canary
Hourly. Every raw response is archived by content hash, so any failure can be replayed byte for byte later.
Storeappend-only, vintaged
Rows are never overwritten; each carries captured_at. The warehouse is the only source the detectors read.
Detectdata, not exit codes
Three axes per feed: how long since we wrote, how old the data's own clock is, whether values froze. UNKNOWN is never green.
Ledgerfindings + dispositions
A finding is one not-OK stretch. It carries exactly one current disposition, and FIXED requires evidence.
Triagea rule table, no model
Schema drift is patchable; a timed-out source, a green job with dead data, a frozen value are not, and are escalated with one issue.
Replayreproduce before fixing
The archived failing bytes are fed to the current code in a sandbox with the network off. If the failure does not reproduce, nothing is patched.
Patchthe only model call
A model proposes a new fetcher module and one test. It only proposes; it never decides.
Gatea script is the judge
Diff linter (no SLA, detector, test or policy edits), replay (failing bytes must land rows, healthy bytes must not change) and the whole test suite.
Merge + deployautomatic on PASS
Squash merge, Cloud Build, and a check that the running job's code hash matches the commit.
Verifythe next live runs decide
Cleared within two runs: FIXED with the PR as evidence. Still open: automatic revert. Three failures: ESCALATED.
Scenario evalsevery change, offline
Recorded drills and incidents replayed through the real code; guarded so answers cannot drift silently.
Weekly drillsthe live path
A canary is broken on purpose every Wednesday; a wrong or missed verdict opens an issue.
Dead-man switchthe monitor's own pulse
No heartbeat for 26 hours turns this whole page red, computed in your browser.
Learningbounded
Findings a person settles become replayable test drafts. The system grows its tests, never edits its own judge.
Click a step for what it does. Dashed: the model. Bold: a deterministic judge.
The fleet, right now
Last 24h: 4 failed runs · 310 rows landed · findings 1 opened / 2 closed · dispositions 0 FIXED · 1 ESCALATED · 0 BENIGN · 0 UNKNOWN cells right now (blind, never green)
| Feed | Write recency last captured_at vs now | Head lag newest event_ts vs now | Flat value N identical in a row | Last run | Last 24h runs |
|---|---|---|---|---|---|
| nws_observationshourly · NOAA/NWS latest surface observations for four airport stations (api.weather.gov). | ✓ OK 0.01 / 3last captured_at 2026-12-01T14:24:44.300788+00:00 (0.0h ago) | ✓ OK 1.09 / 4newest event_ts 2026-12-01T13:20:00+00:00 (1.1h behind now) | ✓ OK 2 / 12longest identical run 2 < 12 on temperature_c | ● ok1m ago, 4 rows | 24 ok · 0 unchanged · 0 failed · 0 skipped · 96 rows |
| open_meteo_currenthourly · Open-Meteo current conditions for two points (no key). | ✓ OK 2.02 / 3last captured_at 2026-12-01T12:24:11.705604+00:00 (2.0h ago) | ✓ OK 2.17 / 3newest event_ts 2026-12-01T12:15:00+00:00 (2.2h behind now) | ✓ OK 1 / 12longest identical run 1 < 12 on temperature_2m | ✕ failed1m ago, 0 rows — HTTP 503 for https://api.open-meteo.com/v1/forecast | 20 ok · 0 unchanged · 4 failed · 0 skipped · 40 rows |
| usgs_earthquakes_hourhourly · USGS 'all earthquakes, past hour' GeoJSON summary feed. | ✓ OK 0.01 / 3last captured_at 2026-12-01T14:24:44.300788+00:00 (0.0h ago) | ✓ OK 0.01 / 3newest event_ts 2026-12-01T14:24:40+00:00 (0.0h behind now) | ✓ OK 1 / 24longest identical run 1 < 24 on feature_count | ● ok1m ago, 1 rows | 24 ok · 0 unchanged · 0 failed · 0 skipped · 24 rows |
| fred_dgs10daily · FRED 10-year Treasury constant-maturity yield (DGS10) via the public fredgraph CSV; '.' marks a missing value. | ✓ OK 3.02 / 80last captured_at 2026-12-01T11:24:12.528402+00:00 (3.0h ago) | ✓ OK 110.42 / 120newest event_ts 2026-11-27T00:00:00+00:00 (110.4h behind now) | ✓ OK 1 / 5longest identical run 1 < 5 on value | · skipped1m ago, 0 rows — daily feed refreshed 3.0h ago (< 20h) | 1 ok · 0 unchanged · 0 failed · 23 skipped · 30 rows |
| github_statushourly · GitHub public status page summary (Statuspage API). | ✓ OK 0.01 / 3last captured_at 2026-12-01T14:24:44.300788+00:00 (0.0h ago) | ✓ OK 2.6 / 240newest event_ts 2026-12-01T11:49:22.745000+00:00 (2.6h behind now) | – not declarednot declared in fleet.yaml | ● ok1m ago, 1 rows | 24 ok · 0 unchanged · 0 failed · 0 skipped · 24 rows |
| coingecko_priceshourly · CoinGecko simple price endpoint for BTC and ETH (free tier, aggressively rate limited). | ✓ OK 0.01 / 3last captured_at 2026-12-01T14:24:44.300788+00:00 (0.0h ago) | ✓ OK 0.02 / 3newest event_ts 2026-12-01T14:24:30+00:00 (0.0h behind now) | ✓ OK 1 / 6longest identical run 1 < 6 on price_usd | ● ok1m ago, 2 rows | 24 ok · 0 unchanged · 0 failed · 0 skipped · 48 rows |
| ieso_ontario_demanddaily · IESO hourly Ontario demand (PUB_Demand.csv); hour-ending in fixed Eastern Standard Time all year (no DST), a classic timezone trap. | ✓ OK 16.02 / 30last captured_at 2026-11-30T22:24:10.339362+00:00 (16.0h ago) | ✓ OK 32.42 / 54newest event_ts 2026-11-30T06:00:00+00:00 (32.4h behind now) | ✓ OK 1 / 6longest identical run 1 < 6 on ontario_demand | · skipped1m ago, 0 rows — daily feed refreshed 16.0h ago (< 20h) | 1 ok · 0 unchanged · 0 failed · 23 skipped · 24 rows |
| canary_selfcheckhourly · Canary: this project's own published data.json. The weekly self-test drills break this feed, not somebody else's data. | ✓ OK 0.01 / 3last captured_at 2026-12-01T14:24:44.300788+00:00 (0.0h ago) | ✓ OK 0.99 / 4newest event_ts 2026-12-01T13:26:13.662764+00:00 (1.0h behind now) | – not declarednot declared in fleet.yaml | ● ok1m ago, 1 rows | 24 ok · 0 unchanged · 0 failed · 0 skipped · 24 rows |
Cells are computed from the data tables, never from job exit codes. ✓ OK · ✕ BREACH · ? UNKNOWN = the detector could not look (table missing, read failed, not enough history) and is never shown as healthy · – not declared in fleet.yaml. Hover a cell for the detector's reasoning.
Open findings (0)
Each finding is one continuous not-OK stretch of a feed × axis. It carries exactly one current disposition: FIXED 3 · BENIGN 8 · ESCALATED 25 · DEFERRED 4 · UNKNOWN 0 (all-time, latest row per finding).
No open findings. (Verified by reading the ledger, not by absence of alerts.)
Recently settled
fred_dgs10 / Write recency ESCALATED
Every step (3)
fred_dgs10 / Head lag ESCALATED
Every step (3)
- triage ok · attempt 1 — stale_source -> escalate: rows arrive but the data's own clock is behind the SLA; the publisher is late
- escalate ok · attempt 1 — rows arrive but the data's own clock is behind the SLA; the publisher is late · issue #46
- issue_closed ok — closed: finding no longer open · issue #46
ieso_ontario_demand / Write recency ESCALATED
canary_selfcheck / Head lag ESCALATED
Every step (3)
- triage ok · attempt 1 — stale_source -> escalate: rows arrive but the data's own clock is behind the SLA; the publisher is late
- escalate ok · attempt 1 — rows arrive but the data's own clock is behind the SLA; the publisher is late · issue #44
- issue_closed ok — closed: finding no longer open · issue #44
fred_dgs10 / Head lag ESCALATED
Every step (3)
- triage ok · attempt 1 — stale_source -> escalate: rows arrive but the data's own clock is behind the SLA; the publisher is late
- escalate ok · attempt 1 — rows arrive but the data's own clock is behind the SLA; the publisher is late · issue #43
- issue_closed ok — closed: finding no longer open · issue #43
fred_dgs10 / Write recency ESCALATED
Every step (3)
fred_dgs10 / Head lag ESCALATED
Every step (3)
- triage ok · attempt 1 — stale_source -> escalate: rows arrive but the data's own clock is behind the SLA; the publisher is late
- escalate ok · attempt 1 — rows arrive but the data's own clock is behind the SLA; the publisher is late · issue #42
- issue_closed ok — closed: finding no longer open · issue #42
open_meteo_current / Head lag ESCALATED
Every step (2)
- join ok — follows sibling finding 0cdedd5dbcdf144d (same feed): DEFERRED
- join ok — follows sibling finding 0cdedd5dbcdf144d (same feed): ESCALATED
open_meteo_current / Write recency ESCALATED
Every step (4)
- triage ok · attempt 1 — stale_source -> defer: upstream failing (source_error: transport: ReadTimeout: HTTPSConnectionPool(host='api.open-meteo.com', port=443): Read timed out. (read timeout=10)); waiting one run before escalating
- triage ok · attempt 1 — stale_source -> escalate: upstream keeps failing (source_error: transport: ReadTimeout: HTTPSConnectionPool(host='api.open-meteo.com', port=443): Read timed out. (read timeout=10)); nothing in this repo can fix the source
- escalate ok · attempt 1 — upstream keeps failing (source_error: transport: ReadTimeout: HTTPSConnectionPool(host='api.open-meteo.com', port=443): Read timed out. (read timeout=10)); nothing in this repo can fix the source · issue #41
- issue_closed ok — closed: finding no longer open · issue #41
ieso_ontario_demand / Write recency ESCALATED
canary_selfcheck / Head lag ESCALATED
Every step (1)
- join ok — follows sibling finding 3e9267d3e186aa42 (same feed): ESCALATED
canary_selfcheck / Write recency ESCALATED
Every step (4)
- triage ok · attempt 1 — stale_source -> defer: upstream failing (source_error: transport: ReadTimeout [injected by the harness]); waiting one run before escalating
- triage ok · attempt 1 — stale_source -> escalate: upstream keeps failing (source_error: transport: ReadTimeout [injected by the harness]); nothing in this repo can fix the source
- escalate ok · attempt 1 — upstream keeps failing (source_error: transport: ReadTimeout [injected by the harness]); nothing in this repo can fix the source · issue #39
- issue_closed ok — closed: finding no longer open · issue #39