Animated Octomind icon — purple pixel-art octopus

Octomind 0.76 fixes three things you meet after the first day of use. A remote MCP server you had signed in to through OAuth could send you back to the browser after every restart. The global MCP tool allowlist did not hold for every role, or for a server switched on in the middle of a session. And every session, delegated run, schedule and background job carried a random hex ID that nobody could read back or put in order.

0.76.0 changes all three. 0.76.1 then sends each tool call a code script makes to your client as it happens, and 0.76.2 keeps a compressed conversation working toward your request instead of the step it stopped at. The config version stays at 36 in all three releases, so nothing migrates on first start. Below: what each change does, what it does not do, and what to check before you update.

MCP OAuth: one dynamic client registration per server

Octomind is an MCP client. When a remote MCP server asks for authorization, Octomind runs the OAuth flow in your browser and keeps the access token and the refresh token on disk. After that, the refresh token renews access without you.

Before any of that, the authorization server has to know which client is asking. There are two ways. Some servers accept a client ID metadata document: the client ID is a fixed URL, the same on every start. Others use dynamic client registration (RFC 7591): the client asks the server for a client ID and gets a new one.

The second way had a bug. Octomind registered again in every new process, so every start had a new client ID. OAuth binds a refresh token to the client it was issued to (RFC 6749, section 10.4). A server that enforces the binding rejected the stored refresh token, because a different client presented it, and you signed in again. In a run with nobody at the keyboard there is no browser to sign in with, so the server could not be used at all.

In 0.76.0 the registration is saved per server in client-registrations.json, next to the token keystore in the Octomind data directory. Octomind reuses it for as long as the server's registration endpoint and the redirect URI stay the same. The refresh token now comes back from the client that received it.

What happens when a token refresh fails

A failed refresh used to mean one thing: sign in again. Now the answer from the token endpoint decides what happens to the stored credentials.

The token endpoint answersWhat 0.76.0 does
400 or 401 with invalid_grantDeletes the stored token, so it is never sent again. You sign in once.
400 or 401 with invalid_clientDeletes the token and the saved registration. The next sign-in registers one new client.
400 with invalid_scope or invalid_request, 429, a 5xxKeeps the token. Neither answer says the credential is dead, so a later attempt can renew it.
No answer: network error, unreadable responseKeeps the token.

The codes are the ones RFC 6749, section 5.2 defines. Only invalid_grant and invalid_client say that the token or the client is gone. A server that is briefly down no longer costs you a stored sign-in.

MCP security: the global tool allowlist is the outer limit

[mcp] allowed_tools in the config is the list of MCP tools a session may use at all. Until this release it was not applied everywhere. A role's own grants and a server activated at runtime, through the mcp tool, a capability or a skill, were not held to it.

In 0.76.0 the list is the outer limit for every role and every server enabled mid-session. A role can narrow it and cannot widen it.

toml
[mcp]
allowed_tools = ["core:*", "runtime:*", "orchestration:*", "filesystem:view", "github:list_*"]
EntryWhat it allows
server:*Every tool of that server
server:toolOne tool
server:prefix*Tools of that server whose names start with it
toolThat tool name on every server

Three things follow from "outer limit":

  • An empty list still means no restriction. That is the default, and nothing changes for you if you never set it.
  • A non-empty list is the whole list. A server with no matching entry never starts, and that includes the built-in servers. The example above lists core, runtime and orchestration for that reason.
  • An excluded server cannot be switched on later. The attempt fails with Server '<name>' is excluded by the global mcp.allowed_tools allowlist. A capability whose tools are all outside the list fails with Capability '<name>' activated no tools under the global mcp.allowed_tools allowlist.

The built-in code, search_tools and context tools and project-local tools are not affected by the list. For the per-role side of the same setting, see roles and the walkthrough in Lock Down AI Agent Permissions.

Readable IDs for sessions, runs, schedules and jobs

Octomind names many things for you: the session, each agent you delegate to, each schedule, each monitor. Those names were random hex. Now they are a word and a number, handed out in order.

WhatBefore0.76.0
Session261130-myapp-1042-9f3c261130-myapp-1042-session7
Delegated run (tap)tap-developer-a3f1c2tap-developer-run3
Workflow step sessionwf-release-test-1a2b3c4dwf-release-test-run4
Schedule8 hex charactersschedule1-2
Monitormon- + 8 hex charactersmonitor2
Background MCP taskmcp-task:<call id>job1-2
Archived block, for recallb:1a2b3c4dblock17
Approved remote skill manifesta digestmanifest3

How the numbers are counted:

  • Sessions and runs count across the whole data directory, not per project. Two Octomind processes that share the directory reserve different numbers, so names do not collide.
  • Monitors, manifests and blocks count inside one session. block17 names one archived block of that session, and a block folded again keeps its handle.
  • Schedules have two numbers. The first is a namespace the session reserves each time it is opened; the second counts schedules inside it. schedule1-2 is the second schedule of the first opening.
  • Background MCP tasks have a process number and a task number. Stop one from the session that started it, by passing its ID to monitor with the stop action.

Nothing old is renamed. Existing sessions keep their names, a run started before the update is still addressed by its hex ID, and recall accepts the b:<hex> IDs that older summaries cite. A --name you pass still replaces the generated session name.

The counters are files. They live in sessions/handles/ in the data directory, and the archived messages that block17 points to live in sessions/archive/. Both are state, not cache: include them when you back up or move sessions. The sessions guide and the compression guide have the details.

Session restore: a failed resume leaves nothing behind

Resuming a session brings back its plan, its schedules and its delegated runs. Octomind used to put them in place before the last step of opening the session had succeeded, so a resume that failed at that step could leave them loaded for a session that never opened. Now they are published only after the session has opened.

A resumed session keeps the schedule IDs it had. New schedules get a new namespace, and Octomind skips a namespace the saved session already uses, so a new schedule never takes the ID of an old one.

Other changes in 0.76.0

  • The local embedding service is separate per model revision. Octomind processes on one machine share one embedding service. Its endpoint file is now named after the model revision, so an older build left running no longer blocks a newer one. This matters right after an update such as 0.75.0, which changed the revision.
  • A failing tool no longer ends the useful part of a run. When one tool fails several times in a row, the loop guard tells the agent to try a different approach and, if none is left, to finish the work that does not need the tool and report the blocker in its final message.
  • Unattended runs do not wait. The rule from 0.75.1 said not to stop to ask. It now also covers waiting for confirmation, approval, clarification or guidance, and it overrides an agent's own instruction to ask. Deleting, deploying, sending, publishing and paying still stay undone unless the request names that exact step.

What 0.76.1 adds: each script tool call reaches your client

In code mode an agent calls tools from a script through one code tool (see MCP tools). Until 0.76.1 a client saw the code call and its final output, and none of the tool calls the script made in between.

Now WebSocket, JSONL and ACP clients get each of those calls as it happens: a tool_use frame when the script starts it, and a tool_result frame with the full output when it ends, the same frames a direct call produces. Its tool_id is <code call id>:<n>, where n counts the calls in the order the script started them. A client can use that ID to show each call under its code call, with its own result and its own failure.

What 0.76.2 fixes: compression keeps your request as the goal

When a conversation passes its compression threshold, Octomind replaces older messages with a summary, and the agent resumes from it (see the compression guide). The summary keeps the request the work serves and the step the agent was on.

Before 0.76.2 that step became the session's goal, and Octomind recited it back to the agent as the goal during later turns. One pending step could then read as the whole remaining job.

In 0.76.2 your request stays the goal, and the step is recorded only as the next step. The note the agent resumes with says which is which: the request is what the work serves, the summary says what is already done for it, so the agent does not redo that and finishes what the request still needs.

Before you update

  • Expect one more sign-in per server that uses dynamic client registration. The registration is saved from the first 0.76 start on. A refresh token issued to an earlier client can still be rejected once.
  • Check [mcp] allowed_tools if you set it. Roles and runtime-enabled servers that used tools outside the list lose them. Add the built-in servers you rely on.
  • Update anything that matches ID shapes. A script or WebSocket client that expects tap-<role>-<6 hex>, mon-… or mcp-task:… needs the new forms. New run IDs end in runN.
  • Expect more tool frames after a code call. A client that pairs frames by tool_id handles them as they are. One that treats every tool_use as a top-level call should nest IDs of the form <code call id>:<n> under their code call.
  • Add sessions/handles/ and sessions/archive/ to your backups.
  • No config migration. The version stays at 36.

Update to Octomind 0.76.2

On macOS and Linux:

bash
curl -fsSL https://octomind.run/install.sh | bash -s -- --version 0.76.2
octomind --version

On Windows, in PowerShell:

powershell
$env:OCTOMIND_VERSION = "0.76.2"
irm https://raw.githubusercontent.com/muvon/octomind/master/install.ps1 | iex

Or run scoop update octomind. See the installation guide for other methods, the full changelog, and the 0.75.1 notes for what came before.

Then try it: sign in to a remote MCP server that uses dynamic client registration, quit Octomind, and start it again. The server should connect without opening the browser.

— DK