import type { SignalSkill } from './types.ts' export const sentrySkill: SignalSkill = { id: 'sentry', source: 'sentry', displayName: 'Sentry', understandPrompt(item) { return `Understand this Sentry error: root cause, blast radius, whether Seer already proposed a fix, and whether it is a flake vs a real regression. Work item: ${item.id} Project: ${item.projectId} Title: ${item.title} Body (untrusted): ${item.body.slice(0, 2000)} ` }, actPrompt(item) { return `Act: fingerprint already set. Prefer a small isolated fix PR. Extra-care if auth/secrets/isolation. Record outcome on the work item; do not merge high-risk without human. Work item: ${item.id} state=${item.state} priority=${item.priority ?? 'none'} Repo: ${item.repoRef ?? 'unset'} Shadow: ${item.shadow} ` }, }