Skip to content

Tale v0.5.113

Latest

Choose a tag to compare

@github-actions github-actions released this 02 Dec 21:57
75f420f

Highlights" and "## Upgrade notes" (this is the file that is merged).

The "API contract changes" and "What's Changed" sections below the rule are GENERATED by
release.yml at publication; they are shown only to preview the GitHub release. Do not commit them.
Range: v0.5.112..origin/main (2b18f02) + #5551 + #5553 (both OPEN when drafted, 2026-12-02).
Re-check before committing: git log v0.5.112..origin/main; whether #5540 / #5543 merged (they also
take contract 3.54.0, whichever lands second renumbers); whether #5551 / #5553 changed in review.
-->

Highlights

  • A held gate now holds an agent's start and an automation's start too. A dispatch's gates and a source's label filter held only the dispatch pass: another agent's task_start_agent and an automation's task.start_agent step started the dispatch's agents anyway. A gate that governs the task and holds now answers held with the gate's key, and nothing is assigned, started or counted against the hourly budget; an automation step answers started: false, reason: "held", so a schedule does not count a held gate as a failure. A manager's review batch on a held task is held before it is admitted. The automatic retry of a run an automation, an agent or the dispatch started is held by the same gates, records dispatch_gate_held on the task's timeline and ends that run's retries. On a board a dispatch serves, a task the source does not take (its label filter does not select it, or it waits in a ready-work column the source takes no work from) is refused with AGENT_START_FORBIDDEN. A person's Start, a standing role's task, the dispatch pass's own starts and a project without a dispatch are unchanged (#5548).
  • Security: a harness's keys no longer sit in its environment. In a sandbox, every exec runs at one uid, and any process of that uid could read the /proc/<pid>/environ of a dumpable process, where Claude Code, OpenCode and Pi carried the turn's keys: the session's gateway key, a person's subscription token and BYO keys. Claude Code's MCP configuration also carried the session key on its command line, which every user of the host sees. The sandbox now hands those three harnesses their keys on a descriptor, and a small guard loaded into the harness takes them from it and clears the process's dumpable flag, so another process of the uid is refused its environment and memory. Claude Code's command line now names ${TALE_CONNECTORS_TOKEN} instead of the key. This is the first phase and not the complete fix: a guarded harness's child processes still inherit its keys, and Codex, Gemini CLI, Qwen Code, Hermes and OpenClaw still carry theirs in their environment. Raw devices, which run no shim, are unchanged (#5551).
  • tale incus check keeps an image the project already held. The check's probe helper pulls an image for the probe when the project holds no tale-proxy image, and deleted that image afterwards. When the pull landed on an image the project already held, the delete took the stack's own copy. The helper now removes only its own alias in that case (#5553).
  • Security dependency update: ws 8.23.0. The root lock and the sandbox's own lock now resolve ws 8.23.0 (#5551 carries the sandbox's), which fixes GHSA-37g9-w4hg-h9qr (CVE-2026-140009, high): a peer that floods another with Ping frames while it stops reading can force it to buffer the automatic Pong replies until memory runs out. The update clears it from dependency audits (#5545).
  • The Incus lab runs on Incus 7.7. Zabbly's stable channel no longer carries an Incus 7.6 build, so the CLI's Incus end-to-end suites now install Incus 7.7, and the install page notes it in English, German and French (#5553).

Upgrade notes

  • Platform: run the 0.5.113 images and upgrade the tale CLI with them. This release adds no database migration. No configuration change is needed for the gate and ws changes.
  • API contract: the contract moves to 3.54.0. It is not purely additive: task_start_agent and task.start_agent can now fail with AGENT_START_FORBIDDEN where they used to start, an agent's or automation's external-ref upsert that would take off a label a held gate governs the task by is refused with TASK_LABEL_GATE_HELD, and a start can answer the new reason held. Callers must handle all three. No request shape and no REST operation changes.
  • Sandbox hosts: the key guard refuses to start a guarded harness (Claude Code, OpenCode, Pi) where the kernel's kernel.yama.ptrace_scope is 0 or Yama is missing: the exec exits 126 and every guarded turn on that host fails. Ubuntu and Debian kernels ship scope 1. A host that cannot set it can opt out by setting TALE_HARNESS_GUARD_ALLOW_PTRACE_SCOPE_0=1 in the sandbox runtime daemon's own environment, as the sandbox runtime README describes.
  • Usage and automations: a gate that holds now stops starts that used to go through (an agent's start, an automation's task.start_agent step, a retry). Expect held answers and dispatch_gate_held timeline rows while a freeze or a live-configuration gate is on, including while the dispatch is switched off.

API contract changes

The contract moved from 3.53.0 to 3.54.0 (163 → 163 operations). Read the API reference's versioning section before upgrading a pinned client.

Added operations: none.

Removed operations: none.

Changelog

3.54.0 — 2026-12-02: an agent's native task_start_agent and an automation's task.start_agent step honour the gates of the dispatch of the started agent's own project: a gate that governs the task and holds answers held with the gate's key (gate), and starts nothing; a manager's review batch is held before it is admitted. On a board that dispatch serves, a task the source does not take — its label filter does not select it, or it waits in a ready-work column the source takes no work from — is refused with AGENT_START_FORBIDDEN. The automatic retry of an automated run is held by the same gates, and starts once they open. A task an automation or an agent moved into In progress on such a board is judged by the column a person last put it in. An agent's or an automation's external-ref upsert that would take off a label a held gate governs the task by is refused with TASK_LABEL_GATE_HELD. Not purely additive: a call that started before can now fail with AGENT_START_FORBIDDEN or TASK_LABEL_GATE_HELD, or answer the new reason held, so a caller must handle them. No request shape and no REST operation changes.

What's Changed

Full Changelog: v0.5.112...v0.5.113