Repository navigation
Releases
switchboard v0.11.0
go install github.com/go-steer/switchboard/cmd/switchboard@v0.11.0docker pull ghcr.io/go-steer/switchboard:0.11.0The module version keeps its v and the image tag does not.
The image is multi-arch (amd64 + arm64), distroless
(gcr.io/distroless/static-debian12:nonroot, no shell, no package manager)
and signed with Sigstore keyless:
cosign verify ghcr.io/go-steer/switchboard:0.11.0 \
--certificate-identity-regexp '^https://github.com/go-steer/switchboard' \
--certificate-oidc-issuer https://token.actions.githubusercontent.comLong subagent delegations (_fallback, propose-change, and synchronously
awaited spawn_agent) now surface their inner tool calls live in both status
and stream modes across Slack and Google Chat, and agent frames carrying both
assistant narration text and functionCall parts now post both the narration
and the tool activity.
Upgrading requires no config or flag changes: switchboard uses core-agent
v3.1.0+'s existing /sessions/<app>/<sid>/agents/<name>/events route
automatically and disables subagent polling cleanly against older daemons.
Added
- Subagent inner-tool progress in
statusandstreammodes (#193). While a
parent subagent call (_fallback,propose-change, or a synchronously awaited
spawn_agent) is in flight, switchboard tails
GET /sessions/<app>/<sid>/agents/<name>/eventsat ~1s until the parent call's
ToolResultarrives or the turn ends, working identically across Slack and
Google Chat:- In
statusmode, the single progress placeholder updates in place with the
subagent's active tool and call count (for example,
⏳ Working… 25s · running `_fallback` › `get_k8s_logs` (call 23)). - In
streammode, inner tool calls post standalone activity notices
attributed to the subagent (for example,
▸ Running **propose-change** › **vcs_clone**ticking off in place to
✔︎ Ran **propose-change** › **vcs_clone**with argument summary and⏱
duration from the subagent's event timestamps, coalescing sub-second
call+result pairs arriving in the same poll batch into a single settled
post). - Synthetic subagent loop-control calls (
finish_task,return_result,
report_done,report_completed,mark_task_done,schedule_next_turn)
are suppressed. Ordinary tools answer404once and are cached per session
so repeated calls to them never poll; daemons returning501or412
disable subagent polling for the session on the first probe;offand
indicatormodes never poll.
- In
Fixed
- Agent frames carrying both narration text and tool calls no longer drop
their tool activity. When a single completedEventAgentframe carried
assistant narration alongsidefunctionCallparts,relayreturned after
delivering the text, skippingpostActivity(and subagent watches) for that
frame instatusandstreammodes.
Full diff: v0.10.0...v0.11.0
switchboard v0.10.0
go install github.com/go-steer/switchboard/cmd/switchboard@v0.10.0docker pull ghcr.io/go-steer/switchboard:0.10.0The module version keeps its v and the image tag does not.
The image is multi-arch (amd64 + arm64), distroless
(gcr.io/distroless/static-debian12:nonroot, no shell, no package manager)
and signed with Sigstore keyless:
cosign verify ghcr.io/go-steer/switchboard:0.10.0 \
--certificate-identity-regexp '^https://github.com/go-steer/switchboard' \
--certificate-oidc-issuer https://token.actions.githubusercontent.comOutbound-ingress threads posted without a session binding — the normal shape
when chat runs a task-per-conversation kind: "ax" agent or when an
independent alert task opens a thread — now carry their posted context into the
first inbound human reply, without requiring chat-history scopes on Slack or
Google Chat. Also moves the build toolchain to Go 1.26.11 for GO-2026-6859.
Upgrading requires no config or flag changes: unbound outbound posts, in-place
PATCH edits, appends, and continuation rollovers are tracked automatically
when --ingress-addr and an inbound adapter run together, and bound threads
(session set) continue to adopt their daemon session unchanged.
Added
- Unbound outbound-ingress threads carry their posted context into the first
inbound reply (#194). WhenPOST /v1/messagesomitssession— the normal shape
when chat runs a task-per-conversationkind: "ax"agent or when an
independent incident task posts an alert — the router remembers what its
ingress posted in that thread (including in-placePATCHedits, appends, and
rollover continuations; bounded to 1024 threads, 64 messages, and 32 KiB per
thread, and persisted in--state-dir) and prepends it once to the first
human reply'sInject, without needing chat-history scopes on Slack or Google
Chat. Bound threads (sessionset) continue to adopt their daemon session
without seeding.
Security
- Go 1.26.11 for GO-2026-6859 (
net/httpMaxBytesReaderheader race);
govulnchecknow flags switchboard under 1.26.10. Bothgo.mod(which CI
andrelease-images.ymlread) andDockerfile's defaultGO_VERSIONmove
to 1.26.11.
Full diff: v0.9.2...v0.10.0
switchboard v0.9.2
go install github.com/go-steer/switchboard/cmd/switchboard@v0.9.2docker pull ghcr.io/go-steer/switchboard:0.9.2The module version keeps its v and the image tag does not.
The image is multi-arch (amd64 + arm64), distroless
(gcr.io/distroless/static-debian12:nonroot, no shell, no package manager)
and signed with Sigstore keyless:
cosign verify ghcr.io/go-steer/switchboard:0.9.2 \
--certificate-identity-regexp '^https://github.com/go-steer/switchboard' \
--certificate-oidc-issuer https://token.actions.githubusercontent.comA follow-up to v0.9.1's asserted-caller fix, this time for mast daemons.
mast's attach surface refuses X-Asserted-Caller, in an ax task or running
as a daemon, so v0.9.1's default of asserting to a kind: "mast" daemon
agent failed every request. mast agents now default assert_caller to false,
as ax agents already did; every other kind still asserts.
Upgrading changes nothing that works today: a mast agent that works already
sets assert_caller: false, which still applies, and an explicit value always
wins. Set true on a mast agent only if your mast build accepts proxy
assertions, which none does yet; switchboard warns if you do, now for agents
added through the admin API as well as the config file.
Changed
kind: "mast"daemon agents now defaultassert_callerto false
(#186). mast's attach surface refusesX-Asserted-Caller(it has no
proxy-capable authenticator),
so the old default, true, failed every request to a mast daemon with
"caller is not permitted to proxy". Defaults are now:axfalse,mast
false, every other kind true. An explicit value still wins.- Migrating: nothing to do for a mast agent that works today, since it
must already setassert_caller: false, which still applies. Set
"assert_caller": trueexplicitly only if your mast build accepts proxy
assertions; none does today. - An explicit
trueon a mast agent is warned about at startup, and now
also when the admin API adds one and when a stored runtime agent is
restored at startup. The warning about
a mast agent asserting by default is gone, since it no longer can.
- Migrating: nothing to do for a mast agent that works today, since it
Full diff: v0.9.1...v0.9.2
switchboard v0.9.1
go install github.com/go-steer/switchboard/cmd/switchboard@v0.9.1docker pull ghcr.io/go-steer/switchboard:0.9.1The module version keeps its v and the image tag does not.
The image is multi-arch (amd64 + arm64), distroless
(gcr.io/distroless/static-debian12:nonroot, no shell, no package manager)
and signed with Sigstore keyless:
cosign verify ghcr.io/go-steer/switchboard:0.9.1 \
--certificate-identity-regexp '^https://github.com/go-steer/switchboard' \
--certificate-oidc-issuer https://token.actions.githubusercontent.comA fix for ax agents running mast. v0.9.0 asserted the chat user to every
agent in X-Asserted-Caller, and mast in an ax task, which authenticates one
bearer token, refuses that header rather than ignoring it, so no thread could
open a session. switchboard now asserts no caller to kind: "ax" agents by
default.
Whether the chat user is sent is now a per-agent setting, assert_caller, on
the agent entry next to token_env. Set it true on an ax agent whose task
runs core-agent with the gateway in proxy_identities, and the user goes out
on every request again, approvals included. Everything else carries over from
v0.9.0: daemon and core-agent agents assert as before, and who may answer a
prompt is still decided by --approvers and the personal-agent owner check.
Upgrading changes nothing configured. A kind: "mast" daemon agent still
asserts by default; startup now warns about it, and it needs
"assert_caller": false unless mast is set up to let the gateway proxy.
Fixed
- ax agents could not open a session with mast (#186). switchboard
asserted the chat user inX-Asserted-Caller, and mast in a task, which
authenticates oneMAST_ATTACH_TOKENwith no table allowing a proxy,
refuses the header: every thread failed with "caller is not permitted to
proxy". switchboard now asserts no caller tokind: "ax"agents, on the
session, turn, event and approval requests alike.- New per-agent
assert_caller(a bool on the agent entry, next to
token_env; the admin API takes it too): false by default for
kind: "ax", true for every other kind, so daemon and core-agent agents
assert as before. Set it true on an ax agent whose task runs core-agent
with the gateway inproxy_identities, and the chat user goes out on
every request again, approvals included. - Who may answer an ax agent's prompt is still switchboard's decision
(--approvers, standing approvers, the personal-agent owner check), made
before anything is sent. The thread names the presser, and the audit log
still records the chat user.
- New per-agent
Full diff: v0.9.0...v0.9.1
switchboard v0.9.0
go install github.com/go-steer/switchboard/cmd/switchboard@v0.9.0docker pull ghcr.io/go-steer/switchboard:0.9.0The module version keeps its v and the image tag does not.
The image is multi-arch (amd64 + arm64), distroless
(gcr.io/distroless/static-debian12:nonroot, no shell, no package manager)
and signed with Sigstore keyless:
cosign verify ghcr.io/go-steer/switchboard:0.9.0 \
--certificate-identity-regexp '^https://github.com/go-steer/switchboard' \
--certificate-oidc-issuer https://token.actions.githubusercontent.comA release about agents that are not daemons somebody runs. On Agent
Substrate an agent can be an ax task: a sandbox that suspends when idle and
wakes on the next request. An agent of kind: "ax" is a task template, and
switchboard gives each conversation a task of its own, or each person one
(ax.scope: "owner"), or everyone one ("shared"). It starts the task on the
first message and speaks the usual session contract to it through Substrate's
router.
Tasks can sleep, and are cleaned up. A conversation lets go of its streams
to the task shortly after its last turn, so ax can suspend it, and picks the
stream up again on the next message. Thread tasks quiet for 14 days are
deleted, tasks made from an older template are replaced, and the admin API
lists and deletes an agent's tasks.
Built for Agent Substrate v1.0. The router is reached over mTLS, with the
pod's own Substrate certificate and the servicedns trust bundle, both
followed as they rotate. switchboard speaks the ax fork rebased for v1.0
(mastersingh24/ax substrate-v1-12dbe16), whose own Task fields were
renumbered.
Upgrading is free for anyone not using ax agents: daemon agents, the chat
adapters and the admin API carry over unchanged, and everything ax is off
until an agent declares it. Two things to know. ax agents need that rebased
ax-server or a later one, since an older one misreads the renumbered fields,
plus deploy/components/ax-router-mtls and the pod's SPIFFE ID on ate-setup's
--ingress-allowed-spiffe-ids. And purser moves to v0.5.0, so under
--admin-auth oidc an issuer whose keys won't load now draws a 503 instead
of a 401.
Added
- ax agents: a task per thread (#170,
docs/ax-backend.md). An agent of
kind: "ax"is an ax task template, and each conversation gets a task of
its own on Agent Substrate.- switchboard creates the task, resumes it and waits for it to answer, then
speaks the usual session contract to it through the atenet router. - A slow start shows in the thread.
- The task's name is deterministic and recorded with the conversation, and
a restart returns to it on the next message. - New settings:
axper agent,--gateway-id, and
--admin-ax-template-dirfor ax agents added through the admin API. - Idle tasks suspend (#171). An open stream would otherwise keep the
task awake.- When: a conversation lets go of its streams to the task
ax.stream_linger(default 1m, at least 10s) after its last traffic. - Only if: no turn is running, the agent says it is idle, and no
approval question is waiting. - After: it reattaches on the next message, waking the task, and
resumes the stream where it left off. - The idle reaper now also honours what the daemon reports.
- When: a conversation lets go of its streams to the task
- Personal and shared agents (#172).
ax.scope: "owner"gives each person a task of their own, and every
thread they start with the agent is a session in it. Its threads answer
their owner only, messages and approval presses alike.- Ownership is persisted with the routing table and survives rebuilt
sessions and scope changes. Others' messages are audited as
not_owner. "shared"is one task for everyone; startup warns.
- Task cleanup (#173).
- Thread tasks: a thread's task is deleted once its conversation has
been quiet forax.delete_after(default 14 days,0keeps). The
thread's next message starts over and says why. - Template changes: a thread task made from an earlier template is
replaced (ax.replace_drifted). - Admin API:
GET /v1/agents/{name}/taskslists an agent's tasks,
andDELETE /v1/agents/{name}/tasks/{task}deletes one of them.
- Thread tasks: a thread's task is deleted once its conversation has
- The router is reached over mTLS (#181). Agent Substrate v1.0's router
serves TLS only and admits only allowlisted pod certificates.ax.routerdefaults to
https://atenet-router.ate-system.svc.cluster.local.- switchboard presents its podidentity pod certificate and verifies the
router's certificate against the servicedns trust bundle, under the name
atenet-router.ate-system.svc. Both files are re-read as they rotate. - New settings:
ax.router_credential_bundle_file,
ax.router_trust_bundle_fileandax.router_server_name. A runtime
agent uses the defaults only. - A TLS handshake the router refuses, or that fails verification, ends a
task start at once with that error rather than retrying until
ax.ready_timeout. deploy/components/ax-router-mtlsmounts the two projected volumes. The
pod's SPIFFE ID has to be on ate-setup's--ingress-allowed-spiffe-ids.- An explicit
http://router still works, for development and tests.
- The rebased ax fork (#182).
internal/axapiis re-vendored from
mastersingh24/axsubstrate-v1-12dbe16, the fork rebased onto
upstream ax for Agent Substrate v1.0.- The fork's Task fields are renumbered (
egress,http,idleand
on_completionare now 100 to 103), so switchboard needs that
ax-server or a later one. An older one misreads them. - Templates bind one
workspace:instead of aworkspaces:list, and
may setconfig. - A task ax reports as
Unknownbecause Substrate is unreachable (Ready
reasonSubstrateUnavailable) fails its start with "Agent Substrate is
unavailable" instead of a resume attempt. - Templates are checked against the fork's validation at startup,
onCompletionincluded.
- The fork's Task fields are renumbered (
- switchboard creates the task, resumes it and waits for it to answer, then
Changed
- purser v0.5.0 (from v0.1.0), for the pod-certificate and rotating
trust-bundle sources the router client uses. One behaviour change reaches
the admin API: under--admin-auth oidc, a request whose token can't be
checked because the issuer's keys won't load now gets a 503 with
Retry-Afterinstead of a 401, so a client retries instead of discarding a
good token.
Full diff: v0.8.0...v0.9.0
switchboard v0.8.0
go install github.com/go-steer/switchboard/cmd/switchboard@v0.8.0docker pull ghcr.io/go-steer/switchboard:0.8.0The module version keeps its v and the image tag does not.
The image is multi-arch (amd64 + arm64), distroless
(gcr.io/distroless/static-debian12:nonroot, no shell, no package manager)
and signed with Sigstore keyless:
cosign verify ghcr.io/go-steer/switchboard:0.8.0 \
--certificate-identity-regexp '^https://github.com/go-steer/switchboard' \
--certificate-oidc-issuer https://token.actions.githubusercontent.comA release about managing agents without restarting the gateway, and about
switchboard proving who it is. v0.7.0 put several agents behind one chat app,
fixed in a config file. v0.8.0 lets an operator add, replace and remove them
at runtime. It also lays the groundwork for doing that without a shared
secret per agent.
An admin API. --admin-addr serves /v1/agents, /v1/defaults and
/v1/channels. Callers authenticate through
purser: OIDC for people, mTLS for
automation, or a token on loopback for a laptop. Every request needs an admin
named by --admin-allow. What the config file declares stays pinned. A
change that would leave a channel unable to start a thread is refused.
Changes survive a restart under --state-dir, and every change is audited
with who made it.
switchboard can authenticate as itself. Instead of a bearer token per
agent, the gateway can present one workload identity: a SPIFFE SVID, as GKE
managed workload identity delivers it, or a certificate from a standard CA.
Each agent entry then names how it is reached. A daemon has to accept mTLS
for this to be used; core-agent's support is go-steer/core-agent#1313, and
until it lands agents stay on bearer tokens.
The daemon clients follow no redirects. A 3xx used to be followed, and
net/http resends the bearer token on a same-host hop, https to http
included. The image is built with Go 1.26.10, for a crypto/x509 advisory
reachable from switchboard.
Upgrading needs no flag change: everything new is off until configured. One
thing can stop a config that used to load. An agent's daemon_url must now
be a bare http(s)://host[:port], with no path, query or user info, because
the contract's paths are appended to it. A daemon that answers with a
redirect now fails the call instead of being followed.
Added
- An admin API for agents (#157,
--admin-addr). It adds, replaces and
removes agents, moves the global default, and sets a channel's default
agent and allow list, all at runtime with no restart.- Authentication is by purser: OIDC for people (
--admin-oidc-issuer,
--admin-oidc-audience), mTLS over the gateway's own identity for
automation, or a static token on loopback only. - Admins are named by
--admin-allow(email:,domain:,id:).
Every request, reads included, needs one. Email grants match only a
verified email. - OIDC off loopback needs TLS (
--admin-tls-cert-file,
--admin-tls-key-file). - A runtime agent's
token_envmust start with
--admin-token-env-prefix(defaultSWITCHBOARD_AGENT_TOKEN_), so an
admin can't point the gateway's own secrets at a server of their choosing.
daemon_urlmust be a barehttp(s)://host[:port], for config agents
too. - What the config declares is pinned (
409). A change that would
break something is refused (422), and a channel's runtime settings
can narrow it but not widen it past the config's defaults. - Changes are saved in
registry.jsonunder--state-dir, and every
change is anadminaudit record naming who made it.
- Authentication is by purser: OIDC for people (
- switchboard can authenticate to an agent as itself (#158,
docs/agent-identity.md). Instead of a bearer token per agent, the gateway
presents one workload identity through
purser's client half, and an agent
entry namesauthinstead oftoken_env.--identity spiffe-filesreads an SVID from files, as GKE managed
workload identity delivers it (--spiffe-dir,
--spiffe-trust-domain).--identity spiffe-workload-apireads one from a SPIFFE Workload API
socket (SPIRE).--identity pkiuses a certificate from a standard CA.auth.methodspifferequires the daemon to presentserver_id;pki
verifies it against the CA, with an optionalserver_name.- A certificate method needs an https URL, and sends no bearer token.
- The gateway's certificate rotates without a restart; the CA file is
read once. - Existing
token_enventries are unchanged. - It needs a daemon that accepts mTLS; core-agent's support is
go-steer/core-agent#1313. pkg/daemon.ConfiggainsMutualTLS: the HTTP client authenticates, and
noAuthorizationheader is sent.
Security
- Go 1.26.10 for GO-2026-6809 (
crypto/x509now distrusts compromised
intermediate certificates), which govulncheck reports as reachable from
switchboard under 1.26.9. Thegodirective, which the release image
builds with, and the Dockerfile's defaultGO_VERSIONboth move to 1.26.10. - The daemon and approval clients follow no redirects. A 3xx from a
daemon was followed. net/http keeps theAuthorizationheader on a
same-host hop, including https to http, so the bearer token, the asserted
caller and the message could go to wherever it pointed. The contract has
no redirects, so a 3xx is now an error (daemon.NoRedirects). - gRPC v1.83.2 for GO-2026-6443, now that the SPIFFE Workload API client
uses it directly.
Full diff: v0.7.0...v0.8.0
switchboard v0.7.0
go install github.com/go-steer/switchboard/cmd/switchboard@v0.7.0docker pull ghcr.io/go-steer/switchboard:0.7.0The module version keeps its v and the image tag does not.
The image is multi-arch (amd64 + arm64), distroless
(gcr.io/distroless/static-debian12:nonroot, no shell, no package manager)
and signed with Sigstore keyless:
cosign verify ghcr.io/go-steer/switchboard:0.7.0 \
--certificate-identity-regexp '^https://github.com/go-steer/switchboard' \
--certificate-oidc-issuer https://token.actions.githubusercontent.comA release about running more than one agent behind one chat app. A
switchboard used to front exactly one daemon. It can now front several
core-agent or mast daemons, and a person chooses which one a conversation
goes to.
Several agents, one per thread. A config file lists the agents, a global
default_agent, and per-channel defaults and allow lists. A thread belongs
to the agent it started on for its whole life, and its approvals go to that
agent's daemon. agent lists a channel's agents, and
agent <name> <prompt> starts a thread with one. A bare agent opens a
picker: a dialog on Google Chat, a modal on Slack. Answers and permission
questions name their agent: on Slack they post under the agent's name and
icon (with the optional chat:write.customize scope), and on Google Chat
the card carries it in a header.
Google Chat threads behave. The agent's answer starts its own thread
from a starter message, since Chat won't take an app's reply into a slash
command's thread. The ⏳ placeholder is edited into ✔ Done or
✖ Stopped instead of being deleted, so turns no longer leave
"Message deleted by its author" behind. core-agent's checkpoint summaries no
longer appear before each follow-up.
Tool notices are quieter and say more. MCP calls show what they act on
(pod · us-central1/std-simian-test) rather than an output format or an
internal handle, and the marks are monochrome ▸ ✔ ✖.
A GKE example (deploy/examples/gke-demo) runs a platform agent and a
small general-purpose one behind both gateways, with the Chat HTTP ingress,
Workload Identity and durable state.
Upgrading needs no flag or config change. Without an agents list nothing
about routing changes and no reply is signed. When moving to a list, make
the daemon you were using its default_agent, and existing threads and
approval buttons keep working without a migration. Images are built with Go
1.26.9 for the net/http advisories listed under Security.
Security
- Go 1.26.9 and
golang.org/x/netv0.60.0 for net/http advisories
GO-2026-6608, -6610, -6611, -6612, -6613 and -6617, which govulncheck reported
against Go 1.26.6 and x/net v0.57.0. Thegodirective, which the release
image builds with, and the Dockerfile's defaultGO_VERSIONboth move to
1.26.9. The images had been building with 1.26.3 while CI used the 1.26.6
toolchain line.
Added
-
Several agents behind one gateway, phase 1 of multi-agent (#140). A
config file can register several core-agent or mast daemons (agents, each
with its owndaemon_urlandtoken_env), name a globaldefault_agent,
and give a channel its owndefault_agentand anagentsallow list.- A conversation belongs to the agent it started on for its whole life, and
its approvals go to that agent's daemon. - With an
agentslist, the agent is written into the state records and
the approval buttons' decision ids. Without one, nothing names an agent,
so existing records and buttons belong to whatever the default agent is.
Moving to a list needs no migration as long as the daemon you were using
becomes thedefault_agent, and startup warns when that choice is left
implicit. - A thread whose agent has been removed gets a notice and is not rerouted.
- Without an
agentslist, nothing changes. - The admin API follows in a later phase.
- A conversation belongs to the agent it started on for its whole life, and
-
The agent picker on Google Chat (#140, phase 3b). A bare
/agent
replies with the agent list and a Start a conversation… button
(interaction: OPEN_DIALOG). It opens a dialog with:- a dropdown of the space's agents, the default selected, each with its
newdescription; - an optional prompt;
- Start, which starts the thread exactly as the typed form does.
A slash command with Opens a dialog ticked opens the dialog directly,
but only once the app has been removed from the space and re-added: Chat
caches a space's command settings (measured). The button works either way.
A Slack slash command's reply now goes through the markdown conversion. HTTP ingress only. Agents gain an optional
descriptionin the config file. The listing reply is a markdown card, so
its bold renders: the plain acknowledgment card's icon line showed literal
asterisks. - a dropdown of the space's agents, the default selected, each with its
-
Which agent answered (#140, phase 5). With an
agentslist, answers
and permission questions name their agent.- Slack posts them under the agent's
display_nameand new optional
icon_url. This needs thechat:write.customizescope, now in the
sample manifest; without it, replies go out as the app. - Google Chat heads the card with the agent's name and icon. A plain
answer gets a card for it, as for a usage footer. A text answer leads
with the name when it still fits one message; a longer one goes unnamed,
so the name never changes how a reply is split. icon_urlmust be https, at most 1024 characters.- The gateway's own messages stay the app's. A gateway without an
agents
list looks as before.
- Slack posts them under the agent's
-
The agent picker on Slack (#140, phase 3c). A bare
/switchboard agentopens a modal (views.openwith the command's
trigger id): a select of the channel's agents, the default preselected,
each with itsdescription; an optional prompt; Start, which starts
the thread exactly as the typed form does and tells only you. If Slack
won't open it, or there's nothing to pick, the command answers with the
listing as before. Needs no new scope. -
The GKE example runs two agents (#140).
deploy/examples/gke-demoadds
a small general-purpose core-agent (general, ongemini-3.5-flash-lite,
no cluster tools) next to the platform agent. Both gateways register both
agents, withplatformas the default, and Chat maps slash command 100 to
agent. -
agent: talk to a particular agent (#140, phase 3a).agentlists the agents a channel offers and marks the default.agent <name> <prompt>starts a thread with that agent. On Google Chat
the command's own thread becomes the agent's. On Slack
(/switchboard agent …) a starter message opens the thread.- Inside a thread that already has an agent, it names that agent rather
than switching. - Commands now carry their argument text as typed and, on Chat, the
conversation they were typed in. - The pickers (above) build on it.
-
A GKE deployment example:
deploy/examples/gke-demo(#131). It runs a
switchboard-dedicated gke-platform-agent daemon (core-agent:main, ask-mode
approvals) with switchboard's Google Chat and Slack gateways in front of it,
in one namespace. Chat uses the HTTP ingress behind a GKE Gateway with a
Certificate Manager map and calls the Chat API by Workload Identity, with no
key file. Both gateways keep durable state and track:main. The README
lists the one-time steps (static IP, DNS, IAM, secrets) and the cutover.
Changed
- Stream notices for MCP tools show what the call acts on. The argument
summary picked a command, path, query or URL, and otherwise fell back to the
alphabetically first field. A GKE call then readTABLE(its output format),
andretrieve_rawreadcall_4216138(an internal handle). Without one of
those fields, a call now shows up to four identifier facets (kind, name,
namespace, location) joined with·, such as
pod · us-central1/std-simian-test. Resource paths are shortened to their
last two ids. A facet is shown only if its value looks like a name, so a
manifest underresourceis skipped, and each facet is redacted on its own.
Noise fields are never the fallback. The line stays redacted and within 120
bytes. "One argument per call" now reads "one argument, or up to four
identifier facets". - Tool notices use heavy monochrome marks:
▸running,✔succeeded,
✖failed, replacing 🔧/✅/❌, which read as clutter in a busy thread. ✔ and
✖ carry the text-style variation selector, so clients draw the glyph rather
than a colour emoji. Approval records ("✅ Allowed…") are unchanged.
Fixed
- No more "Message deleted by its author" on Google Chat. Chat leaves
that tombstone wherever an app deletes a message in a thread, so every
turn's ⏳ placeholder left one. On Chat the placeholder is now edited into a
final line instead (✔ Done · 12s, or ✖ Stopped · 12s for a turn that
didn't finish), and the clock is no longer moved below narration, since a
move is a post and a delete. Adapters report it through a new
chat.DeleteLeavesTracecapability. On Slack nothing changes.- A clock left by an earlier turn, or by a restart, is finalised as
stopped. - With a queued message (#42), the next turn's clock stays above the
previous answer instead of moving below it. - A crash inside the half-second persist window after an answer can make
the restarted gateway relabel that turn's "Done" as "Stopped".
- A clock left by an earlier turn, or by a restart, is finalised as
agenton Google Chat answers in a thread, not as loose messages.
Phase 3a used the slash command's own thread for the agent's conversation,
but Chat won't take an app's reply into a slash command's thread. Its
REPLY_MESSAGE_FALLBACK_TO_NEW_THREADsilently started a new top-level
thread for every post (measured on the GKE deployment), so the answer
arrived as a loose message and follow-ups would have scattered. Chat now
starts fro...
switchboard v0.6.0
go install github.com/go-steer/switchboard/cmd/switchboard@v0.6.0docker pull ghcr.io/go-steer/switchboard:0.6.0The module version keeps its v and the image tag does not.
The image is multi-arch (amd64 + arm64), distroless
(gcr.io/distroless/static-debian12:nonroot, no shell, no package manager)
and signed with Sigstore keyless:
cosign verify ghcr.io/go-steer/switchboard:0.6.0 \
--certificate-identity-regexp '^https://github.com/go-steer/switchboard' \
--certificate-oidc-issuer https://token.actions.githubusercontent.comA release about reading a turn in chat. Everything here came out of watching
real turns go by on a live Google Chat rig: what the agent ran, how long it
took, what it cost, and an answer that looks like its source and not like raw
markdown.
Stream mode shows the turn as it happens. progress stream now has the
turn clock the other modes had. Each tool call is a small block: the verdict,
the command in a code block, and how long it took on its own line.
Answers render properly on Google Chat. Markdown tables arrive as aligned
columns, not pipe source. Inline code renders monospace in the gateway's own
cards. With --show-usage, every answer carries its cost footer, not only
those that happened to need a card.
core-agent 2.10's new event order is handled. 2.10 sends a turn's answer
before the turn's end. That put the cost footer a turn late and made a
placeholder flicker on every answer. Both orders now work.
Approvals on Google Chat match Slack. A Broad answer (allow-session*,
allow-always) takes a confirming second press. A permission prompt's command
renders as code that the agent can't break out of. A press from someone
other than the session's opener is no longer mistaken for an answered
question.
Upgrading needs no flag or config change. Stream-mode notices look different,
so any tooling that scraped their old one-line text needs updating.
Added
progress streamshows the turn's clock and how long each call took.
Stream was the one mode that showed what the agent runs and the one mode
with no clock, so a long turn in it gave no sign of how long it had been
going. It now also posts the "⏳ Working… 45s" placeholder, ticking and
deleted when the answer lands, as inindicator. Each finished call on a
notice says how long it took (⏱ 2.3s, on its own line), measured at the
gateway. Calls under 0.1s, and collapsed×Ncalls, show none.- Every Google Chat answer carries the
--show-usagefooter. The footer
rides a card, and an answer with no headings or rules does not get one, so
plain answers (most of them) went out as text without the cost the
operator had asked to see. With--show-usageon, a plain answer is now
sent as a simple card of markdown paragraphs with the footer under it, as
long as it fits in one Chat message (a longer plain answer still goes as
chunked text, without the footer, which keeps restart delivery exact).
Without--show-usage, nothing changes. Mentions are now defused in every
answer card, as they already were in text. - A Broad answer takes two presses on Google Chat, as on Slack (#92).
The answers that outlive the request (allow-session*,allow-always)
applied on one tap on Chat, while Slack asks first. Chat has no native
confirmation, so the first press now swaps the buttons for a line naming
the grant, with Yes, allow (the real press) and Back (the
question's answers restored). It is built from the click alone, because
the click carries its hosting card. Nothing is remembered between the two
presses, so a restart in between costs nothing. Approver checks are
unchanged, because only Yes reaches the router. Pub/Sub deployments render
no buttons and are unaffected.
Changed
- Stream-mode tool notices show each command in a code block, with its
duration on a line of its own. Inprogress stream, a tool notice's
argument was plain text after the tool name, and a frame of calls was a
bulleted list. A call now reads as a small block: the tool and its verdict
(✅ Ran **bash**), the argument in a fenced code block, and⏱ 12sbelow
it. A frame of several calls is a summary header and one block per call. On
Google Chat the notice is a markdown paragraph so the block renders, since
the icon-line card can't show one. The argument passes through the same
fence neutraliser as an approval prompt's command. The tool name is bold and
keeps only the characters tool names are made of, so a model-supplied name
can't carry a link or other markup. Status mode's terse line is unchanged. - Inline code in the gateway's own Google Chat cards renders as
<tt>.
Before, the backticks showed literally, because the HTML subset those cards
use has no monospace.<tt>and<font face="monospace">render monospace
in a card, while<code>and a markdown paragraph's code span do not,
measured on a live card. - Markdown tables read as tables on Google Chat. Chat renders no tables,
in text or in a card'sMARKDOWN, so an agent's pipe table arrived as raw
source. Its| :--- | :--- |delimiter line read like a blank first row.
A table is now laid out as aligned columns in a code block, with a dashed
rule under the header and right-aligned columns kept. Cell markup is
flattened, because a code block would show it instead of rendering it:
paired emphasis loses its markers, a code span keeps its contents verbatim
(so__init__.pyand2**10survive), and a link becomeslabel (url).
The match is deliberately narrower than GFM, so prose is never rewritten.
Indented tables, list items, a pipe over a setext underline, and a table
that padding would grow past three times its size (one very long cell in an
early column, whose width pads every row) are left as written, with at most
16 KB added to any one reply. Text with no
table is unchanged, and a table already inside a code block is left alone.
The converter ischat.TablesToCode, in the shared package, so Slack can
adopt it too.
Fixed
- The usage footer lands on the answer it belongs to with core-agent 2.10.
That daemon sends a turn's answer before the turn-complete carrying its
usage, where earlier ones sent it after. The footer stayed banked and was
attached to whatever text came next, usually the next prompt's answer. Now
the event after the turn-complete decides. A model text is the answer, the
older order, and works as before. Anything else, or 1.5s of quiet on the
stream, means the answer was already posted. It is then edited to add its
footer, on both platforms (Slack'sUpdatenow renders the footer too). An
answer split across messages goes without a footer rather than giving its
cost to the next one. A boundary that nothing claims is cleared, and a text
arriving after its turn has ended is never read as narration. So no
leftover state can cut the next turn short or strand a stopped clock. - No more placeholder that appears and vanishes on every answer. With the
answer arriving ahead of its turn-complete, the gateway read each answer as
mid-turn narration for a moment and re-anchored the progress placeholder
below it, posting a new one that the turn-complete deleted a second later.
Re-anchoring after possible narration now waits 1.5s, so the boundary lands
first and nothing is moved. Real narration still pulls the clock below
itself, just 1.5s later. An answer known to have ended the turn, or one with
a queued message taken up behind it (#42), moves the clock at once. - A Google Chat HTTP-ingress shutdown can no longer misuse its WaitGroup
(#93). Shutdown drains the turns requests have started, butShutdown
gives up on its deadline with handlers still running. A handler that
started a turn while the drain was waiting could add to the WaitGroup
concurrently with itsWait, which the runtime may report as a panic.
New turns are now refused from the moment shutdown begins, under the same
lock that counts them. Before, a request served during Shutdown's grace got
200and a turn that died at once on the cancelled context. A refused
request is answered503withRetry-After, so the person sees Chat's
error and can resend; nothing was started, so a resend duplicates nothing. - A permission prompt's command renders as code on Google Chat. The
question card used the HTML subset the gateway's own cards use. That subset
has no monospace, so the fenced command showed up between literal ```
lines. The question now renders with Chat'sMARKDOWNtext syntax, the
same one answer cards use. - An agent can no longer break out of the code block on an approval
prompt, on either platform. The command is shown in a fenced block, and
the tool and subagent names in code spans. A command containingclosed the block early, so whatever followed rendered as the gateway's own text: a fake "✅ Allowed", a reassurance, or a link, with the real command partly hidden. A backtick or a blank line in a name did the same to its span. Runs of three or more backticks in the command are now broken with a zero-width space, so the command still reads exactly as given (one cost: a command containingnow pastes with invisible characters). In a name, a backtick
becomes a look-alike (ˋ) and line breaks are flattened. - A press from someone other than the session's opener is no longer
reported as "answered elsewhere" when the daemon returns 404 (#106).
On a daemon that enforces session ACLs, answering a prompt needs write
access. Of the identities switchboard asserts, only the opener has it, and
anyone else gets the same 404 an ended question gets. Switchboard took that
404 as settled: it took the buttons down and logged at INFO, while the turn
stayed parked with no way left in the thread to answer it. Now such...
switchboard v0.5.1
go install github.com/go-steer/switchboard/cmd/switchboard@v0.5.1docker pull ghcr.io/go-steer/switchboard:0.5.1The module version keeps its v and the image tag does not.
The image is multi-arch (amd64 + arm64), distroless
(gcr.io/distroless/static-debian12:nonroot, no shell, no package manager)
and signed with Sigstore keyless:
cosign verify ghcr.io/go-steer/switchboard:0.5.1 \
--certificate-identity-regexp '^https://github.com/go-steer/switchboard' \
--certificate-oidc-issuer https://token.actions.githubusercontent.comA fix release for the Google Chat buttons v0.5.0 introduced. The HTTP ingress
they depend on cannot receive an event in v0.5.0: the first event of the first
live session failed to decode, and since Chat's HTTP delivery writes every
number as a float, no event can. This release fixes that and two more defects
found in the same session. Every HTTP fixture had been hand-written, and the
test daemon enforced no session ACL, so none of the three could show up in CI.
Upgrade if you run --googlechat-ingress http. Chat's HTTP delivery
writes every number as a float, and v0.5.0's decoder rejected the whole event
on the first one. Numbers are now normalized before decoding. Pub/Sub traffic
is untouched.
Upgrade if you run --approvals against a daemon that enforces session
ACLs, on either platform. The prompt stream was read without an asserted
caller, the daemon answered with its disguised 404, and switchboard stopped
watching for prompts after the first try. The turn then waited at the daemon
with no question in the thread. A related case remains open (#106). A press
from an approver who is not the session's owner gets the same disguised 404,
which is read as "answered elsewhere" while the turn stays parked.
Treat any log written with --googlechat-log-events as sensitive. The flag
logged each event verbatim:
- An HTTP event carries the sender's live OAuth access token and two ID tokens.
These expire within the hour. - Events on either ingress can carry a
configCompleteRedirectUritoken. - A legacy-dialect event carries the app's verification
token, a standing
credential.
Credentials are now redacted before logging.
The button flow itself is now verified live: a mode button and an approval
both arrived as clicks, and each card was edited in place by the click's own
response. Nothing else changes, and there are no new flags.
Fixed
- Permission prompts reach the thread on a daemon that enforces session
ACLs. The prompt stream was opened with no asserted caller, as the relay's
own credential, which core-agent's ACL does not let read another caller's
session; it answers that with the same404a missing session gets, and
switchboard gave up on the session's prompts for good on the first try
(ERROR … giving up on permission prompts). The turn then sat parked at the
daemon with nothing in the thread to press. The stream is now read as the
caller who opened the session — the identity the event relay already
subscribes as. Found live on Google Chat, where it was the last thing between
--approvalsand a working button. --googlechat-log-eventsno longer writes credentials into the log. An
event on the HTTP ingress carries the sender's live OAuth access token and
two Google-signed ID tokens inauthorizationEventObject, and the flag
logged the payload verbatim — so the debugging aid that exists to capture
fixtures put a bearer token for the person typing into whatever collects the
log. Those values, the legacy dialect's verificationtokenand the
configCompleteRedirectUritoken are nowREDACTED, keys kept, the rest of
the payload byte-for-byte apart from whitespace, and a payload that does not parse is
redacted too.- The Google Chat HTTP ingress decodes real events again; in v0.5.0 it
dropped every one. Chat's HTTP delivery spells every number as a float
("offset": -3.6E6,"startIndex": 0.0,"commandId": 1.0) and the
generatedchat/v1types refuse a float in an int64 field, so each event
failed decode with anERROR … decode eventline and got no reply,
whatever kind it was. OnlyappCommandIdhad been made
float-tolerant, and every fixture was written with ints. Numbers are now
normalized before decoding; Pub/Sub payloads, which already send ints, are
left byte-for-byte as they were. Found on the first live HTTP event, which is
now a fixture.
Full diff: v0.5.0...v0.5.1
switchboard v0.5.0
go install github.com/go-steer/switchboard/cmd/switchboard@v0.5.0docker pull ghcr.io/go-steer/switchboard:0.5.0The module version keeps its v and the image tag does not.
The image is multi-arch (amd64 + arm64), distroless
(gcr.io/distroless/static-debian12:nonroot, no shell, no package manager)
and signed with Sigstore keyless:
cosign verify ghcr.io/go-steer/switchboard:0.5.0 \
--certificate-identity-regexp '^https://github.com/go-steer/switchboard' \
--certificate-oidc-issuer https://token.actions.githubusercontent.comA release about what survives. Until now a restart cost every thread its
session, a Google Chat room could not answer a permission prompt at all, and
nothing recorded who in chat had told the daemon what. Each of those is now
something a deployment can rely on rather than work around.
Conversations outlive the process (#86, #87). With --state-dir, the
routing table — each thread's session, the identity its relay subscribes as,
its delivery watermarks — is written to disk, so the next message after a
restart lands in the session the thread already had, and an answer produced
during the outage is still delivered. Answers are keyed and the attempt is
recorded before the post, so across a restart each one reaches the thread
effectively once: Google Chat drops a repeat natively, and Slack checks only
the answers actually in doubt (the Slack side was verified live). With durable
state on, an idle thread's daemon streams are released after
--session-idle-ttl (12h by default) and re-attach on its next message.
Without --state-dir threads are held in memory as before and the banner says
so; answers still carry their key (a Chat requestId, Slack message metadata),
which changes nothing visible.
Google Chat can approve (#29). A second ingress, --googlechat-ingress http, receives events over a verified HTTPS endpoint instead of Pub/Sub, and on
it cards carry buttons: a permission prompt becomes a card with an answer per
button, a press arrives as the person who clicked, --approvers applies as it
does on Slack, and the click's own response carries the edit that records how
the question ended. Pub/Sub stays the default and stays inert — no click reaches an add-on there. Every request is
checked against a Google-signed ID token, this endpoint as the audience, and a
required, pinned --googlechat-service-account. Broad answers have no
"are you sure" step on Chat yet (#92).
Approvals are narrower and more honest. --standing-approvers (#85) names
who may press allow-always, the one answer that outlives the room it was
pressed in. An answer to a mast write-gate park waits up to fifteen minutes for
the resume turn it releases, and is no longer reported as lost when it was not
— the respond half of #84; the change-set card and edit are still open.
A thread whose session the daemon lost recovers on the next message whoever
opened the session, and an ACL refusal is no longer mistaken for a lost
session (#88).
--audit-log records every turn and press (#89): one JSON line joining the
platform's message ID, the asserted caller, the session and the outcome —
never the message text. Switchboard is the only component that sees both ends
of that link.
Upgrading needs no configuration change: no new feature is on by default, and
--standing-approvers defaults to channel, no tighter than --approvers.
The fixes do change default behaviour — a mast park press waits longer, a lost
session is dropped with a notice instead of failing every turn, and
approval.Client.Respond now honours the caller's deadline rather than capping
it at 30 seconds. With approvals on, the banner now states on every start
whether a standing grant needs more than any other answer.
google.golang.org/grpc moves to v1.83.1 for GO-2026-6348.
Added
-
deploy/slack/app-manifest.yaml: the Slack app as a manifest — Socket Mode,
app_mention, interactivity, the/switchboardcommand, and the bot scopes
the adapter's API calls need, including the optional*:historyscopes for
restart verification. Paste it to create the app or to update an existing
one, so its configuration lives next to the code that depends on it instead
of only in the console. -
Answers are delivered effectively once across a restart. With
--state-dir, each answer is keyed by its session and seq and the attempt
is written to the state file before the post, so a restarted gateway knows
exactly which answers may already be in the thread. Google Chat drops a
repeat natively (the key becomes the messagerequestId). On Slack the key
rides in message metadata and only a possibly-posted answer is checked
against the thread first — which needs the optional*:historyscopes;
without them, or for a message Slack has not yet returned, the worst case is
one duplicate.chat.ReplygainsKeyandVerify. -
--state-dirmakes conversations survive a restart (#86). The
conversation → session routing table — each thread's session, the identity
its relay subscribes as, its delivery watermarks, plus ingress bindings and
progressoverrides — is snapshotted tostate.json(debounced; written
to a temp file, synced and renamed; once more at shutdown). After a restart
the next message in a thread goes to the session it had instead of a new
one; recently active threads re-attach at boot so an answer produced during
the outage is still delivered, older ones on their next message or on a
press. Delivery is at-least-once across a crash and exact across a clean
shutdown; questions on screen are not asked again; a frozen placeholder is
taken down. An unparseable file is moved aside with an error; an unwritable
directory stops the run at startup. Threads untouched for 30 days are
forgotten. Also$SWITCHBOARD_STATE_DIRandstate_dirin the config
file, and adeploy/components/durable-statekustomize component adding
the volume. Without it nothing changes, and the banner says threads are in
memory. -
--session-idle-ttlreleases an idle conversation's daemon streams
(#87): with--state-dir, a thread with no traffic for the TTL (default
12h,0= never) closes its relay and prompt streams and re-attaches on
its next message, instead of holding both open until a restart. Turns in
flight and outbound-ingress-bound threads are never reaped. A TTL without
--state-diris refused. Also$SWITCHBOARD_SESSION_IDLE_TTLand
session_idle_ttlin the config file. -
--audit-logwrites an ingress audit record (#89): one JSON line per
turn and per approval press, joining the chat message (the platform's own
message ID), the asserted caller, theapp/sidsession and the outcome —
the link between "who said it in chat" and "what the daemon was told", which
switchboard is the only component able to see and previously wrote nowhere.
Never the message text.stdoutkeeps it apart from the operational log on
stderr; a file is appended to, created0640, and a run that cannot open it
does not start. Also$SWITCHBOARD_AUDIT_LOGandaudit_login the config
file.chat.MessagegainsMessageID, filled by both adapters. -
Google Chat cards carry buttons on the HTTP ingress (#29), which puts
Google Chat on the approval gate: a permission prompt renders as a card with
a button per answer, a press reaches the router as the person who clicked,
and--approversnarrows it exactly as it does on Slack. The welcome and the
progressack get back the row of mode buttons #52 removed. Over Pub/Sub
nothing changes — no click reaches an add-on there (#28), so every card
stays inert and a question still arrives as prose.A click is answered in its own response: the edit recording how the
question ended goes back as an add-onupdateMessageAction, so the card
changes the moment it is pressed — and the same edit is sent over REST right
after, because nothing confirms the response landed or that Chat accepted
the card in it. A press slower than ten seconds is acknowledged with{}
and its edit follows over REST; a refused or stale
press leaves the question alone and says why beside it. A legacy-dialect
click is acknowledged and answered over REST.Each button sends its click to the endpoint's full URL — Chat's add-on
runtime fails a bare function name without sending anything — so the gateway
uses--googlechat-endpoint-url, or learns the URL from the first verified
event; until then a card that would carry buttons goes as text. A run with
approvals on whose Chat answers cannot be buttons (Pub/Sub, or cards off)
says so at startup. Broad
answers get no "are you sure" step on Chat yet, unlike Slack: Chat has no
native confirmation. -
--standing-approversgates the one answer whose reach is not bounded by the
room it was pressed in (#85):allow-always, which saves a grant to the
daemon that outlives the session. Under the default--approvers channel,
anyone who could post in a room could also write that standing grant; now a
run can let the room approve calls while naming who may make one permanent.
A standing press must pass both lists, so this only narrows, and someone it
refuses is told Not a standing approver and can still answer for the
request. Also$SWITCHBOARD_STANDING_APPROVERS(an empty value is refused,
like$SWITCHBOARD_APPROVERS) andstanding_approversin the config file,
per channel too.nobodyturns permanent grants from chat off and keeps
one-shot approvals. Defaults tochannel— no tighter than--approvers—
so nothing changes on upgrade, and the approvals banner now says on every
start whether a standing grant needs more than any other answer, and warns
when no approver is also a standing approver. -
Google Chat can receive over HTTP instead of Pub/Sub (#29):
--googlechat-ingress httpserves `POS...