Concepts

Fail mode

What happens when part of Tracehold is unavailable.

Every call is decided before it runs. A call Tracehold cannot decide never runs, whatever this setting says: your connector runs only calls Tracehold handed it after deciding them.

The one choice is what to do while the rate-limit cache (Redis) is unavailable. Set it under Settings → Organization → If the cache is down:

SettingWhile the cache is down
Fail closed (default)Calls are refused until the cache is back
Fail openCalls are still decided, but rate limits and the replay check are skipped

When deciding fails#

If deciding a call fails (the database is unavailable, or a bug), nothing runs, a gateway.fail_mode.* event is written to the audit chain with the error type, Tracehold logs the full error, and the agent is told:

Tracehold could not evaluate this call because of an internal error, so it
was not run. Retry shortly; if it keeps happening, an administrator will
find it in the audit log (gateway.fail_mode).

Not covered by fail mode#

  • A cloud API error after an allowed call runs: recorded as action.execution_failed and returned to the agent.
  • No connector online, a cloud that is not connected, or a provider Tracehold only observes: the call is allowed but not run, and the agent is told which.
  • Tracehold being unreachable: the agent's MCP client cannot reach the tools at all, so nothing runs.