Repository navigation
Core split milestone 11: the Herdr MCP read moves to the runtime, web install goes async, and remote-target programs get a registry - #137
Merged
Conversation
♻️ Retire the MCP browser-cookie read bridge
📝 Register fixed remote-target programs outside the sync fence
arach
added a commit
that referenced
this pull request
Oct 25, 2026
♻️ Remove apps from public core and retain host pairing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR brings milestone 11 of the fork's
core-splitintegration branch into main. It opens frommilestone/11, a fixed branch atcore-split46430261ff89457c691bfa976daeb28ea9e8350c, socore-splitcan keep moving while this is reviewed. Hosted CI passed on that exact commit: https://github.com/arach/scout/actions/runs/39893792662 ("Typecheck and unit tests", "scoutd verification", and "Dormant extension channel" on macos-14 and ubuntu-24.04).The MCP Herdr workspaces tool reads through the runtime.
herdr_workspaceswas the last production caller of the CLI's web-API bridge, which read the private web origin with a browser cookie or a bootstrap token. It now makes one GET to the local runtime's/v1/terminal-hosts/herdr/workspacesprojection.runtimeRead, the runtime's observation provenance, orreadError, a safe HTTP status and code, never both. The tool's name, inputs and existing fields are unchanged. An older or refusing runtime reads as unavailable. There is no fallback to the web origin.packages/cli/src/cli/web-api.ts), its tests and its temporary private-inventory exception are removed. The inventory's negative list names the retired source. The interface is documented indocs/herdr-workspaces-mcp.md.Web install leaves the synchronous Bun loop.
tarcall to an asynchronous one with the same bounds: a 30 s timeout, the same kill signal, and a 128 KiB output limit. Errors read as before. On Linux, garbage collection during a synchronous child process finalizes stdio against the wrong event loop, so the next stdout write fails (spawnSync: stop pointing the VM at the loop it waits on oven-sh/bun#44581).web.ts / spawnSyncandweb.test.ts / spawnSync, and adds the fixture'sBun.spawnSync. The fixture is test-only; production installation does not use it.Remote-target programs get a registry. The updater's encoded
spawnSyncruns a fixed program on a remote target, which the sync-exec allowlist cannot describe.scripts/remote-target-programs.mdnames that program with a reason and an owner.scripts/remote-target-programs.test.tschecks the registry against the source. An unregistered change to the program or its wrapper fails, and so does a missing, duplicated or renamed entry.test:unit:sourceruns this check first, so the hosted unit job reaches it with no workflow change.Each fork PR merged into
core-spliton its own, with a merge commit, after hosted CI passed on its reviewed head: