Draft
Conversation
…l catalog Features: - Web dashboard UI for configuring all hook behavior - Access control rules (block users, filter toolkits/tools) - Pre-execution rules (block/modify requests, content filtering) - Post-execution rules (block/modify responses) - PII detection and redaction (email, IP, SSN, phone, credit card, DOB) - A/B testing with deterministic variant assignment and traffic splitting - Tool catalog integration (fetch tools from external API) - Configuration stored in YAML with hot-reload - All CATE webhook endpoints (health, access, pre, post) Co-authored-by: sterling <sterling@arcade-ai.com>
Demonstrates the three CATE hook points: - Access hook: Block users and filter toolkits by pattern - Pre-hook: Block requests based on input content matching - Post-hook: Block responses containing prohibited content Co-authored-by: sterling <sterling@arcade-ai.com>
Demonstrates post-hook PII redaction: - Detects emails, IPs, SSNs, phone numbers, credit cards, dates of birth - Two modes: redact (replace with markers) or block (reject response) - Recursive scanning of nested output structures Co-authored-by: sterling <sterling@arcade-ai.com>
Demonstrates pre-hook A/B testing: - Deterministic hash-based variant assignment - Sticky sessions (same user always gets same variant) - Percentage-based traffic splitting - Server routing override for variant selection - Admin endpoint to view assignments Co-authored-by: sterling <sterling@arcade-ai.com>
Co-authored-by: sterling <sterling@arcade-ai.com>
|
Cursor Agent can help with this pull request. Just |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add a comprehensive CATE webhook server with a web UI and three new example servers for content filtering, PII redaction, and A/B testing.
This PR introduces a full-featured CATE webhook server with a web dashboard for configuration and monitoring, demonstrating advanced capabilities like rule-based access, pre/post-execution hooks, PII redaction, A/B testing, and tool catalog integration. It also provides three focused examples to showcase content filtering, PII redaction, and A/B testing independently.