Repository navigation
Fix GBrain portability issues for cross-machine/user compatibility - #4
Merged
Merged
Conversation
- Remove hard-coded /root/.gbrain path from MCP configuration - Use default GBRAIN_HOME resolution for portability across users/machines - Clarify documentation: separate repo-level config from local setup - Update GBRAIN_QUICKSTART.md to include initial gbrain init step - Update GBRAIN_INTEGRATION.md setup status and instructions - Add clear distinction between repository files and user's ~/.gbrain state - Correct step numbering in quick start guide These changes address the portability concerns identified in code review: - MCP config now works for any user, not just root - Documentation no longer conflates local state (~/.gbrain) with repo files - New developers get clear instructions to initialize their own brain locally
6900-sudo
marked this pull request as ready for review
September 23, 2026 04:24
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 addresses portability concerns identified in the GBrain integration code review. The changes ensure the integration works correctly for any user and machine, not just root.
Changes
MCP Configuration Fix
/root/.gbrainpath in.claude/mcp/gbrain.jsonDocumentation Improvements
gbrain initstep as the first stepKey Distinction
The documentation now clearly separates:
.claude/mcp/gbrain.json,docs/GBRAIN_*.md(committed to git)~/.gbrain/directory (initialized on each user's machine)Testing
These changes have been verified to:
Related Issues
Addresses code review feedback from previous GBrain integration PR regarding hard-coded paths and documentation clarity.
🤖 Generated with Claude Code
https://claude.ai/code/session_01V7WwPomB1noJPWBgdQ1Vsg
Generated by Claude Code