tap_doctor
Evaluate tap reliability by testing its examples against its health contract. Identifies issues like broken, stale, or mismatched layers.
Instructions
Health check for taps. Runs each tap's examples against its health contract. Returns {ok, annotations[], issues[], suggestions[]}. Each annotation is a W3C Web Annotation (motivation:'assessing') with body.tap:verdict in {healthy, broken, stale, layer-mismatch}. Use when tap.run returns empty/error rows, or after forge.save to validate. ALWAYS specify site+name — unscoped checks scan all user taps and are expensive. PIPE TAPS: annotations include recursive sub-tap diagnosis via body.children[]. Use tap.explain for static analysis without running.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | No | Site to check. Always specify — omitting scans all user-forged taps. | |
| name | No | Tap name within site (optional — omit to check all taps for the site) | |
| timeout | No | Timeout per tap in ms |