Summary
We previously attempted Claude Agent SDK / Claude Code integration in Progent on February 4, 2026:
Janus main currently has no Claude adapter. Before adding one, we should track whether Anthropic's permission boundary is reliable enough for policy enforcement.
Why This Matters
Janus is meant to enforce at the tool-call boundary. If canUseTool / can_use_tool or Claude Code hooks can be skipped, timeout, or fail open, a Janus adapter that relies on them would not be trustworthy for security enforcement.
Relevant Upstream Issues
Proposed Enhancement
- Decide whether Janus should add a Claude Agent SDK adapter only when enforcement is local and fail-closed, or explicitly document Claude Agent SDK / Claude Code as unsupported for hard security enforcement until the upstream permission path is reliable.
- If we revisit support, add a minimal repro suite that verifies callback invocation on every tool call, deny-path enforcement in continued sessions / multi-turn runs, stable serialization, and fail-closed behavior on timeout.
Summary
We previously attempted Claude Agent SDK / Claude Code integration in Progent on February 4, 2026:
Janus
maincurrently has no Claude adapter. Before adding one, we should track whether Anthropic's permission boundary is reliable enough for policy enforcement.Why This Matters
Janus is meant to enforce at the tool-call boundary. If
canUseTool/can_use_toolor Claude Code hooks can be skipped, timeout, or fail open, a Janus adapter that relies on them would not be trustworthy for security enforcement.Relevant Upstream Issues
anthropics/claude-code#4775- current callbacks/hooks could not pause for user input; closed as not planned: [BUG][Typescript SDK]canUseToolcallback in the Claude Code SDK is not working anthropics/claude-code#4775anthropics/claude-agent-sdk-python#200-can_use_tool/PermissionResultAllowserialization bug: can_use_tool does not work when serializing PermissionResultAllow anthropics/claude-agent-sdk-python#200anthropics/claude-agent-sdk-python#304- long-running approval timeout and apparent fail-open behavior: Feature Request: Support for Long-Running Tool Approval anthropics/claude-agent-sdk-python#304anthropics/claude-agent-sdk-python#227- duplicate report that the example callback still did not work correctly: Can Use Tool is not working anthropics/claude-agent-sdk-python#227anthropics/claude-agent-sdk-typescript#19-allowedToolsnot enforced: allowedTools Option does not work anthropics/claude-agent-sdk-typescript#19anthropics/claude-agent-sdk-typescript#29- duplicate report thatallowedToolsandcanUseToolwere bypassed in some scenarios: Bug Report for Anthropic Claude Code SDK anthropics/claude-agent-sdk-typescript#29anthropics/claude-code#6305-PreToolUse/PostToolUsenot executing: Post/PreToolUse Hooks Not Executing in Claude Code anthropics/claude-code#6305anthropics/claude-code#10814- hook regression around Claude Code 2.0.30 / 2.0.31: Hooks broken again in v2.0.31 (regression after v2.0.30 fix) anthropics/claude-code#10814Proposed Enhancement