Skip to content

mcpx: portable fff/codedb entries + daemon PATH for home bins (#864) - #9380

Merged
dezren39 merged 1 commit into
mainfrom
queue/4865-864-mcpx-portable
Nov 13, 2026
Merged

dezren39 merged 1 commit into
mainfrom
queue/4865-864-mcpx-portable

Conversation

@dezren39

@dezren39 dezren39 commented Nov 13, 2026 •

Copy link
Copy Markdown
Member

Fixes #864 (task 4865). Makes the mcpx fff/codedb config portable and gives the persistent mcpx daemon a PATH that resolves the portable names.

Changes

  • .mcpx.json (tracked project config): fff command /home/user/.local/bin/fff-mcp -> bare fff-mcp; fff-nix and fff-worktree removed (their args are machine-specific roots — they belong in user scope, per the mcpx: codedb and fff entries in .mcpx.json still use /home/user absolute paths #864 packet); codedb bridge arg /home/user/git/code/bin/codedb-bridge.mjs -> repo-relative bin/codedb-bridge.mjs. grep count of /home/user in .mcpx.json == 0, JSON re-parsed clean.
  • home/common/mcpx-settings.nix (the daemon's rendered config): all three fff commands -> bare fff-mcp. The fff-nix/fff-worktree entries stay here — this file IS the machine's user-scope config, where those roots are that machine's own choice.
  • home/common/default.nix: mcpx daemon environment PATH (mcpxEnvironment) now appends /home/user/.local/bin:/home/user/bin to the makeBinPath set, so the daemon resolves bare fff-mcp (and codedb in ~/bin). Literal home spelling matches this file's existing convention (it already hardcodes /home/user paths; the module argument set has no homeDir binding).

Packet corrections recorded

The task packet was stale on codedb: on current main codedb is ACTIVE in .mcpx.json (not parked under disabledMcpServers) with command node and the absolute bridge arg — handled above. The daemon's live config is mcpx-settings.nix, not the root .mcpx.json.

Verification

  • grep /home/user .mcpx.json -> 0 matches; JSON parses.
  • Bare-name resolution in a clean env with the new PATH tail: fff-mcp resolves to /home/user/.local/bin/fff-mcp; codedb resolves to /home/user/bin/codedb.
  • nix-instantiate --parse passes on both edited .nix files. (home/common/default.nix was already nixfmt-unformatted on main before this change; left as-is beyond the one-line edit.)
  • Daemon-side effect lands at the next home switch (the mcpx deploy handover hands the daemon over on config+env change); not switched from this lane.

Worktree note

Foreign WIP (pkgs/mcpx prompt-hooks files, not this task) appeared in this worktree's working tree via a shared-stash pop during this shift; it was left untouched and is NOT part of this PR — this PR is exactly commit 3939d82 (3 files).


Autofix with [code]smith
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

@dezren39
dezren39 requested a review from a team as a code owner November 13, 2026 08:25
@coderabbitai

coderabbitai Bot commented Nov 13, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 7 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 946cbcb5-20b7-4947-be97-74a364465813
Commits

Reviewing files that changed from the base of the PR and between 6eb6403 and 3939d82.

Files selected for processing: 3

  • .mcpx.json
  • home/common/default.nix
  • home/common/mcpx-settings.nix
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@chatgpt-codex-connector

Copy link
Copy Markdown
Codex Review Summary: ❌ Failed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ❌ Failed 2026-11-13T08:25:39.154493Z
We couldn’t complete this review. Comment @codex review to try again.
3939d82 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, add credits to your account and enable them for code reviews in your settings.

@dezren39
dezren39 merged commit 6aeef4c into main Nov 13, 2026
1 check passed
@dezren39
dezren39 deleted the queue/4865-864-mcpx-portable branch November 13, 2026 08:30
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.

mcpx: codedb and fff entries in .mcpx.json still use /home/user absolute paths

1 participant