Repository navigation
Sort core's gateway into folders and give providers one way into core - #67
Merged
Merged
Conversation
Moves the 50 files in plugins/multi-core/src/gateway/ into server/, mod/, providers/, direct/, harness/ and util/ (nested-env.ts to launch/), and adds plugins/multi-core/src/kit/ as the only entry providers import core through. No behavior change: path depths in provider.ts and the install copies of executable.ts and process-tree.ts follow the move (uninstall also cleans the old location), Effort moves to messages.ts and nativeSpelling to its own file so the permission hook's kit import stays light. Docs now say a busy harness waits rather than refuses, and the unused HarnessBusyError is removed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01HyhDzVC7X4rmhG5ZBA2i6X
greenpolo
marked this pull request as ready for review
November 28, 2026 18:36
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.
What changes?
This PR only moves files. Nothing about how Multi behaves changes. It follows the layout Gemini 4 Neon proposed in its architecture review.
plugins/multi-core/src/gateway/move intoserver/,mod/,providers/,direct/,harness/andutil/, andnested-env.tsmoves tolaunch/. Files inharness/andmod/drop theirharness-andmod-prefixes.plugins/multi-core/src/kit/:adapter.ts,util.ts,direct.tsandharness.ts. Before this, they imported 31 separate core files by deep paths.kit/adapter.tsre-exports only light runtime code, the permission readers andnativeSpelling. Antigravity's permission hook runs in a fresh process on every agy tool call, so it should not load more than it did before.providers/provider.ts.executable.tsandprocess-tree.ts, which go togateway/util/beside the installed bootstrap. Uninstall removes them there and at the old location.Effortmoves toserver/messages.ts.nativeSpellingmoves toproviders/spelling.ts, so loading it does not trigger the manifest scan inprovider.ts.HarnessBusyErroris removed.docs/claude-mods.mdare updated.CHANGELOG.mdgets an Unreleased entry.Validation
npm run checkpasses locally, in CI on Linux, macOS and Windows, and on the lab PC.loadProviders(), everyplugins/*/srcmodule imports cleanly, and the Antigravity permission hook runs.test:live:installpasses in 65 s: setup, the isolated cache and uninstall, with no inference.test:live:front-doorpasses in 37 s: the front door served Claude and an OpenAI worker.test:live:antigravityfails atnative-antigravity.ts:216: thewrite_to_filecount is 0, expected 1.main(5f8031c) fails at the same line in the same way. The agy turns themselves work: the file was written and read back. The problem is in how the test captures events: its report records only init and result events. So this is not a regression.DEP0190warnings.CHANGELOG.mdand docs are updated.Review notes
uninstall()also cleans up the old../gateway/{executable,process-tree}.ts. Setup writes the new location the next time it runs.test/live/still imports core internals directly by their new paths. Only provider folders go throughkit/.🤖 Generated with Claude Code
https://claude.ai/code/session_01HyhDzVC7X4rmhG5ZBA2i6X