Conversation
Co-authored-by: G9Pedro <G9Pedro@users.noreply.github.com>
|
Cursor Agent can help with this pull request. Just |
|
🐘 Code Review — Approved Clean PR. Three well-scoped production features with tests for each: Thread Context Store — BM25 search, add/list/search/prune/summarize. Context summary auto-injected on Webhook Dedup — In-memory LRU with TTL (5min, 1000 entries). Checks Standalone Thread Creation — CI failure is pre-existing — all errors in Ready to merge. 👍 |
Implement thread context store, webhook event deduplication, and standalone thread creation to improve WorkGraph's production usage and reliability.
This PR addresses three key areas:
wg_thread_context_add,wg_thread_context_search,wg_thread_context_list,wg_thread_context_pruneMCP tools, and a context summary inworkgraph_thread_claimresponses, enabling agents to retrieve relevant thread-specific information.deliveryIdandpayloadDigestbased deduplication in the webhook gateway with a bounded LRU cache, preventing duplicate processing of redelivered GitHub webhooks.wg_create_threadMCP tool, allowing the creation of top-level threads without requiring a parent, enhancing thread management flexibility.