spacehub

surshar / claude-code

Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows - all through natural language commands.

Built by Anthropic · github.com/anthropics

claude-code / mods / sec-default / hooks / held-verdict / verdicts / unchecked-deny.ts
12 lines · 411 BRaw
1import type { EventResult } from 'claude-code'
2
3/**
4 * What the failure handler answers when a verdict was loosened, or never
5 * reached, and no deny rule check vouches for it: absent counts as deny.
6 */
7export const UNCHECKED_DENY: EventResult<'tool.check'> = Object.freeze({
8 decision: 'deny',
9 reason:
10 'the deny rules in your settings could not be checked for this call, ' +
11 'so it is refused',
12})