Skip to content

A bridge can be asked to share a code graph; cli 0.10.0, bridge-client 0.7.0 - #40

Merged
geastham merged 1 commit into
mainfrom
feat/remote-config
Oct 3, 2026
Merged

geastham merged 1 commit into
mainfrom
feat/remote-config

Conversation

@geastham

@geastham geastham commented Oct 3, 2026

Copy link
Copy Markdown
Owner

The machine half of the hosted MCP server (geastham/devpilot-website#122).

  • BridgeClient.machineCommands() / answerMachineCommand().
  • RemoteConfig in the bridge: polls every 30s, acts on graph.share only with --allow-remote-config (default off; otherwise answers declined if it has the repository), resolves owner/name to a checkout this machine already knows, prefers the default branch, then does what graph enable + graph share --yes do. graph.unshare is honoured without the flag.
  • A machine without the repository does not answer.
  • 11 tests on real git checkouts: declined without the flag, silent without the repo, off-branch failure, malformed repo names and unknown kinds ignored, answer never contains a local path.
  • cli 0.10.0, bridge-client 0.7.0. Core unchanged.

CLI suite: 401 passing. Not yet run against the live hosted route (it ships in the website PR).

🤖 Generated with Claude Code

https://claude.ai/code/session_017SSL9hTgTso8Jgxz4MFvxD

…t 0.7.0

DevPilot's hosted side is now an MCP server, and a member's assistant can ask
for a repository's code graph to be shared. The hosted side has no code, so it
leaves a request naming the repository; this is the machine's half.

The bridge polls for requests and carries one out only when started with
--allow-remote-config (off by default). Without it, a machine that has the
repository answers "declined" and sends nothing. The request names owner/name
only: which checkout is decided here, from ones already shared and directories
agent sessions ran in. A machine without the repository does not answer. The
work is the same as `graph enable` + `graph share --yes`, default-branch rule
included, and lands in the same share file. A request to stop is honoured
without the flag.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017SSL9hTgTso8Jgxz4MFvxD
@qodo-code-review

Copy link
Copy Markdown

Qodo reviews are paused for this user.

Troubleshooting steps vary by plan Learn more →

On a Teams plan?
Reviews resume once this user has a paid seat and their Git account is linked in Qodo.
Link Git account →

Using GitHub Enterprise Server, GitLab Self-Managed, or Bitbucket Data Center?
These require an Enterprise plan - Contact us
Contact us →

@geastham
geastham merged commit 1f9815f into main Oct 3, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant