Skip to content

refactor(nix): read DEVIN_PERMISSION_MODE from agent-config - #323

Merged
furedea merged 1 commit into
mainfrom
refactor/read-agent-environment
Oct 24, 2026
Merged

furedea merged 1 commit into
mainfrom
refactor/read-agent-environment

Conversation

@furedea-agent

@furedea-agent furedea-agent Bot commented Oct 24, 2026

Copy link
Copy Markdown
Contributor

概要

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 行)

変更

検証

  • 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)が新規追加
  • hooks/lib に 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 が変更
  • Claude の 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

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]>
@furedea
furedea merged commit 44c8d80 into main Oct 24, 2026
11 checks passed
@furedea
furedea deleted the refactor/read-agent-environment branch October 24, 2026 11:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant