GeezerVison is showing github.com — fix(nix): restore string delimiters on desktop-commander-bridge-start (main-broken #13670) by dezren39 · Pull Request #13699 · developing-today/code
Conversation
dezren39
commented
Nov 23, 2026
•
edited by blacksmith-sh
Bot
Loading
Uh oh!
There was an error while loading. Please reload this page.
Summary
Restore the two '' delimiters around the writeShellScript body for
desktop-commander-bridge-start in home/common/default.nix. #13404
(83fa1a3) added the unit without them, so Nix read the script body as
Nix code and the host evaluation failed.
Service = {
ExecStart = toString (
- pkgs.writeShellScript "desktop-commander-bridge-start"
+ pkgs.writeShellScript "desktop-commander-bridge-start" ''
export PATH="/run/current-system/sw/bin:/run/wrappers/bin:/etc/profiles/per-user/$USER/bin:$HOME/.nix-profile/bin:$PATH"
exec ${supergateway}/bin/supergateway --stdio ${desktop-commander}/bin/desktop-commander --outputTransport streamableHttp --streamableHttpPath /mcp --port 8931 --host 127.0.0.1 --stateful --healthEndpoint /healthz --logFormat json
-
+ ''
);
Notes:
- The sibling
desktop-commander-remote-start (line 1062) already uses
the correct quoting; this makes the two units consistent.
git log -S desktop-commander-bridge-start shows 83fa1a3 as the only
commit that touched this block, and it is an ancestor of the failing
head baeead2.
- Other
writeShellScript blocks in the file are unaffected (checked
by grep).
Evidence
- Before: run https://github.com/developing-today/code/actions/runs/45256874550 —
error: syntax error, unexpected '=', expecting ')' at
home/common/default.nix:1097:22 in the basic: NixOS host evaluation job.
- After:
nix-instantiate --parse home/common/default.nix → exit 0 on
this branch (it failed on main). The basic: NixOS host evaluation job
on this PR runs the same two nix eval --impure .#nixosConfigurations.*.drvPath
commands that failed.
Merge Danger
Door: two-way — reverting restores the broken unit, nothing else reads it.
Blast Radius: the desktop-commander-bridge home service on hosts that
enable it; the fix only restores the string the service was meant to carry.
Fixes #13670
{
"direct_parent": null,
"links": [],
"lineage": {
"design": null,
"roadmap_item": null,
"priority": null
},
"pm_meta": 1,
"provenance": {
"queue_id": null,
"scheduled_start": null,
"picked_up_at": null,
"work_started_at": null,
"created_at": "2026-11-23T20:53:00Z",
"session_id": "ses_e5df5f86445ffeRUq4qYOgnJKk",
"lane": null,
"host": "amd",
"worktree": "/home/user/git/fleet/13670-nix-bridge-20261123T203558Z-3c1d0f46",
"model": null,
"lane_start_issues": [],
"workspace_ref": {
"kind": "worktree",
"id": "/home/user/git/fleet/13670-nix-bridge-20261123T203558Z-3c1d0f46",
"repo": "developing-today/code",
"branch": "lane-code-oc-03/13670-nix-bridge-quote",
"sha": "614fcfd47db2505310b71c588909de5b31f51914"
},
"auth_subject": "oc-code-05",
"stamped_by": "fleet 0.1.0 (native)"
}
}
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.
Summary by CodeRabbit
- Chores
- Updated the desktop service’s startup configuration. Its PATH setup and command remain unchanged, so no changes to its behavior are expected. There are no new features or user-facing changes in this update.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
…tart
83fa1a3 (#13404) dropped the opening and closing '' of the
writeShellScript body for desktop-commander-bridge-start, so the
export line parsed as Nix and the host eval failed at
home/common/default.nix:1097 (syntax error, unexpected '=').
Restore the two delimiters to match desktop-commander-remote-start.
Fixes #13670
coderabbitai
Bot
commented
Nov 23, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
|

No actionable comments were generated in the recent review.
Walkthrough
-
The desktop-commander-bridge startup script is now passed as the second argument to pkgs.writeShellScript. Its PATH setup and supergateway command are unchanged.
Changes: Nix startup script
| Layer / File(s) |
Summary |
Correct script arguments home/common/default.nix |
The startup script body is enclosed as the second argument to pkgs.writeShellScript. Its PATH setup and supergateway command remain unchanged. |
Estimated code review effort: 1 (Trivial) | ~5 minutes
Change: Bug fix · Severity of issue fixed: Medium
Merge Risk: Minimal · up to 614fc
-
This fixes a Nix syntax error in the desktop-commander-bridge startup script that broke host evaluation. The change is small and scoped to hosts that enable the service. No merge-blocking risk is identified.
Pre-merge checks: 4
-
| Check name |
Status |
Explanation |
| Description Check |
 |
Check skipped - CodeRabbit’s high-level summary is enabled. |
| Title check |
 |
The title names the change: it restores the two '' string delimiters around the writeShellScript body for desktop-commander-bridge-start in home/common/default.nix. The raw summary confirms the script… |
| Linked Issues check |
 |
[#13670] requires diagnosing the root cause of the failing basic: NixOS host evaluation job at head baeead2 and delivering the fix in a PR whose description contains Fixes #13670. The PR descripti… |
| Out of Scope Changes check |
 |
The reported change is a two-line quoting fix inside the desktop-commander-bridge-start writeShellScript block in home/common/default.nix, plus removal of trailing whitespace on the adjacent bla… |
Full details: Title check
-
Explanation
The title names the change: it restores the two '' string delimiters around the writeShellScript body for desktop-commander-bridge-start in home/common/default.nix. The raw summary confirms the script is now passed as the second argument to pkgs.writeShellScript, and the objectives describe the same fix for the main-broken evaluation failure tracked in issue #13670. The title is specific and matches the changeset, so it passes.
Full details: Linked Issues check
-
Explanation
[#13670] requires diagnosing the root cause of the failing basic: NixOS host evaluation job at head baeead2 and delivering the fix in a PR whose description contains Fixes #13670. The PR description contains Fixes #13670. The reported error, syntax error, unexpected '=', expecting ')' at home/common/default.nix:1097:22, matches the missing '' delimiters on the pkgs.writeShellScript "desktop-commander-bridge-start" call. Column 22 falls on the = in export PATH=, which supports that diagnosis. The AI-generated summary of the change (+2/-2, script body passed as the second argument to pkgs.writeShellScript) matches the claimed fix. Limits: the whole-PR diff read failed because changed blobs were missing from the checkout, so the added delimiters were not read directly from source. The author-reported nix-instantiate --parse exit 0 and the CI result after the change were not independently run or verified. No automated test was added; the issue's requirement is the evaluation fix itself.
Full details: Out of Scope Changes check
-
Explanation
The reported change is a two-line quoting fix inside the desktop-commander-bridge-start writeShellScript block in home/common/default.nix, plus removal of trailing whitespace on the adjacent blank line. Both changes sit in the block that causes the failing parse. The PR description states that no other writeShellScript blocks change. The whole-PR diff could not be read to confirm that no other hunks exist; this check relies on the PR description and the summary, which report only this block.
Finishing Touches
-
Generate unit tests (beta)
-
- Commit to this branch
- Create a new PR
- 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
-
Recent review info
-
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:
5d03ec8a-3990-4907-8ba0-947130e3cf56
Commits
-
Reviewing files that changed from the base of the PR and between 7e7af3f and 614fcfd.
Files selected for processing: 1
-
Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
AUDIT-7 Lane 1 (PR-SWEEP, tracking #13872): SUPERSEDED by #13716.
Both PRs restore the same missing '' delimiters around the desktop-commander-bridge-start script body in home/common/default.nix for #13670 (+2/-2, same file). #13716 was merged (merge commit bc05c72) — it carries the explicit verification (nix-instantiate --parse home/common/default.nix exits 0). Correct disposition for this PR: CLOSE as superseded by #13716.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This was referenced Nov 24, 2026
|
Closing as superseded under the open-PR clearance programme (#14166).
This PR's fix — restoring the missing '' delimiters in the desktop-commander-bridge-start script — landed via PR #13716 ("fix(nixos): restore missing '' delimiters in desktop-commander-bridge-start script"), merged 2026-11-24T00:12:24Z. Verified by the programme's review lane: same fix, already on main. Nothing unique remains in this PR.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Milestone
No milestone
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.
|