(last: HealthCheckResult | null | undefined)
| 437 | * verdict cannot be refuted by a credential probe (a successful sync clears |
| 438 | * it instead). */ |
| 439 | const needsAgentReadRevalidation = (last: HealthCheckResult | null | undefined): boolean => |
| 440 | (last?.status === "expired" || last?.status === "degraded") && !isToolSyncHealth(last); |
| 441 | |
| 442 | const toolToOutput = (toolRow: Tool) => ({ |
| 443 | address: String(toolRow.address), |
no test coverage detected