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 — home profile: bin/mcpx collision between fork opencode package and standalone mcpx blocks cascade deploy · Issue #5027 · developing-today/code

home profile: bin/mcpx collision between fork opencode package and standalone mcpx blocks cascade deploy #5027

New issue
Copy link
New issue
Copy link
Closed
Closed
home profile: bin/mcpx collision between fork opencode package and standalone mcpx blocks cascade deploy#5027
Copy link
Labels
source/creatorFiled by the new-issue-creator jobtask/triageQueue packet kind: verify, reproduce, and route this item

Description

@developing-today
developing-today
bot
opened on Nov 3, 2026
Issue body actions

Symptom

Laptop cascade deploy round 2 (2026-11-03), worktree at 8912c83 building the Home Manager activation package: the build fails at home-manager-path — a buildEnv collision on bin/mcpx between the two packages in the profile:

  • /nix/store/b6mr9fv22rzajmpbnrib633945gmc1df-opencode-2.0.30+2d912e0/bin/mcpx (fork opencode package)
  • /nix/store/n35r5vj80rpnhszsb8zr5bqmfpy2hisp-mcpx-0.1.0/bin/mcpx (standalone mcpx)

Context

  • The openchamber FOD gate that blocked round 1 is cleared; everything else in the activation realised (31 built / 123 fetched in the round-2 build). This collision is the sole remaining blocker for the cascade deploy.
  • Nothing was switched: Home Manager generation 189 is still current, the pre-deploy state is intact.
  • The deploy retries from the build step once a fix merges (worktree at 8912c83 + post-fix main).

Grounding (source + evaluated, 2026-11-03)

Evaluated for nixosConfigurations.amd.config.home-manager.users.user:

  • services.mcpx.package → mcpx-0.1.0 /nix/store/n35r5vj80rpnhszsb8zr5bqmfpy2hisp-mcpx-0.1.0
  • services.opencode.package → opencode-2.0.30+2d912e0 /nix/store/b6mr9fv22rzajmpbnrib633945gmc1df-opencode-2.0.30+2d912e0
  • home.packages contains both names — exactly the two colliding store paths.

How each package enters the profile:

(a) Standalone mcpx — not listed directly in home/common. The let binding in home/common/default.nix:56:

mcpx = pkgs.callPackage ../../pkgs/mcpx/package.nix { };

is pinned as the service package in home/common/default.nix (services.mcpx, ~line 916-921):

# This repo's own mcpx build — the package the hand-rolled unit
# ran (pkgs/mcpx) — rather than the fork's re-export default.
package = mcpx;

and code's own mcpx home-manager module (pkgs/mcpx/modules/home-manager.nix:32) puts it in the profile under lib.mkIf cfg.enable:

home.packages = [ cfg.package ];

So services.mcpx.package resolves to this repo's standalone pkgs/mcpx build (mcpx-0.1.0), deliberately overriding the fork module wrapper's mkDefault (the fork's packages.<system>.mcpx).

(b) Fork opencode package — arrives only via the service cascade modules. home/common/default.nix imports inputs.openchamber.homeManagerModules.openchamber (re-declared in home/user/default.nix's merge element); openchamber's module (pin f46050fc) imports opencode.homeManagerModules.opencode from its nested opencode pin 2d912e02. The fork's home-manager module (nix/modules/home-manager.nix:40 in developing-today/opencode) does:

{ home.packages = [ cfg.package ]; }

with services.opencode.package defaulted (mkDefault, fork flake.nix opencodeModule wrapper) to the fork's own packages.<system>.opencode. That opencode derivation bundles its own bin/mcpx (the fork's mcpx build is, in the fork flake's words, "the one opencode bundles") — hence the second bin/mcpx in the profile env.

Decision needed

Which bin/mcpx should the home profile expose? Candidates:

  • (A) Standalone mcpx owns bin/mcpx: exclude the fork opencode package's bundled copy from the profile env (e.g. strip/wrap the opencode package as it enters home.packages, or a dedicated profile-facing variant), keeping the standalone in the profile and the service pins as they are.
  • (B) Drop the standalone from home.packages: the fork's bundled mcpx owns PATH. The daemon is unaffected — services.mcpx still pins its own package via services.mcpx.package — but shells/agents resolving bare mcpx would get the fork's bundled build instead of pkgs/mcpx's.
  • (C) Priority-mask one of them (lib.hiPrio / meta.priority): keeps both packages in the profile, hides the duplication behind buildEnv priority. Least structural change; the losing binary is silently shadowed.

This is an open decision — the deploy is blocked on the choice, not on implementation difficulty.

Activity

  1. developing-today
    added
    queue/queuedHas a queued queue task
    source/creatorFiled by the new-issue-creator job
    status/needs-triageNot yet triaged; needs a first look
    task/triageQueue packet kind: verify, reproduce, and route this item
    on Nov 3, 2026
  2. developing-today commented on Nov 3, 2026

    @developing-today
    developing-todayBot
    on Nov 3, 2026 – with developing.today
    ContributorAuthor
    More actions

    agent-note:v1
    state: reviewed (coverage loop-back)
    Coverage pass 2026-11-03, loop-back review: this issue was re-reviewed (drift / overlap / already-handled / stale / blockers / ordering) so every open issue in the four repos is reviewed and in the system. Verdict: still live; in the system as task 8628 (triage, queued, priority 40) in repo-health-code-pilot. Labels audited and synced. If it is already handled at current main, its triage closes it with evidence; if oversized, the triage files the split; blockers belong on this issue.
    Found via: coverage loop-back 2026-11-03

  3. developing-today commented on Nov 3, 2026

    @developing-today
    developing-todayBot
    on Nov 3, 2026 – with developing.today
    ContributorAuthor
    More actions

    Ruling (corrected) + fix in flight. Drew, 2026-11-03 11:07 CST — superseding the earlier option-B scope, which kept two mcpx builds in play (this repo's standalone for the daemon, the fork's for PATH):

    "no there shouldn't be 2. Just enable openchamber and take that one."

    Corrected end state: one mcpx — the cascade's. The laptop consumer drops its services.mcpx.package pin to this repo's own pkgs/mcpx build and takes the fork build the cascade defaults to — at today's pins /nix/store/kjk6k9m89ynxnmidcqclg0mr3alimlp6-mcpx-0.1.0, the same derivation the opencode package's bin/mcpx already links to. The mcpx package's own home.packages entry is then opted out through a new module option, leaving the opencode package's link as the profile's only bin/mcpx provider. The daemon runs services.mcpx.package directly, so it is the cascade build either way.

    Packaging investigation: the fork's packages.mcpx and the copy inside the opencode derivation are the same build — bin/mcpx in the opencode package is a symlink into the mcpx package. That does not let the module's profile contribution coexist: pkgs.buildEnv still counts the package and the link as two providers of bin/mcpx (an isolated buildEnv over just that pair fails with the conflict verbatim). So the gating branch was forced: new option services.mcpx.addPackageToProfile (bool, default true — no other consumer changes) in pkgs/mcpx/modules/home-manager.nix.

    Landed in PR #5037 (opened as the app): the pin removal + the module option, with evaluation evidence — services.mcpx.package: standalone /nix/store/01gdkrm9…-mcpx-0.1.0 before → cascade kjk6k9… after; end-state evaluation (branch + opt-out line, cascade simulated) has no mcpx package in home.packages at all (455 entries, exactly one bin/mcpx provider). The consumer's addPackageToProfile = false line itself follows in the openchamber pin-bump PR: it cannot land earlier without breaking this config's evaluation, because the option reaches this config through the pins (fork mcpx-src bump → openchamber opencode bump → this repo's openchamber bump). The mcpx let binding in home/common/default.nix stays — the pin was not its last consumer (deploy key, ExecReload, mcpxDeploy handover, t3 PATH) — flagged in the PR for a follow-up decision.

    Settings: home/common/mcpx-settings.nix is config-level (pure data, rendered by the module) and applies unchanged to the cascade mcpx.

    Remaining deploy blocker, separate from this issue: a pre-existing bin/opencode collision (consumer writeShellScriptBin "opencode" wrapper vs the cascade's opencode package) that buildEnv had masked behind this one — filed as #5038 with evidence and options. Deploy round 3 needs that decision too.

  4. developing-today
    added a commit that references this issue on Nov 3, 2026

    Merge pull request #5037 from developing-today/mcpx-profile-option

    d51d7be
  5. developing-today commented on Nov 3, 2026

    @developing-today
    developing-todayBot
    on Nov 3, 2026 – with developing.today
    ContributorAuthor
    More actions

    Resolved in configuration by the pin-cascade chain that carries services.mcpx.addPackageToProfile (PR #5037) from code up through the fork and openchamber and back into code's consumer config:

    • developing-today/opencode PR id(world): min_tick_ms (1000) is never enforced — a program can subscribe to time.tick:1 and drive ~1,000 journaled program updates per second #1546 — merged as merge commit 12acd9f27467c0fb5710b821b8c9a368d9c2b503. Bumped only the mcpx-src input: code 282064c5 → d51d7bef. Gate: the fetched pin's pkgs/mcpx/modules/home-manager.nix defines the option (:29) and gates home.packages on it (:47).
    • developing-today/openchamber PR mcpx: Phase 3 of #1481 — validate elicitation form answers against requestedSchema in client.answer #1484 — merged as merge commit e1e8bc3dad8cd444400fbd1f05f4b1af3fbbd28a. Bumped only the opencode input: 2d912e02 → 12acd9f2 (the nested mcpx-src lock node moved with it, 282064c5 → d51d7bef).
    • developing-today/code PR feat(mcpx): ride cascade pins up; laptop profile takes opencode bin/mcpx #5074 — merged as merge commit bca5683bf0d5bc84bf7a5c659080ea855983b8b9. Bumped the openchamber input f46050fc → e1e8bc3d and set services.mcpx.addPackageToProfile = false; in home/common (Drew's ruling, 2026-11-03). One process note: the first lock update silently no-oped on a stale fetcher cache; the cache was moved aside (.bak-20261103-cascade) and the update re-run with --refresh.

    End-state evidence, evaluated and built at the PR #5074 branch head:

    • services.mcpx.addPackageToProfile exists in the option set and evaluates to false.
    • home.packages census for nixosConfigurations.amd's home-manager user: 456 entries, no mcpx package entry at all. (Baseline was 457 with the colliding standalone entry. PR feat(mcpx): addPackageToProfile option; laptop takes the cascade mcpx (#5027) #5037's simulation predicted 455 at its then-current base; code main gained net one profile entry from unrelated merges in between — the invariant that matters holds: zero mcpx entries.)
    • The profile's exactly one bin/mcpx provider is the opencode package's symlink: opencode-2.0.30+12acd9f/bin/mcpx → /nix/store/bylp1b5dhw9jh7c1jmwif1gl90648yc0-mcpx-0.1.0/bin/mcpx.
    • services.mcpx.package resolves to that same cascade derivation, /nix/store/bylp1b5dhw9jh7c1jmwif1gl90648yc0-mcpx-0.1.0 — not the old standalone pin (n35r5vj8…-mcpx-0.1.0). One mcpx build: the daemon runs it and the profile links to it.

    Distinction, stated plainly: the mcpx collision is resolved in configuration, and this issue closes on that. The laptop deploy itself remains gated on the separate bin/opencode collision, tracked as #5038: building home-manager-path at the same head now fails with exactly one conflict —

    pkgs.buildEnv error: two given paths contain a conflicting subpath:
      `/nix/store/g6hvhvzhpl05pcf2nfysvkc2nwmps0m6-opencode/bin/opencode' and
      `/nix/store/4n4b0zcik9bfy9xmw07ipja37m1f3rxs-opencode-2.0.30+12acd9f/bin/opencode'
    

    — and no bin/mcpx conflict. Deploy round 3 waits on #5038, not on anything in this issue.

  6. developing-today
    closed this as completedon Nov 3, 2026
  7. dezren39 commented on Nov 3, 2026

    @dezren39
    dezren39
    on Nov 3, 2026
    Member
    More actions

    🤖 Agent note · done

    • Agent: queue worker (repo-worker-code), lane code-c
    • Session / ID: task 8628
    • Found via: queue claim
    • Task: Triage of issue home profile: bin/mcpx collision between fork opencode package and standalone mcpx blocks cascade deploy #5027 (bin/mcpx home-profile collision) at current main.
    • Expectation: Triage complete when the issue's live state is verified — it is already resolved and closed, so task 8628 completes as already_done.
    • Links: Resolution chain already landed: PR feat(mcpx): addPackageToProfile option; laptop takes the cascade mcpx (#5027) #5037 (option services.mcpx.addPackageToProfile), developing-today/opencode PR id(world): min_tick_ms (1000) is never enforced — a program can subscribe to time.tick:1 and drive ~1,000 journaled program updates per second #1546, developing-today/openchamber PR mcpx: Phase 3 of #1481 — validate elicitation form answers against requestedSchema in client.answer #1484, and PR feat(mcpx): ride cascade pins up; laptop profile takes opencode bin/mcpx #5074 merged as bca5683, which set addPackageToProfile = false in the consumer config; end-state evidence (zero mcpx entries in home.packages, exactly one bin/mcpx provider) is recorded on issue home profile: bin/mcpx collision between fork opencode package and standalone mcpx blocks cascade deploy #5027 in comment 6612592561. The remaining deploy gate is the separate bin/opencode collision, issue home profile: bin/opencode collision — consumer wrapper vs cascade opencode package blocks the generation build #5038 — not part of task 8628.
  8. dezren39
    removed
    status/needs-triageNot yet triaged; needs a first look
    queue/queuedHas a queued queue task
    on Nov 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    source/creatorFiled by the new-issue-creator jobtask/triageQueue packet kind: verify, reproduce, and route this item

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      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.