Skip to content

chore: bump opencode pin to 4b2fc8ae — cascade mcpx gets readOnlyTools parser (#6492) - #6750

Merged
dezren39 merged 1 commit into
mainfrom
queue/6492-opencode-pin
Nov 7, 2026
Merged

dezren39 merged 1 commit into
mainfrom
queue/6492-opencode-pin

Conversation

@dezren39

@dezren39 dezren39 commented Nov 7, 2026 •

Copy link
Copy Markdown
Member

What

Bump the opencode input pin in flake.lock: 08eca393 → 4b2fc8ae. Two lock nodes change (the opencode node and its transitive mcpx-src node, 031cde20 → bcc09015); nothing else.

Why — closes the code#6492 cascade

Fixes #6492. The mcpx daemon a fleet switch runs is the cascade build (openchamber → opencode fork → mcpx-src), not this checkout's build (the package is deliberately unset in home/common/default.nix, code#5027). The old mcpx-src pin 031cde20 predates the ReadOnlyTools parser field, and its config loader decodes each server's mcpx block with DisallowUnknownFields — so the fleet-rendered settings in home/common/mcpx-settings.nix (readOnlyTools on fff, fff-nix, fff-worktree) are refused at load.

Step 1 landed in the fork: developing-today-forks/opencode#1911 bumped mcpx-src to code bcc09015 (descends from 4e6cdb92, PR #6265's merge — the first rev with the field). This PR is step 2: point this repo's opencode pin at the fork rev that carries it (4b2fc8ae, the #1911 merge).

Note on method: a plain nix flake update opencode on the laptop resolved the fork HEAD to a stale rev (81854860, 2026-11-05) from the nix fetcher cache — twice, including with --refresh — while git ls-remote showed HEAD at 4b2fc8ae. The pin was therefore set with nix flake lock --update-input opencode --override-input opencode github:developing-today-forks/opencode/4b2fc8ae…; the lock's original attrs are unchanged (no rev baked into flake.nix).

Verification (laptop)

  • Fork build at the new pin: nix build .#mcpx in developing-today-forks/opencode succeeds → /nix/store/9s20h4jdl7xk646bxppmww5yxwjq678i-mcpx-0.1.0.
  • From this flake at this lock: nix eval .#nixosConfigurations.amd.config.home-manager.users.user.services.mcpx.package.outPath → /nix/store/9s20h4jdl7xk646bxppmww5yxwjq678i-mcpx-0.1.0 — the service package is exactly that verified build.
  • Parse contrast on the live rendered config (/nix/store/ar8zv80nyhfcl6wy8lwb21b5aypv99jp-mcpx-config.json, the file the running daemon was started with):
    • new binary: mcpx --config <rendered> config --sources lists all servers — parses clean;
    • installed old-parser binary, same file: mcpx: parse config …: server "fff": its "mcpx" block has no key "readOnlyTools"; it takes argumentRules, callTimeout, … — the filed failure, reproduced.

dezren39/darwin-nix parity (re-checked at filing and triage): pins the same mcpx-src rev but renders no readOnlyTools, so it is not affected today; no pin change there.


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

…s parser (code#6492)

Bumps the opencode input from 08eca393 to 4b2fc8ae (developing-today-forks/opencode PR #1911, which bumped its mcpx-src pin from code 031cde2 to code bcc0901). The transitive mcpx-src node in this lock moves 031cde2 -> bcc0901 with it; no other lock nodes change.

Why: the cascade mcpx daemon is built from the mcpx-src pin, whose parser at 031cde2 lacks ReadOnlyTools and refuses the fleet-rendered mcpx settings (readOnlyTools on the fff servers) under DisallowUnknownFields. bcc0901 descends from 4e6cdb9 (PR #6265), the first rev with the field. Tracking issue: #6492.

Verified on the laptop: the fork build at the new pin (nix build .#mcpx in the fork) succeeds, and nix eval of this flake's nixosConfigurations.amd home-manager services.mcpx.package resolves to that same build (/nix/store/9s20h4jdl7xk646bxppmww5yxwjq678i-mcpx-0.1.0), whose binary parses the live rendered mcpx config while the old-parser binary refuses it (server "fff": no key "readOnlyTools").
@dezren39
dezren39 requested a review from a team as a code owner November 7, 2026 03:44
@coderabbitai

coderabbitai Bot commented Nov 7, 2026

Copy link
Copy Markdown

Important

Review skipped

Review was skipped due to path filters

⛔ Files ignored due to path filters: 1

  • flake.lock is excluded by !**/*.lock

CodeRabbit blocks several paths by default. You can override this behavior by explicitly including those paths in the path filters. For example, including **/dist/** will override the default block on the dist directory, by removing the pattern from both the lists.

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: cdbae311-2be8-41c9-b273-7e7bd5787b3f

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

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 7, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

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

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-07T03:46:13.240253Z 43514e4 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.

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: cascade binary pin (mcpx-src 031cde20) cannot parse the new readOnlyTools settings — fleet switch feeds an incompatible daemon

1 participant