FabricFabricHarness
CLI

Approvals

Resolve human approval requests from the CLI.

Agents that gate destructive actions can call session.approval.request({ reason, risk, timeout }) to pause until a human responds. The CLI is the simplest way to resolve those requests during development and CI.

fh approvals

fabric-harness approvals <session-id> [--pending] [--state]

List approval requests for a session. --pending filters to unresolved requests; --state includes the request's current state machine (timeouts, history of actions).

fh approve

fabric-harness approve <session-id> <approval-id> [--actor <id>] [--reason <text>]

Mark an approval as approved. The associated session resumes as soon as the running agent (or worker) observes the resolution.

fh approve ask-1f4f... appr-7 --actor preetham --reason "Cleared by SRE"

fh reject

fabric-harness reject <session-id> <approval-id> [--actor <id>] [--reason <text>]

Mark an approval as denied. The agent typically aborts the gated action and returns an actionable failure.

See also