/** * src/tools/record-rejection.ts — handler for `skillfm_record_rejection`. * * Agent calls this when the user dismisses a suggestion. Critical for * keeping us out of "Clippy spam" territory: rejection signal feeds back * into the decision engine via `acceptanceRateForCategory`. * * Phase 0: forwards to BrainClient.postFeedback (mock returns 0.31 rate). * * TODO Week 5: * - When `reason='too_pushy'` arrives 3+ times for a category, brain * should auto-disable that category in the user's prefs. * - Surface rejection trends back to brain so curators can deprecate * low-value rules. * - Emit telemetry event 'rejection' with reason for product analytics. */ import { type SkillFmRecordRejectionInput, type SkillFmRecordFeedbackOutput, type SkillFmToolResult } from '../_vendored-contracts/beacon-mcp-tools-v1.js'; import type { BrainClient } from '../brain-client.js'; export interface RecordRejectionDeps { brain: BrainClient; } export declare function handleRecordRejection(input: SkillFmRecordRejectionInput, deps: RecordRejectionDeps): Promise>; //# sourceMappingURL=record-rejection.d.ts.map