Skip to content

v2026.11.13

Choose a tag to compare

@github-actions github-actions released this 13 Nov 19:21
· 32 commits to main since this release
5a3faf7

v2026.11.13 — BREAKING (runner credential must be admin; skill authority keys need an admin)

The Multica-gap epic (#817): runs you can steer, read and bill, agents with least privilege, cron schedules,
distributed runtimes, SKILL.md interop and a Microsoft Teams bridge — plus the runner, embedding and VS Code work
merged since v2026.10.29.

Upgrade checklist (in this order):

  1. Give every runner an admin-capable credential (escurel:admin on ESCUREL_RUNNER_TOKEN / ESCUREL_RUNNER_TOKEN_FILE,
    or minting mode) before the new image runs — otherwise it takes no inbox work (see Breaking below).
  2. Give the people who curate skills escurel:admin, or list their group in each skill's acl.update.
  3. If a skill page names model:, list that model in ESCUREL_RUNNER_MODEL_ALLOW (#810), or its runs fail closed.
  4. The first boot re-embeds the whole corpus once (#815): an index created before this release has no recorded
    embedding model, and an unrecorded model counts as a change. It is staged per batch (old vectors keep serving; a
    provider failure resumes next boot), but it costs one full embedding pass at the provider's rate limit — schedule
    it. Changing provider or model later re-embeds again.
  5. Dashboards that match the exact label set of escurel_runner_cost_usd_total / escurel_runner_tokens_total
    need the new skill and model labels.

Runs you can see, steer and bill; agents with least privilege; cron schedules (epic #817: #819–#823).

  • Steer a live run with run_control{action:"inject"} (claude, echo; codex answers unsupported) (#820).
  • Run transcripts, redacted and stored per run, read with fetch_blob{run_id}; retention via
    ESCUREL_RUN_TRANSCRIPT_RETENTION_DAYS (#822). New table run_transcripts (migration 0022).
  • usage_report cost rollups and list_events{since, until}; CLI escurel run usage (#821).
  • Agent profiles (agent system skill, admin-only): the gateway enforces scopes.tools and scopes.write on
    run tokens with an agent claim, plus per-agent concurrency (#823).
  • Schedules: schedule: / schedule_budget: skill frontmatter, fired by the runner; the lint tick becomes a
    schedule (ESCUREL_RUNNER_SCHEDULE_TICK, ESCUREL_RUNNER_SCHEDULE_GRACE) (#819).
  • UI: VS Code transcript tab, cost chip, Steer box, Usage and Agents views, schedule chips; explore cost badge,
    Agents panel and schedule badge.

Behaviour changes to note:

  • Metrics: escurel_runner_cost_usd_total and escurel_runner_tokens_total gain skill and model labels —
    dashboards that sum without by are unaffected, ones that match the exact label set need updating.
  • Writes: a page write must be allowed by the declared skill, the path's skill and the stored page's skill
    (relabels and moves can no longer escape the stored skill's ACL); move_page checks the destination's ACL.
  • claude runs now use stream-json; usage sums every turn, and tool_calls counts tool_use blocks.
  • Event ids starting run:, sched: or lint- are reserved for the runner's identity.
  • mint_agent_token refuses machine callers (agent, narrowed, run and workbench tokens).
  • usage_report totals carry priced_runs / unpriced_runs; the UIs say "cost unavailable" instead of $0.00.
  • With several runners, only the runner that holds a run answers its cancel / retry / inject at once; the others defer.
  • codex tool calls are read from item.type (codex-cli 0.168 shape) and counted once per completed call.

Distributed runtimes, SKILL.md interop and a Teams bridge (epic #817: #818, #824, #825).

  • Runtimes (#818): runners register runtime pages and route by requires: {harness, labels}; gateway
    claim_event / renew_claim leases give each event one runner (with a boot grace after a gateway restart);
    ESCUREL_RUNNER_EXCLUSIVE for laptop/on-prem runners; list_runtimes, escurel runtime list. Scheduled windows
    run exactly once across runners; the holding runner answers run control.
  • SKILL.md (#825): escurel skill export --as skill-md / escurel skill import, VS Code "Export as SKILL.md",
    references/12 on escurel as memory MCP for external agents.
  • Teams (#824): new escurel-chat-bridge binary (in the runner image, off unless configured); see
    docs/deploy/chat-bridge.md. New gateway key ESCUREL_AUTH_BRIDGE_KID restricts what a bridge-signed token may do.
  • UI: VS Code Runtimes view, requires chips, claim holder in run detail; explore Runtimes panel.

Behaviour changes to note: a third system skill (runtime) appears in list_skills; the gateway's page-chat
reply rule and the runner's chat rule accept captured_via: bridge:<channel>.

  • Breaking — every runner needs an admin credential. A runner whose claim_event is refused for
    authorisation (-32001 / -32003 / 401 / 403) now takes no inbox work, lone or in a fleet (the
    lone-runner exception is gone), and logs the runner credential needs escurel:admin to claim events; every
    runner checks whoami at boot and logs that error when it is not an admin (it keeps serving /healthz). A
    gateway without claim tools (-32601) and synthetic webhook events are unaffected. Upgrade step: give the
    runner an admin-capable credential (escurel:admin on ESCUREL_RUNNER_TOKEN / _FILE, or minting mode)
    before rolling out. A dev gateway without OIDC treats every caller as admin.
  • Breaking — skill authority keys need an admin. A write that adds, removes or changes an authority key
    (acl, agent, autonomy, schedule, requires, harness, model, cascade, actions, backend,
    freeze_when, …; escurel_types::skill_authority) on a skill page lands only for an escurel:admin person or a member of the
    stored page's acl.update groups — on update_page, promote_draft / promote_changeset (the promoter is
    judged), the close_session commit, delete_page and move_page. A new skill that sets one is an admin's.
    Refusal: -32003, data.code: authority_keys_need_admin, data.keys. ESCUREL_WRITE_ACL=log logs and
    allows; off is ungated. Upgrade: give the people who curate skills escurel:admin, or list their group in
    each skill's acl.update.

Also in this release (merged since v2026.10.29):

  • Skill model: picks the run's model within the new ESCUREL_RUNNER_MODEL_ALLOW; outside it the run fails
    closed (#810). ESCUREL_RUNNER_CHAT_MODEL sets the model for chat runs; the gemini turn bound is 24 (#813).
  • OpenAI-compatible runner harness with alibaba, hetzner and openai-compatible presets (#814).
  • OpenAI-compatible embeddings (ESCUREL_EMBEDDING_PROVIDER); the embedding model is part of the index
    identity, so a boot under another model re-embeds instead of mixing vector spaces (#815).
  • Lake GC runs on its own connection in chunks, so reads never wait on it (#812).
  • /ws event_assigned: an open Inbox drops an event once it is filed (#811).
  • VS Code: a comparison's stored charts render inline, fetched and hash-verified by the host (#816).
  • Docs: where ACL groups come from; ESCUREL_AUTH_GROUPS_CLAIM defaults to roles (#809).