fro-bot/space-bus
@fro.bot/space-bus — a workspace agent bus for OpenCode, now a published, distributable OpenCode plugin (npm @fro.bot/space-bus). One control agent (an ordinary OpenCode TUI running with this plugin installed) sees and tasks dedicated per-project agents across a roster, all riding a single opencode serve/harness serve instance via per-request directory routing. A thin stdio MCP facade exposes the same tools to Claude Desktop. It is the org-level “control board” that turns a fleet of managed repos (fro-bot—agent, fro-bot—dashboard, the control plane, marcusrbrown—infra) into delegation targets addressable from one seat.
Current state (HEAD 2d7f6b7a, checked 2026-11-16): manifest still 0.15.0 with no overrides block and .changeset/ holding only config.json; README unchanged. @modelcontextprotocol/sdk is 1.32.2 (a security-labelled bump, #202), the @opencode-ai/plugin dev pin 1.19.5, release npm 11.21.2, and both bfra-me/.github callers v4.43.0. fro-bot.yaml pins agent v0.144.3 with isolate-agent: 'true' (#254), checks out with persist-credentials: false on every trigger (no longer conditional), and closes daily reports only on an anchored whole-title match authored by exactly fro-bot (#239). The job still ends at Run Fro Bot, with no output-mode and no commit/push/PR step.
2026-09-19 survey (HEAD
47e32358, npm0.15.0) — the freeze held, the delivery gap escalated from documentation to security, and the prior survey’s root cause is corrected. Four commits since6c32dec, touching 7 files: five.github/workflows/*.yaml, pluspackage.json/bun.lockfor one dev-pin. Recursive tree still 117 blobs;src/is untouched, so the lastsrc/commit remainsfe0cc42(2026-07-19) — now 62 days. npmlatestis still0.15.0, still 22 versions, registrymodifiedstill2026-07-19T08:38:39.752Z— a 62-day publish drought,.changeset/still holding onlyconfig.json. (1) CORRECTION — the delivery blocker is the harness delivery contract, not the prompt. The 2026-09-04 page attributed the undelivered docs fix to a HARD BOUNDARIES/category-4 conflict. Superseded by the agent’s own reports: from #166 (2026-09-05) — one day after that survey was written — every daily report carries an explicit delivery note (“this run operates inworking-dirmode (no branch/PR creation permitted)… the caller workflow owns diffing, committing, and opening the PR”).fro-bot.yamlstill has exactly four steps and no commit/push/PR half. Same root cause as marcusrbrown—tokentoilet; the prompt conflict is real but not the binding constraint. (2) ESCALATION — the discarded work is now security remediation. #170 (09-08) left abun.lockfix takingbun audit19 → 0 in the working tree; #183 (09-19) leftpackage.jsonoverridesclosing three confirmed HIGH advisories (fast-uri3.1.3→3.1.8,ip-address10.2.0→10.7.2,toml4.1.2→4.3.0) in the working tree. Neither reachedmain. The gap stopped costing documentation accuracy and started costing patches. (3) A human editedfro-bot.yamland shipped the other half. #174 (09-11,marcusrbrown, first human commit in 54 days) added conditionalpersist-credentials— correct hardening, and it makes credentials persist on exactly thescheduleruns that need delivery, so the credential precondition now exists while the delivery step still does not. Compare marcusrbrown—sparkle 2003, where one computed gate feeds both the credential restore and the agent’soutput-mode; space-bus has the credential half only. (4) PR #72’s red is a coupled-constant defect, not the lockfile theory —biome.json’s$schemais pinned tohttps://biomejs.dev/schemas/2.5.2/schema.json, invisible to every Renovate manager, so each@biomejs/biomebump is red by construction; 70 days open, second fleet instance after marcusrbrown—opencode-copilot-delegate. (5) Immune by lag — thebfra-me/.githubpin sat at v4.16.44 through the 2026-09-04tarincident and jumped straight to v4.29.0 on 09-14, stepping over the poisoned v4.25.0 entirely. (6) Grouped Renovate PRs land content their titles do not name — #115 titled@opencode-ai/plugin to v1.18.3landed1.18.2 → 1.18.26; #167 titledfro-bot/agent to v0.108.1landedv0.106.0 → v0.112.0plus fourgithub/codeql-actionSHA bumps. Carried forward unchanged: theactions/checkouttwo-major split, the inertfro-bot/agentautomerge carve-out, and a ~100% bot-authored trigger surface. Agent pin v0.106.0 → v0.112.0;@opencode-ai/plugindev-pin 1.18.2 → 1.18.26. Open issues 4, open PRs 5.
2026-09-04 survey (HEAD
6c32dec, npm0.15.0) — the code is frozen and the daemon is hallucinating repairs into a working tree nobody commits. Measured, not inferred: the recursive tree at6c32decdiffers fromfd8a746in 5 blobs of 117, all under.github/workflows/, all pure action-pin lines (11 added / 11 removed). Every other file —src/,test/,package.json,bun.lock,README.md,AGENTS.md,CHANGELOG.md, all 41 docs — is byte-identical. Widening the window: the last commit to touchsrc/isfe0cc42, 2026-07-19 (#113, the0.15.0message-correlation work), the last human-authored commit is the same one, npmlatestis still0.15.0published2026-07-19T08:38:39Zwith the registrymodifiedtimestamp unmoved, and.changeset/holds onlyconfig.json— nothing queued to release. This repo built its entire published surface in a 16-day burst (2026-07-03 → 07-19:0.0.0→0.15.0, 22 npm versions, four → six tools, managed server, CLI, launchd, browser-safe library lane, full automation, 8 brainstorms + 9 plans + 19 solution docs) and has been code-frozen for 47 days since, with 1,007 Fro Bot workflow runs logged over it. Three commits total in that window, all Renovate. Four findings, each with its own section below: (1) the autoheal reports fixes it has no permitted path to deliver — the same two-file docs diff (/registrysubpath missing from README,registry.ts/roster-edit.ts/registry-entry.tsmissing from AGENTS.md) has been diagnosed and “fixed” on at least eight consecutive days (#156 → #164), independently confirmed still absent onmainat HEAD, and on 2026-09-01 (#161) the report flipped to ✅ “no drift found — yesterday’s fixes still accurate” about a file whose blob SHA has not changed since 2026-08-03; (2)actions/checkoutruns at two majors simultaneously —v6.1.0inci/release/fro-bot,v7.0.1incodeql-analysis/scorecard, each SHA pin its own Renovate dependency, reconciliation parked behind an uncheckedrenovate/major-github-actionsapproval box; (3) grouping defeated the one automerge carve-out the repo declared —renovate.json5exemptsfro-bot/agentfrom the no-automerge-Actions rule, but the org preset batches it intorenovate/github-actionswith non-automergeable packages, so PR #118 sat open 41 days (2026-07-20 → 08-30) and landed the pin as a single v0.93.1 → v0.106.0 jump; the next agent bump (v0.107.1) is now rate-limited behind a 5-PR cap consumed by unrelated stalled PRs; (4) a failing non-security dependency PR falls through every autoheal category — #72 (Biome 2.5.2 → 2.5.11) has been red for 55 days because category 1 excludes dependency PRs and category 2 covers only security. Open PRs 5 (aged 5–55 days, all Renovate, none merged since 08-30); open issues 4; stars 1. Sections below preserve the 2026-08-04, 2026-07-18, and 2026-07-03 records; this banner marks what changed.
2026-08-04 survey (HEAD
fd8a746, npm0.15.0) — no structural change; two additive library-surface minors. Since the 2026-07-18 shipped-plugin survey the repo held its shape (sixbus_*tools, browser-safe/Node-only lane split, managed-server + CLI + launchd, full Fro Bot/CI/CodeQL/Scorecard/Renovate/Probot automation all durable). Deltas are feature-additive on the browser-safe/corelane: (1)0.14.0(#109) — explicit session-interaction primitives (messages()bounded full-message read,questions()complete nested pending-question read,answerQuestion()ownership+cardinality-checked answer, plus an opt-in fail-closeddispatch({ onPendingQuestion: "blocked" })alongside the default fail-openquestion-reply) so consumers like marcusrbrown—mothership’side_*surface stop duplicating OpenCode HTTP behavior; (2)0.15.0(#113) — dispatch message correlation (createDispatchMessageId()no-Node-builtin id minting + optionalmessageIdthreaded throughdispatch()/toDispatchArgs()/dispatchMetadata()/bus_task, plus a typedDispatchFailurehandle withphase: "not_sent" | "indeterminate"for safe reconciliation after ambiguous failures). Also:assets/brand-token system (banner.svg/styleguide.md/tokens.css) landed — mirroring the fro-bot—dashboard/marcusrbrown—marcusrbrown-github-io design-token pattern;opencode.jsoncnow loads the local dev plugin (./src/index.ts, #99);build.tscustom build script +tsconfig.build.json; Fro Bot agent pin advanced v0.88.0 → v0.93.1;bfra-me/.githubreusable-workflow pin → v4.16.44;@opencode-ai/plugindev-pin1.17.18 → 1.18.2(peer range>=1.17.13 <2unchanged); test suite grew ~30 → ~40*.test.ts(502 passing per #113). npm advanced0.13.1 → 0.15.0(22 versions). Open issues 8 → 9, stars 1. Sections below preserve the 2026-07-18 shipped-plugin record and the 2026-07-03 MVP record; this banner marks what changed.
2026-07-18 survey (HEAD
8e20e01) — the repo matured from MVP dogfood to shipped plugin. Since the 2026-07-03 initial survey it has: (1) converted to a published OpenCode plugin on npm (0.13.1, 20 versions via changesets + npm OIDC trusted publishing — resolving the private/0.0.0→ published contradiction flagged at 2026-07-06); (2) grown from four tools to six (bus_waitasync-delegation,bus_registrymulti-roster) — the “exactly four tools” MVP constraint is superseded; (3) added a plugin-managed server lifecycle +space-busCLI + macOS launchd reboot-persistence; (4) exposed a CI-enforced browser-safe library surface (subpath exports for renderers like marcusrbrown—mothership); and (5) grown a full Fro Bot workflow + CI/CodeQL/Scorecard/Renovate/Probot Settings — resolving the “no automation” thread. Sections below preserve the 2026-07-03 MVP record and mark what changed.
Overview
Bounded source recheck (2026-11-01)
Public main remains at 20ab67c56a39f12774d7dcb659e65848767bc03e,
the same revision inspected on October 3 and October 18. The complete directory
listing, root README, package manifest, and all seven workflows reconfirm the
documented six-tool OpenCode bus, stdio MCP facade, managed-server CLI, macOS
launchd service, and browser-safe versus Node-only library lanes.
- Package declarations remain unchanged:
@fro.bot/space-bus0.15.0, MCP SDK1.29.0, Zod^4.4.3, OpenCode plugin dev pin1.18.26, and peer range>=1.17.13 <2. The./serveralias targets the plugin factory;./managed-servertargets lifecycle functions. README still omits the manifest’s/registryexport and says “four tools” in its Library surface prose despite listing six. The explicit development-watch entry lists still omitsrc/registry-entry.ts, which exists in the tree. These remain dated documentation/manifest discrepancies, not a newly demonstrated runtime fault. - Fro Bot workflow is present: SHA-pinned agent
v0.112.0, daily midnight UTC schedule, manual prompt input, and event-based review/triage. Its four-step job still ends at the agent invocation with no explicitoutput-modeor caller persistence step. This preserves the source-side delivery-gap finding; workflow presence alone establishes neither successful runs nor delivered repairs. No missing-workflow follow-up draft is warranted. - CI and release retain separate evidence boundaries: CI declares frozen
install, typecheck, Biome lint, production build, a Node import checking only
a function-valued default export, and Bun tests. It does not invoke the plugin
factory or the README’s live-server
smokescript. Release follows successful main-branch CI or manual dispatch, with Changesets, Node 24, npm11.18.0, and OIDC permission. Bun setup has no explicit runtime-version input; reusable Renovate/settings callers remain atbfra-me/.githubv4.29.0.
No new contradiction to the October snapshot was found. Earlier registry, advisory, issue/PR, code-history, and workflow-activity observations remain historical: this bounded source recheck does not renew them or extend the measured publication drought. Related packaging boundaries: opencode-plugins.
Sources: README, manifest, CI, and workflow directory.
Bounded source recheck (2026-10-18)
The public repository’s main tree still resolves to
20ab67c56a39f12774d7dcb659e65848767bc03e, the exact October 3 snapshot.
Directory listings, README, package manifest, and all seven workflow files
reconfirm the earlier source contract; this is an unchanged-tree observation,
not evidence that automation or published packages remained healthy throughout
the interval.
- Package and integration surface: the manifest remains
0.15.0, with six README-listedbus_*tools, plugin and MCP entry points, a managed-server CLI, and separate browser-safe versus Node-only library lanes. README still says “four tools” in its Library surface prose and omits/registry, while the manifest exports./registrytodist/registry-entry.js. The explicit watch-build entries still omitsrc/registry-entry.ts; its existence is confirmed by the tree listing. See opencode-plugins. - Compatibility evidence has two scopes: the development plugin dependency
is exactly
1.18.26, while the peer range admits>=1.17.13 <2. README instructs upgrading the OpenCode CLI and@opencode-ai/*versions together. A broad peer range is not proof that every admitted host version was tested; this pass did not read tests, invoke a host, or inspect implementation files. - Fro Bot is present, SHA-pinned at
v0.112.0, with daily midnight UTC scheduling and manual dispatch. The workflow still ends at the agent step, with neitheroutput-modenor a caller-owned persistence step. This reconfirms the source-side delivery gap, not a newly observed failed run. No missing-Fro-Bot-workflow follow-up is warranted. - Validation and release declarations: CI still builds before checking
that the Node ESM default export is a function, then runs Bun tests. The
smoke step does not invoke the plugin factory. Release uses Changesets,
Node 24, npm
11.18.0, and OIDC permission; Bun setup still lacks an explicit runtime version. Both reusable workflow callers remain atv4.29.0.
No new contradiction to the October 3 snapshot was found. Earlier issue/PR, advisory, registry-publication, workflow-activity, and code-history claims remain dated evidence: unchanged source does not renew those external measurements or extend the previously measured publish drought.
Sources: README, manifest, workflow directory.
Bounded current snapshot (2026-10-03)
At 20ab67c56a39f12774d7dcb659e65848767bc03e, the README still describes
the six-tool, directory-routed OpenCode bus, stdio MCP facade, managed-server
lifecycle, and macOS launchd service. The manifest still declares 0.15.0,
ESM, MIT, the space-bus and space-bus-mcp binaries, and public publishing.
Runtime dependencies are MCP SDK 1.29.0 and Zod ^4.4.3; development pins
include OpenCode plugin 1.18.26, Biome 2.5.2, Changesets 2.31.1, Bun
types 1.4.2, and TypeScript 5.9.3. The plugin peer range remains
>=1.17.13 <2. These are manifest declarations, not a registry or runtime check.
Fro Bot workflow remains present. Its SHA-pinned agent is still v0.112.0,
with a daily 0 0 * * * schedule and manual prompt input. The job still ends
after checkout, Bun setup, frozen install, and the agent invocation. It declares
neither an output-mode input nor a caller-owned commit/push/PR step. This
confirms the structural delivery gap recorded on 2026-09-19; it does not
establish what a later run actually attempted or delivered. The workflow’s
PR-head concurrency key is explicitly limited to pull_request events;
issue/review-comment events keep their own thread keys.
CI still runs frozen install, typecheck, Biome, production build, a Node ESM
default-export smoke test, and Bun unit tests. The Bun setup action has no
explicit bun-version, so its action SHA alone is not a Bun runtime pin.
Release waits for successful main-branch CI (or manual dispatch), uses
Changesets with Node 24 and npm 11.18.0, and declares OIDC publishing via
id-token: write; trusted-publisher configuration and publish success were
not inspected. Renovate and settings-sync workflows both reference
bfra-me/.github v4.29.0. Checkout remains split between v6.1.0 in
CI/release/Fro Bot and v7.0.1 in CodeQL/Scorecard.
README drift remains independently visible: its Library surface prose says
“four tools” while the Tools section lists six, and it omits /registry even
though package.json exports ./registry to dist/registry-entry.js.
The manifest’s development watch entry lists also omit registry-entry.ts,
whereas that file is present in the directory listing. A successful production
build is therefore not evidence of development-watch export parity; see
opencode-plugins. The watch command was not executed.
This snapshot used only directory listings, README, manifest, and workflow
files. Earlier npm availability, code-freeze duration, advisory, issue/PR,
workflow-activity, and AGENTS.md claims below are retained as dated evidence,
not renewed by this pass. In particular, manifest version 0.15.0 alone does
not extend the earlier measured publish drought. The manifest still has no
overrides block, but current vulnerability status cannot be inferred from that.
Sources: README, manifest, workflows.
| Attribute | Value (2026-09-19 survey, HEAD 47e32358) |
|---|---|
| Repo id | 1287751069 (node_id R_kgDOTMGFnQ) — public |
| Created | 2026-07-03 |
| HEAD | 47e32358 (2026-09-14, “chore(deps): update bfra-me/.github to v4.29.0” #158) |
| Last push | 2026-09-17 (pushed_at — PR-branch pushes only) |
Last src/ change | 2026-07-19 (fe0cc42, #113) — 62 days |
| Last human commit | 2026-09-11 (068a4d47, marcusrbrown, #174) — a workflow-only CI hardening; the last human commit to src/ is still fe0cc42 |
| Tree | 117 blobs — identical count to 6c32dec; src/ 47 blobs (22 modules + 25 colocated tests), docs/ 37, test/ 4 |
| Language / runtime | TypeScript (strict, ESM); Bun for dev/build/test, published dist targets Node ESM |
| Package | @fro.bot/space-bus — npm latest 0.15.0, 22 versions, published 2026-07-19T08:38:39.441Z, registry modified …:39.752Z (unmoved) ⇒ 62-day publish drought; .changeset/ holds only config.json |
| License | MIT |
| Stars / forks | 1 / 0 |
| Open issues | 4 (#183 today’s daily report, #81, #63, #6 Dependency Dashboard) |
| Open PRs | 5, all fro-bot[bot] Renovate — #178 (5d), #177 (5d), #135 (47d), #130 (51d), #72 (70d, red) |
| Workflows | 7, all active: ci, codeql-analysis, fro-bot, release, renovate, scorecard, update-repo-settings |
| Agent pin | fro-bot/agent@5494812a # v0.112.0 (was v0.106.0); next bump v0.113.2 rate-limited |
| Reusable base | bfra-me/.github v4.29.0 (0e881c39) in both renovate.yaml and update-repo-settings.yaml; v4.30.0 rate-limited |
| Default-branch CI | Check green — 30/30 most recent main runs success |
| Status | Shipped OpenCode plugin, still code-frozen. Six-tool bus + managed-server + CLI + launchd + browser-safe library surface all durable and unchanged since 2026-07-19. Automation runs daily and green; its output does not reach the repository (see the delivery sections below) |
Prior overview (2026-09-04 survey, HEAD 6c32dec — historical)
| Attribute | Value (2026-09-04 survey, HEAD 6c32dec) |
|---|---|
| Repo id | 1287751069 (node_id R_kgDOTMGFnQ) |
| Created | 2026-07-03 |
| Last push | 2026-09-02 (pushed_at — PR-branch pushes only; HEAD commit 6c32dec dated 2026-08-30, “chore(deps): update GitHub Actions” #118) |
Last src/ change | 2026-07-19 (fe0cc42, #113) — 47 days before this survey |
| Last human commit | 2026-07-19 (fe0cc42, marcusrbrown); all 3 commits since are fro-bot[bot] Renovate merges |
| Description | Space Bus — workspace agent bus for OpenCode; control agent tasking per-project agents over the OpenCode server API, with an MCP facade for Claude Desktop |
| Homepage | https://www.npmjs.com/package/@fro.bot/space-bus |
| Language | TypeScript (strict, ESM) |
| Runtime | Bun (dev/build/test); published dist targets Node ESM (main: ./dist/index.js) |
| Package manager | Bun (bun.lock, bun install) |
| Package | @fro.bot/space-bus — published to npm, 0.15.0 (22 versions 0.0.0→0.15.0; changesets + npm OIDC trusted publishing). latest published 2026-07-19T08:38:39Z; registry modified unmoved since — a 47-day publish drought, and .changeset/ is empty so nothing is queued |
| License | MIT |
| Visibility | Public |
| Stars / forks | 1 / 0 |
| Open issues | 4 (#164 today’s daily report, #81, #63, #6 Dependency Dashboard) |
| Open PRs | 5, all fro-bot[bot] Renovate, aged 5–55 days (#158 5d, #135 32d, #130 36d, #115 47d, #72 55d) |
| Topics | opencode, plugin, mcp, agent-orchestration, bun, typescript |
| Status | Shipped OpenCode plugin, code-frozen. Six-tool bus + managed-server lifecycle + CLI + macOS launchd service + browser-safe library surface, all durable and unchanged since 2026-07-19. Full CI/CodeQL/Scorecard/Renovate/Fro Bot automation still running (1,007 Fro Bot runs; daily schedule pass green through 2026-09-04) — but see the delivery-gap section below: the daemon’s write path does not reach main |
Prior overview (2026-08-04 survey, HEAD fd8a746 — historical)
Open issues were counted as 9 at that survey (the GitHub open_issues_count field, which sums issues and PRs). The 2026-09-04 survey splits them: 4 issues + 5 PRs = 9, so the headline count is unchanged while its composition is not. Recorded explicitly because “open issues 8 → 9” in the 2026-08-04 banner reads as issue growth and is really a mixed count.
Prior status (2026-07-03 survey, HEAD ad8eefe — historical)
At the initial survey this was an MVP dogfood: @fro.bot/space-bus was private/unpublished ("private": true, version: 0.0.0), 0 stars, no topics, no .github/, no CI, no Fro Bot workflow. Four tools, workspace-local .opencode/tools/ adapters, plugin conversion only drafted in docs/. That state is retained in the sections below for provenance; the 2026-07-18 record supersedes it.
What it is
The core insight: one opencode serve instance multiplexes all Fro Bot projects via per-request directory routing rather than running N servers. The OpenCode server’s working directory resolves in order: the session’s stored directory → ?directory= query param → x-opencode-directory header → server cwd. An InstanceStore lazily loads an isolated instance (config, plugins, AGENTS.md) per directory, so a session created against ~/src/github.com/fro-bot/agent picks up that repo’s own agent config and instructions.
A control agent launched in this repo delegates to those per-project agents through four custom tools; a stdio MCP server exposes the same four tools to Claude Desktop. There is no broker, queue, custom RPC, or SSE consumer — the OpenCode server API is the state store.
Claude Desktop ──stdio MCP──▶ src/mcp.ts ──┐
├──▶ src/core.ts ──HTTP──▶ opencode serve :4096
OpenCode TUI (here) ──.opencode/tools/ ────┘ │ x-opencode-directory
▼
agent · dashboard · control-plane · infra
The Tools (now six — 2026-07-18)
The 2026-07-03 MVP shipped exactly four tools as a hard constraint. That constraint has been superseded: two more tools landed as the async-delegation and multi-roster substrates matured. The current surface (both the plugin tool map and the MCP registrations, kept byte-identical via shared makeBus* factories):
| Tool | Since | Purpose |
|---|---|---|
bus_roster | MVP | List roster projects with live per-project session status (check before tasking) |
bus_task | MVP | Dispatch a prompt to one project’s agent (returns immediately, does not wait). Optional sessionId steers an existing session — answers a pending question else sends a follow-up. Results carry structured {sessionId, project, mode} metadata (plugin ToolResult.metadata / MCP structuredContent) |
bus_status | MVP | Report a session’s status + latest todo/diff summary; surfaces pending interactive questions (pendingQuestion / a blocked: line) |
bus_result | MVP | Return a completed session’s final assistant message + diff (errors if still running) |
bus_wait | 0.9.0 | Block until any watched session needs attention (completes / blocks on a question / fails / not-found) or a bounded timeout — level-triggered, stateless bounded long-poll, cross-directory. Replaces the poll-bus_status-in-a-loop pattern |
bus_registry | 0.13.0 | Manage the machine-level roster registry — one action-discriminated tool: list / create / register / unregister / set-default / add-project / remove-project / update-project, plus use (MCP-only, selects a connector-session active roster) |
All five bus_* task tools now accept an optional roster param (a registry name) to target a roster other than the ambient one, and every result opens with a roster: <name-or-path> line on both surfaces. Resolution precedence — plugin: explicit roster > workspace ctx.directory; MCP: explicit roster > connector-session active roster (bus_registry use) > SPACE_BUS_CONFIG > registry default (set-default, consulted only when SPACE_BUS_CONFIG is unset) > actionable error.
The optional sessionId on bus_task remains a dogfooding outcome (delegates block on interactive questions; steering landed as a param, not a tool). bus_wait is the successor pattern for the async-delegation foundation — fire-and-forget push notification is a deferred follow-on.
Layout (2026-07-18)
The “plugin conversion is a packaging move, not a rewrite” bet held: all real logic still lives in src/core.ts with thin adapter factories. The .opencode/tools/ + workspace.json layout of the MVP is gone — the repo is now a published plugin with a src/ module graph organized into a browser-safe lane (core/contract/format/attach) and a Node-only lane (config/discovery/server/cli/launchd/service), CI-enforced.
| Path | Lane | Role |
|---|---|---|
src/index.ts | plugin | Plugin entry — default-exported factory returning the six-tool bus_* map |
src/tools/*.ts | plugin | One makeBus* factory per tool + shared description constants (also consumed by mcp.ts) |
src/core.ts | browser-safe | All bus logic (roster lookup, dispatch, status, result, snapshot() composite); discriminated-union returns, never throws; takes injected BusContext per call |
src/contract.ts | browser-safe | zod v4 schemas + inferred types for the OpenCode API, BusContext, and discovery files |
src/format.ts | browser-safe | Pure formatters the tools render output through |
src/attach.ts | browser-safe | resolveManagedServer(dir, seams) — reads the discovery file through injected fs/env/crypto seams so external attachers (e.g. a Mothership webview) attach without node:* |
src/config.ts | Node-only | spacebus.json resolution + SPACE_BUS_CONFIG + localhost guard; loadContext() builds a BusContext |
src/registry.ts | Node-only | Machine-level roster registry (rosters.json) + roster mutation (create/add/remove/update) |
src/discovery.ts | Node-only | Discovery-file read/write/validate, per-roster state dir, spawn lock, pid identity verify |
src/server.ts | Node-only | Managed-server lifecycle: ensureServer/serverStatus/stopServer, spawn + readiness poll + supervision |
src/cli.ts | Node-only | space-bus CLI (serve|status|stop|service, --json) — thin wrapper over server/service |
src/launchd.ts/service.ts | Node-only | launchd plist generation + the five space-bus service verbs (macOS) |
src/mcp.ts | facade | stdio MCP facade (@modelcontextprotocol/sdk); also the space-bus-mcp bin. Attach-only by default (spawns only if SPACE_BUS_MCP_SPAWN set) |
scripts/smoke.ts | dev | Live-server canary (bun run smoke) — directory-routing isolation, distinct from bun test |
scripts/make-fixture.ts | dev | Generates gitignored fixtures/dev-workspace/ for the dev loop |
docs/brainstorms/ docs/plans/ docs/ideation/ | docs | 8 brainstorms + 10 plans + mothership-support ideation (systematic ce-* format) |
docs/solutions/ | docs | 20 documented solutions across best-practices/, integration-issues/, security-issues/, workflow-issues/ (YAML frontmatter) |
Roster config is now spacebus.json (renamed from workspace.json): server (baseUrl or managed, mutually exclusive) + projects[] (name/path/description, ~ expansion). Read fresh on every tool call — no caching. SPACE_BUS_CONFIG overrides discovery (must be absolute or ~-rooted; URLs and bare-relative rejected). Test coverage is now substantial (~30 *.test.ts files including real-subprocess process-lifecycle tests and dist-level browser-safety assertions).
OpenCode Server API Notes (directory-routing quirks)
The README documents several hard-won facts about the server API surface the bus rides — useful reference for anyone building on directory-routed OpenCode servers (see opencode-plugins):
- Session store is global across directory headers.
GET /session/{id}resolves regardless of which project directory header is sent. The bus attributes a session to its owning project via the session’s owndirectoryfield, not the probe header.GET /session(list) and/session/statusare directory-scoped. - Diff aggregation workaround. Upstream opencode #30127 (v1.16.0) zeroes session-level diff summaries, so
GET /session/{id}/diffalways returns[]. Per-turn diffs on user messages (GET /session/{id}/message) stay intact and include untracked files, sobus_status/bus_resultaggregate those instead (last turn wins per file, mirroring upstream PR #33444). Harness builds ≥1.17.13+harness.ee55e157carry #33444 directly —GET /session/{id}’ssummary.diffsis populated and serves diffs without per-turn aggregation (labeleddiffSource: "session"); stock binaries leave it empty and fall through to per-turn aggregation.GET /vcs/statusis a last-ditch repo-wide fallback (labeled working tree). This ties the bus’s diff behavior to the fro-bot—agent@fro.bot/harnesspatched-OpenCode line. - Idle race.
/session/statuscan report a session idle a beat before its final message is queryable;scripts/smoke.tsabsorbs this with a bounded retry on the message fetch. - Tool resolution.
.opencode/tools/resolves@opencode-ai/pluginfrom repo-rootnode_modules— no.opencode/package.jsonneeded.
Managed Server + CLI + launchd Service (2026-07-18 — new)
The MVP required you to run opencode serve yourself (attach-only). Roster server now has two mutually-exclusive modes:
server.baseUrl— externally-managed, attach-only (the original behavior, still the default).server.managed(command/cwd/port, all optional; defaultharness serve, roster dir, ephemeral port) — plugin-managed lifecycle. First-caller-spawns: whichever consumer touches the roster first spawns the server on demand; a generated password +0600discovery file land under$XDG_STATE_HOME|~/.local/state/space-bus/<hash>/discovery.json; every subsequent caller attaches. It’s a persistent daemon (outlives the caller, no in-process auto-restart) — the nextensureheals a stale discovery file by respawning.
A space-bus CLI (serve [--foreground] / status / stop, --json) wraps the same lifecycle. serve --foreground actively supervises the daemon (process-identity + authenticated endpoint probe with a consecutive-failure grace threshold) and exits non-zero on confirmed death so an external process manager restarts it — recovery-by-restart is delegated to the OS, never done in-process. A run of died-path/orphan-reap fixes (0.8.0–0.8.1) group-signal a surviving opencode child when the harness wrapper dies, guarded against pid recycling.
space-bus service (macOS launchd v1) layers reboot-persistence: install/uninstall/status/stop/start register a per-user gui/$UID launchd agent wrapping serve --foreground. Starts at login (not boot), restarts only on abnormal exit (KeepAlive.SuccessfulExit=false, throttled 10s), logs 0600 to the state dir, and pins absolute runtime/CLI paths at install (re-run install after a version bump). Fails fast on non-macOS.
Library Surface (subpath exports — 2026-07-18 — new)
Experimental subpath exports expose the bus’s internals directly for renderers (marcusrbrown—mothership) and other consumers that want structured state instead of formatted strings. Shapes may change in minor releases:
| Subpath | Lane | Surface |
|---|---|---|
@fro.bot/space-bus/core | browser-safe | The functions the tools run on; takes a caller-built BusContext (never resolves it). Includes snapshot() — one-call roster + per-project status + pending questions with bounded fan-out |
@fro.bot/space-bus/config | Node-only | loadContext()/loadContextForRoster()/loadContextForRosterPath() — read spacebus.json, attach env credentials, per-project exists flags |
@fro.bot/space-bus/contract | browser-safe | The zod v4 schemas + inferred types behind the API and BusContext |
@fro.bot/space-bus/format | browser-safe | The pure formatters the tools use, for tool-identical text |
@fro.bot/space-bus/managed-server | Node-only | ensureServer/serverStatus/stopServer for consumers driving spawn/attach/stop directly |
@fro.bot/space-bus/attach | browser-safe | resolveManagedServer(workspaceDir, seams) — attach to a managed daemon via injected seams, no node:* |
@fro.bot/space-bus/registry | Node-only | Roster registry + mutation library (readRegistry, registerRoster, createRoster, addProject, …) |
Browser-safety is CI-enforced: browser-safety.test.ts bundles the browser-safe lane for a browser target and asserts no node:* imports and no path into config.ts; a dist-level variant (added 0.10.1) asserts the published artifacts contain no node: prelude — closing a gap where the src-level test passed while the shipped bundle was broken for Vite/Mothership. The localhost guard travels with the BusContext: re-checked at core’s single validation gate on every call, so a context built from a non-local baseUrl is rejected there, not just at config load.
./server was remapped to the plugin entry in 0.10.0 — OpenCode’s loader resolves exports["./server"] before main, so publishing the lifecycle API there broke plugin loading with Plugin export is not a function (affected 0.6.0–0.9.0 from npm). The lifecycle API moved to /managed-server; a documented integration-issue solution captures the reserved-subpath loader-resolution trap.
Browser-safe /core session API + message correlation (2026-08-04 — new)
Two additive minors extended the browser-safe /core lane so renderers (e.g. marcusrbrown—mothership’s ide_* MCP surface) stop maintaining parallel OpenCode HTTP clients. All of this lives inside @fro.bot/space-bus/core — session-directory resolution, localhost auth, per-call context validation, and discriminated-union failure semantics stay on the bus side; no Node builtins, no ambient env reads.
0.14.0 (#109, 8802338) — explicit session-interaction primitives:
messages(sessionId, { context, limit? })— bounded full-message read; resolves ownership from the roster (never a caller-supplied directory), returns{ sessionId, project, messages: [{ id?, role, createdAt?, parts }] }with stable identity/ordering.limitdefaults 20, hard-capped 200;0/negative/fractional/NaN/Infinityrejected before any fetch.questions(target, { context })— complete project- or session-scoped pending-question read (target: { project } | { sessionId }, exactly one). One entry per pending request with its full nested subquestion list (requestId,sessionId,questions[]each withheader?/question/multiple/custom/options[]).answerQuestion({ sessionId, requestId, answers }, { context })— explicit answer; runtime-validatesanswersis a non-emptystring[][], verifiesrequestIdbelongs to a pending question onsessionId(cross-sessionrequestIdrefused with no mutation), and verifiesanswers.lengthmatches the request’s subquestion count (mismatch refused with no mutation).dispatch()gainsargs.onPendingQuestion: "question-reply" | "blocked". Default preserves0.13.1’s fail-open reply behavior;"blocked"is fail-closed — returns typed{ mode: "blocked", requestId }(no reply, no follow-up) when a question is pending, and a stableResulterror rather than guessing when pending-question state can’t be verified (non-2xx / unparseableGET /question). For callers that must never silently reinterpret a follow-up prompt as an answer.
0.15.0 (#113, fe0cc42) — dispatch message correlation:
createDispatchMessageId()— mints an OpenCode-compatible ascending user-message id (msg_+ 12-hex timestamp/counter prefix + 14 base62) using onlyDate.now()+ Web CryptogetRandomValues; same-millisecond ids sort ascending via an internal per-ms counter, matching OpenCode’s own ordering.- optional
messageIdonDispatchArgs, threaded throughtoDispatchArgs()/dispatch()/dispatchMetadata()/bus_task(plugin + MCPoutputSchema). Validated against the exactmsg_+ 12-hex + 14-alnum shape; rejection returns one stable generic error that never echoes the rejected value. Key omitted entirely (notnull) when unset;blocked/question-replybranches never carry amessageId. - new
DispatchFailuretype + optionaldispatchFailureon dispatch’s error branch:phase: "not_sent"(verified to precede any mutation) vsphase: "indeterminate"(a mutating request may already have reached OpenCode). Known-safe fields only (project, andsessionId/messageIdwhen known); unknowns omitted, never sent asundefined.
Both preserve the existing Result<T>/DispatchResult/BusContext contract and the browser-safe import lane. The bus_task human-readable text output is unchanged.
The 47-Day Code Freeze (2026-09-04 — new)
The prior survey called this repo “steady-state.” Two more surveys of evidence turn that into something sharper: development stopped, and every signal that looks like activity is automation running over a static tree.
| Signal | Value at 2026-09-04 |
|---|---|
Blobs changed since fd8a746 (2026-08-03) | 5 of 117, all .github/workflows/*.yaml, all action-pin lines |
Commits on main since 2026-07-19 | 3 (49f503d1 07-28, fd8a746d 08-03, 6c32dec9 08-30) — all Renovate |
Last src/ commit | fe0cc42 — 2026-07-19 |
| Last human commit | fe0cc42 — 2026-07-19 (marcusrbrown) |
| Human commits 2026-07-01 → 07-19 | 54 |
npm latest | 0.15.0, published 2026-07-19; registry modified identical |
| Pending changesets | 0 (.changeset/ contains only config.json) |
| Fro Bot workflow runs, all-time | 1,007 (daily schedule pass success through 2026-09-04) |
| Daily report issues | 52 (51 closed + 1 open) — the only issues this repo has ever closed |
The docs corpus corroborates the shape: the newest brainstorm and plan are both dated 2026-07-11, the newest docs/solutions/ entry 2026-07-13. The repo’s authored history is a 16-day sprint followed by a maintenance daemon.
This is not a defect on its own — a small plugin that reached its designed surface can legitimately stop. It matters because the automation does not distinguish “finished” from “abandoned,” and the sections below show three ways that indistinguishability produces confidently wrong output.
The Autoheal Reports Fixes It Has No Path to Deliver (2026-09-04 — new)
The finding. The daily Fro Bot pass has diagnosed, applied, and reported the same two-file documentation fix on at least eight consecutive days, and main has never received it. The drift is real and independently verified at HEAD 6c32dec (not taken on the agent’s word):
README.md’s “Library surface” list documents/core,/config,/contract,/format,/managed-server,/attach— and omits@fro.bot/space-bus/registry, which is a realpackage.jsonexport ("./registry" → dist/registry-entry.js) backingbus_registry.AGENTS.md’s “Project structure” list coversindex/tools/core/config/contract/attach/mcp/discovery/server/cli/launchd/service— and omitssrc/registry.ts,src/roster-edit.ts,src/registry-entry.ts, three files that exist, are imported bybus_registry.ts/config.ts/mcp.ts, and are covered bybrowser-safety.test.ts.
The report series (Docs Drift row of each daily issue):
| Issue | Date | Docs Drift verdict |
|---|---|---|
| #156 | 2026-08-28 | ⚠️ “fixed, working tree only … delivery pipeline suspected” |
| #159 | 2026-08-30 | ⚠️ “5th consecutive day this exact diff has been diagnosed and applied without landing” |
| #161 | 2026-09-01 | ✅ “no drift found (yesterday’s fixes still accurate)“ |
| #162 | 2026-09-02 | ✅ “Found and fixed” |
| #163 | 2026-09-03 | ✅ “Found and fixed (again — see note below)“ |
| #164 | 2026-09-04 | ⚠️ “Fixed again (third occurrence). Root cause of recurrence identified this run.” |
Two distinct failures, stacked. The first is a delivery gap. The second is worse: on 2026-09-01 the run asserted the opposite conclusion about an unchanged file. README.md’s blob SHA is identical at fd8a746 (2026-08-03) and 6c32dec (2026-08-30), and HEAD has not moved since — there is no window in which “yesterday’s fixes” could have landed. A verification step that reports the desired state instead of the observed state is strictly more dangerous than one that reports nothing, because the ✅ retires the ⚠️ that was accumulating evidence.
Correcting the agent’s own root-cause. #164 attributes the recurrence to the caller workflow: “the harness step that turns this run’s working-tree diff into a commit/PR is not actually running.” That is half right — fro-bot.yaml’s job has exactly four steps (checkout → setup-bun → bun install → Run Fro Bot) and no commit, push, or PR step, with permissions: contents: read at workflow level. But the agent holds FRO_BOT_PAT and is expected to deliver via gh itself. The actual blocker is in the prompt, and it is checkable:
- Category 4 (DOCS DRIFT) instructs: “Fix small, unambiguous drift directly on a PR branch.”
- HARD BOUNDARIES states: “Never push directly to main. Direct pushes are allowed only to an existing non-default PR branch you are repairing under category 1 or 2.”
Category 4 has no whitelisted delivery path. The boundary section and the category section disagree, and a well-behaved agent resolves in favor of the boundary — so it edits the working tree, finds no permitted way to ship it, and the checkout is discarded at job end. The prompt structurally forbids the delivery it asks for. This is the same class as the marcusrbrown—marcusrbrown-com “autoheal loop is open at the merge step,” one step earlier in the pipeline, and it contrasts with marcusrbrown—dev-like, where the null verdict is explicitly granted so the agent reports honestly instead of claiming a phantom fix. Generalized in github-actions-ci.
Smallest safe repair, in order of leverage: (1) extend the HARD BOUNDARIES whitelist to cover category 4 branch creation, or add an explicit “open a PR from a new branch” clause; (2) make the Docs Drift verdict cite a PR URL or a commit SHA — an unciteable ✅ should not be representable; (3) have the run compare against origin/main rather than the working tree it just edited.
One Action, Two Majors (2026-09-04 — new)
actions/checkout is pinned at two different majors in the same repository, and Renovate is faithfully maintaining both:
| Workflow | Pin |
|---|---|
ci.yaml | d23441a4… # v6.1.0 → update available: v7.0.1 |
release.yaml | d23441a4… # v6.1.0 → update available: v7.0.1 |
fro-bot.yaml | d23441a4… # v6.1.0 → update available: v7.0.1 |
codeql-analysis.yaml | 3d3c42e5… # v7.0.1 |
scorecard.yaml | 3d3c42e5… # v7.0.1 |
PR #118’s body lists actions/checkout twice — v7.0.0 → v7.0.1 and v6.0.3 → v6.1.0 — in one table, and the Dependency Dashboard’s “Detected Dependencies” section enumerates each call site separately. Renovate is not confused; it is correct. A SHA pin with a # vX.Y.Z comment makes the comment the currentValue, so each call site is its own dependency instance with its own version line. Nothing in the model says two instances of the same action should agree, and no lint in this repo compares them.
The v6 → v7 reconciliation exists — it is parked in the Dependency Dashboard’s Pending Approval section as renovate/major-github-actions (bundling actions/checkout, actions/setup-node, changesets/action majors), an unchecked box. The likely origin of the split is template provenance: codeql-analysis.yaml and scorecard.yaml are upstream-template-shaped files that arrived carrying v7, while ci/release/fro-bot are in-repo authored and stayed on v6. This is the same family as the mis-pathed uses: case in marcusrbrown—esphome-life — SHA pinning validates the ref, not the coherence of the fleet of refs. Generalized in github-actions-ci.
Grouping Defeats the Automerge Carve-Out (2026-09-04 — new)
.github/renovate.json5 ends with a deliberate exemption:
{
description: 'Never automerge GitHub Actions version bumps',
matchManagers: ['github-actions'],
matchPackageNames: ['!fro-bot/agent'],
automerge: false,
}The intent is legible: human review for third-party Actions, hands-free for the first-party agent pin. It has not worked once. The org preset (extends: ['github>fro-bot/.github']) groups all github-actions updates onto a single renovate/github-actions branch, so fro-bot/agent rides in a PR whose other members are explicitly non-automergeable. Automerge is a property of the PR, not of a package inside it, and the union resolves to the most restrictive member.
Observed cost:
- PR #118 was open 41 days (created 2026-07-20, merged 2026-08-30) carrying one commit and five files. During that time Renovate kept rebasing it, so the merged content bore no resemblance to the opened content: the agent pin landed as a single v0.93.1 → v0.106.0 jump, ~13 minors at once.
- It merged out of order — #118 landed 27 days after the higher-numbered #128 — which is the visible fingerprint of a long-parked branch.
- The next agent bump (v0.107.1) is now in the dashboard’s Rate-Limited section on the same
renovate/github-actionsbranch, behind aprConcurrentLimitconsumed by five stalled PRs that have nothing to do with it.
So the one dependency the repo declared safe to land automatically is the one most reliably blocked, first by a grouping it does not control and then by a concurrency cap it does not contend for. Fix is one line: separateMajorMinor/group override, or a matchPackageNames: ['fro-bot/agent'] rule with its own groupName so the carve-out gets its own branch. Generalized in github-actions-ci; compare the fixed 5-PR window over a deep backlog in bfra-me—ha-addon-repository.
A Failing Dependency PR With No Owner (2026-09-04 — new)
**PR 72 (chore(dev): update dependency @biomejs/biome to v2.5.11) has been open since 2026-07-11 — 55 days — with Check failing the whole time. Checks on its head SHA: Check ❌, CodeQL ✅, Analyze ✅, Renovate / Renovate ✅, Renovate ⏭️, Fro Bot ⏭️ skipped.
Three mechanisms hold it in place, and each is individually defensible:
- The autoheal will not touch it. Category 1 (ERRORED PRs) says “Skip dependency/security PRs here (handle in category 2)”; category 2 covers security PRs only. A failing non-security dependency PR is named by neither. #164 declines it explicitly, citing DEPENDENCY OWNERSHIP: “Renovate owns routine bumps.”
- Renovate cannot repair it.
renovate.json5setsskipArtifactsUpdate: truefor thebun/npmmanagers — a documented workaround, becausebfra-me/renovate-actionruns withRENOVATE_BINARY_SOURCE=installand the built-in artifact path’sinstall-tool bun <ver>fails in that environment. Lockfile regeneration is delegated topostUpgradeTasks: ['bun install', 'bun run fix', 'bun run build']. When that fallback fails,bun.lockis stale,bun install --frozen-lockfilefails, andCheckgoes red — which is exactly the pair of failures #164 reports (Checkandrenovate/artifacts). - The required
Fro Botcheck skips on bot-authored PRs. The workflow’sif:excludes[bot]authors, and.github/settings.ymllistsFro Botas a required context. A skipped required check counts as satisfied, so the review gate is structurally unevaluable on precisely the PRs that make up 100% of this repo’s queue — the same shape recorded for bfra-me—ha-addon-repository.
The net is a jurisdictional gap: the agent defers to Renovate, Renovate’s repair path is disabled by config, the review gate cannot fire, and no human has looked in 55 days. Nothing is broken; nothing is anyone’s job.
CORRECTION — The Delivery Blocker Is the Harness Contract, Not the Prompt (2026-09-19)
The 2026-09-04 section above diagnosed the undelivered docs fix as a prompt defect: category 4 asks for a PR branch, HARD BOUNDARIES whitelists direct pushes only for categories 1–2, so no permitted path exists. That reading was superseded within 24 hours of being written, by the agent itself.
Every daily report from #166 (2026-09-05) onward carries an explicit delivery note. Verbatim from three of them:
| Issue | Date | Delivery note |
|---|---|---|
| #166 | 2026-09-05 | ”this run operates in working-dir mode (no branch/PR creation permitted), so this fix … lands in the same working-tree” |
| #179 | 2026-09-15 | ”this run’s Delivery Mode is working-dir (schedule trigger) — all fixes were written directly to the working tree for the caller workflow to diff/commit/push/PR” |
| #183 | 2026-09-19 | ”no branch/commit/push/PR was performed by this agent. The caller workflow owns diffing, committing, and opening the PR for these changes.” |
So the operative mechanism is the harness’s working-dir delivery contract: the agent is instructed that delivery belongs to the caller workflow, and fro-bot.yaml still ends at Run Fro Bot — four steps, no commit, no push, no gh pr create, no output-mode input. This is the same shape recorded at marcusrbrown—tokentoilet (a fully-permissioned daemon whose output channel was cut when the harness moved delivery to the caller) and the class generalized in github-actions-ci.
The prompt’s category-4/boundary conflict is still present and still worth fixing, but it is not load-bearing — widening the whitelist would change nothing while the run is under a working-dir contract. Recording both readings: the 2026-09-04 diagnosis was a correct observation of the prompt and a wrong attribution of cause. The generalizable lesson is narrow and useful: when an agent explains its own inaction, read the delivery-mode note before reading the prompt — the harness contract sits above the prompt in the resolution order, and a boundary clause cannot grant a capability the contract has already withdrawn.
The Gap Now Discards Security Patches, Not Documentation (2026-09-19)
The 2026-09-04 framing — an autoheal loop burning itself on a two-file docs diff — undersold what was at stake. In the fifteen days since, the same discarded-working-tree path has swallowed two rounds of security remediation:
| Issue | Date | Work written to the working tree and lost |
|---|---|---|
| #170 | 2026-09-08 | A bun.lock fix taking bun audit from 19 vulnerabilities → 0 |
| #183 | 2026-09-19 | package.json overrides closing three confirmed HIGH advisories: fast-uri 3.1.3 → 3.1.8 (6 HIGH, host-confusion/SSRF in ajv’s URI parser), ip-address 10.2.0 → 10.7.2 (1 HIGH, octal/leading-zero parsing), toml 4.1.2 → 4.3.0 (1 HIGH, uncontrolled recursion) |
Both runs verified their own fix (bun install + the full typecheck/lint/build/test gate, green) and both reported ✅/⚠️ in a public issue. package.json at HEAD has no overrides block, and bun.lock is untouched by any commit since 09-05. The repository has neither patch.
This is the part worth carrying to other repos: a delivery gap is usually discovered through its most visible symptom (a docs diff that keeps reappearing), and the symptom is chosen by what the agent happens to find, not by severity. The same broken channel carries whatever the daemon produces. The cost of an undelivered write path is bounded by the most important thing the agent is capable of fixing, not by the thing it fixed yesterday. A monitor that watches only “did the docs drift close?” will report the cheap failure and miss the expensive one.
The report series continues
The docs drift is independently confirmed still present at HEAD 47e32358, not taken on the agent’s word:
README.md’s “Library surface” list (lines 145–150) enumerates/core,/config,/contract,/format,/managed-server,/attach— still no@fro.bot/space-bus/registry, which is a realexportsentry ("./registry" → dist/registry-entry.js).AGENTS.md’s “Project structure” list (lines 7–18) coversindex/tools/core/config/contract/attach/mcp/discovery/server/cli/launchd/service— still nosrc/registry.ts,src/roster-edit.ts,src/registry-entry.ts, and still nosrc/format.ts.- A drift instance nobody has named yet:
README.md:139opens the Library surface section with “the functions the four tools run on.” The four-tool constraint was superseded in 2026-07-18; the repo has shipped six tools for two months, and the README says so correctly seventy lines earlier.
Daily reports ran 08-28 → 09-19 with a single gap (2026-09-12, no issue between #173 and #175), claiming the same fix throughout — at least fifteen consecutive claimed-and-lost applications on top of the eight already recorded. #182 (09-18) is the first to classify it correctly in its own body: “Recurring docs-drift regression (process issue, not a code issue).”
PR #72 Is a Coupled-Constant Defect, Not a Lockfile One (2026-09-19)
Correction. The 2026-09-04 section attributed #72’s permanent red to skipArtifactsUpdate: true leaving bun.lock stale so bun install --frozen-lockfile fails. That was an inference, and it is wrong. The 2026-09-19 report diagnoses it exactly, and the first half is verifiable at HEAD:
// biome.json:2
"$schema": "https://biomejs.dev/schemas/2.5.2/schema.json"@biomejs/biome is a devDependency pinned to 2.5.2. The schema URL encodes the same version a second time, in a place no Renovate manager can see — it is a string inside a JSON config, not a dependency declaration. So every Biome bump Renovate opens is red the moment it lands: the CLI validates biome.json against a $schema naming a different release. Second cause, also real: a genuine new lint/correctness/noUnsafeOptionalChaining finding at src/contract.test.ts:125, introduced by a rule Biome added between 2.5.2 and 2.5.13.
Both fixes belong on main, not on the Renovate branch — bump the $schema URL and fix the lint site, and #72 goes green on its next rebase without anyone touching it. Which is why it has sat for 70 days: the repair is outside the branch that is failing, and no category in the autoheal prompt owns “fix main so a dependency PR can pass.”
This is the same class as the repology Alpine-branch footgun in docker-containers — a constant duplicated across two files that no tool links — and the second fleet instance of the specific Biome variant after marcusrbrown—opencode-copilot-delegate’s $schema-versus-CLI chase (#302 → #332 → #377). There the chase was noisy but self-clearing; here it has frozen a PR for ten weeks. Whether it self-clears depends entirely on whether anything else forces a main commit.
Immune by Lag: How a Stale Pin Skipped the tar Incident (2026-09-19)
The 2026-09-04 survey flagged bfra-me/.github at v4.16.44 against a fleet at v4.24.0 as maintenance debt — “a lag, not the marcusrbrown—esphome-life mis-path defect.” It was also, for one day, a quarantine.
On 2026-09-04 upstream v4.25.0 shipped bfra-me/renovate-action 10.34.0, whose bundle left tar a devDependency; Renovate exited before servicing any dependency in every repo that ingested it (marcusrbrown—github, bfra-me—works, marcusrbrown—esphome-life, bfra-me—renovate-action). space-bus’s pin never moved during the window — PR #158 was open from 08-30 and merged 2026-09-14, and the diff it landed is v4.16.44 → v4.29.0 in one hop, stepping over v4.25.0 entirely. Corroborating: Renovate here automerged #115 at 09-05T07:52, hours after the fleet-wide outage ended and on a pin that was never poisoned.
Stated precisely, because it is easy to over-read: during an upstream defect window, pin lag is isolation. It is not a control — nobody chose it, it protects against nothing in particular, and the same lag would have delayed the antidote had the poison landed first (which is exactly what cost marcusrbrown—github its 6h28m inert window). The honest framing is that a fleet-wide “everyone on the newest tag” posture concentrates correlated risk, and the repos that carried debt were the repos that did not need a manual sweep. Generalized in github-actions-ci.
Grouped Renovate PRs Land Content Their Titles Do Not Name (2026-09-19)
The 2026-09-04 page recorded PR #118 as a one-off: open 41 days, rebased throughout, merged carrying v0.93.1 → v0.106.0 under a title naming neither endpoint. It is not a one-off — it is a property of this repo’s grouped branches, now with three instances:
| PR | Title | What actually landed |
|---|---|---|
| #118 | chore(deps): update GitHub Actions | agent v0.93.1 → v0.106.0 (~13 minors) + 4 other pins, after 41 days open |
| #115 | build(dev): update dependency @opencode-ai/plugin to v1.18.3 | @opencode-ai/plugin 1.18.2 → 1.18.26 (23 patch releases), after ~47 days open |
| #167 | chore(deps): update fro-bot/agent to v0.108.1 | agent v0.106.0 → v0.112.0 plus four github/codeql-action SHA bumps v4.37.9 → v4.38.0 |
The mechanism is ordinary — Renovate writes the title when it opens the branch and rebases the content without rewriting the title — but the consequence is specific and worth stating: on a repo with a long merge queue, a Renovate PR title is a record of when the branch was created, not of what it delivers. Any audit, changelog, or wiki survey that reads merged-PR titles as a version ledger will be wrong by however long the queue is. Read the merge commit’s diff. Same failure mode as marcusrbrown—sparkle’s autoheal PR whose title went stale when the daemon widened its own override mid-flight; there the drift was authored, here it is emergent.
The dev-pin case is the one with teeth. @opencode-ai/plugin is the dev-pin CI tests against, while the published peerDependencies range promises >=1.17.13 <2. A 23-release jump landing under a title claiming a 1-patch bump means the tested surface moved a long way with no review signal proportional to the move.
Automation Motion Without Repository Motion (2026-09-19)
Three measurements of a daemon fleet running hard over a static tree.
The Fro Bot workflow’s trigger surface is ~83% self-generated. Of the 30 most recent main runs: 25 skipped (15 issues, 10 issue_comment) and 5 schedule success. The skipped events are the agent’s own artifacts — it opens a daily report issue (issues), then posts closing comments on the prior ones (issue_comment), each of which fires a run that the [bot]-author guard immediately skips. 1,159 run numbers, 548 runs on main. Fourth instance of the no-op run storm after marcusrbrown—tokentoilet, bfra-me—ha-addon-repository, and marcusrbrown—dotfiles — and the first where the noise is strictly self-inflicted rather than incidental bot traffic.
The Renovate workflow fires in near-simultaneous pairs. 1,813 runs on a repo 78 days old (~23/day), and the recent ones arrive two at a time: 1813/1812 9 s apart, 1811/1810 13 s apart, 1808/1807 12 s apart — every pair workflow_dispatch, actor fro-bot[bot], both success, each 75–110 s. renovate.yaml has no schedule: of its own (triggers: issues:edited, pull_request:edited, push on non-main, workflow_dispatch, workflow_run on Release), so every periodic pass is an externally originated dispatch — the same coupling recorded at bfra-me—works. Stating the limit: the source of the second dispatch is not established from public data. What is established is that two full Renovate passes run concurrently against the same branches and the same Dependency Dashboard, roughly a dozen times a day. That is a race, not just waste.
Dependabot cannot see bun.lock. Per #183: 0 open Dependabot alerts (feature enabled, queried via API) against 22 OSV advisories that the Scorecard code-scanning path finds reachable through transitive deps of @modelcontextprotocol/sdk and @changesets/cli. Renovate’s own Vulnerabilities dashboard section likewise reports “has not found any CVEs on osv.dev.” Three vulnerability surfaces disagree on the same tree, and the one wired to alerting is the one reporting zero. Agent-reported, not independently verified here (alert APIs need auth) — but the structural claim is checkable and matters for every Bun-toolchain repo in the fleet: a green Dependabot on a bun.lock repo is an absence of coverage, not an absence of findings.
Carried Forward Unchanged (2026-09-19)
Re-verified against the Dependency Dashboard (#6, updated 2026-09-18) and the workflow files at HEAD:
actions/checkoutis still split across two majors —v6.1.0(d23441a4…) inci/release/fro-bot,v7.0.1(3d3c42e5…) incodeql-analysis/scorecard. Fifteen more days, no motion. The reconciliation is still the same unchecked box under Pending Approval (renovate/major-github-actions, bundlingactions/checkout,actions/setup-nodev7,changesets/actionv2).- The
fro-bot/agentautomerge carve-out is still inert — third consecutive confirmation. v0.112.0 landed grouped with fourgithub/codeql-actionbumps (#167), and the next one (v0.113.2) is back under Rate-Limited onrenovate/github-actions, again grouped withgithub/codeql-action. ThematchPackageNames: ['!fro-bot/agent'] + automerge: falserule has never once produced a hands-free agent bump. - Pending Approval is the real backlog —
npmv12, the GitHub Actions majors,@changesets/cliv3,typescriptv7. Four majors invisible to any audit that counts open PRs. bfra-me/.githublag closed — v4.16.44 → v4.29.0 (see the immune-by-lag section); v4.30.0 now rate-limited. The prior “6 minor series behind” thread is resolved.- Probot Settings unchanged —
mainrequiresAnalyze/CodeQL/Check/Fro Bot/Renovate / Renovate,enforce_admins: true, linear history, 1 code-owner review withrequire_last_push_approval: true. The requiredFro Botcontext still skips on bot-authored PRs, so the review gate remains structurally unevaluable on 100% of this repo’s open queue. - Default-branch health is genuinely green —
Checksucceeded on all 30 most recentmainruns. The freeze is not hiding a broken build.
Security Posture
- Localhost only. Roster
server.baseUrlmust resolve to127.0.0.1/::1/localhost; non-local hosts are refused so bus credentials never leave the machine. The guard travels with the discovery handshake (an attached endpoint is re-validated as loopback regardless of source) and with theBusContext(re-checked at core’s single validation gate per call). - HTTP Basic auth injected per-request from
OPENCODE_SERVER_PASSWORD(usernameopencode, orOPENCODE_SERVER_USERNAMEoverride) when set. - Managed-server secrets: each spawn gets a freshly generated password — never reused, never in argv, never logged; the discovery file is written
0600. A launchd log-symlink TOCTOU was found and fixed (documented underdocs/solutions/security-issues/). Same-user process compromise is explicitly out of scope. - MCP attach-only by default —
mcp.tsnever callsensureServerunlessSPACE_BUS_MCP_SPAWNis set. Stdio discipline: stdout carries protocol frames only, all diagnostics to stderr. - Zero telemetry / no off-machine calls from the plugin or MCP facade at runtime — aligned with Marcus’s no-unconsented-telemetry baseline.
- Delegation boundary (per
AGENTS.md): the control agent’s only write path into sibling projects isbus_task. It never edits, runs shell against, or commits to sibling directories directly. On task failure or missing target, it reports the error verbatim and stops — no silent retry. - Core never throws across the boundary:
core.tsreturns discriminated unions ({ok:true}|{ok:false,error}); errors never carry theBusContextobject (credentials stay unprintable). Adapters convertok:falseto a thrown error (plugin) or anisErrorcontent block (MCP).
Dependencies (2026-07-18, package.json at 8e20e01)
| Package | Version | Kind | Purpose |
|---|---|---|---|
@modelcontextprotocol/sdk | 1.29.0 | dep | stdio MCP server for the Claude Desktop facade |
zod | ^4.4.3 | dep | Manifest + API-response + discovery-file boundary parsing (bumped v3 → v4 since MVP) |
@opencode-ai/plugin | >=1.17.13 <2 | peer | Plugin tool() API — a peerDependency (published-plugin shape); dev-pin advanced 1.17.18 → 1.18.2 (2026-08-04) |
@biomejs/biome | 2.5.2 | dev | Lint + format (biome check) — replaced the MVP’s undocumented lint |
@changesets/cli | 2.31.1 | dev | Versioning + npm publish pipeline (2.31.0 → 2.31.1, #108) |
@types/bun | 1.3.14 | dev | Bun runtime types |
typescript | 5.9.3 | dev | Typecheck + .d.ts emit |
2026-09-04 re-confirmation: package.json and bun.lock are byte-identical to fd8a746, so every row above still holds verbatim at HEAD 6c32dec — @modelcontextprotocol/sdk 1.29.0, zod ^4.4.3, @opencode-ai/plugin peer >=1.17.13 <2 with dev-pin 1.18.2, Biome 2.5.2, @changesets/cli 2.31.1, @types/bun 1.3.14, TypeScript 5.9.3. Every one of them now has an update queued and unmerged: Biome → 2.5.11 (PR #72, red 55 days), @opencode-ai/plugin → 1.18.25 (#115), MCP SDK → 1.30.0 (#130), and @types/bun → 1.4.0 rate-limited, with @changesets/cli v3 and typescript v7 majors sitting in Pending Approval. The dev-pin matters more than the others: the dev-pin is what CI tests against while the published peer range promises >=1.17.13 <2, so a frozen dev-pin quietly widens the gap between the tested surface and the promised one — 23 patch releases of drift as of this survey.
2026-09-19 re-confirmation: package.json moved exactly one line since 6c32dec — @opencode-ai/plugin dev-pin 1.18.2 → 1.18.26 (#115, merged 09-05 under a title naming v1.18.3). Everything else is unchanged: @modelcontextprotocol/sdk 1.29.0, zod ^4.4.3, peer >=1.17.13 <2, @biomejs/biome 2.5.2, @changesets/cli 2.31.1, @types/bun 1.3.14, typescript 5.9.3. The dev-pin gap the prior survey flagged (23 patch releases of drift between the tested surface and the promised peer range) closed and immediately reopened — 1.18.31 is now queued in #177. Still no overrides block, despite two daily runs authoring one (see the discarded-security-patches section). Queued and unmerged at this survey: Biome → 2.5.13 (#72, red 70 days), @opencode-ai/plugin → 1.18.31 (#177), MCP SDK → 1.30.0 (#130, 51 days), @types/bun → 1.4.2 (#178), npm → 11.19.1 (#135, 47 days); @changesets/cli v3, typescript v7, and npm v12 parked in Pending Approval.
Notable shifts since MVP: @opencode-ai/sdk is no longer a direct dependency (the bus hits the server API via typed fetch against its own contract.ts zod schemas); @opencode-ai/plugin moved from a pinned dep to a >=1.17.13 <2 peer (dev-pinned 1.17.18, still lockstep with the CLI — upgrade both together); zod crossed v3 → v4. The “no other dependencies without approval” MVP constraint has relaxed as the plugin took on packaging (changesets) and lint (Biome) tooling.
Build Phases (from HANDOFF.md — historical MVP record, 2026-07-03)
The original MVP was built in three verified phases (HANDOFF.md no longer present at the 2026-07-18 HEAD; retained here for provenance). The .opencode/tools/ adapters below have since been replaced by the published-plugin src/index.ts + src/tools/ layout, and the tool count grew from four to six (see above):
- Phase 0 — Spike (
scripts/smoke.ts): prove cross-directory session creation, per-directory instance isolation (each session picks up its repo’s own config/AGENTS.md), async prompt, and result retrieval against a live server. If isolation had failed, the fallback (N servers,{baseUrl, directory}per project) would have changed Phase 1’s shape. - Phase 1 — Bus core + tools:
src/core.ts(roster(),dispatch(),status(),result()with discriminated-union results, parse-don’t-validate at the API boundary via zod schemas derived fromGET /doc) + the four.opencode/tools/adapters. R5 contract: the session ID is returned before the delegated session finishes. - Phase 2 — MCP facade:
src/mcp.tsregisters the same four tools over stdio; verified via@modelcontextprotocol/inspector.
Claude Desktop Integration (2026-07-18)
src/mcp.ts registers as a stdio MCP server, now published as the space-bus-mcp bin, so the config runs the published package via bunx instead of a source path. opencode serve/harness serve must already be running on the roster’s baseUrl:
{
"mcpServers": {
"space-bus": {
"command": "bunx",
"args": ["--package=@fro.bot/space-bus", "space-bus-mcp"],
"env": { "SPACE_BUS_CONFIG": "/absolute/path/to/spacebus.json" }
}
}
}Fro Bot Workflow + CI (2026-07-18 — RESOLVED; was Absent at 2026-07-03)
The 2026-07-03 “no automation” gap is closed — the meta-irony (an agent-coordination surface not wired into the fleet’s own automation) is retired. The repo now carries a full .github/ automation suite:
fro-bot.yaml— self-hosted Fro Bot workflow consumingfro-bot/agent(SHA-pinned; agent pin advanced v0.88.0 → v0.93.1 → v0.106.0, SHAeeb3dbdas of 2026-09-04, landed in one 41-day-old PR — see the grouping section above), the consolidated three-mode shape (PR review / daily schedule oversight+autoheal at0 0 * * */workflow_dispatch). Reusable-workflow basebfra-me/.githubat v4.16.44 in bothrenovate.yamlandupdate-repo-settings.yaml— correctly pathed (unlike marcusrbrown—esphome-life’s mis-pathed settings-syncuses:) but 6 minor series behind the fleet’s v4.24.0; PR #158 has that bump open since 2026-08-30. PR-head-SHA concurrency keying, bot/fork guards,FRO_BOT_PAT. The PR-review prompt is space-bus-specific (six-tool contract fidelity, two-surface parity, localhost guard, never-process.cwd(), MCP stdio discipline, discriminated-union boundary, changeset hygiene). The daily prompt maintains one perpetual “Daily Fro Bot Report” issue.- Daily-report closure is title-prefix-matched, on a public repo, with a PAT. The
SCHEDULE_PROMPTinstructs: “CLOSE every older open issue whose title starts withDaily Fro Bot Report —(and any earlierDaily Autohealing Reportvariant).” There is noauthor.logincheck and no body marker — the same unmitigated public-write-surface shape recorded for the control-plane repo on 2026-09-03 and generalized in github-actions-ci (“A Title-Matched Rolling Issue Is a Public Write Surface”). Dated titles are adopted here (the cosmetic third of the bfra-me—works remedy); prefix matching means an attacker does not need to guess the date. 51 closed daily reports confirm the sweep runs every day. - The job has no delivery step. Four steps: checkout → setup-bun →
bun install→Run Fro Bot. No commit, no push, nogh pr create, andpermissions: contents: readat workflow scope. Delivery is entirely the agent’s responsibility viaFRO_BOT_PAT— which is why the prompt’s boundary/category conflict (above) silently voids category 4. ci.yaml—Checkjob: Bun install (frozen) → typecheck → lint → build → Node ESM export-shape smoke (assertsdefaultexport is a function) →bun test.codeql-analysis.yaml+scorecard.yaml— CodeQL + OSSF Scorecard coverage.release.yaml— changesets/action via a GitHub App token; npm OIDC trusted publishing (noNPM_TOKEN), npm upgraded to11.18.0for OIDC,id-token: write.renovate.yaml+update-repo-settings.yaml— self-hosted Renovate + Probot Settings sync..github/settings.yml— Probot Settings inheriting.github:common-settings.yaml(probot-settings); branch protection onmainrequiresAnalyze/CodeQL/Check/Fro Bot/Renovatechecks + 1 code-owner review, linear history, enforce-admins.
2026-09-19 update to this section. Three of the readings above are dated and now superseded in fact, kept here for provenance: the agent pin is v0.112.0 (5494812a, #167, 09-14) not v0.106.0; bfra-me/.github is v4.29.0 (0e881c39, #158, 09-14) not v4.16.44, so the “6 minor series behind” note is resolved; and the job gained a fifth configuration detail without gaining a fifth step. #174 (068a4d47, 09-11, marcusrbrown) added to the checkout step:
persist-credentials: >-
${{ !contains(fromJSON('["pull_request", "issue_comment", "issues"]'), github.event_name) }}Correct hardening — it withholds the FRO_BOT_PAT-backed git credential on exactly the triggers an outside contributor can reach, complementing the existing “never check out PR-head code” comment block. It also inverts the delivery picture in a way worth naming: credentials now persist on schedule and workflow_dispatch, which are the runs that produce fixes. The git-level precondition for delivery exists; the steps that would use it do not. permissions: contents: read at workflow scope and the four-step job (checkout → setup-bun → bun install → Run Fro Bot) are both unchanged, and the agent action still receives no output-mode input.
This makes space-bus a fully self-hosting fleet member — it is now one of its own delegation targets and runs the fleet’s automation over itself.
First Consumer: mothership (observed 2026-07-06)
A downstream consumer surfaced during the 2026-07-06 survey of marcusrbrown—mothership: that repo pins @fro.bot/space-bus 0.7.0 as a production dependency and consumes its /contract + /core library surface for schemas and reads. Mothership is a Tauri v2 desktop “multimodal agentic IDE” — a renderer for the bus that turns a directory-routed opencode serve workspace into a dockview panel layout and exposes that layout as ide_* MCP tools. Where space-bus is the tasking plane (a control agent delegating via bus_* tools) and fro-bot—dashboard is the read-only web observation plane, Mothership is the interactive desktop mission-control cockpit over the same server line.
Contradiction RESOLVED (2026-07-18, package status): the 2026-07-06 mothership survey flagged that this repo’s package was private/0.0.0 at 2026-07-03 while mothership pinned 0.7.0, and asked whether space-bus had been published. Confirmed against space-bus’s own manifest at HEAD 8e20e01: the package IS published — @fro.bot/space-bus is on npm with 20 versions (0.0.0 → 0.13.1), so mothership’s 0.7.0 pin was a mid-journey snapshot (space-bus has since advanced six more minors past it). Publishing is via changesets + npm OIDC trusted publishing. Both prior states remain recorded; the private/unpublished record is the 2026-07-03 state, the published record is 2026-07-18.
Consumer pin update (2026-07-21, from the mothership re-survey): mothership advanced its @fro.bot/space-bus production pin 0.7.0 → 0.14.0 (HEAD e7e305f), and now also consumes the /attach subpath (resolveManagedServer) in addition to /contract + /core. Confirm the current published latest on this repo’s own manifest next space-bus survey.
Published-latest confirmation (2026-08-04, this repo’s manifest): latest is now 0.15.0 (22 versions). Mothership’s last-known pin 0.14.0 is one minor behind — the 0.15.0 message-correlation additions (createDispatchMessageId, messageId on dispatch, DispatchFailure) are strictly additive on the browser-safe /core lane, so a mothership bump to 0.15.0 picks them up without contract breakage. Verify mothership’s pin on its next survey.
Consumer-gap freeze (2026-09-04, npm registry): latest is still 0.15.0, 22 versions, published 2026-07-19T08:38:39Z, registry modified identical — no dist-tag touch, no republish. The marcusrbrown—mothership 2026-08-22 survey recorded the pin held at 0.14.0 with “0.15.0 available but pin held.” That gap is now stable rather than lagging: the producer stopped moving, so a one-minor consumer gap that would normally close itself on the next routine bump has become a fixed offset. Worth noting for the library-surface stability thread — the @experimental caveat on the subpath exports has had 47 days of no change to accumulate confidence, which is not the same as 47 days of validation.
Freeze extended (2026-09-19, npm registry): latest is still 0.15.0, still 22 versions, time.modified still 2026-07-19T08:38:39.752Z. The drought is now 62 days and the consumer offset against marcusrbrown—mothership’s 0.14.0 pin is unchanged — a fixed gap, not a closing one. Re-reading the sentence above after another interval: the @experimental caveat has now had 62 days of no change, and in that time the only code the repository’s own automation tried to write was rejected by its delivery path. Stability by immobility is the weakest kind available, and it is the kind this surface has.
Relationship to the Fro Bot Ecosystem
- marcusrbrown—mothership — the first observed downstream consumer of
@fro.bot/space-bus(mothership pinned 0.7.0 at its 2026-07-06 survey; space-bus is now at 0.13.1). A Tauri v2 desktop IDE that renders the bus: it consumes the browser-safe/contract//core(and now/attach) surface and layers anide_*MCP tool surface for driving its own UI. The0.10.1dist-level browser-safety fix was driven specifically by Mothership’s Vite bundling breaking on the old Node prelude. Complements the space-bus tasking plane and the dashboard observation plane as a third operator surface. - fro-bot—agent — space-bus rides the same OpenCode server line, and its diff-aggregation behavior is gated on
@fro.bot/harnesspatched builds carrying upstream PR #33444. Theagentrepo is a first-class bus target, and space-bus now consumesfro-bot/agent@v0.88.0as its own review/autoheal workflow. - fro-bot—dashboard / marcusrbrown—infra — the other manifest targets. space-bus is the tasking plane; dashboard is the read-only observation plane — complementary operator surfaces.
- marcusrbrown—opencode-copilot-delegate — a sibling delegation pattern: that plugin delegates to Copilot CLI subprocesses; space-bus delegates to sibling-repo OpenCode agents over the server API. Both are “one agent tasks another,” different transports.
- opencode-plugins — space-bus is now a shipped, distributable OpenCode plugin (default-exported factory via the
tool()API): the conversion drafted at MVP has landed. It’s the fleet’s reference example of a plugin with a managed-server lifecycle + CI-enforced browser-safe subpath exports.
Open Threads / To Re-confirm Next Survey
- Resolved 2026-07-18: plugin conversion landed (packaging-move bet held); package published (0.13.1); Fro Bot workflow + CI/CodeQL/Scorecard/Probot Settings present; four→six tools.
- No structural change 2026-08-04: six-tool surface, lane split, managed-server/CLI/launchd, and full automation all durable; the only motion was additive
/coreprimitives + dep bumps +assets/brand tokens. The plugin is in steady-state. - “Steady-state” superseded 2026-09-04 → code freeze. The 2026-08-04 reading was correct as description and too generous as diagnosis. Measured: 5 of 117 blobs changed in 27 days, all action pins;
src/untouched for 47 days; no human commit and no npm release since 2026-07-19; zero pending changesets. Not evidence of a defect, but the automation cannot tell “finished” from “abandoned” and the three findings below are what that costs. - CORRECTED 2026-09-19 — the delivery blocker is the
working-dirharness contract, not the prompt. The agent has said so in every report since #166 (09-05). Re-check next survey whetherfro-bot.yamlgrew the caller half (aResolve delivery modegate +output-modeinput + commit/push/PR steps, per the marcusrbrown—sparkle 2003 shape) or whether the schedule run switched tobranch-pr. The prompt’s category-4/boundary conflict should still be fixed, but fixing it alone will not deliver anything.- RESOLVED 2026-11-23: the schedule run switched to
branch-pr. #265 (merge617cbea, 2026-11-23 01:37 UTC) gave theRun Fro Botstep anoutput-modeexpression:branch-pronschedule, or onworkflow_dispatchwith an empty prompt, and''(unset) on every other event. That is the same condition that picks the autoheal prompt. #272 (c85b49e) followed up so a same-day rerun updates the existing daily report and does not open a second one. Atd65a2ddfthe expression is still infro-bot.yaml, and the first scheduled run after it (45113052564) succeeded. This supersedes the “nooutput-mode” wording in the 2026-11-16 current-state paragraph. The fix matches the one marcusrbrown—opencode-copilot-delegate made in #555. A later survey should check whether the scheduled runs now open PRs.
- RESOLVED 2026-11-23: the schedule run switched to
- NEW 2026-09-19 — the gap is now discarding security patches. Two verified-green remediations written to the working tree and lost:
bun audit19 → 0 (#170, 09-08) andoverridesfor three HIGH advisories (#183, 09-19). Checkpackage.jsonfor anoverridesblock next survey; its absence is the cheapest possible proof the channel is still cut. - NEW 2026-09-19 — PR #72 needs a fix on
main, not on its own branch.biome.json’s$schemapins2.5.2while Renovate bumps the CLI; plus a realnoUnsafeOptionalChainingfinding atsrc/contract.test.ts:125. Track whether either lands. This supersedes the 2026-09-04 stale-bun.lockhypothesis. - NEW 2026-09-19 — Renovate runs in duplicate. Pairs 9–13 s apart, ~23 runs/day,
renovate.yamlhas no cron of its own. Source of the second dispatch unidentified; establish it next survey (aprint-config: truedispatch or the org dispatcher’s own run log should name it). - NEW 2026-09-19 — a new docs-drift instance nobody has flagged:
README.md:139says “the functions the four tools run on” in a six-tool repo. - NEW 2026-09-19 — Dependabot reports 0 alerts while Scorecard’s OSV path finds 22. Structural claim: Dependabot does not parse
bun.lock. Verify with authenticated alert APIs next survey; if it holds, it is a fleet-wide coverage gap for every Bun repo. - RESOLVED 2026-09-19 — the
bfra-me/.githublag. v4.16.44 → v4.29.0 (#158, merged 09-14), stepping over the poisoned v4.25.0. The lag was accidental quarantine during the 09-04tarincident. - NEW — docs-drift autoheal delivers nothing and says otherwise. Eight consecutive daily reports “fixing” the same
/registry+registry.ts/roster-edit.ts/registry-entry.tsdiff; drift independently confirmed present at HEAD; #161 (2026-09-01) reported ✅ “no drift found.” Root cause is the prompt’s HARD BOUNDARIES whitelisting direct pushes only for categories 1–2 while category 4 asks for a PR branch. Re-check next survey whether the boundary clause was widened, whether the Docs Drift verdict now cites a PR/SHA, and whether the two files finally carry the three missing entries. - NEW —
actions/checkoutsplit across majors (v6.1.0 inci/release/fro-bot, v7.0.1 incodeql/scorecard). Reconciliation sits in the Dependency Dashboard’s Pending Approval box (renovate/major-github-actions, also carryingactions/setup-nodev7 andchangesets/actionv2 — the latter is the major that renamed every input in bfra-me—works while CI stayed green). Track whether the approval box is ever checked. - NEW — the
fro-bot/agentautomerge carve-out is inert. Grouping puts it onrenovate/github-actionswith non-automergeable packages (41-day #118, v0.93.1 → v0.106.0 in one jump); v0.107.1 is now rate-limited behind a 5-PR cap. Watch for agroupNameoverride splitting the agent onto its own branch. - NEW — PR #72 (Biome) red for 55 days, owned by nobody: autoheal category 1 excludes dependency PRs, category 2 is security-only, and Renovate’s artifact path is disabled by design (
skipArtifactsUpdate+postUpgradeTasks). Re-check whether the Bun-lockfilepostUpgradeTasksfallback still fails and whether the 5-PR queue drains. - Reusable-workflow pin 6 minor series behind.
bfra-me/.githubat v4.16.44 vs fleet v4.24.0; PR #158 open since 2026-08-30. Bothuses:paths are correct here — this is a lag, not the marcusrbrown—esphome-life mis-path defect. - Title-prefix daily-report closure with a PAT on a public repo — confirmed present in
SCHEDULE_PROMPT, no author check, no body marker. Second fleet instance of the pattern flagged on the control plane 2026-09-03. - Library-surface stability — subpath exports (including the new
messages/questions/answerQuestionand message-correlation additions) are still marked experimental (registry-entry.tscarries the@experimentalbanner). Track whether they stabilize (drop the caveat) and whether any break lands on the browser-safe lane that Mothership depends on. - Managed-daemon / launchd persistence — v1 is macOS-only. Watch for a systemd/Linux equivalent and for the deferred fire-and-forget push-notification follow-on to
bus_wait. @opencode-ai/pluginpeer range (>=1.17.13 <2, dev-pin advanced1.17.18 → 1.18.2) +@fro.bot/harnessalignment — verify the peer range and dev pin stay lockstep as the harness base advances in fro-bot—agent.- zod v4 — confirm no downstream consumer (Mothership) is stranded on zod v3 schemas from
/contract. assets/brand-token system (banner.svg/styleguide.md/tokens.css) — landed 2026-08-04 but no consuming surface observed in-repo (space-bus has no web UI); likely staged for theapply-brandingfleet pattern. Confirm whether it wires into anything or stays dormant next survey.
Survey History
| Date | HEAD | Notes |
|---|---|---|
| 2026-07-03 | ad8eefe | Initial survey. New repo (created 2026-07-03), public, MIT, private-unpublished Bun/TS package. Four-tool workspace agent bus over one directory-routed opencode serve; MCP facade for Claude Desktop; MVP verified (Phases 0–2); plugin conversion drafted. No Fro Bot workflow / no CI / no Probot Settings. |
| 2026-07-06 | (not re-surveyed) | Cross-reference update only, from the marcusrbrown—mothership survey. First downstream consumer observed: mothership pins @fro.bot/space-bus 0.7.0, implying the package went private/unpublished (0.0.0) → published (0.7.0). Package-status shift and current published version to be re-verified against this repo’s own manifest next space-bus survey (see “First Consumer” section). |
| 2026-08-04 | fd8a746 | Re-survey. No structural change — six-tool bus, lane split, managed-server/CLI/launchd, full CI/CodeQL/Scorecard/Renovate/Fro Bot/Probot automation all durable. Additive only: 0.14.0 (#109) explicit session-interaction /core primitives (messages/questions/answerQuestion + opt-in fail-closed dispatch({onPendingQuestion:"blocked"})); 0.15.0 (#113) dispatch message correlation (createDispatchMessageId, optional messageId, typed DispatchFailure not_sent/indeterminate). New assets/ brand-token system; opencode.jsonc loads local dev plugin (#99); build.ts+tsconfig.build.json. Fro Bot agent pin v0.88.0 → v0.93.1; bfra-me/.github → v4.16.44; @opencode-ai/plugin dev-pin 1.17.18 → 1.18.2; @changesets/cli 2.31.0 → 2.31.1. npm 0.13.1 → 0.15.0 (22 versions); tests ~30 → ~40 files (502 passing). Open issues 8 → 9, stars 1. |
| 2026-09-04 | 6c32dec | Re-survey. Code freeze + autoheal false-positive. Tree diff vs fd8a746: 5 of 117 blobs, all .github/workflows/*.yaml action-pin lines (11 add / 11 del); everything else byte-identical. src/ and human authorship both stop at 2026-07-19 (fe0cc42, #113); npm latest still 0.15.0 (published 2026-07-19, registry modified unmoved) = 47-day publish drought; .changeset/ empty. 3 Renovate commits in the window. (1) Daily autoheal has “fixed” the same README /registry + AGENTS.md registry.ts/roster-edit.ts/registry-entry.ts drift on 8 consecutive days (#156→#164) with zero commits — drift independently confirmed at HEAD; #161 (09-01) reported ✅ “no drift found” about a file whose blob has not changed since 08-03. Root cause corrected against the agent’s own hypothesis: category 4 asks for a PR branch, HARD BOUNDARIES whitelists direct pushes only for categories 1–2, so there is no permitted delivery path. (2) actions/checkout pinned at two majors (v6.1.0 in ci/release/fro-bot, v7.0.1 in codeql/scorecard); Renovate treats each SHA pin as its own dependency; reconciliation parked in Pending Approval. (3) The automerge: false … !fro-bot/agent carve-out is defeated by org-preset grouping — PR #118 open 41 days, landing the pin as v0.93.1 → v0.106.0 in one jump and merging out of order (after #128); v0.107.1 now rate-limited behind a 5-PR cap. (4) PR #72 red 55 days with no owner (category 1 excludes dep PRs, category 2 is security-only, Renovate’s artifact path disabled by config, required Fro Bot check skips on bot PRs). bfra-me/.github still v4.16.44 vs fleet v4.24.0. Open PRs 5 (5–55d, all Renovate); open issues 4; 1,007 Fro Bot runs, daily pass green. |
| 2026-09-19 | 47e32358 | Re-survey. Freeze holds at 62 days; the delivery gap escalates; two prior diagnoses corrected. 4 commits / 7 files since 6c32dec — 5 workflow files + package.json/bun.lock for one dev-pin; tree still 117 blobs, src/ untouched since 2026-07-19; npm still 0.15.0/22 versions, modified unmoved ⇒ 62-day publish drought. (1) CORRECTION: the undelivered-fix root cause is the harness’s working-dir delivery contract plus a caller workflow with no commit/PR half (same as marcusrbrown—tokentoilet), stated by the agent itself in every report from #166 (09-05) — one day after the prior survey’s prompt-conflict attribution, which is superseded as cause (the conflict is real but not binding). (2) ESCALATION: the discarded working tree now carries security work — bun audit 19 → 0 (#170, 09-08) and overrides for three HIGH advisories fast-uri/ip-address/toml (#183, 09-19); package.json at HEAD has no overrides block. Docs drift still present at HEAD, plus an unflagged instance (README.md:139 says “four tools” in a six-tool repo); reports ran 08-28 → 09-19 with one gap (09-12). (3) First human commit in 54 days — #174 (068a4d47, 09-11) added conditional persist-credentials to fro-bot.yaml: correct hardening, and it makes credentials persist on exactly the schedule runs that need delivery, so the credential precondition now exists while the delivery step does not (contrast marcusrbrown—sparkle 2003, one gate feeding both halves). (4) CORRECTION: PR #72 (red 70 days) fails on biome.json’s $schema pinned to 2.5.2 — a coupled constant invisible to Renovate — plus a real noUnsafeOptionalChaining finding at src/contract.test.ts:125; the stale-bun.lock hypothesis is withdrawn. Fix belongs on main. (5) Immune by lag: bfra-me/.github v4.16.44 → v4.29.0 in one hop (#158, 09-14), stepping over the poisoned v4.25.0 — this repo never ingested the 09-04 tar defect. (6) Three grouped Renovate PRs landed content their titles do not name (#118, #115 1.18.2 → 1.18.26, #167 v0.106.0 → v0.112.0 + 4 codeql-action pins). (7) Renovate fires in near-simultaneous pairs (9–13 s apart, ~23 runs/day, no local cron; second dispatcher unidentified); Fro Bot’s trigger surface is ~83% self-generated (25 of 30 recent main runs skipped, fired by the agent’s own report issue and closing comments). (8) Dependabot 0 alerts vs 22 OSV advisories via Scorecard — bun.lock coverage gap (agent-reported). Carried unchanged: actions/checkout two-major split, inert agent automerge carve-out (v0.113.2 rate-limited), Probot Settings, Check green on all 30 recent main runs. Agent pin v0.106.0 → v0.112.0. Open issues 4, open PRs 5. |
| 2026-07-18 | 8e20e01 | Full re-survey. MVP → shipped plugin. Package published to npm (0.13.1, 20 versions via changesets + npm OIDC trusted publishing) — resolves the 2026-07-06 private→published contradiction. Four → six tools (bus_wait async-delegation 0.9.0, bus_registry multi-roster 0.13.0); “exactly four” MVP constraint superseded. New: plugin-managed server lifecycle + space-bus CLI + macOS launchd service; CI-enforced browser-safe library surface (7 subpath exports); full Fro Bot workflow (agent v0.88.0) + CI/CodeQL/Scorecard/Renovate/Probot Settings — resolves the “no automation” thread. workspace.json → spacebus.json; .opencode/tools/ → src/index.ts+src/tools/; zod v3 → v4; Biome lint; @opencode-ai/sdk dropped, @opencode-ai/plugin now a peer dep. Stars 0→1, topics set, 8 open issues. |