Hook a guard into the router: judge requests before dispatch and filter answers as they are relayed
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
e701f92806
commit
979aa44804
12 files changed
+448
-12
No files matched your search
@@ -0,0 +1,7 @@
|
||||
-- What a guard decided about a request: the action (flagged, redacted,
|
||||
-- blocked), the policy and category it was decided by, and how long it took.
|
||||
-- Names only, never the text.
|
||||
ALTER TABLE usage ADD COLUMN guard_action TEXT NOT NULL DEFAULT '';
|
||||
ALTER TABLE usage ADD COLUMN guard_policy TEXT NOT NULL DEFAULT '';
|
||||
ALTER TABLE usage ADD COLUMN guard_category TEXT NOT NULL DEFAULT '';
|
||||
ALTER TABLE usage ADD COLUMN guard_ms INTEGER NOT NULL DEFAULT 0;
|
||||
Reference in new issue
Block a user