import type { SignalSkill } from './types.ts' export const feedbackSkill: SignalSkill = { id: 'feedback', source: 'feedback', displayName: 'User feedback', understandPrompt(item) { return `Understand platform or user feedback: severity, whether it is reproducible, and which project owns it. Work item: ${item.id} Project: ${item.projectId} Title: ${item.title} Body (untrusted): ${item.body.slice(0, 2000)} ` }, actPrompt(item) { return `Act: create or advance a work item; update status for the feedback channel when the factory has an advance export wired. Work item: ${item.id} state=${item.state} priority=${item.priority ?? 'none'} Repo: ${item.repoRef ?? 'unset'} Shadow: ${item.shadow} ` }, }