$ the-wire · showcase
Claude Code 2.1.326, agent SDK permission fix, five security-guidance fixes
By RepoJournal · Filed · About Anthropic · Composed from the cited sources · methodology
Claude Code 2.1.326 adds a startup warning for malformed tool rules, and the Python agent SDK stops silently discarding the entire permission update list whenever one entry fails the CLI's schema.
fix: send permission updates in the shape the CLI accepts (#1502) anthropics/claude-agent-sdk-python
When can_use_tool returned PermissionResultAllow(updated_permissions=[...]), a single entry PermissionUpdate.to_dict() produced that the CLI's schema rejected caused the whole list to be dropped: the call went through, nothing was remembered, and the user was asked again. The update serializer now emits values in the shape the CLI accepts, closing the loop for the ruleContent and destination ca...
v2.1.326 anthropics/claude-code
by claude-code-publisher[bot]
Sessions with agent teams on that already had Code Mode enabled now start in Code Mode. The release also warns at startup when an --allowedTools, --disallowedTools or --tools entry isn't a complete rule, explains why MCP servers stop loading when an administrator drops in managed-mcp.json mid-session, and adds a /status row naming your provider or environment.
security-guidance: use the CA file macOS ships when Python has none anthropics/claude-plugins-official
A python.org Python on macOS carries no CA certificates until its Install Certificates command is run, so every review from it failed to verify the API's certificate. Where Python's default TLS context holds no certificate, the plugin now adds /etc/ssl/cert.pem, the file Apple's own Python uses, with verification otherwise unchanged.
Merge pull request #7104 from anthropics/mhegazy/sg-line-continuation anthropics/claude-plugins-official
The security-guidance plugin now matches git commit and git push commands whose text continues on the next line, alongside fixes that cut false edit warnings on ordinary JavaScript and stop the edit hook from waiting on App Installer's python alias.
fix: send permission updates in the shape the CLI accepts anthropics/claude-agent-sdk-python
The SDK change is reported twice in the feed, as the pull request and the squashed commit; the substance is the same.
Raise toolhive GitHub advisory minimum to medium anthropics/oss-scanner
Elsewhere, oss-scanner raised its toolhive GitHub advisory minimum to medium, so low-severity findings go only to the security email rather than being filed as private vulnerability reports, and it took enrollment submissions for pydantic, Solidity, logfire and logfire-js; the SDK snapshot moved to bundled CLI 2.1.326.
Action items
- → Upgrade claude-agent-sdk-python past the permission-update fix if you pass updated_permissions from can_use_tool anthropics/claude-agent-sdk-python [plan]