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
GitHub Actions (publish-mods)chore: Update mods/ 3deb873 · 15 days ago History
12 lines · 415 BRaw
1import type { EventResult } from 'claude-code'
2
3/**
4 * What the failure handler answers when a verdict was rewritten, or never
5 * reached, and no check of the rules and hooks vouches for it: a deny.
6 */
7export const UNCHECKED_DENY: EventResult<'tool.check'> = Object.freeze({
8 decision: 'deny',
9 reason:
10 'the rules and hooks in your settings could not be checked for this ' +
11 'call, so it is refused',
12})