Repository navigation
v2026.11.13
·
32 commits
to main
since this release
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):
- Give every runner an admin-capable credential (
escurel:adminonESCUREL_RUNNER_TOKEN/ESCUREL_RUNNER_TOKEN_FILE,
or minting mode) before the new image runs — otherwise it takes no inbox work (see Breaking below). - Give the people who curate skills
escurel:admin, or list their group in each skill'sacl.update. - If a skill page names
model:, list that model inESCUREL_RUNNER_MODEL_ALLOW(#810), or its runs fail closed. - 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. - Dashboards that match the exact label set of
escurel_runner_cost_usd_total/escurel_runner_tokens_total
need the newskillandmodellabels.
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 answersunsupported) (#820). - Run transcripts, redacted and stored per run, read with
fetch_blob{run_id}; retention via
ESCUREL_RUN_TRANSCRIPT_RETENTION_DAYS(#822). New tablerun_transcripts(migration 0022). usage_reportcost rollups andlist_events{since, until}; CLIescurel run usage(#821).- Agent profiles (
agentsystem skill, admin-only): the gateway enforcesscopes.toolsandscopes.writeon
run tokens with anagentclaim, 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_totalandescurel_runner_tokens_totalgainskillandmodellabels —
dashboards that sum withoutbyare 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_pagechecks the destination's ACL. - claude runs now use stream-json;
usagesums every turn, andtool_callscountstool_useblocks. - Event ids starting
run:,sched:orlint-are reserved for the runner's identity. mint_agent_tokenrefuses machine callers (agent, narrowed, run and workbench tokens).usage_reporttotals carrypriced_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
runtimepages and route byrequires: {harness, labels}; gateway
claim_event/renew_claimleases give each event one runner (with a boot grace after a gateway restart);
ESCUREL_RUNNER_EXCLUSIVEfor 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-bridgebinary (in the runner image, off unless configured); see
docs/deploy/chat-bridge.md. New gateway keyESCUREL_AUTH_BRIDGE_KIDrestricts what a bridge-signed token may do. - UI: VS Code Runtimes view,
requireschips, 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_eventis 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 checkswhoamiat 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:adminonESCUREL_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 anescurel:adminperson or a member of the
stored page'sacl.updategroups — onupdate_page,promote_draft/promote_changeset(the promoter is
judged), theclose_sessioncommit,delete_pageandmove_page. A new skill that sets one is an admin's.
Refusal:-32003,data.code: authority_keys_need_admin,data.keys.ESCUREL_WRITE_ACL=loglogs and
allows;offis ungated. Upgrade: give the people who curate skillsescurel:admin, or list their group in
each skill'sacl.update.
Also in this release (merged since v2026.10.29):
- Skill
model:picks the run's model within the newESCUREL_RUNNER_MODEL_ALLOW; outside it the run fails
closed (#810).ESCUREL_RUNNER_CHAT_MODELsets the model for chat runs; the gemini turn bound is 24 (#813). - OpenAI-compatible runner harness with
alibaba,hetznerandopenai-compatiblepresets (#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).
/wsevent_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_CLAIMdefaults toroles(#809).