Pair clients, stage instructions, share boot environment - #16
Merged
Conversation
Connect copies the winning instructions.md into a harness envelope and mints a token that MBA stores hashed. Boot then uses that client's environment instead of a hardcoded Copilot/VS Code context, and operators can add a client as a name plus envelope path. Co-authored-by: Cursor <cursoragent@cursor.com>
wrapStagedCard ran /\s+$/ on card file text. Use trimEnd() instead so CodeQL stops treating it as polynomial-time on uncontrolled input. Co-authored-by: Cursor <cursoragent@cursor.com>
SoryAK
added a commit
that referenced
this pull request
Sep 10, 2026
Pair clients, stage instructions, share boot environment
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
mba connectstages the winninginstructions.mdinto a harness envelope and mints a pairing token. MBA stores only a SHA-256 hash; chat through the proxy requires that Bearer once any session exists.mba clients add). MBA does not scan the machine for IDEs.notes.mdnever leaves the store.Test plan
mba connect <id> --harness cursor --project <dir>stages the Cursor envelope, prints a token, andmba statusshows the pairing without the hashmba s boot <id>previewenvmatches that harness (not copilot+vscode unless that was the pairing)mba clients add windsurf --envelope .windsurf/mba.mdthen connect with--harness windsurfwrites that filemba connect --revoke) opens chat again; leftover plaintexttokeninsessions.jsonis hashed on next daemon readnpm test --workspace @mba-ai/core(sandbox may skip the~/.local/bin/llama-serverdefaultBinaryPath case)Made with Cursor