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(opencode): wrap the cascade build in the consumer config by developing-today[bot] · Pull Request #5077 · 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

Implements Drew's ruling on the bin/opencode collision (option A, 2026-11-03). His constraint on the shape, from settling the cascade: "Just enable openchamber and take that one" — so the consumer config keeps services.openchamber.enable = true; untouched and gains exactly one line, services.opencode.package = opencodeWrapped;. No fork changes, no new module options.

Mechanism (home/common/default.nix only)

  • opencodeCascade (new let binding) = inputs.openchamber.inputs.opencode.packages.${system}.opencode — openchamber's nested opencode input, i.e. exactly the derivation services.opencode.package defaults to (the fork's module wrapper mkDefaults the fork flake's own packages.<system>.opencode).
  • opencodeWrapper = the former home.packages entry (writeShellScriptBin "opencode"), moved verbatim — Cloudflare/Jules env top-ups, stamp-gated sync-models kick — with ONE change: it execs ${opencodeCascade}/bin/opencode instead of the root input's build.
  • opencodeWrapped = symlinkJoin over the cascade package, postBuild replacing bin/opencode with the wrapper. The rest of the tree rides along untouched — above all bin/mcpx, the symlink to the cascade mcpx that the home profile: bin/mcpx collision between fork opencode package and standalone mcpx blocks cascade deploy #5027 settlement relies on (the opencode2 alias resolves through bin/opencode as it always did, so it now reaches the wrapper too).
  • The wrapper's home.packages entry is removed (a comment marks the spot). The fork module contributes home.packages = [ cfg.package ], so the wrapped derivation is the profile's one bin/opencode provider.

Base: bca5683bf (main has since advanced by commits that touch nothing under home/common/).

Evidence (at this base; pins: openchamber e1e8bc3d, nested opencode 12acd9f2)

  • No-override eval: services.opencode.package = /nix/store/4n4b0zcik9bfy9xmw07ipja37m1f3rxs-opencode-2.0.30+12acd9f; the nested-input expression evaluates to the identical path.
  • With the override: services.opencode.package = /nix/store/zmh369qk3sg65w0vb6nsb2rg0p1263zs-opencode-2.0.30+12acd9f-wrapped, and the unit's ExecStart is that path + serve --service --hostname 127.0.0.1 --port 13420.
  • Built wrapped tree: bin/opencode is the wrapper script and its exec line is the cascade path above (the no-override default — equality, not approximation); bin/mcpx -> /nix/store/bylp1b5dhw9jh7c1jmwif1gl90648yc0-mcpx-0.1.0/bin/mcpx.
  • home.packages census, before -> after: 456 -> 455 entries; the set difference is exactly {-cascade package, -standalone wrapper, +wrapped}.
  • home.activationPackage builds GREEN, home-manager-path included; the built generation's profile links bin/opencode and bin/mcpx into the wrapped package, and its opencode.service ExecStart is the wrapped path. At this base the chain's services.mcpx.addPackageToProfile = false (PR feat(mcpx): ride cascade pins up; laptop profile takes opencode bin/mcpx #5074) is already in, so this was the last collision in the profile — the generation that died in deploy rounds 1-2 now builds.

Behavior deltas

  • The wrapper's env top-ups now also run on service starts: JULES_API_KEY reaches the server process for the first time (server-spawned mcp.jules children can resolve {env:JULES_API_KEY}); the Cloudflare block is a no-op there (the systemd manager env already sets the token, and the wrapper only fills when unset). The stamp-gated sync kick can likewise fire on a service start — same once-a-day stamp, detached and silenced, as CLI launches today; the daily sync-models timer is unchanged.
  • CLI/service skew eliminated: the CLI was the root input's build (2.0.30+d66c71f) while the service ran the cascade build; both are now the cascade build (2.0.30+12acd9f at these pins).

Closes #5038.


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[bot]
feat(opencode): wrap the cascade build in the consumer config
674f1cb
The consumer takes exactly one opencode: services.opencode.package is the cascade build (openchamber's nested opencode input -- the derivation the module mkDefaults) with Drew's wrapper baked in as bin/opencode via symlinkJoin, so the systemd user service and the home profile share one derivation and bin/mcpx rides along in its tree. The wrapper script is unchanged except its exec target (the cascade build, not the root opencode input -- a second fork build); it leaves home.packages, where it collided with the cascade package on bin/opencode. Drew's ruling, 2026-11-03; code#5038, option A.
@developing-today
developing-today Bot requested review from a team and dezren39 as code owners November 3, 2026 18:58
@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: 5694647c-652a-4d75-a645-03d8d7fe23c7

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.

@developing-today developing-today Bot mentioned this pull request Nov 3, 2026
home profile: bin/opencode collision — consumer wrapper vs cascade opencode package blocks the generation build #5038
Closed
@developing-today
developing-today Bot merged commit 8c06507 into main Nov 3, 2026
1 check passed

Uh oh!

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

@developing-today
developing-today Bot deleted the opencode-wrap-cascade branch November 3, 2026 19:03
@developing-today developing-today Bot mentioned this pull request Nov 3, 2026
mcpx home-manager module renders services.mcpx.environment as a literal [environment] unit section - sd-switch rejects it and activation aborts (cascade deploy round 3 blocker) #5088
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.

home profile: bin/opencode collision — consumer wrapper vs cascade opencode package blocks the generation build

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.