Skip to content

Tale v0.5.80

Choose a tag to compare

@github-actions github-actions released this 10 Oct 09:24
· 650 commits to main since this release
63c7499

Highlights

  • Project agents run each task in a separate worker. A busy agent can take another
    eligible task without another agent definition; organization and host capacity
    still limit concurrent work. Agent workspaces survive sandbox replacement, and
    active turns can recover from a temporary spawner restart.
    #4603,
    #4560,
    #4585
  • Managed schedules can wake a project's standing coordinator when an agent frees
    its slot. Concurrent completions coalesce into one pending wake, with normal
    admission checks and retry backoff. This reduces the wait for the next scheduled
    dispatch without bypassing provider or host limits.
    #4608
  • Operational review contexts can handle a declared batch of up to twenty captured
    reviews. Each target still needs its independent review decision and matching
    evidence. A review context does not create another review of its own report;
    requesting changes completes the review action while leaving the implementation
    unfinished.
    #4616
  • Coding agents can read and edit automation versions through MCP with version
    conflict checks, retained settings, project installation controls, saved-version
    tests and deployment history. Definition changes record their source and client
    in the audit trail. Discovery tools, resources and prompts help clients find
    available models, skills and automation inputs.
    #4592
  • Usage limits now cover transcriptions, knowledge embeddings, chat titles and
    later model rounds. Indexing that reaches a usage limit can wait and resume.
    Subscription-backed managed agent turns count as requests at no model cost;
    connector calls are counted separately from model requests. Agent runs started
    with an API key also count toward that key.
    #4525,
    #4541,
    #4520,
    #4555,
    #4550,
    #4558
  • Sandbox maintenance reduces repeated Docker and BuildKit work and adds a critical
    disk-pressure tier for reclaiming released idle sessions. Busy sessions use
    graceful shutdown, and Kubernetes placement and startup checks retain resource
    bounds.
    #4604,
    #4602,
    #4597
  • Private deployment acceptance can use a captured gateway container while keeping
    the canonical HTTPS hostname, certificate validation and serving-process checks.
    Its receipt records the gateway and network used.
    #4617
  • Maintainers can retire obsolete merge-group validation runs with source and queue
    checks. A separate finishing mode handles only an exact reviewed workflow whose
    real jobs have ended and whose remaining summary jobs are unallocated. Requests
    and uncertain outcomes are retained; cancellation never counts as passing CI.
    #4613

Upgrade notes

  • Use this release's reviewed CLI and matching runtime images. Back up the
    application and knowledge databases, configuration, keys and external stores.
    When upgrading from v0.5.77 or earlier, also follow the inherited
    v0.5.79 upgrade requirements:
    the supported legacy runtime bridge, zero unfinished automation census, managed
    protocol-2 cutover, vector-copy disk headroom and forward-repair restrictions
    still apply. Those retained notes are source history, not proof of a completed
    deployment. Do not clear execution holds or retag earlier versions.
  • Apply the complete ordered application migration inventory. This release adds
    direct-call holds, chat project stamps, agent-run key attribution, knowledge
    author attribution, agent handles and worker records, pending project wakes,
    operational review contexts, MCP activity and automation version attribution.
    Existing migration filenames remain immutable, including the two distinct
    0164 files. The new runtime and its CLI must agree on the installed database
    floor; do not roll back by manually starting an older image.
  • Enable early coordinator wakes explicitly with wakeOnSlotFreed: true in the
    schedule's managed configuration and apply it through the Tale CLI. Only one
    schedule may claim a project's wake, and existing schedules retain their current
    behavior until configured. Enroll a pristine operational task before using review
    batches; an implementation task with retained work cannot be repurposed as a
    review context. Neither feature grants credentials or guarantees a particular
    number of concurrent workers.
  • Update integrations for REST/OpenAPI contract 3.27.0 and the published MCP
    schemas. MCP argument validation now returns structured tool errors, and reads
    offer structured content. Clients using the newer protocol revision must send
    its matching request metadata and headers; earlier supported protocol revisions
    remain available. Automations installed only in projects the caller cannot read
    are hidden on both MCP and REST reads.
  • Review request and token caps for subscription-backed agents, and allow for the
    newly counted transcription and embedding work. Earlier usage is not backfilled,
    and older processes do not write every new usage dimension during a mixed-version
    rollout. Finish retiring those processes before relying on uniform accounting.
    See Policies and limits.
  • A deployment adapter using --origin-container must supply the full running
    gateway ID and consume the optional serving.originRoute receipt. A gateway
    restart, identity change or ambiguous network makes acceptance fail. This proves
    the captured private route; it does not prove public DNS or off-host reachability.
    Keep ordinary monitoring for those paths.

API contract changes

The contract moved from 3.22.0 to 3.27.0 (143 → 143 operations). Read the API reference's versioning section before upgrading a pinned client.

Added operations: none.

Removed operations: none.

Changelog

3.27.0 — 2026-10-09: the MCP endpoint speaks protocol revision 2025-11-25 beside 2025-06-18 and 2025-03-26, answers an MCP-Protocol-Version it does not speak with -32022 naming the supported revisions, answers initialize with instructions, and reports this contract version as serverInfo.version. Tool arguments that miss a tool's schema are a tool result INVALID_ARGUMENTS listing every problem under data.issues (path, code, message) where they were a -32602 naming the first; a refusal a tool throws keeps its code, and an unexpected failure is INTERNAL_ERROR with data.requestId. Read tools declare an outputSchema and answer structuredContent; the text block is compact JSON. Tools carry _meta hints (anthropic/requiresUserInteraction on deploy_automation and set_trigger, anthropic/maxResultSizeChars). Tools that execute an automation, and answer_run_ask, draw from the rest:execute budget (RATE_LIMITED, data.retryAfterMs), and run_deployed, a live start_run, cancel_run and delete_trigger refuse a member before anything runs. A request whose Origin the deployment does not accept is logged, and refused with 403 ORIGIN_FORBIDDEN where the operator enforces the rule (TALE_MCP_ORIGIN_ENFORCE); clients that send no Origin are not judged. The MCP authoring tools reach the editor's parity: save_automation takes baseVersion (a version saved since is refused, AUTOMATION_VERSION_STALE with data.latestVersion), create, projectId and the version's settings, taskContract and presentation (left out = kept from the latest version, named in carried; null = none), answering carried and baseVersionChecked; get_automation answers the whole version beside meta and automation (latestVersion, deployedVersion, the three fields, createdVia, clientName, projectIds, trigger); a version records the door it was saved through (createdVia) and the client; test_automation tests a saved version by name and records its verdict; deploy_automation takes expectedDeployedVersion (AUTOMATION_DEPLOYMENT_STALE) and answers previousVersion; start_run takes mode — live, the default, or mock, any saved version and open to every member; list_runs filters by mode and statuses (the REST list's, quarantined included) and pages with cursor / nextCursor; list_versions answers createdVia, clientName and deployments. New tools: delete_automation, set_automation_projects, answer_run_ask (each asking the person first, like deploy_automation and set_trigger) and get_automation_metrics; get_run names the question a run waiting on a person asked under run.ask (askId, question, nodeId, expiresAt), which answer_run_ask answers, and takes detail (input, output, trace, effects; [] answers the status alone, for polling); run_automation advertises only mode: "mock", the one it ever ran here. Member reads tighten on MCP and REST alike: an automation installed only in projects the key holder cannot read is left out of list_automations and GET /api/v1/automations, and its reads answer AUTOMATION_NOT_FOUND (REST 404) — its runs by name too, unless runs of it are in the URL's scope — and an MCP save onto it is refused as AUTOMATION_NAME_TAKEN. Every change to an automation's definition is audited; one made through the REST API is recorded as the key's (actor type api, via: api-key, the key's id and the request id). validate_automation takes detail ([] answers the issues alone), and validation warns when a document names what the organization lacks: SKILL_UNKNOWN, CONNECTOR_NOT_CONNECTED, SECRET_UNKNOWN (told only to owners, admins and developers), HARNESS_UNKNOWN and EVENT_UNKNOWN, with params and a closest name; a save's warnings carry them too. New discovery tools list what a document may name: list_models, list_harnesses, list_skills, list_connectors, list_agent_secrets (names and masked previews for owners, admins and developers, an empty list for anyone else), list_projects and list_events. The endpoint serves resources and prompts: resources/list (the references tale://docs/{authoring,triggers,validation,skill}, the node kinds tale://catalog/{kind}, then every automation the key holder can see, 100 a page with nextCursor), resources/templates/list (tale://automations/{name}, …/versions/{version}, tale://runs/{runId}) and resources/read, which reads exactly as the matching tool does and answers a read that finds nothing with -32002 and the refusal's data.code; prompts/list and prompts/get (edit_automation, debug_failed_run, add_trigger, attaching what they are about). get_docs takes topic; get_catalog narrowed to a core kind answers the kind's reference. In a batch, a resource read or listing and a prompt draw from the request budget like a tool call. The session route GET /api/app/mcp/skill downloads the Tale skill (SKILL.md). The endpoint also speaks MCP 2026-07-28, request by request beside the 2025 revisions: a request whose params._meta names its revision (with the client's capabilities and, optionally, its name) needs no initialize; server/discover answers the revisions, capabilities and instructions; its MCP-Protocol-Version, Mcp-Method and Mcp-Name headers must say what its body says (else 400 -32020), a missing envelope is 400 -32602, a revision it does not speak is 400 -32022 (now listing 2026-07-28 too), a batch is refused (400 -32600), and initialize, ping and unknown methods are 404 -32601; every result adds resultType and the server under _meta, the lists, reads and server/discover add ttlMs and cacheScope: "private", and a read that finds nothing is -32602 with the same data. The client a 2026-07-28 request names is recorded with the call and on the versions and audit rows it writes. No other REST operation changes. A script that matched the -32602 argument error, or read the indented text, reads the tool result instead.

What's Changed

Full Changelog: v0.5.79...v0.5.80