feat(policy): restrict available models to sonnet, opus, haiku
Add /etc/claude-code/managed-settings.json with availableModels set to the three Anthropic model families. The file is root-owned inside the container so the node user cannot modify it. Managed settings cannot be bypassed via --model flag, /model command, or ANTHROPIC_MODEL env var.
This commit is contained in:
parent
1c489f8636
commit
3adc97d901
2 changed files with 7 additions and 0 deletions
3
claude/managed-settings.json
Normal file
3
claude/managed-settings.json
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"availableModels": ["sonnet", "opus", "haiku"]
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue