orca-ide: init at 1.4.274 #585502
All Vouch review confidence checks passed
Residual risk 0.27 = Change Risk (0.50) × (1 − Review Confidence (0.47)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.50 · 636 lines diff across 7 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.02 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.386
Shallow Review Depth
shallow_review_depth
0.344
Real PR Conversation Timeline
1 comments
"Review active on #585502"
general
weight: 0.35
HigherOrderLogic
Orca is an MIT-licensed IDE for running coding agents in parallel git worktrees. I named it
orca-idebecause that is the name upstream uses on Linux, and GNOME's screen reader already hasorca.This supersedes #556070 by @imcvampire. It builds on that PR, credits them as a co-author and keeps them as a maintainer (happy to drop that if they prefer). It also responds to the review there.
On building from source: I think it is possible, but much harder than for a typical Electron app. The app ships daemon builds for nine platforms, which upstream builds on separate CI runners and checks against a sha256 manifest, and it bundles prebuilt npm binaries. The AUR source build needs a 585-line PKGBUILD, and upstream releases almost every day. So this repackages the upstream
.deb, like other Electron apps in nixpkgs.Orca runs on nixpkgs'
electron_43instead of the Electron that comes in the.deb. Electron setsprocess.resourcesPathandapp.isPackagedfrom the path of its own binary, and Orca uses them in many places, including the Node processes it starts withELECTRON_RUN_AS_NODE. A wrapper aroundelectronwould point all of them at Electron's own folder, so the package copieselectron_43.distwith the binary renamed and Orca'sresourcesinside. The copy is byte-identical to the nixpkgs build, so store optimisation can share it with other Electron 43 apps, and it updates with nixpkgs. It also keeps nixpkgs' EOL marking: with an insecure Electron in its place,orca-iderefuses to evaluate, the same as with a wrapper. Upstream builds and tests Orca with Electron 43, and each Electron major has breaking API changes, soupdate.shswitches the package to the major upstream uses.bin/orca-ideis the CLI, the same as on the.deb, and the GUI starts from the desktop entry. I did not add theNIXOS_OZONE_WLflags, because Electron 38 and later already run natively on Wayland and the flags break the CLI (numtide/llm-agents.nix#11064).The tools Orca runs are on its PATH: Xvfb for headless
orca-ide serve, xdotool and xclip for computer use, xdg-open, and gdbus. Orca starts Xvfb itself, soxvfb-runis not needed. It uses gdbus to find an unlocked keyring on desktops like Hyprland, and without it secrets are stored unencrypted there.orcad-templateis left byte-identical, because Orca checks it against a sha256 manifest before it installs it on SSH hosts. The manifest also coversagent-browser, which the app runs itself. So the copy inresourcesis patched, and SSH deploys use an unpatched copy inlibexec/orca-ide/orcadthroughORCA_ORCAD_TEMPLATE_PATH. Orca's slot builder accepts this layout for all nine targets it supports.The wrapper also sets
ORCA_SERVE_RUNTIME=electron. The default runtime fororca-ide serve, orcad, needs nix-ld for the Node it downloads, and it finds no browser on NixOS. I plan to ask upstream about this, so the default can go away later.The license is
mitplusunfree, because the bundled@anthropic-ai/claude-agent-sdkis proprietary.I tested it on x86_64-linux, and hardware WebGL works. My machine has nix-ld, so I also tested in a bubblewrap sandbox with
/lib64hidden. There the GUI starts on Wayland and X11, andorca-ide servecan open and read a page. I have not tested a full SSH session yet.update.shupdates both Linux hashes, and I left out darwin because I cannot test it.Things done
- [x] x86_64-linux
- [ ] aarch64-linux
- [ ] aarch64-darwin
- [x] Basic functionality of all binary files, usually in
./result/bin/.- [x] Ran
nixpkgs-reviewon this PR. See [nixpkgs-review usage].- [ ] [Package tests] at
passthru.tests.- [ ] [NixOS tests] in [nixos/tests].
- [ ] Tests in [lib/tests] or [pkgs/test] for functions and "core" functionality.
- [ ] Package update: when the change is major or breaking.
- [ ] Module addition: when adding a new NixOS module.
- [ ] Module update: when the change is significant.
Assisted-by: Claude Code (Claude Opus 5.5)
[Package tests]: https://github.com/NixOS/nixpkgs/blob/master/pkgs/README.md#package-tests
[NixOS tests]: https://nixos.org/manual/nixos/unstable/index.html#sec-nixos-tests
[nixpkgs-review usage]: https://github.com/Mic92/nixpkgs-review#usage
[CONTRIBUTING.md]: https://github.com/NixOS/nixpkgs/blob/master/CONTRIBUTING.md
[automation/AI policy]: https://github.com/NixOS/nixpkgs/blob/master/CONTRIBUTING.md#automationai-policy
[lib/tests]: https://github.com/NixOS/nixpkgs/blob/master/lib/tests
[maintainers/README.md]: https://github.com/NixOS/nixpkgs/blob/master/maintainers/README.md
[nixos/tests]: https://github.com/NixOS/nixpkgs/blob/master/nixos/tests
[pkgs/README.md]: https://github.com/NixOS/nixpkgs/blob/master/pkgs/README.md
[pkgs/test]: https://github.com/NixOS/nixpkgs/blob/master/pkgs/test