The reference below is a pinned npm release snapshot. Install or upgrade to the current published release with npm install --global agentmbx@latest (Node.js 24 or later). Check the installed version with agentmbx version. Standalone binary installs use agentmbx update.
All releases on GitHub · CHANGELOG.md
From CHANGELOG.md atv0.5.32 (commit 64ee20e).
0.5.32 (2026-10-14)
Republishes 0.5.31, whose tag was pushed onto the wrong commit; the release build refused it and 0.5.31 was never published to npm or GitHub. 0.5.32 carries the 0.5.31 changes below unchanged.
0.5.31 (2026-10-14)
The first Codex entry after a restart says the mailbox is resuming and to call mbx_whoami, instead of reporting it disconnected; the bounded resume notice follows on the first bound turn.
- Codex restart hooks now recognize a remembered thread whose mailbox server has not claimed it yet (T614). The first entry says
Resuming <name>: … Call mbx_whoami, and the bounded notice follows once on the first bound prompt; sibling threads cannot supply its identity or consume its entry.
0.5.30 (2026-10-13)
The first turn after a full Hermes or Claude restart is never silent: a live but not yet claimed mailbox server counts as resuming, so the turn says to call mbx_whoami and the bounded resume notice follows. Grok's status line uses a pure-sh adapter, so a refresh starts no node, and agentmbx doctor flags a bound Kimi session whose process runs none of its configured hooks.
agentmbx doctorreports a Kimi session whose process runs no hooks (T611). A plain-terminal or app-restart-resumed kimi-code process may dispatch none of its configured hooks (Orca/desktop-pane sessions do), and Kimi fails hook errors open, so the session silently loses its unread line, the resume notice and Stop-hook continuation while the wiring rows stay green. A new warning names each affected live bound session (noresume-entry/human-promptevidence since that process started, past a grace period); mail still arrives throughmbx_whoami/MCP and the watcher. Documented indocs/spec/automatic-resume-verification.mdand the upstream askdocs/research/kimi-wake-channel-upstream.md.- Grok's status line starts no node on a refresh (T613). Setup writes
shplusskill/scripts/grok-statusline.shwhen the skill ships it, and keepsagentmbx statusline grokwhen it does not (the SEA binary). Both forms are ours: an older node form is upgraded once, a second install does not rewrite it, and uninstall removes only ours. The adapter prints that session's HUD line and nothing for an unknown session. - The first turn after a full Hermes restart is no longer silent (T610). Relaunched with
--resume, Hermes starts a new mbx server that connects at once but claims the conversation's remembered identity only on the agent's first mbx tool call. The first turn's hook saw that live connector, took the session for already connected, and said nothing: no resume notice, no resuming line, no guidance. A live connector of this provider that holds no identity now counts as still resuming, so the turn carriesResuming <name>: … Call mbx_whoami, and the bounded resume notice (T189) follows on the first bound turn; a connector that holds an identity, or whose server or provider is gone, keeps the T503 path. Claude's--resumetakes the same path.
0.5.29 (2026-10-13)
A session takes its identity back from its own idle MCP server: after 10 minutes without mbx activity the session's current server claims it, and the owner's takeover can replace it, so a provider restart no longer locks an agent out of its inbox. The npm release job now waits for the registry tarball and can be re-run without publishing twice.
- An agent takes its own identity back from a stuck server of its own session (T608). When a provider restarts or reconnects mid-conversation (seen with
opencode serveduring the v0.5.28 install), it can leave an older MCP server of the same session alive and idle, still holding the lease. Every claim from the session's current server was refused ("held by the live MCP server of this same opencode session") whileidentity listalready showed the identity as idle and claimable, and even the owner'sidentity takeover --forcerefused it as the caller's own MCP. Now, a same-session holder with no mbx activity for 10 minutes (the D039 stale threshold) is taken back by the session's own claim, with anidentity.takeoveraudit row, and the owner takeover may replace it too. A holder still in use keeps its lease, so two live servers do not trade it, and a server under the same provider still co-uses it.
0.5.28 (2026-10-13)
Every harness now tells a new or resumed session who it is and what it has not caught up on: Claude after /clear, /compact and /resume, Codex on SessionStart, Kimi and Hermes on their first bound prompt, Grok on its first bound tool call and OpenCode on session.created, all from one bounded notice. The project lead can replay and catch up on the project mailbox, mbx_handoff keeps a bounded handoff note across a crash or provider switch, and revoking a replacement lead never restores an older one. A steady MCP tool call spawns no ps on macOS and OpenCode tool calls start no node. Agents can inspect their own outgoing delivery, legacy basename inboxes can migrate into the project mailbox, the daemon speaks sync contract 2, and releases publish agentmbx to npm through trusted publishing with provenance.
- A steady MCP tool call on macOS spawns no ps (T591).
withProcSnapshotreads the process table on the firstprocTable()inside the scope, not before it. A fresh-heartbeat tool call that never asks for a process row spawns nothing. A scope that does ask still shares one table, at most 2s old, and reads it before it opens a write transaction, sopsdoes not run insideBEGIN IMMEDIATE. After that first read,sameProcessandprovenProcessfor this process or its parent compare the recorded birth time with the one they remembered and do not read the table again, and the pre-write hoist skips those pids. Wake capture skips that read when both pids are already remembered. Lease evidence for the parent is kept for the life of this process, the same way a holder's own pid is, so a steady whoami or send spawns nops. Any other pid still hoists one table read. Linux still walks/procand spawns nothing. A lease holder's later check of its own pid keeps the birth time from the first settled read and does not re-readps. - Fresh OpenCode sessions receive bounded catch-up context through their own hook (T187). Native
session.createddefers until an exact binding exists; the new notice is emitted only for unread or missed mail, with per-session guards and receipt-based retry that preserves the zero-spawn post-tool fast path. Reopening remains unsupported until a distinguishing native signal is proven;mbx_whoamiand the claim result remain the fallback. - Handoff notes survive a crash, a provider switch and release (T159). New MCP tool
mbx_handoff.readreturns context computed now from the mailbox, which is stored nowhere: the open threads with subject, sender, unacked count, both unacked ends and needs_reply, plus counts and the catch-up position. It also returns the one saved note.save, ormbx_identity releasewith anote, replaces that note: at most 1,000 characters with control characters removed and never truncated, plus up to 20 task refs and 20 message refs, the oldest dropped. It is kept 30 days. A task ref must appear in a message the identity can see, and every ref comes back with how to verify it: status comes only fromcleo show, never from the note or ack state. whoami and the claim result point at a saved note without its text; the resume notice (T185/T189) lists its task ids. Rename moves the note; release, retire and forward keep it; a hook never writes one. - Claude sessions get the catch-up hint after
/clear,/compactand/resume(T185). The MCP server sends its instructions, which carry the catch-up hint, only when it connects;/clearand/compactkeep the connection, so after them a Claude session never heard what it had not caught up on. A bound Claude SessionStart (startup,resume,clear,compact, even on an unchanged id) now carries the same bounded resume notice as Hermes (T189) in place of the bare identity line: identity and role, thembx_catchuphint and the open-thread count, counts only. A SessionStart that runs before the mailbox server connects (claudeandclaude --resumeat launch) defers the notice to the first prompt; aforkgets none. Tool calls never carry it, so the post-tool wrapper still starts no node. - A new or resumed Grok conversation is told who it is on the first bound PostToolUse (T599). Grok drops SessionStart and UserPromptSubmit stdout, so those hooks never reach the model. The first bound
--cli grokPostToolUse of each entry (a new session, a return to an earlier id, a new process start on the same id) carries one bounded notice: the identity and role, thembx_catchuphint and the open-thread count. An unbound PostToolUse keeps the register text and does not take the entry. The Claude compatibility hook does not emit it. The shared builder stayssrc/resume-notice.ts. - A new or resumed Kimi conversation is told who it is and what it has not caught up on (T188). Kimi drops
SessionStartoutput, so a Kimi session never saw its identity line or the catch-up hint from a hook. The first boundUserPromptSubmitof each entry (a new conversation,kimi --continue/--session//resume, a hosted conversation's bind-ticket link) now carries one bounded notice: the identity and role, thembx_catchuphint and the open-thread count, at most 1,200 characters and 8 lines, counts only. It moves no checkpoint, delivery state or lease, an unbound or unlinked turn defers it to the first bound one, an idle conversation still gets nothing until the user's next prompt (the watcher remains the wake path), and the same hook command keeps any harness hook approval. The shared builder issrc/resume-notice.ts(spect184-provider-resume-adapters). - A bound Codex thread is told who it is on SessionStart (T186).
startup,resume,clear, andcompact(a missing source counts as startup) put the bounded resume notice inadditionalContextin place of the identity line. The notice stays on the Codex branch of the hook: Claude's SessionStart text is unchanged, and the hint is not added to shared MCP instructions. A SessionStart that runs before the lease records no entry; the first later bound prompt carries the notice once.clearandcompactre-inject on the same thread id. The hook command is unchanged, so an untrusted Codex hook still waits for/hooksreview. - A new or resumed Hermes conversation is told who it is and what it has not caught up on (T189). Hermes drops
on_session_startoutput and does not fire it on--resumeor/resume, so a Hermes session never saw its identity line or the catch-up hint from a hook. The first boundpre_llm_callof each entry (a new conversation,hermes --resume,/new,/resume, a compression's new id) now carries one bounded notice: the identity and role, thembx_catchuphint and the open-thread count, at most 1,200 characters and 8 lines, counts only. It moves no checkpoint, delivery state or lease, an unbound turn defers it to the first bound one, and side agents never see or consume it. The shared builder issrc/resume-notice.ts(spect184-provider-resume-adapters). The hook command is unchanged, so Hermes's hook approval still applies. - The current lead can replay and catch up on the project mailbox (T553).
mbx_replayandmbx_catchuptakeproject_mailbox(bare name, alias, or slot). The page walks that slot, including acknowledged mail, and the cursor names the slot. Omitting it leaves the personal mailbox unchanged. The lead check runs inside the caller's own lease before any cursor parse or history scan; a replaced lead, a non-lead, an unknown project, and a revoked or expired head getNOT_FOUNDand no page. The project checkpoint iscatchup:project:<slot>, starts at the current end, and does not move the personal checkpoint. - Revoking or expiring a replacement lead never restores an older lead or its grants (T562). A fresh signed designation is required to restore service.
lead shownames the head and shadowed history, limits output to 20 records per project and 50 projects, and reports truncated or unverified head coverage without claiming a vacancy. - A held agent can inspect its own outgoing delivery, and sender receipts no longer print raw queue errors (T163).
mbx_deliverylists this identity's accepted, queued, delivered, notified, read, and acked rows, with a failure class instead of the raw error, and says to reconnect when its connector report is missing or stale without releasing or taking over the lease. There is no draft store, and an acknowledgement is not task completion.mbx_sentprints that same class. - npm publishing uses trusted publishing (T013). Release tags publish
agentmbxto npm through GitHub OIDC with provenance and no npm token, then install the published version and run it. Pull-request CI runs on Linux only; macOS runs onmainpushes and in the release build. - OpenCode tool calls no longer start node in steady state, and a CI guard holds the spawn budget (T341). The OpenCode plugin ran
agentmbx hook post-tool(a node start) on every tool call; a 60 s live sample on 2026-10-12 counted 3 of 3 and 5 of 5. It now takes the same marker fast path as Claude's wrapper (T342): it readsposttool/opencode-<sid>.markerand.lastin process and skips the hook while they agree, and the daemon bumps opencode markers on bind and delivery.test/spawn-budget.test.tstraces everychild_processcall of a real MCP, watcher and plugin: steady-state tool calls start no agentmbx process and nothing but the cached macOS process tables (none on Linux); an idle watcher spawns nothing; the plugin starts node only after a delivery or bind. Runagentmbx setup --only opencodeto install the updated plugin. - Legacy basename inboxes can migrate without moving read history (T494).
identity migrate-basename --project <dir>previews without initializing or repairing the store;--applyrequires the current lead's held write lease, moves only queued/delivered/notified copies through the existing mover with per-message audits, preserves read/acked copies, and aliases the old name to the project office. Repeating an unchanged migration is a no-op. - The v2 HUD file agrees with CLI and loopback on lease.verified (T572). The writer was inspecting only the session pid, the harness parent, and treating a missing lease-holder pid as unverified. It now inspects that holder pid in the same process pass.
- A resumed Claude or Hermes session no longer hears that it lost its identity (T573).
claude --resumestarts a new provider process whose SessionStart hook can run before that process's mbx server connects (live: 413 ms before the reclaim). When the provider has never connected, the session's remembered identity is released or held by this same session, and there is no identity conflict, the hook prints[mbx] Resuming <name>@<host>: this session's mailbox server is still connecting. Call mbx_whoami and wait for its result before claiming or registering.instead of the T503 disconnect line and the unbound/register guidance. A provider that connected before and lost its connector still gets the T503 line; an explicit release, another holder, or a non-rebinding CLI keep today's text. The hook still records the session hint and claims nothing. - Pending code-compare pairings expire after 10 minutes (T200).
pair approverefuses and deletes a pending peer older than that, and the daemon drops those rows on its 60-second sweep. Approved peers stay. Token pairing is unchanged. - OpenCode's sidebar imports the canonical status contract (T399 AC5). Setup ships a managed
status-schema.tscompanion, including the opt-in inbox extension, instead of an inline sidebar model; drift tests keep its embedded contract identical to the canonical sources, and doctor reports missing, stale, or foreign companions without changing live UI state. - A concurrently started MCP on macOS is no longer refused as a duplicate reader of another connection (T564). macOS reports stdio sockets with device -1 and an inode that separate live connections can share (in a 20-way concurrent probe, 6 of 800 distinct connections collided and were refused, so their clients saw
MCP error -32000: Connection closed). When the fstat key's live owner is another process, the claim now compares both processes' fd 0/1 kernel addresses with onelsofcall: the same sockets stay a duplicate (T488), a different connection claims its own address-qualified key, and unreadable addresses keep serving. Linux and uncontended starts run nolsof. - The daemon speaks sync contract 2 after the cloud accepts it (T446).
CONTRACT_VERSIONis 2. A batch uses the lower of that and the stored link's contract max, so a link still at max 1 is spoken as contract 1. An in-range SyncAck stores the cloud's contract range, clamped toCONTRACT_VERSIONand never below the contract just spoken, and never setsproject_paths. An ack of{1,2}raises a max-1 link to max 2 and setsproject_leads; the next batch speaks contract 2 and can carry leads. An ack of{1,1}leaves a max-1 link at 1. An out-of-range ack whose range overlaps contracts 1 throughCONTRACT_VERSIONstores that clamped range and leavesproject_leadsset, so a max-2 link acked{1,1}speaks contract 1 on the next batch. A range that does not overlap, such as{3,4}, does not change the link. whoami.harness_sessionfollows the hook-bound session after an in-place upgrade (T571). A server whose lease still carries the provisionalmcp-<pid>id while this provider's hooks have bound exactly one real session now reports that session asharness_session— the id the statusline, HUD,agentmbx statusand the endpoint key on — instead of the lease id. Report-only:state.sessionId, the lease and the resolver are unchanged, andsession/lease_keystill carry the lease key fingerprint.
0.5.27 (2026-10-11)
A project now has its own mailbox: mail to the bare project name is stored once and read by the owner-signed lead, across paired hosts, and the wake dispatcher wakes only that lead; prune forwards a retired mailbox's unread mail into it and the lead moves mail within its own project without Touch ID. OpenCode calls without session metadata fail closed, agentmbx watch works inside an OpenCode session, and the OpenCode doctor checks no longer report historical overlaps as a live loop. agentmbx mcp exits cleanly after a failed startup and records one bounded error; leads can delegate read and edit, and policy text now separates outward-reversible (branch push, draft PR) from outward. Hosts sync an allowlisted status snapshot to the cloud read model.
-
The session-start note mentions auto-approved pushes only when a grant includes them (T558).
delegationNotesays permission prompts may be auto-approved for bounded outward-reversible operations only when a listed policy grantsoutward-reversibleoroutward. A read/edit-only grant says pushes and PRs are outside the grant. -
A live project lead's read and edit show on the policy line (T551). A message from the active lead of a project the recipient belongs to carries
lead-delegated [<classes>] in <project> · lead-record <id6> · grant <id6> · expires <YYYY-MM-DD HH:MMZ> · relay depth <n> (no limit for lead-delegated). Relay depth does not drop that segment. An external origin keepsreadand drops the rest. An unverified sender, a tainted or stale lead, a non-member, and the lead writing to themselves get no segment.whoamiaddslead_grant. The permission hook staysoutward-reversibleonly. -
The owner can let a project lead stand behind branch pushes and draft PRs (T499).
agentmbx lead grant <agent[,agent]|*> --project <dir>(orlead set … --classes outward-reversible --to …) signs a second owner record onto the lead's row, with one Touch ID tap and the plain-English text shown first. The permission hook asks the owner's own policies first; foroutward-reversibleonly, it then accepts the grant when the persona is a named explicit member in the lead's project, the lead is live and every conversation the store knows for it is untainted, the lead record and grants are unexpired and unrevoked, and nopolicy revoke --allcame after. It is a separate blob (project_leads.grants,grants_sig, additive) rather than a key in the strict lead record, so an older running reader keeps the lead.outwardandpermissionsare refused.readandeditstay off a stored outward-reversible-only blob; a fresh signature can delegate them on the policy line (T551).lead showprints each grant and its state;lead.grants_setandlead.grant_usedare audited.docs/POLICY.md,docs/THREAT-MODEL.mdR10. -
A live session can say which CLEO task and lane it is on (T497).
mbx_identityacceptstask(Tplus digits) andlaneon claim, register, and an identity this session already holds. Session start fillstaskfromCLEO_TASK_IDorcleo currentwhen CLEO is present, andlanefrom that command's phase; a session without CLEO is left unchanged. Mail totask:T123reaches every live persona whose session recorded that task, with one receipt per recipient, and is queued to paired hosts the wayrole:is.mbx_agentsshowstaskandlaneon this host's live or idle row, and leaves them off a paired host's row. The schema version stays 3. -
OpenCode overlap diagnostics no longer treat old history as a current duplicate loop (T561). Only intersections that began in the last hour warn; older overlaps are explicitly historical. The scan reads bounded candidate metadata, not message bodies, and preserves old audit records. A long tool message can still overlap a recent message, but recent completion alone does not make an old intersection current. Guidance describes possible concurrent execution without claiming writer process identity or telling the owner to stop a serve from timestamps alone.
-
Sync carries an allowlisted status snapshot (T423). The daemon adds
mbx.status/v2counts, enums, names and timestamps to the contract-1 host report. Subjects, bodies, paths, session ids, relay URLs, keys and tokens stay off the wire.needs_replyandfrom_ownerstay off because those counts are read from message bodies.grokandoutward-reversibleare sent as themselves.last_ackis the previous sync ack time andkey_ad_expiryis the relay key-ad expiry. A cloud that rejects the snapshot with HTTP 400 is retried once without it. Contract 2 remains reserved for the lead record. -
OpenCode plugin diagnostics distinguish wiring from runtime proof (T412). Doctor reports managed, missing, outdated and foreign plugin wiring, then checks up to 20 exact session bindings using one bounded loopback waiter request and private HUD files. A matching session/pid waiter proves only a server wake poll; producer freshness uses the daemon heartbeat, never an unchanged snapshot's mtime. Missing or mismatched evidence remains explicit, and TUI loading, reading and render cost are unobserved. Checks expose no message subjects or counts, change no state, and point to
agentmbx setup --only opencodewithout restarting sessions or overwriting foreign plugins. -
An evicted mbx tool has a short recovery recipe (T484). Retry the tool once, because OpenCode respawns the MCP. If that fails, use
agentmbx inbox --as <name>and the same for read and ack. An eviction or disconnect is recovered by that CLI. A missing identity lease, or same-session lease ping-pong, is not: wait about 30s and retry the tool. No keepalive is added. -
Startup failures leave bounded diagnostics (T505). Daemon output prefixes every line with a UTC timestamp. MCP bootstrap and initialization errors record the PID, CLI and error in
mcp-errors.log(256 KiB cap);agentmbx doctorshows the latest five from the last 24 hours. An unwritable log preserves the original failure and exit status. -
agentmbx watch --cli opencodeaccepts the shared serve root in the caller proof (T550). A live repro (/tmp/t550-repro, runs T1/T3) showed the refusal's real shape: an OpenCode descriptor'sparent_pidis whatever the MCP-side resolve produced (mcp.ts) — the raw mcp ppid whenopencodeProviderPidfinds no runtime path, or the first opencode executable on the MCP's branch — and the MCP branch and a tool shell's branch diverge below the serve, sowithCliIdentityrefused the session's ownagentmbx watch --cli opencode --session …with "no current identity lease belongs to this caller" even though the recorded pid was live and verified.inspectIdentityControlCallernow also accepts, forcli === "opencode"only, when the requester and the MCP holder resolve to the same TOPMOST opencode executable (opencodeServeRoot, src/opencode-provider.ts): a bounded walk that skips arbitrary intermediates and fails closed on a broken chain. The pid+birth checks on the recorded pids and the unknown-evidence semantics are unchanged. Thewatchcommand itself is untouched. -
OpenCode calls without session metadata fail closed (T516). Standalone tabs and shared services both share an MCP transport, so neither a host flag nor one remembered identity identifies the caller. A call without session
_metanow refuses with a metadata/native-tool recovery hint, never another conversation's identity, policies or mail. Same-process lease co-use requires the same session. OpenCode 2.0.26 forwarded metadata in an isolated live native/Code Mode check; older paths that omit it can usemcp.servers.mbx.codemode=false. Codex and other providers retain their existing routing. -
A new mailbox is a role persona, never the folder or a harness (T492).
agentNamereturns a name only whenMBX_AGENTis set. Register, claim, and a whoami rename refuse a name that does not already exist when it equals the project folder or ends in a harness id (claude,codex,opencode,kimi,hermes,grok). An existing mailbox under either shape stays readable and claimable. The same persona claimed from one harness and then another keeps its mail and its role. -
Mail to the bare project name lands once in a project mailbox that its lead reads (T493).
agentmbx(oragentmbx@<host>) is rewritten before the envelope is signed to a reserved slot, stored once, and read by the project's owner-designated lead while it holds its lease:mbx_inboxshows a labelledproject_inboxessection,mbx_whoamilistsproject_mailboxes,mbx_ackclears the personal copy first and takesproject=<name>for the other, and a replacement lead sees the same unread mail with no forward. No other session sees the mail, its count or its metadata;mbx_projectleaves it out before the page limit. A send with no live lead isqueued-no-holder. The firstlead seton the project's host allocates the mailbox. Paired hosts:GET /v1/agentsaddsprojectsbesideagentsunder its ownprojects_sig(older peers still verifyagents), a paired sender verifies and caches it and addresses the project by its bare name orname@host, and a signed receipt for the slot comes back. Older, malformed, forged, ambiguous and doubly-claimed project directories are refused with the reason. The lead'sagentmbx watchand Claude channel are woken by project mail; the daemon dispatcher is not yet (T557), and a lead on another host than the project's home cannot read it yet (T552). Docs:docs/IDENTITY.md§3.3,docs/SPEC.md. -
identity prunehands a dead mailbox's unread mail to its project, and the project's lead can move mail inside its project without Touch ID (T495). A generated, unheld, inactive mailbox with unread mail used to be kept forever ("forward it first"). When it has exactly one project binding and that project has a mailbox on this host,--applynow moves the unread mail there under the same message ids, routes the old name to the project mailbox and retires the mailbox; the dry run says what it would forward, and any other case stays kept with its reason.agentmbx identity forward <from> <to>run by the project's current lead from inside its own session moves mail between two mailboxes of that project with no owner prompt: it needs the caller's own held lease, the owner-signed unrevoked unexpired lead record designated on this host, both mailboxes bound to that project alone, and no live session on the source. Another project, an expired, revoked or replaced lead, a role label, a persona that also works elsewhere or a held source ask for the owner's signature as before, with the reason printed and audited. Every move writes anidentity.forwardaudit row naming the authority (owner,leadorprune), the lead record, the project and the message ids.src/identity-cleanup.ts,src/project-mailbox.ts,src/receipts.ts,src/cli.ts. -
The daemon wake dispatcher wakes the project's lead for project mail (T557). Mail delivered to a project mailbox wakes the current owner-signed, unrevoked, unexpired lead designated on this host, through that lead's own verified session, and no other persona. The wake is re-checked against the lead's read scope inside its own lease at the last moment, so a lead change or a released lease between choosing and sending wakes no one. One wake and one hint cover a lead's personal and project mail together, under the lead's policy, mute and batching window. With no lead to wake, or a lead whose session cannot be pushed, the project mail stays delivered with no notice and no spent wake budget; an interrupted attempt now records each (message, mailbox) pair, and a marker written before this change still replays. Docs:
docs/IDENTITY.md§3.3. -
Mail to the bare project name lands once in a project mailbox that its lead reads (T493).
agentmbx(oragentmbx@<host>) is rewritten before the envelope is signed to a reserved slot, stored once, and read by the project's owner-designated lead while it holds its lease:mbx_inboxshows a labelledproject_inboxessection,mbx_whoamilistsproject_mailboxes,mbx_ackclears the personal copy first and takesproject=<name>for the other, and a replacement lead sees the same unread mail with no forward. No other session sees the mail, its count or its metadata;mbx_projectleaves it out before the page limit. A send with no live lead isqueued-no-holder. The firstlead seton the project's host allocates the mailbox. Paired hosts:GET /v1/agentsaddsprojectsbesideagentsunder its ownprojects_sig(older peers still verifyagents), a paired sender verifies and caches it and addresses the project by its bare name orname@host, and a signed receipt for the slot comes back. Older, malformed, forged, ambiguous and doubly-claimed project directories are refused with the reason. The lead'sagentmbx watchand Claude channel are woken by project mail (the daemon dispatcher: see T557), and a lead on another host than the project's home cannot read it yet (T552). Docs:docs/IDENTITY.md§3.3,docs/SPEC.md. -
Inbox and read name the outward split (T498).
mbx_inboxandmbx_readsayoutward-reversibleis a non-default branch push or a draft PR, andoutwardis merge, release, deploy, delete, secrets and spend.mbx_ackdoes not show a policy line, so its description stays as it is. The session instructions and the skill policy table use the same class list. -
The owner can let a project lead stand behind branch pushes and draft PRs (T499).
agentmbx lead grant <agent[,agent]|*> --project <dir>(orlead set … --classes outward-reversible --to …) signs a second owner record onto the lead's row, with one Touch ID tap and the plain-English text shown first. The permission hook asks the owner's own policies first; foroutward-reversibleonly, it then accepts the grant when the persona is a named explicit member in the lead's project, the lead is live and every conversation the store knows for it is untainted, the lead record and grants are unexpired and unrevoked, and nopolicy revoke --allcame after. It is a separate blob (project_leads.grants,grants_sig, additive) rather than a key in the strict lead record, so an older running reader keeps the lead.outward,permissions,readandeditare refused.lead showprints each grant and its state;lead.grants_setandlead.grant_usedare audited.docs/POLICY.md,docs/THREAT-MODEL.mdR10.
0.5.26 (2026-10-11)
The OpenCode sidebar becomes a full dashboard, mbx_agents is a live roster with verified state across hosts from a signed directory, and the project key is the CLEO project id. An agentmbx mcp exits when its client goes away and a reload keeps one process per connection, which cuts the orphaned MCP processes that piled up on busy hosts. OpenCode permissions stay inside the serve that hosts the session, and mbx_whoami names the session id the status line uses.
-
MCP reloads replace the process on runtimes with
process.execve(T488). The reply and client pipe survive while the PID stays the same. Exec preflight failure keeps serving; failure after retirement closes the transport. Unsupported runtimes explicitly retain the legacy proxy handover. Kernel pipe/socket endpoints distinguish connections on macOS and Linux, so a proven duplicate reader is refused before SDK initialization while separate connections under one provider remain valid; unknown endpoints or owner evidence stay non-actionable.agentmbx doctor --processeslists MCP/watch PID, parent, birth, client liveness and RSS without initializing or repairing the host. -
One project key: the CLEO project id (T543).
resolveProject(src/project-key.ts) reads.cleo/project-id(else theidof.cleo/project.json) from the session's folder upward, stopping before$HOMEand at a repository boundary, and the lead record,identity_projectsand the ledger now treat every checkout of one CLEO project as one project: a persona bound in one checkout belongs to the project in the other, a lead signed for one checkout leads both, and two checkouts' bindings are not "stale" to each other (agentmbx identity bindings). Both tables gain a nullableproject_keycolumn (additive, no schema version change), filled when a binding or lead is stored and backfilled when the store opens, for folders that still carry an id. A row whose folder is gone and every signed lead record are left exactly as they were and keep matching by folder. Mail now carriesmeta.project_key= the CLEO id, else the git origin, else none (never a path); the ledger still matches mail stamped with the old git key, and the cloud read model keeps the git origin (projectKeyis unchanged).agentmbx doctornames the key and where it came from and warns when one id spans folders with different git origins (a copied.cleodirectory);agentmbx lead showprints the key and the other folders a record now covers. -
Paired hosts publish a signed agent directory (T546).
GET /v1/agentsaddsstate(live,idle,unknown, oroffline),harness(the holder cli when live or idle, otherwise null), andproject_keys(normalized git origins, not folder paths). The body is signed with the host key, the same way/v1/enc-keyis.refreshDirectorystores those columns only when the signature matches the pinned peer key. An older unsigned directory still updates the five original fields and clears any previously verified columns. A bad signature is audited and not applied. A name that leaves a signed directory keeps its row and loses the verified columns. The schema version stays 3.mbx_agentsshows that stored state and harness for a paired host; a row with no verified columns staysremote.project_keysis optional on anmbx.agents/v1row and is omitted when the row is unverified. -
Schema refusals keep answering every MCP tool (T487 follow-up). A running connector reloads an upgraded store only when a different build is installed. Replacing itself with the identical incompatible build could turn later tool refusals into MCP protocol exceptions. The connector now keeps returning the usual error result, with mail preserved; a changed build still reloads.
-
mbx_whoaminames the id the status surfaces key on (T548). Itssessionfield has always carried the lease key fingerprint, so a session that read it as a session id fed the statusline/HUD a value they do not resolve. The output now addsharness_session— the sessions-table session id the statusline, HUD snapshots,agentmbx statusand the loopback endpoint all key on — and labels the fingerprintlease_key;sessionkeeps its historical meaning for old clients. The unbound result carriesharness_sessiontoo.docs/harness-validation-recipe.mdcheck 5 (and check 1's evidence) now nameharness_sessionas the id to hand the statusline, andtest/whoami-harness-session.test.tsproves the whoami→statusline hand-off renders the bound segment. -
OpenCode's standalone plugin answers a permission in its own serve (T521). The generated plugin registers
permission.hook("evaluate")only when this process is not the shared service (--stdio, or argv without--service). It asks loopbackGET /v1/opencode-permissionand setseffecttoallowonly when that session is a liveses_binding, the lease matches the plugin's pid, and an active policy grants the permissions class. Anything else leaves the prompt. The daemon pass replies through the shared service only for a service-hosted binding. A standalone or unknown host makes no service call. The T519 wake queue is unchanged. -
mbx_agentsis a live roster (T496). It used to print the directory by last-seen time, so a dead session looked present. Each persona now has astatefrom the same process evidence a claim uses:live(a verified session holds it),idle(a shared-process conversation quiet for 10 minutes),unknown(a holder that cannot be verified right now),offline, orremote(a paired host's row, not verified from here). Rows show role, the harness holding it, projects, andlead_offor an owner-designated project lead (a role label ofleadis not one). The default view is this session's project plus the leads of other projects (a persona belongs to a project once it has claimed or registered there, T538), plus any live or idle persona whose verified session binding works in this folder, markedseen_here: trueand shown as "seen here (not a member)": visibility only, nothing is written toidentity_projects, and an offline persona that once ran here is not listed (the folder rule is the oneagentmbx probeuses,cwdInProjectinsrc/probe.ts);project: "*"lists every project,all: trueadds retired and generated names (hidden unless live or idle), and any other folder is refused with PROJECT_SCOPE. The top-levelleadline is still this project's lead only, and rows carry no unread or message counts. The structured result ismbx.agents/v1(src/status-schema.ts,test/fixtures/agents-v1.json,validateAgentsV1).agentmbx identity list --jsonrows gain aretiredflag. Paired-host rows stay unverified until T546. -
AgentMBX's OpenCode sidebar expands into a native dashboard (T410). The default is a compact, collapsed identity/inbox/relay summary. Click the header or use the command palette to expand grouped summaries; click a group or run
/mbxfor the full session panel, with mouse and Escape exits. It renders registration and lease health, wake path and policy, inbox, cloud and paired devices, and project/lead/members from the same status snapshot. Optional, bounded inbox previews carry only this session's three newest pending subjects, sender, kind and age—never bodies. New-message toasts are deduplicated; changing sessions, disconnecting or becoming unbound clears private data immediately. Unbound sessions show an explicit list/claim/register next step, not another persona's counts.
0.5.25 (2026-10-10)
A standalone OpenCode session that is woken now actually starts a turn, doctor classifies OpenCode bindings and flags duplicate agent loops, and Hermes reports its status surfaces honestly. Signed grants auto-approve reversible outward work (a non-default branch push or a draft PR) on harnesses with an approval channel, a session whose mbx MCP died is told to reconnect, and project membership is explicit only. Docs: the identity selector reference, the project-mailbox ADR and the OpenCode wake paths.
-
A disconnected MCP is reported on the next prompt (T503). Prompt and session-start hooks now say to reconnect mbx and name the conversation's remembered identity when its connector records are missing or its MCP process is positively dead. Live connectors and unreadable process evidence stay quiet; the hook never restarts a connector or changes ownership.
-
A daemon wake of an idle standalone OpenCode session starts one turn (T544). Hook notes stay
resume: false. The wake is the same in-processctx.session.syntheticcall withresume: trueanddelivery: "queue". On an idleopencode --standaloneTUI,resume: falsereturned amsg_receipt and wrote nosession_message, so the turn never started.resume: truewrote one synthetic row, one assistant row, then idle, with an empty pending queue and no call to the shared service. -
Doctor classifies each OpenCode binding (T520). A binding is service-hosted, standalone with a live plugin consumer, or unwakeable. The consumer is a plugin polling
GET /v1/opencode-wakefor that session and pid; doctor reads those pollers from the daemon atGET /v1/opencode-wake/waiters(loopback, no wake text). A standalone binding with no consumer, or an unknown host, is a warning whose fix isagentmbx setup --only opencode. The shared service is still not called for those bindings. -
Permission hooks approve bounded reversible outward work under signed authority (T539). Claude, Codex and hosted Kimi can approve a literal non-default branch push or explicit-head draft PR with
outward-reversible, without enabling YOLO. Default-destination/force/delete pushes, other shell actions and uncertain repository state keep the prompt. Persisted session taint blocks all automatic approval, including YOLO; provider channels that cannot classify or approve the request remain unsupported. -
docs/OPENCODE.md describes the standalone and service-hosted wake paths as they now work (T523). It had still said a standalone session gets mail only at its next prompt "until in-process delivery lands"; T518 and T519 have landed. The page now covers how AgentMBX tells the two serves apart, that hook notes go in-process in both modes, the service wake (
POST /api/session/{id}/synthetic, receipt-checked), the standalone wake (loopbackGET/POST /v1/opencode-wakelong-poll,resume: falseadmission, nativemsg_receipt), what the daemon records in each case, and one limit: AgentMBX verifies that a standalone wake was admitted, not that an idle session starts a turn. Theopencode-provider.tscomment that said the same stale thing is corrected. Comment and documentation only; no behaviour changes. -
Project membership is explicit only — a session cwd never binds a persona to a project (T538):
noteProject(src/registry.ts) upsertedidentity_projectson every bind with the session's cwd, so a persona whose session started in another project's folder — including personas served by a shared host process — became a member again as fast as T515's prune removed them (9 such bindings pruned on 2026-10-10).noteProjectnow takes anexplicitflag and writes only when it is set: thembx_identityclaim/register path passestrue(claiming or registering a name from a session in a project IS an explicit choice of that project); every cwd observation writes nothing. The members surface (projectIdentities), the lead record's folder default and the project ledger all read the same now-clean table. -
docs/IDENTITY.md matches the shipped code, and an ADR records the project mailbox decision (T500). Every address and selector in the identity design is now marked built (with a
src/line) or planned (with a task id):name,name@host,role:<role>,*,owner,leadandrole:leadare built; the bare project name,task:<id>,fn:/rank:/project:and contact addresses are planned (T493, T497, T069, T171). New §3.1 is the selector reference, §3.2 the role-persona naming rule (<project>-<role>, harness-agnostic, never derived from the folder or the CLI), §3.3 the project mailbox and the CLEO project-id key. Corrected claims that the code did not back: the folder is no longer a default name,from.principalsisprincipal:<fp>in a policy'sfromlist, and the cloud login command isagentmbx login.docs/adr/adr-037-project-mailbox-role-personas.mdrecords the four owner decisions of 2026-10-09 and the rejected options (lead-as-inbox, a copied root inbox,role:leadonly,<project>-<cli>names, the folder basename as key). Documentation only; no behaviour changes. -
Hermes hook consent matches this install under any node (T547).
hermesConsentcompared the allowlist tohookCommand(ctx.cmd), so the node path of the process running doctor was part of the match. Doctor started through one node warned that the hooks were not approved when the allowlist had been written by another node. An allowlist entry now matches by this install's entry script and the hook arguments, with any node binary that still exists — the same rule asmcpNodeScriptCurrent. A foreign script still reads as not approved. An exact command match remains for the single-binary form. -
Hermes status surfaces and mid-turn mail are pinned by tests and evidence (T527): agentmbx-hermes verified live that Hermes has no status-line feature at all, so
agentmbx doctornow reports an explicit info row documenting N/A (the opencode precedent) instead of leaving the surface silently absent. The daemon's generic HUD writer already covers bound Hermes sessions —hud/hermes-<sid>.json,.v2.jsonand.linesnapshots are written, pruned when the binding dies, and now locked by a test intest/status-surface.test.ts. Mid-turn mail needs no new hook: onlypre_llm_callconsumes hook stdout as injected context, and it fires per LLM call, so mail arriving between two calls of one tool loop reaches the session on the next call of the same turn — a test intest/hermes-hooks.test.tsproves the second call injects the hint (counts only, never bodies).docs/harness-validation-recipe.mdrecords the Hermes hook list as evidence:on_session_start(observer),pre_llm_call(injects),pre_tool_call/post_tool_call(exist, stdout not consumed — no post-tool channel, none wired). -
Doctor and the daemon notice two OpenCode processes on one bound session (T522). Overlapping assistant turns in that session's
session_messagerows are the signal (each turn also carries a git snapshot). The daemon writes oneopencode.duplicate_loopaudit row when that set changes.agentmbx doctorwarns, and a warning does not fail the run. The plugin still spawns onlyagentmbx hook, never anopencodechild, on each hook.
0.5.24 (2026-10-10)
Fixes from the v0.5.23 harness checks. The Claude plugin loads the version you installed and finds its session, Hermes binds its real session id past 64 KiB of history, OpenCode 2.0 keeps the mbx server, and a standalone OpenCode session is woken through the plugin inside its own serve. Signed collaboration grants now cover reversible outward work: a non-default branch push or a draft PR.
- Hermes hooks bind the real session id again (T525). The hook read its stdin through
process.stdin.isTTYplusreadFileSync(0); touchingprocess.stdinmakes the pipe non-blocking, so any payload over the 64 KiB pipe buffer threw EAGAIN and read as"". Hermes'spre_llm_callpayload carries the whole conversation, which passes 64 KiB from the second turn, so the hook quietly did nothing after turn 1: the sessions row keptmcp-<pid>, status/HUD/endpoint reported the real id as unbound with 0 unread, doctor counted 0 real session IDs, and a Hermes-side MCP reload or restart could not resume the identity. Newsrc/stdin.ts(stdinIsTTY()viaisatty(0), and areadStdin()that reads fd 0 to EOF, retries EAGAIN and returns""rather than a truncated payload) is now used byhook,statuslineandsend. A--cli hermeshook that gets no payload now writes[mbx] hook: empty stdinand exits 1, so Hermes (which fails open but logs a non-zero hook with its stderr) shows it; other providers are unchanged. agentmbx sendkeeps a piped body larger than 64 KiB (T525). The body came from the same stdin read, so... | agentmbx sendwith more than 64 KiB on stdin sent an empty message. It now sends the whole body.- Claude Code loads the plugin version you installed, and the band finds its session (T542).
npm i -grefreshed the plugin's marketplace source but never Claude Code's cached copy, so a host on 0.5.23 still ran the 0.5.19 plugin while doctor said it loaded: doctor compared the package's ownplugin.jsonwith itself. Doctor now reads the version Claude Code actually loads (installed_plugins.json) and warns on a mismatch, andagentmbx setuprunsclaude plugin updatewhen it differs (restart Claude Code to load it). The band reads the session id with$.session.id(), which follows /clear and resume; the env vars are only a fallback, since they read empty after/reload-pluginson Claude Code 2.1.296 and the band showedunboundfor a bound session. - OpenCode 2.0 keeps the mbx MCP entry: setup writes
timeoutas{startup, catalog}(T541). OpenCode 2.0 rejects$.mcp.servers.mbxwhentimeoutis a number (what T502 wrote,30000) and skips the whole server, so the MCP tools disappear. Setup now writestimeout: { "startup": 30000, "catalog": 30000 }and rewrites a numeric timeout in place; other mbx keys and other servers stay byte-identical. Doctor readsstartupfrom that object and warns, withagentmbx setup --only opencode, when the field is still a number. A second setup run leaves a current object alone. - Signed collaboration grants distinguish reversible outward work (T498): new
collaborateandautonomouspolicies includeoutward-reversiblefor non-default branch pushes and draft PRs. Fulloutwardstill covers merge/release/deploy/delete/secrets/spend and other external actions. Existing signed class lists stay unchanged, external taint removes the new class, and CLI prompt auto-approval still requirespermissions. - A standalone OpenCode session is woken by the plugin already inside its serve (T519). Service-hosted bindings keep the direct synthetic POST. A standalone binding is handed to the plugin whose process id is the binding's provider pid, over a loopback queue (
GET/POST /v1/opencode-wake, before hop auth). The plugin admits the text withctx.session.synthetic(resume: false,delivery: "queue") and the receipt is the nativemsg_id that call returns. With no plugin waiting, the wake is not_submitted/no-target: the shared service is not called, starts no turn, and takes no snapshot. - The daemon sweeps rows of MCP processes that died before running their cleanup (T507; shipped in 0.5.21, missing from its notes): a census on 2026-10-09 found 82 unreleased identity leases against 29 live MCPs, plus 161
mcp-processand 218identity-controlkv rows — a force-killed process never runs its release path. The daemon's 60-second pass now releases unreleased leases whose holder process is positively dead or reborn (reasondeadorpid-reused; released, never deleted, so history survives) and deletesmcp-process:andidentity-control:kv rows whose recorded MCP process is gone. Positive death means ESRCH or a live pid whose start time differs from the recorded one — the start-time check catches a reused pid, so a live process's rows are never swept, and unreadable process evidence keeps the row rather than acting on it (T340).agentmbx doctorreports one row with the stale counts (unreleased leases, mcp-process, identity-control); a persistent nonzero count means the daemon is down. Recorded start times are compared as epochs, not bytes, because mcp-process rows carry procStart's raw lstart while lease evidence is ps-utc — equal epochs are the same process, and an unparseable start is never proof of reuse. The mcp-process record shape is unchanged from T501. - OpenCode notes are admitted in-process, not posted to the shared serve (T518). The generated plugin calls
ctx.session.synthetic(orctx.session.promptwhen synthetic is missing) withresume: falseanddelivery: "queue", and a stable id so a retry of the same note is one admission. It no longer discovers the shared service or posts to it, which is what started a second agent loop on a standalone session.
0.5.23 (2026-10-10)
Agents collaborate without caps: no relay-depth limit, no per-thread action stop and no wake-count caps, policies can be signed without expiry, and a loop detector reports rapid automated back-and-forth instead of blocking it. Mail to an offline project lead is queued and escalated to the owner instead of sitting silently, project membership comes only from explicit bindings, and Grok's status line setup and doctor agree.
- Grok's status line and doctor agree about an older shim command (T536). A quoted mise shim or bare
agentmbx statusline grokis rewritten in place to the current command. The rewrite no longer eats the newline beforecommand, which made the result invalid TOML and left setup reporting unchanged while doctor warned. A command that is any existing node plus this install's entry is current for both, so neither rewrites nor warns. - Project lead mail no longer sits silently in a mailbox with no live holder (T491): mail to
lead/role:leadwhose resolved lead mailbox has no live holder now reports the recipient statequeued-no-holder(plainly addressed unheld agents keepoffline), with a sender-facing warning naming the lead recipient. The daemon's 60-second pass escalates urgent copies — kindalertor anything carryingneeds_reply— in established mailboxes with no live holder: one desktop notice to the owner per copy, exactly once via a kv marker, andagentmbx doctor's stranded row now names how many urgent messages were escalated per mailbox. Bare project names are unchanged (T493 covers those separately). - A project member is an identity_projects binding, not a session folder (T515).
projectIdentitiesandidentity list --projectno longer treatsessions.cwdas membership, and opening the store no longer copies historical session folders intoidentity_projects. A shared host process whose cwd is this folder does not make that persona a member, and mail that belongs only through that persona stays out of the project ledger. A recorded binding still does.agentmbx identity bindingslists bindings older than another project for the same identity and removes them with--apply(dry run by default). One project is kept, and a tie for the newestlast_seenis kept.agentmbx doctornames the count.
0.5.22 (2026-10-10)
Setup recognises its own entries in every form and stops duplicating hooks: Hermes folded YAML, Grok's sub-table hooks and older shim or bare commands are matched by meaning and replaced in place; setup and doctor accept any existing node running the installed agentmbx script, so they agree across shells; an entry setup cannot parse is reported for a manual fix instead of duplicated. The limits-fuzz test no longer flakes under load.
- The limits-fuzz HTTP test no longer flakes with a client-side
terminatedunder load (T528): the server legitimately answers and closes while the client is still writing a large request body; the response body's read then dies with undici'sTypeError: terminated(cause: write EPIPE). The test already tolerated that race on the request write — it now treats the identical race on the response body read the same way: counted as a race, never as a server failure, and only after a live/v1/statuscheck proves the server still answers. The never-crash and no-5xx assertions, and the race-count bound, are unchanged. Verified with 20 consecutive runs of the file alongside a fullnpm test(20/20, suite exit 0). - Hermes setup recognises its own folded hook entries and is idempotent again (T526): Hermes rewrites
~/.hermes/config.yamlitself and folds longcommand:scalars onto indented continuation lines, after which setup no longer recognised its own entries — it appended a duplicate next to each folded one and every later run reported "hooks updated".setup --only hermesnow reconstructs the semantic scalar value (plain scalars consume deeper-indented continuation lines up to the siblingtimeout:key, a backslash ending a segment is a line-continuation marker, quoted scalars accept their closing quote on a continuation line, and|/>block scalars are read too) and repairs an ours entry to the canonical single line across the whole folded span — exactly one entry per hook after any number of runs, foreign hooks byte-untouched, and a second run reports unchanged. Acommand:that visibly looks like one of ours but cannot be parsed confidently is never appended next to: setup leaves the file alone and reportsagentmbx hook entry could not be parsed; fix by handas a manual row. - Grok setup recognises its own older hook and MCP forms by meaning and replaces them in place (T532): a config holding entries in grok's own nested
[[hooks.<Event>]]/[[hooks.<Event>.hooks]]shape (whatgrok hooks addwrites), or a bare/shim/absoluteagentmbxbinary in setup's inline form, was not recognised — setup appended its node+script entries next to the old ones, producing two hooks per event. Setup now matches the command semantically (…/agentmbx hook <event> --cli grokoragentmbx mcp, in any path form), rewrites the existing entry's command line in place, and removes duplicates beyond the first; uninstall removes the older forms too. The result keeps foreign hooks byte-for-byte, parses as valid TOML, and a second run reports unchanged. A TOML file whose strings use line-ending-backslash folds is rejected by the smol-toml parse guard and left untouched — reported, never written into. - Setup and doctor no longer key wiring on the invoking node binary (T533):
agentmbx setupwrites the node binary that ran it, so a shell whose shim resolves a different node (Homebrew vs mise) reported every harness "not wired" and rewrote every config. An entry naming[any existing node, the installed agentmbx entry script](script realpath) is now wired-and-current: doctor passes from any node, and setup reports unchanged — for MCP entries and hook commands across claude, codex, opencode, kimi, hermes and grok. Setup still rewrites when the configured node binary no longer exists or the script resolves to a different install.
0.5.21 (2026-10-09)
Stale identity leases of dead MCP processes are swept by the daemon, and the release build is reliable again: the startup timing test keeps its strict local bound with a CI-safe bound on slow shared runners (v0.5.20's GitHub release build failed on the Intel macOS target for that reason; v0.5.20 itself was installable from its tag).
0.5.20 (2026-10-09)
OpenCode stops running duplicate agent loops and MCP connections get sturdier: AgentMBX pushes notes and wakes through the shared OpenCode service only for sessions that service hosts (standalone sessions get mail on their next prompt), the MCP answers initialize before any store or identity work so a busy database can no longer kill it at startup, setup writes explicit startup timeouts and an absolute node + script command instead of the mise shim, and the OpenCode standalone model is documented.
- MCP connects before mailbox startup (T501):
initializeandpinganswer while SQLite is busy. Mailbox tools wait for identity setup, retry startup lock contention, and then report the caller's signed policy throughmbx_whoamiandmbx_inbox. Current stores open without repeating the schema write transaction. Separate-process hooks briefly wait for a resuming MCP before offering identity recovery, and build handover keeps its single catalog-change notification. - docs/INSTALL.md and the new docs/OPENCODE.md document the T504 MCP command form, the T502 startup timeouts, and OpenCode's two run modes: setup registers the
mbxMCP server as the absolute node binary plus the absolute, symlink-resolvedagentmbxentry script (the mise/asdf shim is deliberately not used), and doctor fails the row when that path is gone or resolves a different version. INSTALL.md's per-harness MCP examples now carry the explicit startup timeout each format supports — codex and grokstartup_timeout_sec = 30, opencode"timeout": 30000(milliseconds), hermesconnect_timeout: 60; Claude and Kimi have no such field and get none, and doctor's warning-plus-repair for a missing or short timeout is documented. The new OPENCODE.md explainsopencode --standalone(a privateopencode serve --stdioper session) versus the sharedopencode serve --service, why notes and wakes are pushed only into service-hosted sessions (T524: the service API is the only injection channel, and posting to it for a standalone-hosted session would start a duplicate agent loop), and that standalone sessions receive mail on their next prompt until T518/T519. - Setup writes an explicit MCP startup timeout where the harness supports one (T502): measured cold starts sit close to the harness defaults (an OpenCode connect takes ~2.2s against a 5000ms default; Claude's p99 is ~4.3s), so
agentmbx setupnow writes at least a 30-second startup timeout into every MCP entry whose config format has a real field:startup_timeout_sec = 30for Codex and Grok,"timeout": 30000(milliseconds) for OpenCode, andconnect_timeout: 60for Hermes. Claude's~/.claude.jsonand Kimi'smcp.jsonhave no such field and get none.agentmbx doctorwarns — never fails — when a wired entry's timeout is missing or under 30s, withagentmbx setup --only <cli>as the fix; a config an older setup wrote stays "wired" and the next setup run repairs the line in place. - The MCP command is the absolute node binary plus the agentmbx entry script, not the mise shim (T504):
agentmbx setupnow registerscommand = <absolute node binary running setup>,args = [<absolute, symlink-resolved agentmbx entry script>, "mcp"]in every harness config, instead of the mise/asdf shim — a mise upgrade or node pin used to rewrite the shim and break every harness at once.agentmbx doctorfails the row when the configured node binary or script path no longer exists, or when the script's package version differs from the installed one (a stale path or a second older install the harness would actually start), namingagentmbx setup --only <cli>as the fix; older single-binary and shim forms keep working and are repaired to the node + script form on the next setup run. - OpenCode never runs a duplicate agent loop (T524): OpenCode 2.x runs each
opencode --standaloneTUI on its own privateopencode serve --stdio, while a separate sharedopencode serve --servicereads the same session database. AgentMBX pushed notes and wakes into every OpenCode session by POSTing a synthetic message withresume: trueto the shared service, so for a session hosted by a standalone serve the service started a second agent loop on the same session and worktree (duplicate assistant chains, double compactions, interleaved git snapshots). The generated plugin now posts to the service only when it is itself loaded by the service process (its argv carries--serviceand not--stdio), and never runsopencode service statusotherwise; the daemon wakes an OpenCode session only when the binding's recorded provider process isopencode serve --service, and returns not_submitted/no-target for standalone or unknown hosts;agentmbx doctorcounts service-hosted and standalone bindings and says standalone ones have no push wake yet (they get mail on their next prompt). Runagentmbx setupto rewrite the installed plugin. - OpenCode's provider walk stops at a directory boundary (T482).
opencodeProviderPidstill climbs at most 16nodeorbunparents, and a process namedopencodestill counts, including a compiled binary. It returns null instead of following anodeorbunparent whose executable is in a different directory. A runtime in the same directory still counts, so a mise or Homebrew layout that shares a directory still resolves. A name with no/has no known directory, so a barenodeproxy is not a boundary and a full-path reload generation under it still reachesopencode. Each pid is read once. macOS reads the whole chain with oneps.
0.5.19 (2026-10-09)
The Claude Code status mod installs with setup: agentmbx setup adds the package's local marketplace and installs the agentmbx@agentmbx plugin, doctor checks it, and foreign plugins are never touched.
- Claude Code installs the status mod as a marketplace plugin (T416):
agentmbx setupadds the local marketplace in this package and installsagentmbx@agentmbxfor the user throughclaude plugin. A second run does nothing when that id already points at this package. A marketplace or plugin of the same name that points somewhere else is left alone. Uninstall removes only that id, and any other plugin record keeps the bytes it had before the CLI ran. The plugin version is the package version.agentmbx doctorchecks that the plugin is installed and thatclaude plugin validateaccepts it. The npm package now ships.claude-plugin/andplugins/. The single binary bundles neither, so there setup reports the plugin row as skipped and doctor reports it as info, not as a failure.
0.5.18 (2026-10-09)
OpenCode sidebar arrives with setup and the Claude Code mod is complete: setup --only opencode installs and registers the v2 status sidebar without touching foreign config, version-only template drift no longer rewrites files or restarts the OpenCode service, the Claude mod renders every v2 section with an unread indicator, and sibling MCPs of one OpenCode serve resume co-use after a holder respawn.
agentmbx setupwires the OpenCode sidebar (T411):setup --only opencodenow installs the T409 packaged plugin —package.json,server.ts,tui.tsunder~/.config/opencode/plugins/agentmbx-sidebar/— and registers that directory in~/.config/opencode/tui.json'spluginarray (the list the TUI reads), so the sidebar that rendersmbx.status/v2arrives with the rest of the wiring instead of a manual copy. The registration is a byte-preserving JSONC line edit: other plugin entries, other keys and comments survive install and uninstall untouched, and uninstall (which removes only our entry and our files, deleting atui.jsonwe created but keeping one the user had content in) restores the previous bytes exactly. Foreign content is never overwritten: atui.jsonthat is not an object with apluginarray, a sidebar file whose first line is not our marker, or apackage.jsonthat is not ours is reported as a manual row and left alone. Doctor reports the whole surface as one row —opencode: sidebar plugin wired (files + registration)— through the samewired()machinery as the MCP and hooks rows.- Managed files whose only difference is the release version stay put (T486): the OpenCode plugin files carry the agentmbx release in a managed version header (the
(agentmbx x.y.z)suffix on the marker line ofagentmbx.tsand the sidebartui.ts, and theversionfield of the sidebarpackage.json). Doctor treats a file that differs from the current template only there as wired, andsetup --only opencodeleaves it byte-for-byte alone — no rewrite, no backup file, and no OpenCode service restart, which the runner only triggers when something actually changed. Any other difference (a template change, a local edit) still rewrites; a local edit to a managed file makes it foreign and setup reports it instead of touching it. - T483: refresh same-session MCP co-use immediately after the holder respawns; make fake OpenCode reconnect tests compatible with macOS Node shared libraries.
- The Claude Code mod renders every v2 section, with an unread indicator and drawn-everywhere fallbacks (T415):
/mbx-statusopens a pane rendering the fullmbx.status/v2snapshot — identity, registration and lease, inbox, harness, cloud, devices, project — one pure-rendered line per section, never deriving a count. The AbovePrompt band keeps one compact line and takes a●marker while there is unread mail; a five-second$.clock.everytimer pinsmbx: N↑ M↺under the prompt with$.ui.statusand redraws the surfaces. Where mods cannot draw, the same content still arrives: headless sessions get the printed sections from/mbx-status, a narrow terminal gets a toast plus the printed sections when the pane reportsisPlaced: false, a refused tree draws the host's own site, and every hook failure defers tonext(e). A daemon older than v0.5.17 still gets the compact v1 band. Twelve mod tests cover the section render, the indicator, the pane/command wiring with a stub host, and the source shapeclaude plugin validateneeds; the spike notes grow a T415 addendum (verified pane,$.ui.open/$.ui.status/invalidate semantics). - A Claude Code mod renders this session's status (T414):
plugins/clauderegisters/mbx-statusand draws an AbovePrompt band. The hooks module imports nothing but relative files andclaude-code. It readsCLAUDE_CODE_SESSION_IDorCLAUDE_SESSION_IDwith$.env.get. If neither is set, the band saysunboundand does not guess. Status is$.http.fetchofhttp://127.0.0.1:7373/v1/status?cli=claude&session=<id>&schema=mbx.status/v2— the same v2 snapshot the OpenCode sidebar reads; a daemon older than v0.5.17 answers v1, which the band still renders. A throw, a non-OK response, or a body that is not anmbx.status/v1orv2snapshot saysmbx: unavailableand does not throw. The mod's v2-bound fixture is byte-identical to the shared contract fixturetest/fixtures/status-v2-bound.json(T431), with v1 bound, unbound, and ambiguous fixtures for the tolerance path (T417). An ambiguous snapshot rendersambiguousand does not name a candidate. The spike notes aredocs/research/t414-claude-mod-spike.md. - The harness-validation recipe gains its status-surface check (T431):
docs/harness-validation-recipe.mdis the canonical seven-check recipe (the T377/T379 pattern), and check 7 now covers every status surface — per-CLI statusline segments, the v1 and v2 HUD snapshots, both CLI schemas, the T407 loopback endpoint, and both plugin surfaces (Claude mod, OpenCode sidebar) — each with its machine-checkable evidence (fixture render, snapshot file, endpoint JSON, or audit row).test/fixtures/status-v2-bound.jsonis the shared v2 contract fixture, andtest/status-surface.test.tsrenders it through the line renderer and automates the statusline check for a composing CLI (opencode) and the alert-only CLI (kimi): own session renders its segment, an unknown session renders nothing (T308 AC2).
0.5.17 (2026-10-07)
OpenCode reliability and the unified status model: owner takeover recovers a lease held under another OpenCode process, doctor explains OpenCode's hourly eviction, session start lists claimable mailboxes, mailbox names never default to the harness, and mbx.status/v2 ships end to end (schema, CLI, endpoint, daemon snapshots, OpenCode sidebar spike).
- OpenCode 2 sidebar spike (T409):
src/opencode-sidebar.tsgenerates a packaged OpenCode 2 plugin (package.json withopencode.server/opencode.tuientrypoints, a no-op server entrypoint, and a TUI entrypoint) that renders onembx.status/v2snapshot in the OpenCode sidebar — identity and inbox counts, refreshed at most every 5 s from the T407 loopback endpoint, with zero status logic in the plugin (read/render only, per the T404 contract). The scratch repro on OpenCode 2.0.24 proved the deployment facts the spec couldn't: loose plugin files load with the server context only (noctx.ui, nostorage.store/memory), while a packaged plugin'stuientrypoint receives the full TUI context with thesidebar.contentslot; the v1 community-sidebar API does not exist in 2.0.x. Seedocs/research/t409-opencode-sidebar-spike.md. Setup wiring (T411) and the full sidebar (T410) build on this. - A new mailbox is a project or a project-role, never the harness (T329). A session started in the home folder or
/with noMBX_AGENTis unnamed. It is not named after its CLI, and it is not named after the account.MBX_AGENTstill selects the mailbox the owner asked for, including one that already uses a harness name. A project folder still defaults to that folder's name. Register suggestions stay<project>-<role>. - T405: daemon writes private, atomic v2 HUD snapshots beside v1 JSON and statusline files, reusing mailbox counts and process evidence per tick.
- Doctor explains OpenCode's hourly identity eviction (T450): when an OpenCode holder releases its identity and claims it again about every 61 minutes,
agentmbx doctorreports that as OpenCode dropping its idle service (LocationActivitytimeToLive). That is known upstream behaviour, not a broken install. During the gap, mailbox tools fail closed until the service is touched again; waking the agent still works. Doctor reads only the last 24 hours of those audit rows. One restart, a different CLI, or a gap that is not about an hour stays silent. - OpenCode takeover can recover a session leased by another serve (T481).
identity takeover --forcestill refuses to replace this session's own live MCP under the same OpenCode serve. A holder under a different serve, named by the serve process or by that holder's parent, is not that MCP, so the owner's force takeover can recover it. Doctor names the session, the other provider, the holder's last activity, and the recovery command. - Session start lists the claimable mailboxes for this directory (T328). An unbound hook shows each claimable mailbox's name, role, last activity, and unread count, ten at a time, then
mbx_identity listfor the rest. The only actions are claim and register, and the session stays unbound. A directory with no mailboxes says so and suggests<folder>-<role>. - One status model for every renderer (T404/T406, epic T398):
mbx.status/v2lands assrc/status-schema.ts— the contract module the cloud repo imports at a pinned tag — with the v2 emitterhudStatusV2insrc/hud.tsbuilt on top of the v1 snapshot, so the two schemas never disagree on counts. The new model carries what v1 could not: registration (registered identity plus the lease holder with process-verified liveness), the harness block (cli, session id, wake path, policy), cloud state (relay url/state/last acknowledgement and the relay key-ad expiry, when a relay is configured), paired devices, and the project surface (directory, lead, members) for the bound session's project. Fields the daemon cannot source honestly yet are null, never invented:cloud.accountwaits for the T402 sync client, anddevices[].last_presencewaits for presence tracking. The shape matchesplugins/claude/fixtures/v2-*.jsononfeat/t401-claude-mod, the consumer contract the mod's T417 tests render against. Identity resolution is unchanged and strict everywhere: the T310 resolver decides, an unknown session is an explicitunboundresult rather than an error, and a session never surfaces another identity's counts (T308 AC2). agentmbx status --json --schema mbx.status/v2(T406) and the endpoint's v2 answer: the CLI emits the v2 model with the same rules as the v1 HUD branch — no lease needed, an explicit--sessionthat does not resolve isunbound, and a pid-resolved call (no--session) reportssession_id: null; andGET /v1/status?cli=<cli>&session=<id>&schema=mbx.status/v2serves the same model to the plugins. Without the schema parameter both keep answering v1 exactly as before, so the Claude mod and the OpenCode sidebar migrate by adding one parameter — nothing else. v1 (--schema mbx.status/v1) and the lease-gated defaultstatus --jsonare untouched.- Setup recognizes hooks after config comments are lost (T479). Kimi doctor checks the hook event and command pairs, and setup adds only missing pairs when managed markers are absent, preserving existing hooks and user config. Hermes wiring is also checked by its hook commands, with regression coverage for unmarked and missing hooks.
- The daemon sync client signs with the enrolled cloud key (T468): each
POST /v1/host/syncsendsX-MBX-Host-Id,X-MBX-Timestamp(unix seconds),X-MBX-Nonce(32 random bytes, base64url), andX-MBX-Signature(Ed25519, base64, the cloud key). The signed string isagentmbx-sync-pop-v1, the api origin, the host id,POST,/v1/host/sync, the sha256 of the exact body, the timestamp, and the nonce. Every attempt, including a retry of the same pending body, uses a fresh timestamp and nonce. No bearer is read or sent. The spoken contract stays version 1. - The daemon serves one session's status to in-harness plugins (T407):
GET /v1/status?cli=<cli>&session=<id>on the local daemon returns that session's mbx.status snapshot, the same oneagentmbx status --json --schema mbx.status/v1prints. Identity resolves by (cli, session) only, so it never shows another identity's mail; an unknown session gets an explicit unbound snapshot. Session reads are loopback-only; without parameters the route keeps its public runtime and challenge responses. The Claude mod and the OpenCode sidebar read this one route instead of computing status themselves.
0.5.16 (2026-10-07)
Hotfix: OpenCode hooks bind the named session on a shared opencode serve, and shell sends under OpenCode require --session.
- OpenCode 2.0.24 turn end already reaches Stop (T466). The v2 plugin receives
session.execution.succeededwithdata.sessionIDand nolocation. That frame maps to onehook stop. A second stop for the same wake mail stays silent because the stopseen marker advanced on the first, so the synthetic continuation does not start another wake. - OpenCode hooks bind the remembered session, and a shared serve no longer lends its one control (T466). A post-tool or stop hook looks up the exact
ses_control. That row is missing before the session's first mailbox tool call, and after a serve restart it is stale, so the hook returned quietly and no stop or post-tool marker was written. The hook now republishes thatses_id only whenname:opencode:<sid>names an agent whose one live lease holder is an MCP child of this serve. A missing name, a dead holder, or two holders still refuse.agentmbx sendunder OpenCode requires--sessionand does not attach to the single control that shares the serve.
0.5.15 (2026-10-06)
Hotfix: OpenCode connectors of one session co-use the mailbox lease instead of deadlocking, and an in-place reload no longer drops the MCP connection on install.
- OpenCode reconnects no longer deadlock the mailbox (T469, P0): OpenCode starts the mbx MCP through different runtime wrappers (its main loop and the Code Mode runtime) and reconnects it often. Each connector was recorded under a different provider, so a second connector of the same session was told the identity was held by a live server whose provider was still running, and agents killed MCP processes to escape. The provider is now resolved through Node/Bun runtime parents to the shared
opencode serve(never across a shell), so connectors of one session co-use the lease. A hand-spawnedagentmbx mcpcannot use a live harness identity,identity takeover --forcerefuses to target your own live session, doctor warns on more than 5 claims in 10 minutes, and the instructions say never to kill or hand-spawn MBX MCP servers. - An in-place reload no longer drops the MCP connection (T469): every MCP timer was unref'd, so a re-exec generation whose inherited stdin did not hold the event loop exited right after its catalog notification, released its fresh lease and closed the client's transport, on every install. The heartbeat now keeps the process alive until EOF, close or a handover retire.
0.5.14 (2026-10-06)
The OpenCode v2 plugin's hooks reach a CLI that handles them (session start, post-tool unread notes and Stop continuation), Hermes gets hooks with setup-written approvals and a watcher wake path, an identity-less session is guided to claim before reading its inbox, catch-up says when a page was not committed, and doctor flags a legacy mbx ahead of agentmbx on PATH.
- An identity-less session is no longer walked into a failing
mbx_inbox(T464, gh#141): the startup guide said "callmbx_whoami, thenmbx_inbox", andmbx_inboxon a session with no identity threw an MCP error, which aborts a whole Code Mode script.mbx_inboxnow answers a session that has not started (never bound, or waiting on an identity another session still holds) with a result,{agent: null, unbound: true, messages: [], pending, next}, wherenextis the same stepmbx_whoamigives. Every other mailbox tool still refuses without an identity, and a session that released its identity or lost its lease still gets the error, since it acted on a stale belief that it holds one. The MCP instructions,skill/SKILL.md(also served asmbx://guide), thembx_inboxandmbx_whoamitool descriptions, the README and the workflow spec now say: callmbx_whoami, and if it shows no identity claim or register one withmbx_identityfirst, thenmbx_inbox. - Hermes gets hooks, a per-prompt unread note and a working wake path (T460):
agentmbx setup --only hermesnow writes two shell hooks into the top-levelhooks:of~/.hermes/config.yaml:on_session_startrunsagentmbx hook session-start --cli hermesandpre_llm_callrunsagentmbx hook prompt --cli hermes. The session-start hook binds Hermes's real session id (until now every Hermes session wasmcp-<pid>), and/newor/resumein the same TUI or CLI process rebinds it, as for Claude; a gateway or desktop host that serves many sessions in one process is not covered. The prompt hook answers with{"context": "[mbx] N unread …"}, which Hermes appends to that turn's user message, and a delegated subagent (platform: subagent) is ignored. The edit is a line edit that adds and removes only lines of ours: foreign hooks, comments, CRLF and mixed line endings survive, install is idempotent, uninstall is byte-exact, a moved binary is rewritten in place, and a layout it cannot edit with certainty (flow style, a quoted or duplicatedhooks:, an inline event list, tabs) is left untouched and reported with exactly what to add by hand. - Setup approves the hooks it wrote, and doctor says when they are not approved (T460): Hermes runs a shell hook only after its
(event, command)pair was approved, and in the TUI an unapproved hook is skipped without a message. With the owner's approval of this step, setup adds our two pairs to~/.hermes/shell-hooks-allowlist.jsonin Hermes's own format (a new file is mode 0600), leaves every other entry byte for byte, shows the change under--dry-run, and uninstall removes only ours (an allowlist it created is deleted). A file it cannot parse is left alone with a manual row.agentmbx doctorreportshermes: hooks wiredplus a warning, with the fix, when they are wired but not approved (hooks_auto_accept: truecounts as approved), and says so when the layout blocked the edit. Hermes reads hooks when a session starts, so a running session needs a restart. - A Hermes idle session wakes through
agentmbx watch, and the wake is recorded as admitted (T460): run asterminal(background=true, notify=true), the watcher's exit starts Hermes's next turn. Setup's note, the MCP instructions, the delivery text ofmbx_whoamiand the skill now say so, with Hermes's argument names instead of Kimi's, and the prompt hook re-arms it: the full text once per session, then a one-line reminder at most every ten minutes while no watcher runs. Because the hook now binds the real session id, the watcher's exit is audited aswake.attempt admitted/transportfor that session instead ofnot_submitted, whichagentmbx probe --require-idle-wakeneeds. A Hermes watcher-completion turn ([IMPORTANT: Background process … completed …]around our hint) is no longer counted as a human prompt, so it neither resets the relay-depth chain nor the wake brake. The(eval):1: can't change option: zlelines at the top of the watcher's output come from Hermes's ownzsh -licwrapper, not from agentmbx. - A catch-up re-fetch says the page is unchanged (T465, gh#140):
mbx_catchupwithoutcommitstill does not move the checkpoint, and the result now says the page is unchanged and names thenext_cursorto pass ascommit. A cursor that does not decode isCURSOR_MALFORMEDand tells you to callmbx_catchupwith no cursor. A cursor that decodes for another mailbox staysCURSOR_SCOPE_MISMATCH. - README marks the Grok harness verified (T454): the status-line section cites the Grok user guide shipped with the CLI for
[mcp_servers.mbx], the[[hooks.Stop]]decision that can keep a turn going, and[ui.status_line] type = "command". Copilot, Cursor and Gemini stay community-reported. A live status-line render still waits on a Grok restart. - Doctor warns when a legacy
mbxcommand comes beforeagentmbxon PATH (T314):agentmbx doctorflags an executable namedmbxthat is not the AgentMBX binary and sits in an earlier PATH directory. The fix renames that file tombx.legacy. A name that is the same file asagentmbx, or one that comes later, is left alone. The warning does not fail doctor. - OpenCode hooks, Stop continuation and a service doctor (T391): OpenCode has no settings-file hooks; its first-party mechanism is a plugin module auto-loaded from
~/.config/opencode/plugins/.agentmbx setup --only opencodenow installsagentmbx.tsthere, mapping OpenCode events onto the sameagentmbx hook <event> --cli opencodecontract every other CLI uses:session.created→ session-start (bind + held-identity/unread note),tool.execute.after→ post-tool (unread surfacing between tool calls),session.idle→ stop (Stop continuation when mail wants the turn to keep going). The plugin embeds the absolute agentmbx path, delivers the hook payload via a temp-file stdin redirect, and never lets a hook failure surface in the host TUI. Install is byte-exact and idempotent; uninstall removes only ours; a file whose first line is not our marker is foreign and is never overwritten or deleted (the T347 bar), and ours-stale copies upgrade with a backup.agentmbx doctorgains a separateopencodeServiceCheck: when an opencode mailbox is bound it verifies the OpenCode service answers (the wake path) and warns with the start hint when it does not; unbound hosts get no check. A restarted session still rebinds and receives wakes (proven live in T389: restart rebind without takeover, then a probe wake admitted with a native receipt). - The OpenCode plugin actually loads on OpenCode v2 (T391 fix): the template exported only the named v1 factory (
AgentMBXHooks), so OpenCode v2's loader rejected the module on every start —PluginModule.LoadError(SchemaError missingdefault), e.g. log referr_2b28184e, 69 identical failures from 2026-10-05 evening with zero successful loads, and no session-start note, post-tool surfacing or Stop continuation ever ran. The template now also exportsdefault { id: "agentmbx-hooks", server: AgentMBXHooks, setup: AgentMBXHooks }(the orca-opencode-status dual-generation pattern), so one file loads on either OpenCode generation;test/opencode-hooks.test.tslive-evaluates the default export against the v2 schema. Verified against a live OpenCode v2.0.23 server: clean load, no schema failure. - The OpenCode plugin injects notes through the daemon's synthetic endpoint (T391 B1c): instead of the unverified SDK
client.session.prompt*surface, a recognized reason is POSTed to{svc}/api/session/:id/syntheticwith{ text, delivery: "queue", resume: true }and the same admission-receipt validation aswakeOpencode(src/wake.ts ~99-122), with the service URL discovered exactly like the daemon'sopencodeService()(~87-97):MBX_OPENCODE_URLoropencode service status, Basic auth from~/.config/opencode/service.json.emit()prints plain stdout for--cli opencode(B2b) — OpenCode has nohookSpecificOutputprotocol — and the plugin'shookReasoncaptures the whole consecutive[mbx]/probe okrun, so a multiline session-start note injects as one message; the post-tool unread path ([mbx] N unread for X: mbx_inbox before continuing.) is now enabled for opencode alongside Claude, bounded by the toolseen marker. The hook argv is wrappedenv -u AGENTMBX_DEV <agentmbx> hook ...: anAGENTMBX_DEVleak into an OpenCode server process made the npm-installed launcher runsrc/*.tsunder node_modules (Node refuses type-stripping there) and silently killed every hook call on 2026-10-06; the wrapper makes hooks immune to that leak (the launcher fix for installed trees belongs on main). Tests feed the CLI's REAL hook stdout through the generated plugin and assert exactly one synthetic POST per event.
0.5.13 (2026-10-06)
The original MCP proxy no longer leaks after in-place reloads (fixing the v0.5.12 regression, which was never published), a watcher survives a lease move, agentmbx login runs the device sign-in and keeps a per-host cloud key, setup links the skill for Hermes, OpenCode, Kimi Code and Grok, and an installed package always runs its compiled build.
- A pinned watcher no longer stops with the wrong reason during a lease move (T452): when the watched identity's lease was released and then reclaimed by a new holder, the watcher could read the row in the released window and stop with "no current identity lease" instead of "moved to another holder". The watcher now retries a released lease for a short bounded window; a reclaim with a different token is reported as the move it is, and a lease that stays released stops with the original reason.
- The original MCP proxy no longer leaks after reloads (T449): the T317 keep-alive waited on
stdin.once("end"), but stdin is paused during handover and never emits"end"on EOF, so the original proxy lingered forever after its session ended and held the provider transport open when the current generation crashed. Each generation now writes the pid of its replacement to a$MBX_HOME/mcp-generation/<originalPid>record before exiting, and the original polls that record once a second, exiting when the recorded pid is dead or reused. Lifecycle tests cover stdin EOF after two reloads and a SIGKILL crash of the current generation, asserting zero live MCP processes within a deadline. agentmbx loginkeeps a per-host cloud key and drops the device session (T257): after the device flow approves, the CLI creates an Ed25519 cloud key on this machine (mode 0600, separate from the host key) if one is not already there. It asks the sign-in server for a nonce, and the cloud key signs that nonce. The host key signs a certificate binding the cloud key to this host and to the configured sign-in URL. The certificate has no account id. The CLI posts the certificate and the proof, revokes the device session, and only then writes an enrolment record of the host id, client id, token endpoint, JWKS URI, and the api and relay resource URLs. A bearer token in the response is not stored. If the session cannot be revoked, nothing is written and login fails. No cloud server is deployed; a fake server covers this client.agentmbx loginruns the device sign-in (T256): it prints the user code and this host's key fingerprint, opens the verification page, and polls the token endpoint (RFC 8628), waiting longer afterslow_down. Denial, an expired code, and a network failure each print the next step. Over SSH, and with--no-browser, it prints the URL instead of opening a browser. A successful poll reports success and the fingerprint and stores no credential.--base-urlselects the server; the default ishttps://accounts.agentmbx.com/api/auth.- Setup links the agentmbx skill into each installed CLI's skills directory when that directory already exists (T448): Hermes (
~/.hermes/skills), OpenCode (~/.config/opencode/skills), Kimi Code ($KIMI_CODE_HOME/skillsor~/.kimi-code/skills), and Grok ($GROK_HOME/skillsor~/.grok/skills) join Claude and Codex. Missing directories are not created. A symlink that already points at~/.agents/skills/agentmbxis left unchanged.agentmbx doctornames each missing or wrong link and the fix isagentmbx setup --only skill. Uninstall removes only those symlinks. - The launcher no longer runs TypeScript source from an installed package (T451): the npm package ships
src/, so underAGENTMBX_DEVan installed tree passed the T443 guard and ransrc/cli.ts, which Node refuses undernode_modules(ERR_UNSUPPORTED_NODE_MODULES_TYPE_STRIPPING); an MCP server started that way never came up. The launcher now prefers source only when it is not insidenode_modules.
0.5.12 (2026-10-06)
In-place MCP reloads no longer accumulate nested processes, and agentmbx probe targets only identities currently working in the project.
- In-place MCP reloads no longer accumulate nested processes (T317): each build- or store-mismatch handover previously left the old MCP process alive to mirror its replacement's exit, producing an N+1 chain of nested agents after repeated reloads. The original proxy now stays on its provider transport while every re-exec generation exits(0) as soon as its successor has spawned. The handover passes the original CLI provider identity using the recorded
mcp-provider:<mcpPid>kv instead of the live ppid, so reparenting to launchd no longer breaks co-use or takeover proofs. A lifecycle test verifies that after three reloads at most two MCP processes remain (the proxy plus the current server). - Probe targets current-session identities and adds --only, --exclude, --plan (T445):
planProbe()now matches live sessions by their current working directory whenprojectis given, ignoring stale historicalidentity_projectsmemberships. Theagentmbx probeCLI accepts--only <glob>[,...],--exclude <glob>[,...], and--plan;--planlists targets and exits without sending.ProbeIOgainedholderProject()so tests can assert the cwd filter, andrunProbe()andbuildProbeReport()respectonly,exclude, andplannedOnly. - The project lead is an address (T393):
leadandrole:leadresolve to the owner-designated lead of the sender's project before the envelope is signed, and are refused when that sender has no project or the project has no lead. An agent whose role label isleadis not that address.agentmbx status,agentmbx whoami,mbx_whoamiandmbx_agentsshow the lead. The sync snapshot carries the lead's project key, agent, host, expiry and record id, and withholdsproject_leadsuntil the spoken contract lists it, the same wayproject_pathsis withheld. A console command that would set that flag is refused. - A pending newcomer no longer replaces the live holder's control endpoint (T436): an unbound MCP server of the same session published
identity-controlfor that session and deleted it on exit, soagentmbx identity takeover --cli --sessionreached the newcomer or nothing until the holder published again. Publish now skips a session whose endpoint belongs to a different live control key. This process's own key still publishes, and so does the handover successor, whose predecessor is this process's OS parent (process.ppid, not the logical provider). A dead or reborn pid may be replaced. Unknown liveness is left untouched. Exit still removes only this process's control key. - Same-session takeover requires a confirmed-dead provider, and an explicit release stays released (T440): a shell-launched
agentmbx mcpfor a live session no longer takes the lease just because its parent pid differs. On claim and bind the server recordsmcp-provider:<mcpPid>as{providerPid, providerStart}— the re-exec env values when this process was reloaded, otherwise its verified parent. A later server prefers that record when the pid is still that process, rejects a reused pid, and falls back to the ancestry walk when the record is missing or unverified. Takeover of a live holder happens only when the recorded provider is confirmed dead. A co-using sibling does not claim again after the holder's explicitmbx_identity releasewhile that holder is still alive; an explicit claim still can. A holder that exits keeps the name binding, so the sibling still resumes.
0.5.11 (2026-10-06)
Autonomy hardening across harnesses: a sibling MCP server of a live session now co-uses its identity instead of waiting (OpenCode code mode), a failed build handover can no longer half-retire the server, Grok and Kimi re-arm a down watcher, wake hints stop claiming unread mail is handled, a conversation's external taint survives release/claim and applies to shell sends, and the daemon gains a sync client that stays off until the device is linked.
- Release and claim keep a conversation's external taint (T346): the MCP server writes
taint:<cli>:<session_id>whenever a read updates the live taint, includingrelay_depth(the per-sender hop history). Release does not delete that key. Claim, release, and resume load it back into the session, so a send after release and claim staysorigin: externalwith the original root until an hour after that root. A co-using sibling of the same conversation reads and writes the same key. - CLI send follows the conversation's external taint (T345):
agentmbx sendfrom a leased session readstaint:<cli>:<session_id>and, while that root is less than an hour old, sendsorigin: externalwithexternal_sinceset to the stored root (external_source: inherited).--origin externalstill declares the body first-hand.--origin agentis refused while the record is live, and no message is written. The MCP server writes the key when the session reads mail (T346). - The launcher no longer crashes on a dev-flagged installed tree (T443):
bin/agentmbx.jsprefers../src/cli.tsunderAGENTMBX_DEV, which crashed an installed tree (nosrc/) withERR_MODULE_NOT_FOUND. The source entry is now preferred only when../srcactually exists; otherwise the launcher runs the compiled../dist/cli.jslike any install. - Daemon sync client (T262): when a local link record exists, the daemon posts an allowlisted SyncBatch (a
wss://orws://sync URL is rewritten to HTTP). Bodies, subjects, session ids, home directories, and the OS username stay on the host. An opted-in checkout'slocal_pathis computed and withheld until the spoken contract listsproject_paths; once that field exists, a path under the home directory is sent as the remainder and a path outside the home is sent only when it does not name the user. With no link record the daemon makes no network call. Sequence, backoff, and resume follow daemon-sync-protocol-v1. A console command that would set the path flag is refused and does not change the store. - Wake hints no longer claim mail is handled (T442): every wake hint (daemon dispatch,
agentmbx watch, the Claude channel and session socket) ended with "Already handled: no action needed.", meant for a hint shown after its mail was dealt with. Agents read it as a statement and skipped unread mail (Codex did on its T378 wake probe). The hint now says "If you already handled these ids, no action is needed." - A watcher admit names the conversation that can see the exit (T438):
agentmbx watchrecords the conversation session id and the watcher pid onwake.attempt. The outcome isadmittedonly when that process belongs to the identity's current session row: that session id, and the session's pid is the watcher or an ancestor of it. A matchingmcp-*lease token is not enough, and a watcher started for an older session of the same lease isnot_submitted.agentmbx probe --require-idle-waketreatsvia: watcheras an idle wake only when that observing session is on the attempt; a printed hint with no session stays an in-turn answer. The dispatcher also storesnativeStatuson thewake.attemptaudit, so an OpenCode synthetic admission keepsqueued. - A failed build handover can no longer half-retire the server (T441): the handover used to tear the server down (
retire(): leases released, timers cleared, identity-control endpoints removed, session bindings scrubbed) before the replacement process was even started, and the failure paths could not undo it — the store-mismatch branch retired before validating its payload and had no catch at all, the build-replaced branch's catch only resumed stdin, and a childerrorexited asynchronously outside both. A handover failure now leaves either a fully serving server or a clean exit, never a half-retired one: the payload is validated first, the parent's teardown runs only on the child'sspawnevent (the replacement has provably started), a spawn failure keeps this server serving on the loaded build with its leases, timers and control endpoints intact (the stderr message says so only when it is true), and a child that dies after spawning mirrors its exit, which the proxy reports. Co-using siblings still never release the holder's lease (T439). - A sibling MCP server of a live session co-uses its identity (T439): 0.5.10 (T383) left a second MCP server of the same provider session pending while the session's own server was live, so OpenCode's code-mode
executetool and Codex's transient same-thread connection could not use mbx at all. A server of the same CLI and session whose live holder runs under the same provider process now co-uses that identity:mbx_whoami,mbx_inbox,mbx_read,mbx_reply,mbx_sendandmbx_ackact as it under the holder's lease token (sends stayleased-verified), without taking, renewing, moving, renaming or releasing the lease, and without pushing wakes or publishing a session binding. Each call re-checks the holder's lease: once it is released or replaced, the sibling's next call fails closed and the name goes back to pending. Its own session key carries no owner grant, so its sends never carry owner authority.mbx_whoamiandmbx_identity listsayco_use;mbx_identity releaseon a sibling only stops co-using. A dead holder or a restarted provider is still taken over as before; an unknown provider parentage neither evicts nor co-uses. - A server booted under load keeps its identity forever (T434): the mcp server read its own process birth time once at startup; a
psstarved at that instant (dozens of sessions starting together on a loaded machine — the darwin-x64 release runner) cached a null, and every later claim then refused withIDENTITY_LEASE_CONFIG("claim needs a valid identity…") for the server's whole life, so the session could never claim or resume an identity until restarted. The birth time is re-read lazily now — it is a fixed property of the process, only the read can fail. Found by the "reboot: 20 sessions" test flaking on darwin-x64: the test now polls the remembered sessions until each resumes (the server converges on a later call) with the assertions unchanged. - Grok and Kimi re-arm a down watcher (T435):
agentmbx watchalso exits for unread wanted mail the dispatcher already leftnotifiedwith notedesktop, and it does not exit for mail in stateread. After it reports that mail it clears the desktop note, so starting the watcher again before the mail is read does not exit immediately. A GrokPostToolUsehook, and one GrokStopon an ending turn, tell the session to startagentmbx watch --cli grok --session <id>when no watcher is live and no shell background task is already running it.stopHookActivedoes not block again. A terminal KimiStopuses its existing watcher instruction (exit 2) when the watcher is down and the session is not hosted, at most once per 10 minutes (stopnag:kimi:<session>), and not whenstopHookActiveorstop_hook_activeis true. That nag counts againstallowContinue. The same bound covers the instruction appended to a fresh-mail continuation. Kimi 2.1.1 always sendsstopHookActive: falseand does not re-enter Stop during the continuation, so the marker is what stops the next turn. A lapsed Grok session stayslive-next-prompt;GROK_NO_PUSHnow names that remedy, and Grok is not on the T386 re-arming set.agentmbx doctorwarns, inside the existing grok check, when a held Grok session has no live watcher. Mail that arrives after the watcher exits and before the next tool or Stop still only gets a desktop notice.
0.5.10 (2026-10-05)
A second short-lived MCP server for the same session can no longer evict the live one, and the build handover no longer crashes an unbound connector (the Codex and OpenCode "Transport closed" failures); agentmbx probe checks that every live agent wakes and answers with no human prompt; Grok continues a turn that is ending when mail arrives.
- Same-session takeover no longer evicts a live server; handover survives a lost lease (T383): a second MCP connection a provider opens for a session whose own server is still live under the same provider process now stays unbound with the name pending (and resumes once that server ends) instead of taking the lease and releasing it on exit; a takeover still happens when the holder is dead or the provider restarted. An in-place build handover from a server whose base state holds no identity no longer crashes it ("Transport closed"), and the MCP instructions point agents to the
[mbx-probe]reply convention. - Grok has no idle push; Stop continues a turn that is ending (T385): Grok's interactive session has no first-party way to accept a prompt from outside. There is no
grok queuecommand,~/.grok/leader.sockis not a prompt socket, andgrok -p --resumestarts another process.wakeGroksubmits nothing and reportsnot_submitted/unsupportedwith that reason. A send receipt for a live Grok session with no watcher says the same sentence, andagentmbx doctorrecords it as info.agentmbx setupnow also installs a GrokStophook. On a genuineend_turnit prints{"decision":"block","reason":"..."}, which Grok feeds back as another round of the same turn. A session-end Stop does not block. Idle mail still waits for the next prompt, a desktop notice, oragentmbx watch. - Autonomy probe (T392): new
src/probe.tsexportsrunProbe()— the T388 cross-harness autonomy regression gate. It sends akind=request,needs_reply[mbx-probe]message to every live leased identity in the project (identity-status's held/idle enumeration, sender excluded), waits up to a deadline (default 120s), and reports per agent: thewake.attemptoutcome/via/receipt from the daemon audit (with the dispatcher's siblingwakeevent for the transport), read and ack receipts with latencies, and the convention reply matched tolerantly by thread plus the[mbx-probe]/probe okmarker. Default gate: the convention reply in the thread within the deadline is a pass —path: "idle-wake"when awake.attemptshows admitted,path: "in-turn"when a mid-turn session answered through its in-turn hook with no wake row (still autonomous, and the common case for an agent working when the probe lands).--require-idle-wake, used by the T388 harness rows, keeps the strict rule (admitted idle wake AND reply; the skill documents that strict targets must be idle, watcher armed). Failure reasons: neither wake nor reply, wake attempted but not admitted (outcome and via reported), and wake admitted but no reply. Send failures count per target; an empty project fails withno live leased identities to probe. Planning and reporting are pure, store I/O sits behind theProbeIOinterface, and the waiting loop takes the clock and sleep so the failure paths test without real time. The answering-agent convention (oneprobe ok <wake line>reply in the thread, then ack, no human prompt) is documented inskill/SKILL.md. Theagentmbx probeCLI dispatch lands with this work (cli.ts freed by T385/#111): it sends as the calling session's held identity only — the samewithCliIdentitylease fenceagentmbx senduses, never owner and never unverified, because owner authority would make wake authority look valid when it is not. With no held identity it exits 2 with the claim hint and sends nothing. The matching one-line addition to the MCPINSTRUCTIONSinsrc/mcp.tsremains deferred to T383 (CLEO note added).
0.5.9 (2026-10-05)
Grok sessions get their own hooks and the register prompt, agentmbx statusline suggest proposes where the MBX segment goes, and send receipts stop calling a re-arming Kimi watcher dead.
- Grok sessions get mbx hooks (T384):
agentmbx setupinstalls GrokSessionStart,UserPromptSubmit, andPostToolUsehooks that pass--cli grok, with the same verifiedconfig.tomltext edit as the T337 MCP server and status line (smol-toml parse guard, LF/CRLF byte-exact uninstall, user sections left alone). An unbound Grok session receives the register/claim prompt onPostToolUse— the event whoseadditionalContextGrok delivers — until a lease exists. Those hooks record the session hint under cligrok, which is the key a provisional Grok MCP server already reads when it rebinds a remembered name.agentmbx doctorfails when the configured Grok MCP command is a path that does not exist, including a command string setup already considers wired. Stop and permission hooks are unchanged (wake is a separate change). - Watcher sessions report eligible-for-wake between fires (T386): a send receipt no longer calls a watcher-delivered session's push path dead just because its watcher is not live at the instant of sending. The watcher's record outlives a between-fires tick, and a terminal kimi session re-arms its watcher at turn end by design (T348), so the dispatcher admits the wake moments later — the receipt now says
eligible for wake (mbx watcher: its exit starts your next turn); watcher re-arm pending, dispatcher admission pending(the T376 vocabulary) instead ofno push path. Only a verified binding can read as live-wake (T376's guard is unchanged), and a session with no watcher evidence at all — no record, and not a terminal kimi self-watch session — still reportslive-next-promptwiththe session has no push path. - Status line placement proposals (T369):
agentmbx statusline suggest [--cli claude|kimi|grok] [--json] [--apply]is an LLM-assisted placement mode: it reads the CLI's current status line config (reusing T368's classification) and emits a proposal as human text plus a structuredmbx.statusline-suggest/v1document the in-session agent can reason over — no network LLM call from agentmbx. Read-only by default (AC1: nothing is written without--apply). A user's own status line is never overwritten (T347): the proposal for that state is a wrapper script with exact manual steps — for Claude it appends the MBX segment to the original command's output (additive composition); for Kimi/Grok, whosecommandreplaces the footer, the wrapper shows the per-session alert only when the calling session has mail and the original command's output otherwise — never an items+command coexistence claim.--applywrites only where setup's own verified text edit can (missing wiring, or upgrading an older recognized form), after a.bak-agentmbx-<stamp>backup, and prints the exact before/after and the undo command (mv <backup> <config>), which round-trips byte-exact. The proposal states which identity the calling session resolves as, and the rendered segment resolves the calling session's own binding only (T308 AC2).
0.5.8 (2026-10-05)
Kimi's status line becomes alert-only and strictly per-session, doctor verifies every CLI's status line wiring, and send receipts stop promising a wake the dispatcher may refuse.
- Kimi status line is alert-only;
commandreplaces the footer (T366): the 0.5.7 premise — that Kimi's segment was "additive" and that a[status_line]section'sitemsandcommandcoexist — was wrong: Kimi's custom command replaces the footer. With nothing to show (zero unread, unbound, daemon heartbeat stale) the render is EMPTY stdout, so Kimi renders its built-in footer items untouched; with unread mail the mbx alert takes footer line 1. The daemon writes each kimi session's pre-rendered.lineEMPTY when there is nothing to show — never stale content — and the bundledskill/scripts/kimi-statusline.shis onecatof the calling session's ownkimi-<sid>.line(top-levelsession_idfrom stdin, no other parsing), every empty path at exit 0: a session never sees another identity's line (T308 AC2).agentmbx statusline kimi(the direct node form) renders the same alert-only per-session line. - Doctor verifies the status line wiring statically (T368): for each wired CLI,
agentmbx doctornow checks the CONFIGURED command against the current forms: ours-and-current is ok (Claude's entry notes the command composes with its built-in items; kimi/grok entries state the replace-only contract), ours-but-an-older-recognized-form warns withagentmbx setup --only <cli>, ours-pointing-at-a-deleted-script warns withagentmbx setup --only skill, and a user's own line stays info — unless it embeds the agentmbx render command (wrapped, re-quoted, or with extra flags), which warns as a partial AgentMBX write with the by-hand repair. opencode gets an explicit skip note: it has no custom status line feature (built-in segments only, anomalyco/opencode#30295), so there is nothing to verify. Every status line check stays optional — none fails doctor. - Verified wake receipts (T376): send receipts now say "eligible for wake … dispatcher admission pending" for a verified push path, and report
live-next-promptwith a reason when the current lease/session binding fails the dispatcher's guard.mbx_sentshows when dispatch falls back to an owner desktop notice.
0.5.7 (2026-10-04)
Grok becomes a first-class CLI, setup wires each CLI's status line without overwriting the user's, Kimi has one wake mechanism, and the relay gains key pinning, signed expiring encryption ads, crash drills, backup/restore and retention. Upgrade the relay first (T168 rollout below): upgraded senders refuse the v1 encryption ads that relays on 0.5.6 or older serve.
-
Licensing: the Licensor and trademark owner is now CodLuv LLC; licence terms are unchanged.
-
Relay key pinning, verified encryption ads and enrolment recovery (T168):
agentmbx relay set <url> --key <fingerprint>pins the relay key the operator published. A relay serving another key pins nothing, leaves the config unchanged and exits 1. An unreachable relay records the fingerprint, and the daemon later pins only that key. Without--keythe command pins the served key at once and prints its fingerprint to compare. A changed relay key stops relay use until the owner confirms it with--key.doctorshows the pinned fingerprint and its source, and fails a mismatch with the exact command to run.- Signed, expiring encryption-key ads. Hosts now also publish
{v:2, type:"enc-ad", host, host_pubkey, enc_pub, iat, exp}, signed by the host key and valid for 30 days, refreshed daily and on any key or relay epoch change. A sender seals for a key from the relay only if that ad verifies against the peer's pinned key, names that key and host, and is current. Tampered, expired, wrong-peer, unsigned and v1-only ads are refused. Only the signed record counts: a v1 key the relay serves beside it is ignored, so a stale v1 pair can never strand a peer's mail. The mail stays queued, anddoctornames the peer and the reason. The relay also stores only the caller's own valid ad. Peers on 0.5.6 or older publish only v1 ads, so relay mail reaches them once their key is pinned over the LAN. A relay older than this version cannot store v2 ads, anddoctorwarns about it. - Enrolment checked against the relay, not a local flag. Each pass reads the relay's signed answer about this host. If the relay no longer knows it, the host re-enrols with a signed challenge in the same pass and republishes its ad and sender list. That covers a reset or restored relay, a lost row, a rename or a key rotation. A relay-side ad that is missing, stale or expired is republished too. Nothing falls back to v1 or plaintext.
- Failures keep the mail and say so. A revoked key, a denied enrolment or a refused ad keeps every queued message in the outbox.
doctorreports the relay's last state (since when, the relay's status and reason, how many messages wait) instead of trusting a stale "enrolled" flag. A refused enrolment counts as a failure, not a warning. - No key rollback by replay. A relay can replay any unexpired ad, so senders remember the newest ad they accepted per peer host key. An ad that is not newer but names a different encryption key is refused, with its own
doctorline (a possible replay of a retired key). Without this, anenc.keyregenerated under the same host key could be rolled back to a key nobody holds. An older ad naming the current key is accepted, so a publisher's clock stepping back does no harm. - The v1 ad is best effort. Once the relay stores the v2 record, a refused v1 publish never stops relay use. A relay that retired
/v1(404 or 410) is audited asrelay.enc_v1_retired, and any other v1 error as a non-fatalrelay.enc_publish_failed. Each is audited only when its status changes and retried only at the daily refresh, so a persistent error costs one try a day. If the relay still serves an old v1 key for this host (for example afterenc.keywas regenerated),doctorwarns that senders on 0.5.6 or older would seal for it. On a relay too old for v2 records, the v1 pair is all there is, so its failure still stops the session. - Clock skew backs off. A host whose clock is more than 5 minutes off can enrol, but every signed call is refused, so before this it re-enrolled every tick. A 401 right after a fresh enrolment now starts an exponential backoff (1 minute doubling to 1 hour). Any signed answer confirming the enrolment ends it, and the next episode starts again at 1 minute.
doctorreports a failure with the offset measured from the relay'sDateheader and how to fix the clock, not as an enc-ad failure. When that header shows the clocks agree, the refusal is reported separately and without clock advice. The "since" time stays at the start of the episode. - Rollout:
- Upgrade relay.agentmbx.com first. Until it runs this version it serves only v1 ads, and upgraded senders refuse those.
- Meanwhile, upgraded senders cannot reach peers on 0.5.6 or older, or peers behind an old relay, unless the peer's key was pinned over the LAN. That mail stays queued, and
doctornames the peer and the reason. - Senders on 0.5.6 are unaffected: they still verify the v1 pair, which upgraded hosts keep publishing.
- There is deliberately no compatibility shim: accepting v1 ads again would reopen the replay hole.
- Relay restores keep the newer ad.
agentmbx relay restore(T167) now also carries the live store's signed v2 ad when its signediatis newer than the backup's (carried.enc_ad_recordsin the receipt), so a restored relay never serves an older ad than it held. A sender's rollback guard, the enrolment backoff and the relay state live in each host's own store, so a relay restore cannot reset or lower them. - Pluggable enrolment authority.
RelayCoretakes anEnrolmentAuthority(authorize({host_name, host_pubkey, owner_fp, proof}) → {ok, account?, reason?}). It is asked after the challenge signature verifies, and its name and account are recorded on the enrolment. A denial, or an authority that throws, stores nothing and answers 403. Self-hosted relays keep the host-key challenge; the account-token authority is T304.
-
Grok is a first-class CLI (T337):
detectHostclassifies grok on the binary name only (^grok$, right after Claude's check, before any args rule —grok "fix the claude hook"andngrokclassify correctly) and resolves its session from the CLI's ownactive_sessions.json, hardening the lookup: exactly one matching row and never one older than the process (a reused pid's leftover), and agrokSessionTrackerthat follows in-process session switches (/new, /clear, /resume) the way Claude's tracker follows its session file.agentmbx setupinstalls the MCP server and the status line with a verified text edit always —grok mcp add/removerewrites the whole file and drops the user's comments, env and timeouts, so the CLI path was dropped entirely. The text edit carries the same rules as Claude and Kimi: exact-match "ours" (including the exact forms older setups wrote), the user's other keys preserved, any user section that doesn't already hold exactly our command left alone and reported, quoted keys and inline tables never duplicated,GROK_HOMEhonored, TOML strings escaped (a path containing"round-trips as ours), and byte-exact round-trips — a no-trailing-newline file comes back to its exact bytes, and a setup-created config.toml is deleted. Asmol-tomlparse guard (pinned at 1.9.0) runs before and after every TOML edit — install and uninstall: a key in a form setup can't edit becomes a manual row (inlineui = {…}included), and invalid TOML is never written. Separators are exactly one line ending, matched to the file (LF or CRLF), so installing then uninstalling both grok sections returns LF and CRLF files to their exact bytes — no orphaned\r, no lost final newline, no doubled blank line. Doctor reports grok's status line on its own line, checking the configured command's script path. Copilot, Cursor and Gemini adapters stay session-id-only withMBX_CLIuntil those CLIs are available to verify first-party. -
Relay crash drills, backup, restore and retention (T167): a relay crash, a restore or an expiry rule can no longer lose accepted mail silently, and every recovery step leaves a receipt.
- Crash drills: new tests kill real processes with SIGKILL at each boundary. The relay dies before and after the accept commit, before a pull answer, and before and after the ack commit. The sending host dies after persisting its bytes and after the relay answered; the receiving host after delivery, after its checkpoint and after its ack. The real
agentmbx relay serveis killed mid-push and mid-pull. After every restart nothing is lost or delivered twice, sequence numbers only go up, and the epoch stays the same. agentmbx relay backup <file>takes a consistent online copy (SQLite backup API) while the relay runs. It writes the file beside the target, checks it, makes it owner-only (0600, in a 0700 directory, like rollback copies and the restored store), renames it into place, never overwrites a file, and prints a receipt with the sha256 (streamed, so any size works), epoch and counts.agentmbx relay restore <file>replaces a stopped relay's store atomically. It refuses while a relay runs:relay servenow holdsrelay.lock, one writer per store, released by the OS even after SIGKILL. It also refuses a backup from another relay key, a newer schema, a file that is not a relay store, and a current store it cannot read (unless--force). The restore rotates the epoch and never recreates authority: a key revoked or rotated away after the backup stays revoked, and newer signed sender allowlists, enc-key ads and sequence floors are kept. The replaced store is kept underrollback/, and the receipt names the command that undoes the restore. A hosted relay restores at start withMBX_RELAY_RESTORE_FROM=<backup on the volume>. The path is consumed: once restored from, it is ignored with a log line, even if the file there is replaced or other restores happened since.agentmbx relay loglists every receipt: backups, restores, operator and startup epoch rotations, and retention sweeps.relay rotate-epochnow prints a receipt too. The relay-side subcommands (serve,keygen,rotate-epoch,backup,restore,log) no longer create a host identity on the relay machine.- Retention sweep and expiry notices:
relay servesweeps at start and every 10 minutes. A v2 item past its 14-day retention is deleted. Its dedup row stays as a tombstone until retention + 7 days, so a late retry is a duplicate, never a re-delivery. The sender of an expired envelope gets a notice signed by the relay key, unless its key is gone or its own queue is full (its deadline covers it). The sending daemon marks the row expired and alerts "Undelivered to "; a notice for mail the target already confirmed settles quietly, and a forged notice is quarantined. Expired items free their quota. - Expiry applies to v2 items only until v1 is retired. A v1 sender (0.5.4 and older) never sees a notice, so items it pushes never expire, and neither do items queued before this release (the relay cannot tell their protocol). Neither expired before, and quotas still bound them.
- No silent loss after a restore: a re-pushed row keeps its relay deadline (
repush), so the LAN's 72 h give-up no longer drops it while the target is away. A duplicate accept now carries the original acceptance time, so retries never extend a deadline.agentmbx pruneno longer removes a message the relay still holds for delivery, which used to leave its row stuck forever with no alert. A receiver that gets a relay duplicate re-queues its delivery receipt, since the copy the relay accepted after its backup was lost with it. A LAN rejection of a re-push ends the rowrejectedinstead ofsettled.doctorshows rows waiting for a re-push, rows that expired and rows that were rejected. - No re-delivery of pruned mail:
agentmbx prunenow keeps the ids it deletes inpruned_idsfor 21 days (relay retention plus the dedup grace), and receiving treats them as duplicates. Before, a relay restore could hand back mail the receiver had acked and pruned, and it arrived again as fresh, unacked mail that woke the agent on stale work. - Runbook for self-hosted and hosted (Railway) relays, plus the read-only
scripts/relay-restore-check.mjsfor the hosted restore drill: docs/spec/relay-durability.md §5.1–§5.2.
- Crash drills: new tests kill real processes with SIGKILL at each boundary. The relay dies before and after the accept commit, before a pull answer, and before and after the ack commit. The sending host dies after persisting its bytes and after the relay answered; the receiving host after delivery, after its checkpoint and after its ack. The real
-
Watcher liveness without per-poll
ps(T343):agentmbx watchresolved its identity — and with it process evidence — on every tick, costing a sharedps -Atable read about every 2 s per watcher. The MCP lease heartbeats every 60 s, so the lease row is itself the liveness proof: whileheartbeat_atadvances the tick reads only the row and pays zero process evidence; a heartbeat stale by more thanMBX_WATCH_STALE_MS(default 180 s, a finite positive integer clamped between the heartbeat interval and the lease idle ttl) pays ONE rate-limited probe, classified byidentityLeaseStatus: a live holder just goes quiet, an unknown answer is retryable (never a stop), and an expired lease (dead holder, reused pid, or a lease that idled past its ttl) stops the watcher with the reason. The watcher pins the lease's token, holder pid and holder start at startup: a takeover or reclaim that swaps any of them stops it, andliveWatchertreats a token-mismatched watcher record as dead, so a leftover watcher can never consume the next session's wakes. Staleness and probe rate-limiting use a monotonic clock, so a backward wall-clock step can't hide a crashed holder. Identity resolution with evidence happens once, at startup.MBX_WATCH_DEBUG=1prints evidence-spawn counts at exit. Measured: a live MCP-bound watcher, 2 s tick, 60 s idle — 0 evidence spawns after startup. -
Setup wires the status line per CLI (T347):
agentmbx setupinstalls the MBX status segment for every CLI that supports one, additively: Claudesettings.jsongetsstatusLine: { "type": "command", "command": … }(spread over the user's other keys, sopaddingand friends survive) and Kimitui.tomlgets ourcommandline added to the user's own[status_line]section (theiritemsstay) or a new section when absent. The bundledskill/scripts/kimi-statusline.shis the Kimi render — pure sh, one cat of the HUD line file, and when there is nothing to render it exits nonzero so Kimi shows its built-in footer instead of a blank one: our segment is additive by contract, never a replacement. The skill installs before the CLI edits, so a singleagentmbx setupreaches the final wiring. "Ours" is an exact match against a command setup itself wrote (the absolute script-path form or the shJoin(cmd) form); everything else — a composed command, abash ~/bin/…variant, anystatus_linekey in a non-section form — is foreign: left alone, reported with the snippet to add by hand, and never appended as a duplicate table. Uninstall removes exactly the bytes setup inserted (a setup-created tui.toml is deleted; the user's file returns to its exact bytes). Section detection tolerates CRLF, trailing comments and inner spacing. Doctor reports the status line on its own line (ours wired / missing script warn / foreign info) and never fails on the optional segment. -
One Kimi wake mechanism (T348): the background
agentmbx watchwas already the default for terminal Kimi sessions, but legacy[mbx-watch]cron self-checks from older setups kept polling alongside it, and the session-start wake instruction fired even while a watcher was alive. The watcher instruction now tells the session to delete its[mbx-watch]cron only once the watcher is confirmed running (a session that cannot run background tasks keeps its cron — the cleanup never leaves a session with no wake path), and when a legacy cron prompt arrives while a watcher is alive, the prompt hook emits the one-line CronDelete cleanup — the case owners actually see, since Kimi drops SessionStart output. A draft upstream ask for a real channel/socket wake path for Kimi's terminal UI is indocs/research/kimi-wake-channel-upstream.md(scoped to the terminal;kimi web's existingPOST /api/v1/sessions/{id}/promptsis cited as prior art). -
Post-tool hook fast path (T342): Claude's PostToolUse hook used to start a full node process on every tool call (~90 MB RSS, ~0.3 s each, ~2/s across ~13 sessions during the 2026-10-03 load P0). The daemon now bumps a per-session marker under
~/.local/share/agentmbx/posttool/whenever the hook's decision could change — a local delivery (the unacked-id set grows) or a claude bind (the session→agent mapping may change); acks never need a bump, since a shrunk set cannot make an unseen id appear.agentmbx setupwires PostToolUse to the bundledskill/scripts/claude-posttool.shwith its own resolved command as arguments (never a PATH lookup — a desktop-started Claude has a minimal PATH), which exits after two small file reads when the recorded marker equals the last processed value, and falls through to the full hook on any doubt — no session id (top-level-only scanner, like the statusline's), no marker, no last, invalid ids, or a moved marker. Hook decisions are identical by construction: the full path alone emits output, it reads the marker before querying the mailbox (a delivery can never be recorded as processed and never shown), and it records the marker value it processed, so marker == last is provably a no-op decision. Bumps fire on every path that adds unread mail: local and relay delivery, claude bind, identity rename and owner forward. The fall-through execs the full hook with the captured stdin as a heredoc — no scratch file, no tool output on disk — so this process keeps the pid the identity check requires. The fast path runs with node absent from PATH (test-covered, like the statusline script). A daemon-tick sweep prunes markers and last-values of released sessions. SEA installs (which bundle SKILL.md only) keep the directagentmbx hook post-toolcommand; doctor accepts the pre-fast-path wiring only when every event is wired in that style. Steady-state sample on this machine (5 sessions, 60 s, hook JSON piped per call): before — 119 calls, 119 node hook processes spawned, ~319 ms average per call, peak sampled aggregate hook RSS ~262 MB; after — 1345 calls (the cheap wrapper let the pacer fire far more often), 0 node hook processes spawned with node absent from PATH throughout and a sentinel shim proving the fall-through never ran, ~18 ms average per call. -
External taint ends an hour after its root exposure (T344): after a session read external mail, every message it sent for the next hour went out
origin: "external". Each read of external mail restarted that hour, including mail that was external only because its sender had read external mail. Two agents answering each other after either was exposed therefore kept tainting each other indefinitely: under policy the other could only read, never edit. For example, cleo-dev-mac → lead → drum → lead kept drum read-only on the lead's own task assignment. Nobody was told why. Now:- External mail carries the root exposure time in two new signed fields:
meta.external_since(ISO) andmeta.external_source(declaredorinherited). - A reader keeps the latest root, never its read time. A conversation is clean one hour after the root exposure, however often both sides reply.
- First-hand content still taints from the moment it is read: content its sender declared external, malformed mail, and external mail from older versions without a root time. That last one may be declared content of any age, so its send time is never trusted.
- Viewing the same first-hand message again within the hour keeps its first read as the root:
mbx_readagain, ormbx_threadevery turn. Replying to it, or viewing it after the hour, is a new exposure. Each session remembers the first reads of the last hour, up to 1000 messages; beyond that, a re-read counts as new. - A root later than the reader's clock counts as the read time.
- Mixed versions still re-taint: an agent on an older version sends inherited taint without a root, so its readers count it from their read. A conversation that includes such an agent keeps re-tainting until both sides upgrade.
- A malformed value fails the envelope shape check, so paired hosts and relays reject it, and a stored one counts as first-hand.
- Agents now see the taint.
mbx_sendandmbx_replywarn when a message went out external: the root time, which message and sender caused it, and when it clears. An explicitorigin: "agent"while tainted is reported as overridden. Thembx_readheader has anorigin:line: declared by the sender, or inherited from a root exposure at a given time, and when that clears.mbx_whoamishowsexternalwithclears_at. - Unchanged: the read-only downgrade, relay depth (T104), and the rule that an owner prompt never clears external origin.
- External mail carries the root exposure time in two new signed fields:
-
Process evidence no longer times out on macOS under load (T332): lease and hook identity checks read process birth times with
ps -p <pid,pid,…>, which takes 0.3-0.7 s on macOS 27 (a fullps -Atakes about 30 ms) and hit its 1 s timeout under load. A timed-out read was then cached as "unknown" for a second, so the 250 ms and 500 ms retries saw the same failure and hooks, takeovers and held operations failed intermittently. On macOS and other ps platforms the evidence now comes from oneps -Atable per pass, filtered in process and shared for one second; Linux still reads /proc. A failed or timed-out read, or any other unknown answer, is never cached, so every retry inspects again; a live process with its birth time, or a pid proven gone, is cached as before. Stored start strings are unchanged (identity_leases.holder_startkeepsps-utc:<lstart in UTC>,sessions.pid_startkeeps the locallstart), so existing leases and bindings stay valid. -
Unknown caller evidence is retried, refusals are not (T340): three identity checks still failed on the first unknown answer (ps failed or timed out) instead of retrying on the 250/500/1000 ms schedule. A CLI caller whose ancestry or provider evidence could not be read got
IDENTITY_NO_CALLER_LEASE, which is never retried; the calling process's own birth time was read once, before the retry loop; andagentmbx identity claim/release/takeover(submitIdentityControl) made one attempt. The caller proof now answers valid, invalid or unknown, and only unknown is retried. A definite answer (a process gone or reborn, an ancestry that provably misses the provider, a mismatch found just before the operation) is refused at once, so a legitimate refusal adds no latency. Evidence that stays unknown after the schedule fails withIDENTITY_STATUS_UNKNOWNrather than "no current identity lease", sosenddoes not fall back to an unverified sender and the watcher keeps waiting. A shared ps table now dates the per-pid evidence cache from when it was read, not from when it was asked, so one read never answers for nearly two seconds. -
Relay client follow-ups from the T166 review (T333): a receipt signed for the relay keeps its bytes in
relay_receipt_wirefor every retry. Those rows were removed only when the relay accepted the receipt, so a receipt the LAN delivered first, or one that expired, left its row behind forever. The row now goes whenever the receipt leaves the outbox, and the receipt pass also clears rows that are no longer owed (expired, retired bydoctor --fix, or left by 0.5.5 and 0.5.6). A relay item quarantined because its host was not paired was retried on every tick once its sender key was paired. If that key was paired under another host name, every retry failed the same way and was re-quarantined and audited again. Now it is retried only once the host the envelope names is paired with that key, so a retry either lands or fails for a different reason, once.agentmbx relay servenow logs one line when it rotates its epoch at startup, with the stored heartbeat, its age and both epochs. Before, the rotation was recorded only in the store. A heartbeat more than 10 minutes ahead of the relay clock (the clock went back, or the store came from another clock) now rotates the epoch too, like a stale one.
0.5.6 (2026-10-03)
The status surface: every harness can show which mailbox a session holds and what is waiting, from snapshots the daemon writes, without ever showing another session's mail; and a resumed Claude session keeps the mailbox it registers.
- Status JSON for harnesses (T311):
agentmbx status --cli <provider> [--session <id>] --json --schema mbx.status/v1returns the samembx.status/v1snapshot the HUD files carry — identity (bound/unbound/ambiguous, never a shared folder name), unread, needs-reply, owner-authority, outbox and policy levels. No lease is required, so it works before a session has claimed a mailbox. An explicit--sessionthat does not resolve reports unbound; it never falls back to another session of the same process. Without--sessionit resolves the caller's own provider process. The existingstatus --jsoncontract is unchanged. - Status surface (T312/T313):
agentmbx statusline <claude|codex|kimi|opencode|grok|copilot|cursor|gemini>renders one MBX segment from HUD snapshots the daemon writes every tick — onecat, no store access by the adapter; pid snapshots only when the identity resolver proves a single holder, keyed by process birth time; nothing renders when the daemon is down (ahud/.aliveheartbeat) or the identity is ambiguous. Output format:mbx <name> [<n>↑ unread] [<n>↺ needs-reply] [owner:<n>] [<n> unsent] [*v<version> update]. The bundledskill/scripts/claude-statusline.shis now pure sh — sed, date, one cat of the pre-rendered line, no node startup on the render path (a node startup is 150 ms idle and breaks Kimi's 300 ms statusline cap under load); it honorsMBX_HOME. The pid-file fallback fires only for Claude, the only one-conversation-per-process CLI: a shared-process CLI (Kimi, OpenCode) that names no session id renders nothing, since its pid file cannot know whether an unbound sibling conversation exists. Copilot, Cursor and Gemini join the adapters (Claude-compatiblestatusLine.commandshape); they are session-id-only like every non-Claude CLI. Per-harness wiring snippets are in the README Status line section. - A resumed Claude session keeps the mailbox it registers (T326): a resumed
claudestart gives its MCP servers a temporary session id, then switches~/.claude/sessions/<pid>.jsonto the resumed conversation's id. The mbx server read that file once at start, so a mailbox registered or claimed afterwards was bound under the temporary id. Hooks, wakes, statuslines andagentmbx status --session <id>then never found it; the statusline fell back to the folder name and showed another agent's mail. The server now checks the file on every tool call and on its 60-second heartbeat (re-parsing it only when it changes): an unbound session takes the new id before it registers or claims, and a held mailbox moves its lease, session binding and control endpoint to the new id. After /clear, /resume or compaction the binding follows by the next mbx call or heartbeat, whichever comes first. It never moves to an id that another live process has bound or answers for as an unbound session.
0.5.5 (2026-10-02)
The durable relay: a relay restart, crash or restore never loses mail, and a sender always learns when mail could not be confirmed. Self-hosted relays work today; the hosted relay at relay.agentmbx.com follows.
- Relay that never loses mail silently (T166): daemons speak relay v2 when the relay offers it (v1 otherwise). A message goes to the relay only after two failed LAN attempts, when its backoff is due, before the LAN retries it. Its sealed bytes are stored before the first push and reused on every retry, so a retry is a duplicate, never a second copy. It leaves the outbox only on an accept signed by the relay key this host pinned, for exactly those bytes, then waits as relay-accepted until the recipient host's delivery receipt arrives (which now also travels over the relay). If the receipt never comes, the sender gets "Undelivered/unconfirmed" after the relay's retention plus a day, with no dependence on the relay. The receiving host processes relay items in order, keeps anything it cannot accept in a quarantine (
agentmbx relay quarantine,doctor), checkpoints, then acks; a lost ack is re-sent. A relay restore (a new epoch, or a queue that went back in time) makes senders re-push and receivers re-pull, without duplicates. A relay whose key changed is not used.doctorreports v2 enrolment correctly (it always said "not yet enrolled" before), waiting and unconfirmed relay deliveries, and quarantined items. - Durable relay store (T165):
agentmbx relay servekeeps everything in SQLite (relay.db, WAL,synchronous=FULL) in--store-dir/MBX_RELAY_DIR(default~/.local/share/agentmbx-relay), so a restart loses no enrolment, encryption ad or queued mail. The relay has its own signing key (relay.key, 0600, created on first start, or the deploy secretMBX_RELAY_KEYfromagentmbx relay keygen; a store refuses a key that isn't its own) and a store epoch (agentmbx relay rotate-epochafter a restore made outside agentmbx). New/v2/relay/*endpoints (spec: docs/spec/relay-durability.md):info(with the caller's queue head when signed),itemspush (sealed envelopes and signed receipts, atomic per item, deduplicated by sender, item and target, answered with a relay-signed accept statement),itemspull (paged by seq and bytes, withhead_seq;?epoch=answers 409 when stale),ack(per epoch, never past the head) androtate(a T030 rotation moves a host's name and queue to its new key). Hosts are found by key; a host name is a label, unique only inside a proven account, so two owners'macbookshare a relay and nobody can lock a name. v1 mail routes by name only when exactly one host carries it (otherwise it is refused as ambiguous, never guessed). A revoked key stays revoked. Quotas charge each target key, each sender's share of it and proven accounts, never an unproven owner fingerprint, and a host can publish the sender keys it accepts. Sequence numbers have a time floor, so a store restored from an older copy never hides new mail below a receiver's checkpoint. Enrolment state is bounded (validated fields, expiring and capped challenges, a key cap, per-address rate using the rightmost forwarded hop with--trust-proxyor CF-Connecting-IP withMBX_RELAY_TRUST_PROXY=cloudflare). Wire bytes are stored and hashed exactly./v1/relay/*keeps its behaviour on the same store. Daemons don't use v2 yet (T166).
0.5.4 (2026-10-02)
Identity and noise fixes reported by the owner's agents: a Claude session keeps its mailbox through /clear, statuslines never show another agent's mail, shorter mbx notices, no duplicate copies for names that exist on both hosts, and private project keys for self-hosted remotes.
- Claude /clear keeps your mailbox (T309): /clear, /resume and compaction give the same Claude process a new session id while its mbx server lives on. The session hooks used to refuse to rebind it, so the new conversation was told it had no identity, and a statusline that fell back to the folder name showed another agent's mail. The hook now rebinds the holder when Claude's own session file names the new id. A session id that file doesn't name is still refused.
- Status displays resolve exactly (T310): a shared resolver for statuslines and
agentmbx statusmatches the session id, then that provider process's live holder; otherwise it reports unbound or ambiguous. It never uses a folder name. - Claim a known mailbox by name (T315): a released mailbox from before chosen identities can be claimed without passing a role again; it keeps the role it was known by. A brand-new name still needs one.
- Your own lease reads as yours (T316): the identity list in the holding session says "held by this session" instead of "held by an older process of this same session … claimable".
- Private project keys for self-hosted remotes (T219): the project key in envelopes was the git origin as
host/path. For a self-hosted remote that path can name a machine, a user and a folder. Public forges (GitHub, GitLab, Bitbucket, Codeberg, sourcehut, Azure DevOps, Gitee) keep the readablehost/org/repo; any other origin becomesh:<digest>. Every host computes the same digest, so cross-host ledgers still match. - No duplicate copy of a bare name that lives on both hosts (S2 follow-up): the sending host resolves a bare name locally first; when it delivers one to its own agent and the message also goes to paired hosts, it names it in the signed envelope (
meta.local_names), and receivers skip exactly those names instead of delivering a second copy to their own same-named mailbox (audited asreceive.skipped). Decided by the sender, so a stale directory can never turn this into lost mail; messages from older senders behave as before. An explicitname@thishoststill arrives. - Retired phantoms send no receipt (S2 follow-up):
doctor --fixremoves the cross-host receipts its own acks would queue, so the sender never sees "drum@fedora acked" for a mailbox nobody holds. - Lean notices (S3, owner request): a wake is one line (
[mbx] N new message(s) for X from Y [trust] (ids …). mbx_inbox or mbx_read, reply, ack. Already handled: no action needed.) instead of four sentences; the trust rules stay in the MCP instructions, the session-start note and everymbx_readheader. The prompt hook adds nothing on the wake prompt itself (it is the notice), and the policy recap is sent once per session and again only when policies change; otherwise the unread notice is[mbx] N unread for X: mbx_inbox.About 280 words per incoming message become about 40 (plus Claude Code's own socket framing, which AgentMBX does not control).
0.5.3 (2026-10-02)
Follow-up to the 0.5.2 P0 release: mail you send to another machine now reports back, mail nobody can read no longer piles up, and a resumed identity can catch up on what it missed. Install it on every machine; receipts flow once both ends run 0.5.3.
- No phantom mailboxes from received mail (S2): a bare name in a received envelope was resolved by the sender on its own host, so it is now delivered here only if that name is an agent, lease, registration or alias on this host. Before, a message to
[claude@fedora, drum]created an unreadabledrummailbox on fedora while the realdrumgot its copy on the sending host. Skipped names are audited (receive.skipped).agentmbx doctorlabels existing phantom mailboxes andagentmbx doctor --fixretires them (marks those copies handled with a note; nothing is deleted). - Return to sender (S2): mail that waits 7 days (config
stranded_return_days; 0 turns it off) in a mailbox that is not an agent here (no agents row, lease, registration or alias: typically a mistypedname@thishost) goes back to its sender as an alert in the same thread, exactly once, and the copy is marked "returned to sender", which the sender'smbx_sentshows. Real mailboxes that never hold a lease (CLI/shell readers, backfilled identities, aliases) are never returned. Only mail delivered after the upgrade is returned; older stranded mail stays for its owner to decide. - Self-healing skill (S1): the agentmbx skill now always matches the running AgentMBX without anyone managing it. A copy AgentMBX wrote carries a marker (
.agentmbx-skill.json, the hash of the files it wrote); an unchanged copy is refreshed at every session start (hook) and daemon start, so upgrades no longer leave the 0.5.0 skill behind. An edited copy, a removed skill, and one installed withnpx skills(anagentmbxentry in~/.agents/.skill-lock.json) are left alone; doctor says which, and an outdated own copy is info, not a warning. The skills CLI already lists our copy as a local skill; no lock entry is written, sonpx skills updatenever swaps in a different version from GitHub.npx skills add kryptobaseddev/agentmbx -gremains an alternative install. - Session catch-up (T156–T158): each identity keeps a durable catch-up checkpoint, separate from acks.
mbx_catchuppages through what the identity missed since its last captured page (a crashed holder's window included), andcommit: <next_cursor>advances it once the page is saved; it never acks, marks read or grants authority. A resumed session gets a bounded hint when it missed messages, andmbx_whoamishowsmissed. A rename carries the checkpoint. - Cross-host receipts (T218): mail you send to an agent on a paired host no longer ends at
handed-over. The recipient's host reports each step (delivered, notified, read, acked with the agent'sdidand note) back to your host as a receipt signed by its host key, andmbx_sent/mbx_threadshow it like a local recipient. Receipts apply in order (a replayed or older one changes nothing), only for mail your host sent, only when signed by the recipient's host. A peer still on 0.5.2 showshanded-overas before; its receipts start flowing once both hosts run 0.5.3. The record is the receipt envelope the relay (T146) will carry. - Cross-host project ledger (T219): a repository lives in a different folder on each host, so mail now carries the project's git origin, normalized (
github.com/org/repo, never credentials or a local path), andmbx_projecton any host includes that repository's mail from paired hosts' own folders. A lead sees remote recipients' states,didand notes from their hosts' receipts. - The guide over MCP (S1): the mbx server serves the version-matched guide as the resource
mbx://guideand the promptmbx_guide, so any MCP client can read it with no skill file installed.
0.5.2 (2026-10-01)
P0 release: no more invented mailbox names, lost or invisible mail, or "who got this?". Install it on every machine; a running session switches to it on its next mbx tool call and keeps its identity. After the upgrade, a new session has no mailbox until it claims one from its project's list or registers a name and role.
- Chosen identities only (T204, P0): AgentMBX no longer invents mailbox names. On 2026-10-01, 18 sessions of one folder resumed in the same instant after a reboot. Sessions with no remembered name took the first free default name, one of them took another session's established mailbox, and the rightful session fell back to
-mcp-<hash>, which then overwrote its remembered name. Now:- A session resumes only its launch config (
MBX_AGENT, registered withMBX_ROLE) or the identity its own provider session held before. The session is found by its id, a verified hook binding, or the session id its hooks report. - Otherwise it starts unbound:
mbx_whoami,mbx_identityandmbx_agentswork, and every other tool explains the next step. - The default-name ladder and every fallback are gone:
-<cli>,-2…-9,-<pid>,-<10 hex>and-mcp-<hash>. A remembered identity still held by another live session stays pending and resumes on its own once that holder ends.
- A session resumes only its launch config (
- Registry and per-project list: every identity has a role, and every bind records the project folder it works in.
mbx_identitygains the following:listshows this project by default (all:truefor the host), with role, state,claimable, unread and holder.registercreates a new identity from a name and role.claimneeds a role for a mailbox that has none yet.- One identity per session.
- Names that already had a role or were rename targets are registered once at upgrade.
- List and claim agree: both use one availability rule.
- A newer process of the same session takes its lease over.
- An explicit claim may take an identity from a conversation of a shared OpenCode or Codex process (or hosted Kimi) that made no mbx call for 10 minutes. That conversation learns its lease was lost and never takes it back.
- A session whose own lease expired while idle re-claims it silently if nobody else did.
- Previously the list could say "available" while the claim said "held", because a shared process kept every ended conversation's lease alive.
- Hosted Kimi: a linked conversation resumes the identity it held, or claims or registers one. It is given a new bind ticket only when its server ended.
- Crashed holders read offline at send time: inside a send,
recipients[]uses the process snapshot and the heartbeat. A vanished holder, or one with no heartbeat for 3 minutes, isoffline. A quiet shared-process conversation is flagged as possibly ended. - Cleanup (T209):
agentmbx identity prune [--days 7] [--apply]retires mailboxes that older versions generated, with no holder, no unread mail and no recent traffic. It is a dry run by default.agentmbx identity forward <from> <to>moves a mailbox's unread mail to another with the owner's signature, and routes the old name to the new one.- Retired names leave listings and routing and come back when claimed. Messages are never deleted.
agentmbx identity listgains--projectand--all, plus role and claimable columns.
- Load resilience (T206): process evidence no longer spawns
psfor a server's own process (its birth time is read once), other pids are inspected with one batchedpsand cached for a second, and the per-call process table is shared for two seconds instead of re-read every call. In a measured loop of 60 held operations, thepsspawns went from 60 to 1. Unknown evidence is retried with backoff (never while another transaction holds the write lock) and never produces a new name.agentmbx watchrides out "evidence stale" and "status unknown" instead of stopping after five of them. Under a load average of 76–110 these timeouts had made claims fail and watchers stop. - Doctor sees lost mail (T211):
agentmbx doctorlists mailboxes whose unread mail no live session will see (with the last holder, since when and the fix), sessions waiting for a remembered identity that another session holds, and how many generated mailboxesagentmbx identity prunewould retire. - Signals release identities (T210): an mbx server ended by SIGTERM or SIGHUP (as
claude -pand a closed terminal do) now releases its identity instead of leaving a dead holder to expire. - Project ledger and lead (T208):
mbx_projectshows the mail traffic of the project folder a session works in: messages stamped with the project, or sent to or by its identities, with each recipient's role, delivery state and liveness. Bodies are shown only for the caller's own mail. The owner designates a project lead withagentmbx lead set <agent> --project <dir> [--ttl 30d](owner-signed like policies;lead revoke,lead show); the record is re-verified against the owner keys on every read. The lead sees every body of its project and canmbx_forwarda project message to another local identity (audited asmessage.forwarded; the recipient sees "forwarded by lead X", and its policy still comes from the original sender). - Sender receipts (T207):
mbx_sentlists the mail you sent from this host, oldest first, with each recipient's delivery state (delivered, notified, read, acked), the recipient's note anddidline, its liveness now, and for paired hosts whether the outbox still holds it (attempts, last error) or the host accepted it. Paged by an opaque cursor that mirrors replay (finite snapshot; a completed cursor polls for newer mail; scope, tamper and store-generation checks).mbx_threadshows the same per-recipient line under every message. - Send-time recipient truth (T205):
mbx_send,mbx_replyandagentmbx sendreturnrecipients[], one per resolved recipient, with a state:live-wake(a live session is woken now),live-next-prompt(live, but this kind or its missing push path or policy means it sees the mail on its next prompt),offline(no live session, with since when, the last holder and why),forwarded(a renamed mailbox's successor) orremote(queued for a paired host). Offline recipients add a sender warning. A send to a local name that never existed is refused with up to 3 suggestions instead of silently creating a mailbox (the owner can still leave mail for an agent that has not started yet withagentmbx send --new-mailbox); a bare name on this host and a paired host is delivered locally with a warning. Liveness comes from the identity lease and its existing process evidence.
0.5.1 (2026-10-01)
Upgrade both machines: sealed LAN bodies, key rotation and code-compare pairing need 0.5.1 on each side (token pairing and plain delivery from 0.5.0 senders keep working).
- Encrypted LAN bodies (upgrade both hosts): direct LAN delivery now seals every body for the receiving host (X25519 + XChaCha20-Poly1305, as the relay already did) and never falls back to plaintext. A peer that has not published a body-encryption key keeps mail queued with an upgrade hint. Owner and session authority now verify on sealed mail. A 0.5.0 receiver opens sealed bodies, but it cannot verify owner authority on them: it labels them unverified (fails closed), so upgrade both machines for owner-signed requests. Local storage stays plaintext (D001). A peer's body-encryption key is learned only from a direct answer (redirects are refused), so a moved endpoint cannot substitute keys.
- Host key rotation:
agentmbx host rotatereplaces this host's signing and encryption keys without re-pairing. The old key signs the new keys, the new key countersigns, and each peer moves its pin only for a record that starts from the key it pinned. The daemon retries announcements until accepted. Retired keys keep stored mail verifiable and open mail sealed in flight.agentmbx peers removenow tells the peer, which drops this host too. Peers on 0.5.0 cannot accept a rotation; upgrade them first. - Receive limits: request bodies are capped while streaming (413), per-peer requests are rate limited (429), and slow-header and slow-body clients are disconnected. Envelope recipients, refs and fields are capped with clear rejection reasons. A seeded fuzz suite covers
receive()and every HTTP route. The reference relay has the same body cap and timeouts. - Wake reliability: provider adapters report typed outcomes (
not_submitted,admitted,busy,blocked,unknown,failed; docs/spec/provider-wake-contract.md). An uncertain submission is never repeated: it is held, then retried once after ten minutes under the wake brake, including after a daemon crash mid-attempt. Busy sessions back off up to a minute. Wakes target only the exact session holding the mailbox lease: the OpenCode "newest session in this directory" fallback is removed.agentmbx wake mute <agent> [--minutes N]pauses hints and notices while mail keeps arriving. - Status never wakes: a
statusmessage no longer wakes anyone, even with an @mention orneeds_reply. The skill, thembx_sendkind description and a send-result warning tell senders to userequest(ortask) withneeds_replywhen they need attention now. - Claude sessions wake with no flags (T202): each Claude session's own mbx MCP server queues the no-body wake hint into that session through Claude Code's per-session inbox socket (
CLAUDE_CODE_MESSAGING_SOCKET). A plainly startedclaudeis now woken on new mail with no launch flag, no setting and no cron; the daemon defers to it. The token never leaves the server's environment, and a server only uses the socket of the Claude process that started it. The channel flag still works. - Terminal Kimi wakes itself (T033):
agentmbx watchwaits for mail that wants the calling session (same wants-wake, authority, mute and brake checks as a push), prints the no-body hint and exits. Kimi Code turns a finished background task into a new turn, so a terminal Kimi session that keeps one running is woken within seconds with no polling turns; the session-start note asks it to. The daemon defers to a live watcher, andmbx_whoamireports it as the delivery path. The[mbx-watch]cron self-check remains forMBX_SELF_WATCH=<minutes>. - Kimi desktop and web wake (T033): the Kimi desktop app keeps a private Kimi Code home, so
agentmbx setupnow installs AgentMBX there as a native Kimi plugin (mbx MCP server and hooks) while the app runs. Desktop conversations are woken through the app's local control socket (conversations.send, busy-checked first). Hosted Kimi (desktop andkimi web) runs one mbx server per conversation under one shared process, so a conversation could never be matched to its server and was never woken. Now the conversation's prompt hook hands it a one-time bind ticket and its own server links itself (mbx_whoami bind) to the real session and folder, without guessing. Doctor flags akimi webserver started before its hooks were installed (it runs none: restart it). Verified live for terminal, desktop and web on 2026-10-01. A corrupt bind-ticket row is dropped instead of throwing, and the ticket trust assumption is written down insrc/bind-ticket.ts. Akimi webconversation in manual approval mode asks before every mbx tool call: allowmbx_*so mail handling isn't blocked on a prompt. - Owner-signed mail reads as the owner's (T022): a message carrying
authority: OWNERno longer also showspolicy: askbeside it; the policy line says owner authority applies (delegation policies limit only other agents' requests). - Claude wake launcher:
agentmbx claude [args]starts Claude Code with the mbx channel (Claude Code has no persistent setting for channels). Doctor suggests it when no Claude session has a channel. - Address healing and presence (T201): a paired host that moved (DHCP) is found again without re-pairing. The pin only moves to an address that answers a fresh challenge signed by the pinned host key and lists its own IP; candidates come from verified hops, signed presence beacons (on start, address change and every 5 min), stored alternates, mDNS and
agentmbx peers addr. Queued mail goes out as soon as the peer is heard from again (verified hop or presence beacon), not after its back-off: that lag was 75 s in the T151 offline test. - Relay depth counts relays, not conversation turns (T104): depth comes only from mail read from agents other than the recipients, so two agents answering each other stay at depth 0 however long they talk, while forwarding to a third agent still adds a hop (role and
*sends count every read). Each policy level has its own allowance: ask 6, collaborate 20, autonomous and yolo no limit (bounded by the wake brake and the per-thread action cap). The header shows it (relay depth 3 of 20), an exceeded grant says how to reset it, the sender is warned past 20, andmbx_whoami/doctorlist mail that depth kept from waking a session. - Relay depth resets at the owner's prompt: relay depth no longer accumulates across a long session. A prompt the owner types ends the agent-to-agent chain. Wake and
[mbx-watch]prompts never reset it, and external origin is never cleared. A send or reply past the depth limit now warns the sender that the recipient will not be woken or act under its policy. - Connector evidence: each running MCP server reports its own version, loaded build and tool catalog.
agentmbx diagnosticsshows it for the verified lease holder, separately from the installed CLI and the daemon, and explains the in-conversation update path when they differ. False "pid-reused" session reports on macOS are fixed.mbx_whoamialso says when a newer build is installed and this server is about to hand over to it (switching): the new build's version and delivery mode appear from the next call. - Session hygiene: the daemon prunes session rows whose process is provably gone; chosen mailbox names survive for the next bind.
- Security review (T032): docs/THREAT-MODEL.md covers assets, trust boundaries, attackers, a STRIDE table and accepted residual risks. Three fixes: relayed mail is sealed only to the peer's pinned body key or a relay copy signed by the peer's pinned host key (a relay client enrolling the same host name could read relayed bodies);
pair --compareis now commit-reveal (a man in the middle could grind matching 6-digit codes), so both hosts need this release for code-compare pairing (token pairing is unchanged); mail from a paired host must name exactly one agent at that host as its sender (free text reached wake prompts). Four findings remain open as follow-ups: relay enrolment by any key and the reference relay's unbounded challenge/dedupe state (T197), envelope metadata not sealed (T198), unauthenticated host-to-host HTTP responses (T199), and code-compare pairings that never expire (T200). - Message framing and recipient floods (T196): received subjects with line breaks or control characters are rejected and local subjects are collapsed to one line. Header fields always render on one line, and a body sits between
--- message content <boundary>and--- end of message <boundary> ---lines with a fresh random boundary, so message text cannot pose as headers or close the frame. A paired host can no longer create mailboxes with invalid names, and mail to names with no registered agent or session raises no desktop notice. Notices are limited to six a minute. - Acks never fail over a long
did(T194): the audit line stays at most 200 characters. A longer one is kept truncated, markeddid_truncatedwith its original length, and the caller is warned. Previously MCP rejected the whole batch, so none of the acks were recorded, while the CLI truncated silently. - Self-describing wake hints (T195): a hint queued while the session was busy names its message ids and says that mail already read or acked needs no action.
- Retention (opt-in):
agentmbx prune [--older-than <days>] [--dry-run]deletes only settled mail (every local delivery acked, no outbox row, received and last updated before the window), then runs VACUUM. Default is off:agentmbx retention set <days>storesretention_daysin config.json and the daemon then prunes every 6 h (without VACUUM). Unacked mail, including every pending wake, and queued outbox mail are never pruned. Pruned replay positions leave tombstones: replay pages report them ashistory_prunedand existing cursors stay valid. The tombstone table is additive; processes older than this release do not report the gap. - Host identity backup:
agentmbx identity export <file>writes a 0600, passphrase-sealed bundle (scrypt + XChaCha20-Poly1305) of config, host signing key, body encryption key, a file-backend owner key (still owner-passphrase encrypted) and approved peers with pinned keys.agentmbx identity import <file>restores it on a replacement machine so existing pairings stay valid; it refuses an initialized home unless--force, which first backs up the old identity files and a copy of mbx.db. A macOS Keychain owner key is not exportable. Mail, policies and devices are not in the bundle. The bundle also carries retired host keys, the rotation log and each peer's previous keys, so a restored host keeps verifying mail signed before a rotation and can finish pending rotation announcements.
Known limitations: mDNS discovery and direct LAN delivery stay on this LAN (no WAN discovery, no NAT traversal), and multicast is blocked on some LANs (ours sees no mDNS in either direction); then agentmbx peers addr, pairing by explicit address, or the prototype relay are the routes. The relay's queues are still in memory, so relay-only delivery is not restart-safe yet. If both hosts change address at once while multicast is blocked, only the relay or peers addr recovers. Hermes wake is deferred (T189).
0.5.0 (2026-09-30)
- Bounded replay:
mbx_replayis the eleventh MCP tool;agentmbx replayexposes the same read-only JSON page and cursor contract through the caller's exact current provider lease. First-ever mailbox visibility is ordered durably, including late/backdated grants. Caller-persisted cursors retain finite snapshot position across same-persona provider handoffs; completed cursors poll new visibility, and lost cursors explicitly rewind with ID deduplication. No automatic server checkpoint or ACK is implied. - Scoped history: existing signed project/host, topic-tag and thread metadata can filter authorized history. Oversized first items return bounded omission metadata; filtered and hidden ranges still make progress. Filters grant no new delivery or authority. Replay content is data;
mbx_readsupplies current computed policy before acting. - Local diagnostic CLI:
agentmbx diagnosticsreports bounded holder/process evidence, sender-scoped queued counts and redacted recovery receipts without changing mailbox state or disclosing bodies/lease credentials. Installed CLI, observed daemon and connector versions remain distinct. This is a same-OS-user CLI view, not a web console. - Mailbox schema 3: atomic visibility ledger migration preserves signed bytes and pending/acknowledged delivery history; incompatible retained message/delivery writers fail closed. Coordinate the upgrade: quiesce all writers, back up the complete mailbox home, update in the same installation kind and verify each runtime. Rollback requires stopped writers plus restoration of the compatible pre-upgrade backup; no in-place database downgrade. Database restore must explicitly reset the replay epoch before resuming writers. See rollout handoff.
- Performance and packaging: sender-scoped outbox queries use an index; release packaging smoke checks cover replay availability and read-only diagnostics. Native binaries and tagged source install remain supported; the npm registry package is not published.
0.4.0 (2026-09-28)
- Identity leases (mailbox schema 2): one live holder per identity, claimed atomically with process-birth evidence and fenced heartbeats. Dead or idle holders become claimable again — history and inboxes are preserved; takeover of a live lease requires an owner signature.
--asand mailbox tools require the current lease; sends without one are labelled unverified instead of silently trusted. Intra-process claims converge instead of erroring: an identical claimant re-claims idempotently, a session claim transfers the lease from the server's own provisional base, and racing first calls adopt the winner. - Sessions adopt new builds without restarts: the long-lived MCP server fingerprints the on-disk build and re-checks on every tool call; after a deployment it finishes the in-flight call, respawns from disk and hands over the transport. Combined with the existing per-invocation freshness of the daemon, hooks and CLI, agent updates no longer require restarting agent sessions.
- Smooth schema upgrades: the store records which version migrated it; stale peers get advice that matches reality (restart-first when already current, update-first with the upgrader named only when behind). The MCP server reloads itself when the store outgrows it.
- Receipt validation: Kimi wake and submission receipts are validated and redirects refused. OpenCode synthetic admissions are validated against session, text, type, delivery, id and time. Policy revocations compare instants and apply atomically; envelope core fields, policy records, daemon identity, setup listeners, relay depth and native harness recovery hardened.
- Wake coverage: OpenCode sessions bound only through their MCP process are woken via the service's directory fallback; the wake matrix is validated live across all four providers.
- Cloud relay (ADR-035, accepted threat model): an untrusted store-and-forward transport for offline peers. Challenge-signature host enrolment bound to owner keys, per-recipient opaque queues, exactly-once storage, cursor acks, per-owner quotas (depth, size, batch, rate), signed enc-key discovery through the relay itself, and a sealed-bodies-only rule enforced client-side.
agentmbx relay serveruns a reference relay;agentmbx relay set <url>points a daemon at one;doctorreports relay status. - Body encryption (T028): pairwise sealed envelopes for untrusted hops — ephemeral X25519 per envelope, XChaCha20-Poly1305, signatures committing to the exact ciphertext, local storage staying plaintext per the D001 local-trust decision.
0.3.1 (2026-09-26)
- Kimi web wake-up: Kimi sessions hosted by
kimi web, the Kimi desktop app orkimi rcare woken directly through the local server's prompts API, with no self-check job needed. A busy session is retried, never interrupted. Terminal Kimi keeps the[mbx-watch]self-check. Built and verified live by kimi. - Broadcasts (
*,role:) reach only agents with a live session. Shell senders (--as) still get mail addressed to them by name. - Setup defaults to the
collaboratepolicy (POLICY.md ratified). - Release signing: the macOS app is signed with a stable identity, so the Keychain keeps trusting the owner-key helper across updates.
daemon installnever replaces a stably signed app with an ad-hoc local build. - Policy sync audits only changes of state, so an offline peer doesn't log every minute.
0.3.0 (2026-09-26)
- Owner-signed collaboration policies: choose
ask,collaborate,autonomousoryolo, with explicitread,edit,outwardandpermissionsclasses. Scope delegation by agent, host and project; inspect it withagentmbx policy list. Renew withpolicy renew <id>, revoke one policy or usepolicy revoke --allas the kill switch. The daemon reminds the owner 48 hours before expiry. - Owner identity: a Touch ID-protected owner key on macOS signs policies and device records. Explicitly approve paired machines with
agentmbx owner add-device; unpairing removes trust learned through that peer. Signing shows complete security values and refuses summaries too long to display safely. - YOLO permission hooks: Claude Code, Codex, OpenCode and
kimi web-hosted Kimi sessions approve prompts (not terminal Kimi: its hook can only observe) only when an active owner policy grantspermissions. Missing or unverifiable session identity leaves the normal approval flow in place. - Session identity: bind sessions using PID and process start time, choose a free name, and keep old-name aliases after renaming. Inside an agent session,
--ascannot claim another live session's name. - Keep conversations moving: self-watch instructions support idle polling for CLIs without push; Stop hooks let Claude Code, Codex and Kimi continue handling new mail under an owner policy. Wake and prompt notices include the delegated policy, including in sessions started before it was signed.
- Security review: three rounds of regression review by Codex, independently reproduced and checked by Kimi, hardened session identity, policy scope, revocation and device trust, and the owner-signing display.
0.2.0 (2026-09-26)
- Install and update: single self-contained binaries for macOS (arm64, x64) and Linux (x64, arm64), with no Node.js needed.
curl -fsSL https://raw.githubusercontent.com/kryptobaseddev/agentmbx/main/install.sh | shagentmbx updateverifies an Ed25519-signed release manifest and the sha256 of the download, then replaces the binary and restarts the daemon. The daemon checks once a day.
- Plug and play:
agentmbx setupwires Claude Code, Codex, OpenCode, Kimi Code and Hermes: the MCP server, hooks and a bundled skill. It backs up every file it edits and can be undone with--uninstall.agentmbx doctorchecks everything.- The new
mbx_replytool replies in the thread.
- Pairing:
agentmbx pairprints a one-time token. On the other machine, runagentmbx join <host> <token>. That's one command each, with nothing to compare.- Machines find each other on the LAN over mDNS (
agentmbx discover). - The code-compare flow is still available as
pair --compare.
- Notifications: on macOS, the AgentMBX.app notifier shows the AgentMBX name and icon, and the background item appears as AgentMBX. Linux uses
notify-send -a AgentMBX. Try it withagentmbx notify-test. - Live-tested wake-ups: idle Codex, OpenCode and Claude Code sessions wake, reply in the thread and ack.
0.1.0 (2026-09-25)
- Signed envelopes, SQLite store, LAN daemon, MCP server, wake adapters.
- Owner grants bound to a session key, following the council's review.