News for hackers. Stuff that matters.
Re:Claude Code is unusable for complex engineering tasks wit... by johndough on Monday April 06, 2026 @03:18PM (#47665562)
I think it is hilarious that there are four different ways to set settings (settings.json config file, environment variable, slash commands and magical chat keywords).

That kind of consistency has also been my own experience with LLMs.

Re:Claude Code is unusable for complex engineering tasks wit... by monatron on Monday April 06, 2026 @03:36PM (#47665832)
To be fair, I can think of reasons why you would want to be able to set them in various ways.

- settings.json - set for machine, project

- env var - set for an environment/shell/sandbox

- slash command - set for a session

- magical keyword - set for a turn

Re:Claude Code is unusable for complex engineering tasks wit... by tracker1 on Friday April 10, 2026 @01:06PM (#47720983)
I tend to make a concerted effort to often make sure anything settable via cli is settable via environment variable... though, I often have a search-upward option for a .env file as well. Mostly so that it's easier to containerize/deploy an application in a predictable/reusable way.
Re:Claude Code is unusable for complex engineering tasks wit... by SAI_Peregrinus on Monday April 06, 2026 @04:00PM (#47666180)
It's not unique to LLMs. Take BASH: you've got `/etc/profile`, `~/.bash_profile,` `~/.bash_login`, `~/.bashrc`, `~/.profile`, environment variables, and shell options.
Re:Claude Code is unusable for complex engineering tasks wit... by subscribed on Monday April 06, 2026 @08:32PM (#47669225)
Yeah, but for ash/shells these files have wildly different purposes. I don't think it's so distinct with cc.
Re:Claude Code is unusable for complex engineering tasks wit... by hackerbrother on Monday April 06, 2026 @09:00PM (#47669436)
I don't think they're wildly different purposes. They're the same purpose (to set shell settings) with different scopes (all users, one user, interactive shells only, etc.).
Re:Claude Code is unusable for complex engineering tasks wit... by hansmayer on Tuesday April 07, 2026 @05:37AM (#47672696)
I would laugh so hard at this, if your attempt at comparison was not so tragic. Bash and other shells are deterministic. Want to set it just for one user ? - use ~/.bashrc . Set it for all users on the system? use /etc/profile.d/ . Want it just temporary for this session? You got it, environment variables. And it is going to work like that every single time. It is deterministic you see.
Re:Claude Code is unusable for complex engineering tasks wit... by SAI_Peregrinus on Tuesday April 07, 2026 @11:07AM (#47676560)
The non-determinisim in the LLM systems isn't because of the different config uses, that works much like shell configs. The non-determinism is inherent in LLM operations.
Re:Claude Code is unusable for complex engineering tasks wit... by hansmayer on Wednesday April 08, 2026 @07:03AM (#47688512)
Exactly my point here...
Re:Claude Code is unusable for complex engineering tasks wit... by ggdxwz on Monday April 06, 2026 @03:52PM (#47666063)
Especially some settings are in setting.json, and others in .claude.json So sometimes I have to go through both to find the one I want to tweak
Re:Claude Code is unusable for complex engineering tasks wit... by larpingscholar on Monday April 06, 2026 @06:01PM (#47667851)
You are yet to discover the joys of the managed settings scope. They can be set three ways. The claude.ai admin console; by one of two registry keys e.g. HKLM\SOFTWARE\Policies\ClaudeCode; and by an alphabetically merged directory of json files.
Re:Claude Code is unusable for complex engineering tasks wit... by brookst on Monday April 06, 2026 @07:09PM (#47668586)
way more than that. settings.json and settings.local.json in the project directory's .claude/, and both of files can also be in ~/.claude

MCP servers can be set in at least 5 of those places plus .mcp.json

Re:Claude Code is unusable for complex engineering tasks wit... by windexh8er on Monday April 06, 2026 @07:17PM (#47668668)
I just had this conversation today. It's hilarious that things like Skills and Soul and all of these anthropomorphized files could just be a better laid out set of configuration files. Yet here we are treating machines like pets or worse.
Re:Claude Code is unusable for complex engineering tasks wit... by hansmayer on Tuesday April 07, 2026 @05:34AM (#47672668)
Well they need you to think there is some kind of soul behind it - that is their entire pitch!
Re:Claude Code is unusable for complex engineering tasks wit... by darkwater on Tuesday April 07, 2026 @05:55AM (#47672810)
Yep. Especially for Anthropic. Goddamnit, they have it in their company's name!
Re:Claude Code is unusable for complex engineering tasks wit... by bmitc on Monday April 06, 2026 @09:42PM (#47669743)
There's also settings available in some offerings and not in others. For example, the Anthropic Claude API supports setting model temperature, but the Claude Agent SDK doesn't.
Re:Claude Code is unusable for complex engineering tasks wit... by OliverGuy on Tuesday April 07, 2026 @03:34AM (#47671879)
settings.json -> global config Env vars -> settings different to your global for a specific project Slash commands / chat keywords -> need to change a setting mid chat