Skip to content

classifyBashCommand

reference
1 min readUpdated

Kind: Function

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

Classify a bash command into a reversibility tier. Uses pattern matching — prefers specificity (T3 checked first).

Signature

ts
function classifyBashCommand(command: string): ReversibilityResult

Parameters

NameType
commandstring

Returns: ReversibilityResult

Was this page helpful?

Download as PDF