tap_doctor
Run health checks to diagnose tap failures, validate deployments, and audit systems. Returns structured diagnostics with status scores, error details, and auto-heal data to guide repairs.
Instructions
Run health checks on taps. Returns {status, score, rows, issues[], error} per tap. Use as: (1) diagnostic entry point when tap.run fails — doctor gives structured root cause, (2) post-save validation after forge.save — doctor confirms health contract passes, (3) batch health audit — omit site/name to check all taps. With auto:true, broken taps include heal diagnostics (current_code, page_inspection) — use these to generate a fix with forge.verify + forge.save.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | No | Filter by site name (optional — omit for all) | |
| name | No | Filter by tap name (optional) | |
| timeout | No | Timeout per tap in ms | |
| format | No | Output format | json |
| auto | No | Auto-heal: collect diagnostics for broken taps (current code + page inspection). AI reads diagnostics → forge.verify → forge.save. |