Repository navigation
refactor(nix): read DEVIN_PERMISSION_MODE from agent-config - #323
Merged
Merged
Conversation
Update agent-config to c6aacdf and take the Devin permission mode from agent-config.lib.agentEnvironment instead of a literal, so the host and the server bootstrap share one value. Refs furedea/agent-config#8 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.
概要
agent-config を c6aacdf に更新し,
DEVIN_PERMISSION_MODEをnix/darwin/default.nixのリテラルではなくagent-config.lib.agentEnvironment(agent-config PR #15)から読むようにします.サーバー側の bootstrap とホストが同じ値を共有します.Refs furedea/agent-config#8(計画: furedea/agent-config#8 (comment) の devin-env 行)
変更
flake.lock:agent-configを dd59634 から c6aacdf へ更新(agent-config PR chore(deps): update cachix/install-nix-action action to v31.11.0 #6, fix(homebrew): manage trusted formulae #11, chore(deps): update raven-actions/actionlint action to v2.2.0 #12, chore(deps): update zizmorcore/zizmor-action action to v0.6.2 #13, chore: replace tmux with Herdr #15, chore: add ffmpeg #16, chore(deps): update github/codeql-action action to v4.37.7 #17 を取り込む)flake.nix: darwin のspecialArgsにagent-configを追加nix/darwin/default.nix:inherit (agent-config.lib.agentEnvironment) DEVIN_PERMISSION_MODE;nix/checks.nixは変更なし(devin-smart-permission-modeは通る)検証
nix flake check,nix build .#checks.aarch64-darwin.{host,home}-configuration: 成功darwin-rebuild build --flake .#mbp: 成功(switch はしていない)deadnix --fail,nixfmt --check,pytest -m 'not integration'(121 件): 成功描画された agent ファイルの差分(現行世代 → 新世代)
.claude/hooks/defaults/(dprint.json,prettier.json)が新規追加javascript_runner.py,shell_input.py,shell_paths.py,shell_words.pyが追加.guard_file.py,check_selection.py,formatter_policy.py,git_safety.py,lint_engine.py,provider_adapter.py,shell_syntax.py,rules/protected_paths.jsonが変更settings.jsonと Codex のconfig.toml: 追加された hook ファイルの read/Edit 保護と,sandbox の~/.cache/dprint書き込み許可が増えただけ(削除なし)git-workflow/references/branches.md,herdr-delegation/SKILL.md(Claude・Codex 両方)差分はすべて取り込んだ agent-config の変更に由来します.
レビュー
変更が 3 ファイル 8 行で,レビューはこの PR 上で行います.
🤖 Generated with Claude Code