Skip to content

Initial Examples#1

Merged
sdreyer merged 3 commits intomainfrom
cursor/it-se-7f85
Feb 11, 2026
Merged

Initial Examples#1
sdreyer merged 3 commits intomainfrom
cursor/it-se-7f85

Conversation

@sdreyer
Copy link
Contributor

@sdreyer sdreyer commented Feb 10, 2026

Introduce a full-featured hook server with a web UI and several focused examples to demonstrate CATE hook system capabilities.

This PR delivers a comprehensive hook server with a web-based UI for configuring access rules, PII redaction, and A/B/canary testing. It also includes several smaller, single-purpose example servers to illustrate specific functionalities like user blocking, content filtering, PII redaction, and A/B testing in isolation.


Open in Cursor Open in Web

cursoragent and others added 2 commits February 10, 2026 07:20
Features:
- Web dashboard UI for configuring all hook behaviors
- Access/pre/post rules with pattern matching (exact, glob, regex)
- PII detection and redaction (email, IP, SSN, phone, credit card, DOB)
- A/B and canary testing with consistent user assignment
- External tool registry integration
- YAML config with hot-reload and file persistence
- Request logging with PII and A/B variant tracking

Co-authored-by: sterling <sterling@arcade-ai.com>
… redaction, and A/B testing

Smaller example servers (no UI) demonstrating individual hook capabilities:
- user_blocking: Block specific users via access and pre-execution hooks
- content_filter: Filter tool calls/responses based on keywords and regex patterns
- pii_redactor: Detect and redact PII (email, IP, SSN, phone, credit card, DOB) in outputs
- ab_testing: Route tool calls to different versions with consistent hashing and stats

Also updates the top-level README with an overview of all examples.

Co-authored-by: sterling <sterling@arcade-ai.com>
@cursor
Copy link

cursor bot commented Feb 10, 2026

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents

@sdreyer sdreyer marked this pull request as ready for review February 11, 2026 02:00
@sdreyer sdreyer changed the title It se Initial Examples Feb 11, 2026
@sdreyer sdreyer merged commit 98dbde6 into main Feb 11, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants