Snowflake’s latest Cortex Code Desktop release tightens the controls around agent execution
Version 1.21.7 makes automation changes confirmation-bound, limits subagent skills, fixes fail-open hooks and stops multi-statement SQL as a unit.
Snowflake’s Cortex Code Desktop v1.21.7 is framed as a usability and reliability release, but several of its most consequential changes sit directly on the control plane for enterprise data agents. The release lets agents manage local automations from chat, narrows what subagents can access, fixes a fail-open hook path and changes how interrupted SQL work is cancelled. Snowflake’s detailed release notes document all four changes.
Automation changes get a hard confirmation boundary
The desktop agent can now list, create, update, delete and run local automations from chat. Snowflake says every change requires confirmation even when Bypass Approvals is enabled; administrators or users can disable the capability entirely with scheduledTasks.agentTool.enabled=false. That separation matters operationally: bypassing routine tool approvals does not silently grant permission to alter unattended schedules. The release notes state that exception explicitly.
The same release also adds allowed and advertise lists to subagent skill definitions. A subagent configured with tools: ['*'] no longer automatically inherits the full skill catalog. This turns skill exposure into an explicit configuration surface rather than an incidental consequence of a broad tools setting. Snowflake describes the new scope controls.
Hooks now fail closed
Snowflake fixed a more direct trust-boundary problem: a PreToolUse hook returning permissionDecision: 'deny' now blocks the tool, and a hook failure is no longer interpreted as permission. Hooks also run for subagent tool calls. Together, those changes close both an enforcement bug and a delegation gap in the same release. The security-related fixes appear in the reliability section.
SQL interruption semantics changed too. Pressing Stop during a multi-statement SQL run now terminates the full run; previously, later statements could continue after the user tried to stop execution. The release also fixes agent SQL losing the chat’s database and role after an approximately hourly token refresh, when it could fall back to connection defaults. Snowflake documents both fixes.
For operators, the practical review is short: verify that automation management is enabled only where intended, inspect subagent skill allowlists, test deny and failure behavior in every pre-tool hook, and rerun a multi-statement cancellation test after upgrading. Version 1.21.7 does not remove the need for database-side least privilege, but it makes the desktop agent’s own boundaries substantially more explicit.
sources
- Cortex Code Desktop v1.21.7 release notesdocs.snowflake.com
- Oct. 13, 2026: CoCo Desktop v1.21.7docs.snowflake.com
comments · 0