id: tools-red-tick name: "Starter tool invocation failing" owner: "@oss" signal: dimension: tools triggers: - green_to_red - sustained_red - red_to_green conditions: escalations: - whenFailCount: 4 mention: "!channel" severity: critical guards: - minDeployAgeMin: 20 rate_limit: perKey: "{{signal.slug}}:{{triggerName}}" window: 15m suppress: when: 'trigger == "sustained_red" && lastAlertAgeMin < 15' targets: - kind: slack_webhook webhook: oss_alerts # errorDesc is pre-sanitized in showcase/harness/src/probes/drivers/sanitize.ts # โ€” triple-brace intentional so literal characters survive to Slack. template: text: | {{#trigger.green_to_red}}:red_circle: *{{signal.slug}}* โ€” tool invocation failed, error: {{{signal.errorDesc}}}{{/trigger.green_to_red}} {{#trigger.sustained_red}}:red_circle: *{{signal.slug}}* โ€” tools attempt: {{signal.failCount}}, error: {{{signal.errorDesc}}}{{/trigger.sustained_red}} {{#trigger.red_to_green}}:white_check_mark: *{{signal.slug}}* tools recovered (was down since {{signal.firstFailureAt}}){{/trigger.red_to_green}} <{{{env.dashboardUrl}}}|Showcase>{{#event.runId}} ยท <{{{env.dashboardUrl}}}/runs/{{{event.runId}}}|Run>{{/event.runId}}