Repository navigation
fix(nix): restore home-manager switch after lock file maintenance - #216
Merged
Merged
Conversation
Lock file maintenance (#215) moved hermes-agent to a revision whose hermes_cli/gateway.py no longer takes our backport of NousResearch/hermes-agent#85365, so home-manager switch failed in the patch phase. The input is now pinned to the last revision the patch applies to, so lock maintenance leaves it alone until #85365 merges. Co-Authored-By: Claude Opus 5.5 <[email protected]>
… the channel atuin 18.23.0 has no cached darwin build: its e2e test starts an interactive bash that sources nix-darwin's /etc/bashrc in the unsandboxed darwin build, which resets PATH so the atuin under test never runs (NixOS/nixpkgs#575388). The fix (NixOS/nixpkgs#574509) is merged but not yet in nixpkgs-unstable, so roll the input back to the revision before #215. Lock file maintenance moves it forward again once the channel has it. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This was referenced Oct 18, 2026
furedea
added a commit
that referenced
this pull request
Oct 19, 2026
## 要約 - Renovate の #238 が固定していた hermes-agent を `5fc490e` に上げ,パッチが 4 か所中 3 か所で当たらず main のシステムがビルドできなくなった. - #238 を取り消して `56a41715` に戻し,`renovate.json` で hermes-agent を更新の対象から外す. - 決めること: なし.マージ後に switch する. | 項目 | 今 (main) | この PR の後 | |---|---|---| | hermes-agent | `5fc490e` (パッチが当たらずビルド失敗) | `56a41715` (パッチが当たる) | | Renovate | URL の中のコミットを上げる | hermes-agent は対象外 | | 固定を外す条件 | 上流 NousResearch/hermes-agent#85365 のマージ | 同じ.そのとき `renovate.json` のルールも外す | ## 検証 - [x] `nix build .#darwinConfigurations.mbp.system`: 通過 (main では `hermes-agent-python-source` のパッチが失敗していた) - [x] `renovate-config-validator renovate.json`: 通過 - [ ] マージ後の switch <details> <summary>経緯</summary> #216 では,URL にコミットを書けば lock の更新で動かないと考えて固定した.Renovate の nix 対応は,その URL の中のコミット (digest) まで更新の対象にしていた. </details> 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: furedea <[email protected]> Co-authored-by: Claude Opus 5.5 <[email protected]>
furedea
added a commit
that referenced
this pull request
Nov 16, 2026
agent-config の PostToolUse フックが ADR 編集後に実行する `adr-check` を PATH に置く.`jev-lint` と同じ方法で `home.packages` に追加し,`agent-config` 入力を #225 を含むリビジョンに更新する. Refs furedea/agent-config#169 ## 変更内容 - `nix/home/default.nix`: `adrCheckPackage = agent-config.packages.${system}.adr-check;` を `jevLintPackage` の隣に追加し,`home.packages` に加えた(furedea/agent-config#225). - `flake.lock`: `agent-config` を `2ab23eb` → `138c542` に更新した(`nix flake update agent-config`). ## agent-config の更新内容(2ab23eb → 138c542,23 コミット) - lint: go-style / rust-style / python-style / TypeScript / bash-style / github-actions-style / agents/AGENTS.md のルールを ast-grep・jev-lint・model rules へ移行(#190, #191, #192, #193, #194, #195),Go の `util`・`common` パッケージ検出(#202),ブロッキング ast-grep ルールの欠落修正(#216) - hooks: 静的ルールエラーでの編集ブロックと ast-grep-ignore の保護(#203),ask プレフィックスの限定(#199),リポジトリフック回避オプションの拒否(#212),コードセルの判定修正(#224) - skills: issue / git / setup ワークフローを `development-cycle` に統合(#211),agent 実行の verify ステップ削除(#213),範囲外指摘への回答と all-green 待機(#223) - docs/ADR: MADR の採用(#215),スキル責務の配置(#208),コマンド判定の方針(#198),ast-grep のブロック方針(#214),AGENTS.md の整理(#205) - build/ci: マイナーバージョン上げの設定(#217),jev-lint モデルルールテストを CI で実行(#218) - feat: `adr-check` コマンドの追加(#225) ## 検証 - `nix build '.#homeConfigurations."kaito@mbp".activationPackage'`: 成功.生成物の `home-path/bin` に `adr-check` が含まれることを確認した. - `darwin-rebuild switch` は実行していない. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: furedea <[email protected]> Co-authored-by: Claude Sonnet 5.5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
home-manager switchfailed after the lock file maintenance in #215, for two reasons.hermes-agent patch no longer applies
#215 moved
hermes-agenttoa3197522, and our backport of NousResearch/hermes-agent#85365 (nix/patches/hermes_gateway_service_resources.patch) no longer applies there: 3 of 4 hunks fail inhermes_cli/gateway.py. #85365 is still open upstream.flake.nix:hermes-agentis pinned to56a41715, the last revision the patch applies to, with a comment explaining why, so lock file maintenance leaves it alone.atuin 18.23.0 fails its own tests on darwin
#215 also moved
nixpkgs-unstabletof20cd90e, whereatuinis 18.23.0. It has no cached darwin build, and building it locally failsfiltered_commands_leave_no_captured_output. That is not an atuin bug: the darwin build is unsandboxed, so the test's interactive bash sources nix-darwin's/etc/bashrc, which resetsPATHand runs some other atuin instead of the one under test (NixOS/nixpkgs#575388). The fix, NixOS/nixpkgs#574509, is merged but not yet innixpkgs-unstable.flake.lock:nixpkgs-unstablegoes back to104240a7(2026-08-03), the revision before chore(deps): lock file maintenance #215, which is what the machine currently runs.flake.nixstill follows the channel, so lock file maintenance moves it forward again once the fix lands.Verification
nix build .#homeConfigurations.kaito.activationPackage: builds.bats(6 files): 13/13 passed. Two of them build the full activation package, which is why they timed out while atuin compiled from source.uv run --frozen pytest tests: 1564 passed.🤖 Generated with Claude Code