English 繁體中文 日本語 한국어 Español Français Deutsch ไทย Indonesia Filipino

Tetora v2.2 — Safety by Default, Multi-Tenant Dispatch

2026-03-30 · release

Tetora v2.2 raises the bar on safety, reliability, and agent observability. Spanning three patch releases (v2.2.0 → v2.2.2), over 30 improvements make multi-agent dispatch more resilient in production and set the foundation for enterprise-grade deployments.

TL;DR: DangerousOpsConfig blocks destructive commands before agents execute them. Worktree isolation now covers all tasks. New History CLI for failure analysis. --client flag enables multi-tenant workspace isolation. Pipeline overhaul eliminates zombie processes. Self-liveness watchdog auto-restarts unresponsive daemons.

Safety First: DangerousOpsConfig

The most important change in v2.2 isn’t a feature — it’s a guardrail.

DangerousOpsConfig is a new pattern-based command blocking engine. Before any agent runs a shell command, Tetora checks it against a configurable blocklist. If matched, the command is rejected before execution — no side effects, no data loss.

Default-blocked patterns:

Configure your own allowlist in config.json:

{
  "dangerousOps": {
    "enabled": true,
    "extraPatterns": ["truncate", "kubectl delete"],
    "allowlist": ["rm -rf ./dist"]
  }
}

Combined with the companion fix that blocks $HOME from agent AddDirs, agents can no longer accidentally access your entire home directory even when instructed to do so. Defense in depth, not just at the prompt level.

Reliability: Pipeline Overhaul

v2.2 rewrites the pipeline execution layer for production resilience:

The workspace Git layer received the same treatment: index.lock retry with exponential backoff, serialization via wsGitMu, and the stale lock threshold reduced from 1 hour to 30 seconds.

Self-Liveness Watchdog

Production deployments now get automatic crash recovery. The new self-liveness watchdog monitors the Tetora daemon heartbeat; if the process becomes unresponsive, it triggers a supervisor-managed restart.

No more manually SSHing to restart a daemon that silently hung at 3 AM.

Multi-Tenant Dispatch: --client Flag

Multi-tenant support is now built in. The new --client flag isolates dispatch output per client:

tetora dispatch --client acme "Run the weekly report workflow"
tetora dispatch --client initech "Code review for PR #42"

Each client gets its own output path, preventing task outputs from different clients from interleaving. Pairs with the Team Builder CLI for managing multi-client agent configurations from a single Tetora instance.

Worktree Failure Preservation

Previously, if a task failed mid-execution, worktree cleanup discarded any uncommitted changes. v2.2 changes this behavior: failed or cancelled tasks that have commits or local changes are preserved as partial-done instead of being discarded.

This means:

  1. Work-in-progress is never silently lost
  2. You can inspect exactly how far an agent got before failing
  3. Manual recovery is straightforward — the branch is intact

History CLI: Failure Analysis

Three new tetora history subcommands for diagnosing failed agent runs:

tetora history fails              # List recently failed tasks with error summaries
tetora history streak             # Show current success/failure streak per agent
tetora history trace <task-id>    # Full execution trace for a specific task

When an agent fails repeatedly, history fails and trace give you the data to diagnose root cause without digging through raw logs.

Cancel Buttons (v2.2.1)

A quality-of-life improvement that ships in v2.2.1: cancel running tasks directly from the Dashboard.

Both buttons auto-hide once the task completes or the status changes away from doing.

Provider Preset UI

The Dashboard Settings now includes a Provider Preset UI with:

Memory Temporal Decay

Agent memory entries now have time-based relevance decay. Facts learned months ago gradually decrease in priority, preventing stale information from overriding recent context in long-running Tetora deployments.

The decay rate is tunable per project — useful for teams where context changes rapidly and old assumptions should fade quickly.

Site: Astro Migration

The Tetora site has been migrated from legacy HTML to Astro, with notable performance and authoring improvements:

Security Fixes

v2.2 closes two security issues found during internal audit:

Upgrade to v2.2.2

tetora upgrade

Single binary. Zero dependencies. macOS / Linux / Windows.

View full changelog on GitHub