Skip to content

isHardBlocked

reference
1 min readUpdated

Kind: Function

Source: atloria-monorepo/libs/agent-core/src/session/permission-gate.ts

Quick check: is this command in the T3 hard-block list? Convenience wrapper around classifyBashCommand for callers that only need to know whether to block.

Signature

ts
function isHardBlocked(command: string): { blocked: boolean; reason?: string }

Parameters

NameType
commandstring

Returns: { blocked: boolean; reason?: string }

Was this page helpful?

Download as PDF