Repository navigation
feat(claude): pin Fable advisor and a chezmoi init soft_deny in both modes - #250
Merged
Merged
Conversation
…modes /advisor fable now works on the business machine through the gateway, so pin advisorModel to fable without the personal-only gate. Leaving it gated meant chezmoi apply dropped the setting on business machines. Add autoMode.soft_deny for chezmoi init without an isolated XDG_CONFIG_HOME: it rewrites the real chezmoi.yaml even with --dry-run. The generated autoMode.environment stays out until it covers work repos. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
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/dot_claude/settings.json.tmplの advisor を Fable に戻し、chezmoi initの事故を防ぐ auto mode のsoft_denyを追加します。どちらも personal と business の両モードに効きます。変更内容
advisorModelを"opus"(personal 限定)から"fable"(両モード)に変更する/advisor fableが gateway 経由で通ることを確認した(Advisor set to Fable 5.1)chezmoi applyしたときに/advisorで入れた設定が消えるautoMode.soft_denyに$defaultsとchezmoi initのルールを追加するchezmoi initは--dry-runでも本物の chezmoi 設定ファイルを書き換える(CLAUDE.md の Template Testing を参照)XDG_CONFIG_HOMEを一時ディレクトリに向けた検証手順は止めないよう例外にした検証
chezmoi execute-template < home/dot_claude/settings.json.tmpl | jq '{advisorModel, autoMode}'で、"advisorModel": "fable"と上記のsoft_denyが出力されることを確認したjust test→✓ All checks passed!補足
/auto-mode-setupが生成したautoMode.environmentは取り込んでいません。内容がこの dotfiles リポジトリ専用(Trusted repo がこのリポジトリだけで、Organization は未設定)なので、business マシンの業務リポジトリには合いません。業務の文脈を足してから、別の PR で扱います。🤖 Generated with Claude Code