trw_pipeline_health
Probes five pipeline signals to detect degradation, returning a structured report with degraded flag and advisory for diagnosis or routine health checks.
Instructions
Probe the five compounding-pipeline signals (sync_push, graph_edges, embedding_coverage, recall_feedback, bandit_state). Returns a structured report with degraded flag and advisory.
Use when:
trw_session_startreturns apipeline_health_advisoryand you need the full per-signal breakdown to diagnose which subsystem is degraded.Performing a routine operator health check outside of ceremony.
Checks: sync_push (consecutive_failures + last_push_at age), graph_edges (knowledge graph empty?), embedding_coverage (< 10%?), recall_feedback (all recall_count=0?), and bandit_state (mtime stale?).
Returns a structured report with:
degraded: True if any signal is degraded.advisory: Compact single-line string naming degraded signals.Per-signal sub-dicts with detailed status.
All probes are read-only and fail-open individually.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||