← Public packages
@kentcdodds/friction-log
Qualify and file friction papercuts to GitHub (any owner/repo) or wake Patch for Kody packages; daily sweep of kody-hq/kody friction issues.
src/index.ts
32 lines · 1.0 KB · TypeScriptimport { SELF_KODY_ID, agentModel, frictionLabel, repoSlug, skippedLabel, timezone } from './shared.ts'
/**
* friction-log overview (daily 5am scan, eligibility rules, and export map).
*/
export default async function describeFrictionLog() {
return {
name: '@kentcdodds/friction-log',
kodyId: SELF_KODY_ID,
repository: repoSlug,
timezone,
schedule: '0 5 * * *',
label: frictionLabel,
skippedLabel,
model: agentModel,
outcomes: ['already-fixed', 'invalid', 'skipped', 'fix'],
exports: {
'.': 'overview',
'./create':
'qualify + file friction (required target: github owner/repo issue or kody Patch wake)',
'./file':
'batch papercuts with one required target (filed/reused/woke/skipped)',
'./scan': 'read-only friction-issue scan (kody-hq/kody daily queue)',
'./sweep': 'scan + optional spawn (supports dryRun)',
'./daily': 'no-arg 5am scheduled wrapper',
'./record-outcome': 'agent final report',
'./pause': 'kill switch on',
'./resume': 'kill switch off',
'./status': 'operator snapshot',
},
}
}