6b856dbe8581acf31316b04316925f2a098956fa
Adds the onWebhook lifecycle hook to the definePlugin() call. When legal-ai POSTs to /webhooks/case-status, the handler finds the linked Paperclip issue (via plugin state scan), posts a Hebrew status comment, and wakes the CEO agent on qa_failed. Hoists PluginContext and CEO_AGENT_IDS to module scope so onWebhook can access them after setup(). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Description
Paperclip plugin for Legal AI integration — case management, semantic search, workflow tracking
Languages
TypeScript
100%