tap_doctor
Checks tap health by running examples against health contracts. Returns annotations, issues, and suggestions for broken, stale, or mismatched taps.
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 |
|---|---|---|---|
| name | No | Tap name within site (optional — omit to check all taps for the site) | |
| site | No | Site to check. Always specify — omitting scans all user-forged taps. | |
| timeout | No | Timeout per tap in ms |