The settings file
Open your settings in the browser:
npx -y @event4u/agent-config configWhere settings live
Section titled “Where settings live”- Your settings —
~/.event4u/agent-config/settings/.agent-settings.yml, written by the setup wizard. They apply in every project. - A project’s settings — an optional
.agent-settings.ymlin the repository, for values the whole team should share. Where a project sets a key, it wins for that project.
Some keys are only read from one of the two files. Ask which value is in effect and which file it came from:
agent-config settings:get personal.autonomyThe template lists every key with a comment explaining it.
# .agent-settings.yml (excerpt)profile: id: developerpersonal: autonomy: autocost: enforcement: advisoryThree ways to change a setting
Section titled “Three ways to change a setting”- The browser —
agent-config configopens the settings page for your user;agent-config config --projectfor the project file. It validates every value before saving and keeps your comments. - The terminal —
agent-config settings:set <key> <value>changes one key in your user file. Settings that raise a spend ceiling or switch off a safety check refuse this route on purpose; change those in the browser or by hand. - By hand — edit the YAML. Nothing checks it until you run
agent-config settings:check.
After an upgrade
Section titled “After an upgrade”agent-config settings:sync # add keys a new release introducedagent-config settings:sync --prune-removed # also drop keys a release retiredagent-config settings:check # validate the file; changes nothingagent-config upgrade runs the first one for you.
- Settings reference — the keys you are most likely to change.
- The four profiles — four settings share the word “profile”.