Provide a native NixOS browser runtime for Vega Hermes #321
Labels
No labels
area:authentication
area:flake-utilities
area:performance
area:tbd
host:chaos
host:cosmos
host:electra
host:fleet
host:lena
host:lyra
host:mass-storage
host:media1
host:nimmog-de
host:nova
host:pangolin
host:pangolin-vps
host:phone
host:router
host:vega
investigation
phase:cutover
phase:deploy
phase:mcp
phase:module
phase:packaging
phase:prep
phase:validation
priority:high
priority:medium
project:attic-postgres-lyra-rollout
project:auto-update-reliability
project:auto-update-remediation
project:declarative-purity-cleanup
project:external-review
project:fleet-boundary-cleanup
project:host-facts-refactor
project:lyra-nixos-deploy
project:lyra-service-stack-migration
project:nebula-mesh-network
project:nix-idioms-hygiene
project:nixos-build-deployment-pipeline
project:security-hardening
project:service-stack-migration
project:vega-sillytavern-cutover
project:wiki-rebuild
repo:numtide/flake-utils
repo:numtide/nix-auth
repo:numtide/nixos-passthru-cache
repo:numtide/nix-relay
service:auto-update
service:gitlab
service:hermes
service:mem0
service:nix
service:sillytavern
service:slskd
service:synthseek
service:tdarr
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
nimmo/nixos-config#321
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Hermes's PM-selected generic Linux agent-browser fails on Vega with the NixOS stub-loader error.
MR #325 /
07c7c05is merged and deployed, but normal gateway acceptance failed: Hermes's browser_exec still selected cached agent-browser 0.26.0. Earlier isolated navigation/snapshot checks omitted gateway startup's sys.path prepend and did not establish daemon acceptance.Confirmed cause: run_gateway prepends the upstream package root to sys.path before browser imports, bypassing the original PYTHONPATH tools-package overlay. The unpatched browser_tool_install then chooses PM's generic binary. The running wrapper already supplies explicit native agent-browser and Chromium paths; clearing caches or adding service PATH entries is not the confirmed repair.
Follow-up branch fix/hermes-browser-entrypoint preserves patched discovery with a targeted Python import hook, leaving other tools in the same upstream venv.
Validation:
Remaining acceptance:
Do not close before live gateway acceptance. Shares milestone 37 with #322 and #324.
Normal gateway acceptance failed after deployment. Hermes recorded the generic PM agent-browser 0.26.0 stub-loader error in pages/system/config-requirements.md, while the Nix 0.38.2 binary itself runs. Investigating the actual entry-point/module selection path; PM cache precedence and service PATH are currently explanations proposed by the report, not independently established causes. Keeping this issue open. No cache deletion is planned before reproducing the failure.
Confirmed the gateway import-order failure and published the repair in MR #326 (
51fd3d7): #326The repaired package passes all four gateway-path regressions, nix flake check, Ruff and an isolated browser_exec navigation/page-info canary. The currently deployed package fails the two native-selection regressions. No PM cache deletion is needed. KiwiFS architecture and requirements pages now distinguish the confirmed cause from the earlier PATH/cache suggestions and keep normal deployed-gateway acceptance open.