hermes-agent/nix
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Siddharth Balyan 298df0820d
fix(nix): fresh declarative installs no longer warn their config predates version 12 (#126022)
* fix(nix): stamp _config_version into the declarative config.yaml

The NixOS and Home Manager modules rendered config.yaml without a
_config_version key. Hermes reads a missing key as version 0, so every
boot of a fresh declarative install ran the post-update migrate step,
which logged "This config predates version 12 ... can no longer be
auto-migrated". Hermes cannot fix this itself: in managed mode
save_config() refuses to write config.yaml, so migrate_config() can
never persist the stamp.

The module now builds the generated config with the package's own
interpreter and adds DEFAULT_CONFIG["_config_version"], so the stamp
always matches the package it ships with. An explicit
settings._config_version still wins. A user-supplied configFile is
installed unchanged.

* test(nix): a generated config.yaml is current to the packaged Hermes

Merges the module's generated config into an empty HERMES_HOME and asks the packaged check_config_version() whether it is up to date. Fails on the parent commit (v0 vs v46).
2026-09-28 11:12:16 +05:30
..
tests fix: platform legs — docker arm64 bootstrap, win32-arm64 native builds, nix desktop-backend cleanup 2026-09-20 10:42:30 -04:00
checks.nix fix(nix): fresh declarative installs no longer warn their config predates version 12 (#126022) 2026-09-28 11:12:16 +05:30
configMergeScript.nix fix(pm): isolate bootstrap dependencies and unify YAML on ruamel 2026-09-11 12:23:51 -04:00
desktop.nix fix(desktop): carry the window app id in the Linux launcher entry 2026-09-27 07:46:31 -05:00
devShell.nix feat(dev-sandbox): support fake installer / fake main / git clones 2026-08-04 17:36:26 -04:00
hermes-agent.nix build: remove leftover references to the dropped hindsight extra 2026-09-24 22:15:15 -04:00
homeManagerModules.nix feat(nix): give Home Manager a programs module and the desktop app 2026-08-21 17:00:30 -04:00
icons.nix fix(desktop): render icons with core runtime dependencies 2026-09-24 01:30:15 -04:00
lib.nix refactor(build): share product recipes across distributions 2026-09-11 13:16:55 -04:00
moduleCommon.nix fix(nix): fresh declarative installs no longer warn their config predates version 12 (#126022) 2026-09-28 11:12:16 +05:30
nixosModules.nix fix(nix): container mode does not linger the host service user; document the cron/linger dependency 2026-09-15 04:03:25 -07:00
node-gyp-11-4-0-package-lock.json fix: fix @nousresearch/ui version, update to npm 12 2026-08-01 17:05:42 -04:00
node-gyp-11-4-0.nix fix: fix @nousresearch/ui version, update to npm 12 2026-08-01 17:05:42 -04:00
npm-pinned.nix fix(pm): preserve pinned binary inputs in R2 2026-09-10 18:17:08 -04:00
overlays.nix fix(nix): dirty-tree wrapper bug + filtered rebuild scope + overlay alias (#65237) 2026-07-15 21:45:35 -04:00
packages.nix build: remove leftover references to the dropped hindsight extra 2026-09-24 22:15:15 -04:00
pm-packages.nix nix: unpack only the archive artifacts of a pm pin 2026-09-21 18:44:09 -04:00
pm-runtime.nix fix(pm): isolate bootstrap dependencies and unify YAML on ruamel 2026-09-11 12:23:51 -04:00
python.nix fix(tts): install kittentts on python 3.14, opt-in only 2026-09-24 16:17:35 -04:00
pythonLock.nix fix(pm): make bootstrap and bundle ownership explicit 2026-09-08 00:24:51 -04:00
sandbox.nix ci(install-e2e): retire the bubblewrap sandbox - git redirect everywhere, macos legs live 2026-08-11 21:20:42 -04:00
tui.nix fixup: nix builds 2026-09-12 20:20:46 -04:00
web.nix fixup: nix builds 2026-09-12 20:20:46 -04:00