/** * HandoffAutoInjector — Phase 6 auto-inject seam (R3). * * Subscribes to the Phase-3 `observation:ingested` event. When a * `session-start` observation lands, it queries the HandoffService for * pending (`open`) handoffs for that project/target agent and records * (via logger.info) how many were found. This is observability + a * future auto-surface hook; the deterministic surfacing primitive is * `HandoffService.listPending` (invoked directly or via the * `handoff_list_pending` MCP tool). * * Design call: consume `observation:ingested` (already typed, already * fired by the Phase-3 SessionStart hook, already consumed by the * ObservationConsolidationJob). Reusing it keeps a single integration * bus (cross-cutting §3) and avoids coupling the memory recall path to * the handoff table. * * Graceful degradation: when the Phase-3 hook is not installed, the * event never fires and `listPending` still works as the recall-path * check. The injector never blocks the session-start path and never * throws. */ import type { HandoffService } from "./handoff-service.js"; export declare class HandoffAutoInjector { private unsubscribe; private readonly service; constructor(service: HandoffService); /** Subscribe to observation:ingested. Returns an unsubscribe fn. */ start(): () => void; stop(): void; } //# sourceMappingURL=handoff-auto-injector.d.ts.map