A judge model on the cluster: role guard in the catalog, judge in a guard policy

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
Ilker ManapandClaude Opus 5.5 committed 2026-10-04 15:09:31 +02:00
1 parent 0b4c4f0698
commit 43f6a585a6
16 files changed
+803 -15

No files matched your search

+1
View File
@@ -130,6 +130,7 @@ func newServerCmd() *cobra.Command {
if gate, err = guard.NewGate(cfg.Guard, att, log); err != nil {
return fmt.Errorf("guard: %w", err)
}
gate.SetJudge(rt.Judge, rt.GuardFormat)
rt.SetGuard(gate)
log.Info("guardrails on", "policies", len(cfg.Guard.Policies), "default", cfg.Guard.Default)
}