Title: Home-layer eval uses a stale bin/ tree: commandcode-proxy unit 203/EXEC, managed opencode stuck on old rev · Issue #883 · developing-today/code · GitHub
Open Graph Title: Home-layer eval uses a stale bin/ tree: commandcode-proxy unit 203/EXEC, managed opencode stuck on old rev · Issue #883 · developing-today/code
X Title: Home-layer eval uses a stale bin/ tree: commandcode-proxy unit 203/EXEC, managed opencode stuck on old rev · Issue #883 · developing-today/code
Description: Found during the 2026-10-25 NixOS switch (generation 504, built from main @45c817e0). Symptom 1 — declarative commandcode-proxy unit crash-loops (stopped manually after 59 restarts): commandcode-proxy.service: Unable to locate executable...
Open Graph Description: Found during the 2026-10-25 NixOS switch (generation 504, built from main @45c817e0). Symptom 1 — declarative commandcode-proxy unit crash-loops (stopped manually after 59 restarts): commandcode-pr...
X Description: Found during the 2026-10-25 NixOS switch (generation 504, built from main @45c817e0). Symptom 1 — declarative commandcode-proxy unit crash-loops (stopped manually after 59 restarts): commandcode-pr...
Opengraph URL: https://github.com/developing-today/code/issues/883
X: @github
Domain: github.com
IPv4 address: 140.82.112.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Home-layer eval uses a stale bin/ tree: commandcode-proxy unit 203/EXEC, managed opencode stuck on old rev","articleBody":"Found during the 2026-10-25 NixOS switch (generation 504, built from main @45c817e0).\n\n**Symptom 1 — declarative commandcode-proxy unit crash-loops (stopped manually after 59 restarts):**\n```\ncommandcode-proxy.service: Unable to locate executable '/nix/store/3gy9alpqrmkvyvjz8x34fwh1knq3dycl-bin/commandcode-proxy-start.sh': No such file or directory\nMain process exited, status=203/EXEC\n```\nThe `-bin` store copy contains only **16 files** — exactly the bin/ tree of the old main (e18acea8 era). It is missing every bin file added Oct 24–25: commandcode-proxy.mjs/.test.mjs/-start.sh, claude-code-proxy.*, muse-proxy-start.sh, proxy-relay.mjs, proxy-supervise.*. The ExecStart in home/common/default.nix is `${../../bin}/commandcode-proxy-start.sh`, and the file IS in the repo (100755, verified via git ls-tree) and in the flake source export (25 files in bin/).\n\n**Symptom 2 — OpenChamber's managed opencode is still 2.0.30+e7baa0d** after the switch, even after killing it so OpenChamber respawns it (new port, same old store path), while /run/current-system (gen 504) ships 2.0.30+954ff7c.\n\n**Deterministic, not a switch-time race:** building `nixosConfigurations.amd.config.system.build.toplevel` from a clean checkout of current main (and from ~/code) reproduces the running toplevel bit-for-bit (2lrvq0pi…), stale -bin included. So somewhere in the eval graph the home layer (home/common and friends) is sourced from a tree that predates the Oct 24–25 bin additions, even though lib.from-root resolves to inputs.self.outPath and the flake source export itself is complete.\n\n**Impact:** low right now — the proxy-supervisor's transient fps-commandcode-proxy unit serves :18748 (HTTP 200 verified), and the background opencode service (which does serve the new build + the opencode-go-* instances) is unaffected. But the declarative unit cannot take over until this is fixed, and the managed server will not pick up new opencode builds.\n\n**Pointers for whoever digs in:** check how home-manager.users.user is assembled for amd (nixos/hosts/amd-krdp.nix, nixos/home/default.nix) and whether any input or module list pins a second copy of this repo at an old rev; compare `nix flake metadata` source bin/ (25 files) against the -bin path baked into the built unit (16 files).\n\n## Acceptance criteria\n\n- The root cause of the stale home-layer source tree is identified and named (which input/module pins the pre-Oct-24 tree), not just worked around.\n- A clean-checkout build of `nixosConfigurations.amd.config.system.build.toplevel` produces a `-bin` store copy containing the full current `bin/` tree (including commandcode-proxy-start.sh and claude-code-proxy.*).\n- After a switch, the declarative `commandcode-proxy` unit starts without 203/EXEC and serves on its registered port.\n- OpenChamber's managed opencode picks up the current build after a switch/respawn (version/rev matches the system profile).\n","author":{"url":"https://github.com/dezren39","@type":"Person","name":"dezren39"},"datePublished":"2026-10-25T13:35:49Z","url":"https://github.com/developing-today/code/issues/883"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:97af7cc4-3999-9966-42e5-701a7259bdb4 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9A84:8007E:814D38:AAF9EF:6B062F24 |
| html-safe-nonce | 897468080f3dde73ed92ca0dce937bc2a814affce2ddeb00812eb37786293ea5 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QTg0OjgwMDdFOjgxNEQzODpBQUY5RUY6NkIwNjJGMjQiLCJ2aXNpdG9yX2lkIjoiNTQwNTQ0MTcwMDc0NTU4ODUxNiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | dd120e677f12d82c8ac6e8ffa2331c88aa278e1dcc9f371461dc9a67f2464e86 |
| hovercard-subject-tag | issue:6025024571 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/developing-today/code/883/issue_layout |
| twitter:image | https://opengraph.githubassets.com/121654d6828a51e08749f3af0a29336ba714b0c785d70b308dfd8dc90d45e920/developing-today/code/issues/883 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/121654d6828a51e08749f3af0a29336ba714b0c785d70b308dfd8dc90d45e920/developing-today/code/issues/883 |
| og:image:alt | Found during the 2026-10-25 NixOS switch (generation 504, built from main @45c817e0). Symptom 1 — declarative commandcode-proxy unit crash-loops (stopped manually after 59 restarts): commandcode-pr... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | dezren39 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7f961de5dd5c5d4aca24d33f8b3ffb3fb8b2ef53d0a4f32f01f0a790e512f6d3 |
| turbo-cache-control | no-preview |
| go-import | github.com/developing-today/code git https://github.com/developing-today/code.git |
| octolytics-dimension-user_id | 26439447 |
| octolytics-dimension-user_login | developing-today |
| octolytics-dimension-repository_id | 627308783 |
| octolytics-dimension-repository_nwo | developing-today/code |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 627308783 |
| octolytics-dimension-repository_network_root_nwo | developing-today/code |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 494ea0bb1e0feef734a83e2628697647755e8864 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width