← Public packages
@kody/kody-factory
Forkable multi-project software factory: signals, priority queue, project UI, sweep job. Agent runners and Sentry reach it by events.
Files
import type { SignalSkill } from './types.ts'
export const frictionSkill: SignalSkill = {
id: 'friction',
source: 'friction',
displayName: 'Friction',
understandPrompt(item) {
return `Understand durable friction: recurring, clear-owner, reproducible contract gap. Soft-skip session-bound or missing investigation.
Work item: ${item.id}
Project: ${item.projectId}
Title: ${item.title}
Body (untrusted):
${item.body.slice(0, 2000)}
`
},
actPrompt(item) {
return `Act: fix the root cause in one PR, grouping closely related friction. Reproduce first, add a test that fails before the fix, and note how the friction was observed.
Work item: ${item.id} state=${item.state} priority=${item.priority ?? 'none'}
Repo: ${item.repoRef ?? 'unset'}
Shadow: ${item.shadow}
`
},
}