/** * Intelligence Hook Handlers — Wave 5-D/E of T549 * * Best-effort intelligence side-effects wired into task lifecycle events. * * On task start → calculate risk; if riskScore exceeds the HIGH threshold * (≥ 0.8), store a warning observation so future agents see it. * * All handlers are fire-and-forget: failures MUST NOT propagate or block the * operation that triggered them. * * @task T549 * @epic T549 */ import type { PreToolUsePayload } from '../types.js'; /** * Handle task start: calculate risk and store a warning observation if the * riskScore is at or above the HIGH threshold (≥ 0.8). * * Uses deferred imports so this module can be imported in environments where * not all transitive dependencies (brain.db, tasks.db) are present. * * Best-effort: any error is silently swallowed. */ export declare function handleTaskStartIntelligence(projectRoot: string, payload: PreToolUsePayload): Promise; //# sourceMappingURL=intelligence-hooks.d.ts.map