Skip to content

Track Claude Agent SDK support and upstream permission-hook blockers #1

@eharris128

Description

@eharris128

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions