GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — feat(mcpx): addPackageToProfile option; laptop takes the cascade mcpx (#5027) by developing-today[bot] · Pull Request #5037 · developing-today/code

Conversation

@developing-today

@developing-today developing-today Bot commented Nov 3, 2026 •
edited by blacksmith-sh Bot
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Ruling — Drew, 2026-11-03, superseding the earlier option-B scope for #5027: "no there shouldn't be 2. Just enable openchamber and take that one." One mcpx: the cascade's. This PR is the code-repo step of that fix, at the level the change originates — the mcpx modules live here and pass through opencode → openchamber → this config's pins.

Changes

1. home/common/default.nix — the laptop consumer drops its mcpx pin.
services.mcpx.package = mcpx; (this repo's own pkgs/mcpx build, kept since the hand-rolled unit) is removed. The service now resolves to the cascade default: the fork's packages.<system>.mcpx, via the module wrapper's mkDefault — the same derivation the opencode package's bin/mcpx symlinks to. The daemon runs the one mcpx everything else already links.

  • The mcpx let binding (line 56) stays: the pin was not its last consumer. It is still used by the mcpxKey deploy key, ExecReload, the home.activation.mcpxDeploy handover (mcpx upgrade), and t3's PATH. Those keep driving this repo's build as a CLI while the daemon runs the cascade build — both are mcpx 0.1.0 from this repo's source at different pins. Flagged here rather than silently reworked; repointing the handover machinery is a follow-up decision.
  • home/common/mcpx-settings.nix is untouched: it is pure config data (services.mcpx.settings), rendered by the module for whichever package runs — it applies unchanged to the cascade mcpx.

2. pkgs/mcpx/modules/home-manager.nix — new option services.mcpx.addPackageToProfile (bool, default true, so no existing consumer's behavior changes). It gates the module's home.packages = [ cfg.package ] contribution.

Why the gate is forced, not optional: with the cascade mcpx as cfg.package, the profile would contain the mcpx package (real bin/mcpx) and the opencode package whose bin/mcpx is a symlink to that very build — and pkgs.buildEnv counts the two as conflicting providers of one subpath. Verified in isolation (paths at today's pins):

pkgs.buildEnv error: two given paths contain a conflicting subpath:
  dangling symlink `/nix/store/…-opencode-2.0.30+2d912e0/bin/mcpx' and
  `/nix/store/…-mcpx-0.1.0/bin/mcpx'

So the profile's bin/mcpx must come from the opencode package's link alone, and the mcpx package needs an opt-out. (Under the old pin this same mechanism produced deploy round 2's failure, with the standalone build as the second provider.)

Sequencing — why the consumer does not set the new option in this PR

This config's mcpx module arrives through the pin cascade (openchamber f46050fc → opencode 2d912e02 → its mcpx-src pin of this repo), not from this tree. Setting services.mcpx.addPackageToProfile = false here today fails evaluation — The option 'home-manager.users.user.services.mcpx.addPackageToProfile' does not exist — until the pins move. The follow-up PR that bumps this repo's openchamber pin (after a fork mcpx-src bump and an openchamber opencode bump) adds exactly this line to the same services.mcpx block:

    addPackageToProfile = false;

That line is written and verified against this branch (see Evidence), so the follow-up is mechanical.

Evidence (laptop amd-6, branch off 22892c316; neither file has drifted on main since)

  • Before: services.mcpx.package = /nix/store/01gdkrm9jvgv1vdxfircc3dilpiv34aa-mcpx-0.1.0 (standalone; at the round-2 pin it was n35r5vj8…). Evaluated home.packages held it and b6mr9fv22rzajmpbnrib633945gmc1df-opencode-2.0.30+2d912e0.
  • After this PR (live pins): services.mcpx.package = /nix/store/kjk6k9m89ynxnmidcqclg0mr3alimlp6-mcpx-0.1.0 — the fork build. readlink on the opencode package's bin/mcpx resolves to exactly kjk6k9…/bin/mcpx.
  • Isolated buildEnv over [kjk6…-mcpx, b6mr9f…-opencode] fails with the bin/mcpx conflict quoted above — the opt-out is required.
  • End state (this branch + the addPackageToProfile = false line, with the chain's mcpx-src input overridden to this tree to simulate the cascade): services.mcpx.package = the cascade build (3d05yffv…-mcpx-0.1.0, the fork build of this tree's source); evaluated home.packages (455 entries) contains no mcpx package at all — exactly one bin/mcpx provider remains, the opencode package's link.
  • Generation build with this PR applied (live pins): the bin/mcpx failure is gone from the profile; the build now stops at a separate, pre-existing bin/opencode collision — this file's consumer wrapper (pkgs.writeShellScriptBin "opencode" …) (wrapping inputs.opencode, pin d66c71f5) vs the cascade's opencode package (2d912e02 via openchamber). Both bin/opencode files are distinct real files, and both packages are present in unmodified main's evaluated home.packages, so the collision pre-dates this change; in deploy round 2 it was masked by the bin/mcpx conflict. Filed separately; it is the remaining blocker for the laptop switch, and it is not this PR's to decide (the wrapper carries the consumer's Cloudflare/Jules env injection and model sync).

Refs #5027 — the mcpx half lands here and in the sequenced pin-cascade follow-up.


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

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@developing-today
feat(mcpx): addPackageToProfile option; laptop takes the cascade mcpx (…
d298417
…#5027)

Drew's ruling (2026-11-03): there is one mcpx — the cascade's. The laptop consumer no longer pins services.mcpx.package to this repo's own pkgs/mcpx build; it takes the fork build the module wrapper defaults to, the same derivation the opencode package's bin/mcpx links to.

The mcpx home-manager module gains services.mcpx.addPackageToProfile (default true, so no existing consumer changes): the opencode package and the mcpx package are still two buildEnv providers of bin/mcpx — a real file and a symlink to it — so the profile contribution needs an opt-out. The consumer flips it in the follow-up that bumps the openchamber pin through the cascade; setting it before the option reaches this config via the pins would break evaluation here.
@developing-today
developing-today Bot requested review from a team and dezren39 as code owners November 3, 2026 17:25
@coderabbitai

coderabbitai Bot commented Nov 3, 2026

Copy link
Copy Markdown

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

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: 13be92a6-cf79-4c5a-9a08-67d546b03126

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • 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
  • X
  • Mastodon
  • Reddit
  • LinkedIn

CodeRabbit Verify

  • Run CodeRabbit Verify to test the changes in this pull request.
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

This was referenced Nov 3, 2026
home profile: bin/opencode collision — consumer wrapper vs cascade opencode package blocks the generation build #5038
Closed
home profile: bin/mcpx collision between fork opencode package and standalone mcpx blocks cascade deploy #5027
Closed
@developing-today
developing-today Bot merged commit d51d7be into main Nov 3, 2026
2 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@developing-today
developing-today Bot deleted the mcpx-profile-option branch November 3, 2026 18:30
This was referenced Nov 3, 2026
feat(mcpx): ride cascade pins up; laptop profile takes opencode bin/mcpx #5074
Merged
fix(mcpx): render daemon environment as [Service] Environment= entries #5100
Merged
@dezren39 dezren39 mentioned this pull request Nov 5, 2026
audit: stranded fixes & regression mechanisms — merge drive record (WS-G 2026-11-04) #5880
Closed
@dezren39 dezren39 mentioned this pull request Nov 21, 2026
Closure audit: every closed issue/PR verified; unmerged branches + unpushed worktrees inventoried #7079
Open
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@dezren39 dezren39 Awaiting requested review from dezren39

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

0 participants

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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.