Skip to content

feat(claude): pin Fable advisor and a chezmoi init soft_deny in both modes - #250

Merged
paveg merged 1 commit into
mainfrom
feat/advisor-fable-automode-soft-deny
Oct 1, 2026
Merged

paveg merged 1 commit into
mainfrom
feat/advisor-fable-automode-soft-deny

Conversation

@paveg

@paveg paveg commented Oct 1, 2026

Copy link
Copy Markdown
Owner

概要

home/dot_claude/settings.json.tmpl の advisor を Fable に戻し、chezmoi init の事故を防ぐ auto mode の soft_deny を追加します。どちらも personal と business の両モードに効きます。

変更内容

  • advisorModel を "opus"(personal 限定)から "fable"(両モード)に変更する
    • fix(claude): advisor model opus, fable unavailable #175 では Fable が使えなかったため opus に戻していた。business マシンで /advisor fable が gateway 経由で通ることを確認した(Advisor set to Fable 5.1)
    • personal 限定のままだと、business マシンで chezmoi apply したときに /advisor で入れた設定が消える
  • autoMode.soft_deny に $defaults と chezmoi init のルールを追加する
    • chezmoi init は --dry-run でも本物の chezmoi 設定ファイルを書き換える(CLAUDE.md の Template Testing を参照)
    • CLAUDE.md にある、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

…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>
@changeset-bot

changeset-bot Bot commented Oct 1, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 3ade4b1

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@paveg
paveg merged commit f644be8 into main Oct 1, 2026
12 checks passed
@paveg
paveg deleted the feat/advisor-fable-automode-soft-deny branch October 1, 2026 07:37
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