Configuration

Every key is plain git config, readable and removable without this tool.

The kill switches

keydefaulteffect
$AMONT_AGENT_OFFunsetany value switches the guard off for that shell
amont.agent.enabledtrueswitches it off everywhere

The environment variable is checked first, before any rule runs, because reading a git config key costs a process and the variable costs nothing. amont.agent.enabled is consulted only once something has already fired.

Both take git's own boolean dialect — true/false, yes/no, on/off, 1/0, case-insensitively — because git parses them, not us. A value git refuses warns once and falls back to the default rather than failing.

Stances

keytakes
amont.agent.stanceobserve | advise | deny — every rule
amont.agent.<rule>.stancethe same, for one rule

Most specific wins. See stances.

The session notice

keydefaulteffect
amont.agent.fetchtruemay a session opening touch the network at all
amont.agent.agentsMdNoticetruemay it mention a stale amont guidance block
checkout.defaultRemote—git's own key; which remote is the remote

What is deliberately not configurable

Which file any of these keys can be set in. --global, then --system, and nothing else. Not a committed file, and not the --local/--worktree config of the repository you happen to be standing in — see stances. Write them with git config --global; a bare git config inside a repository writes --local, where this tool will not look.

Whether a failure is silent. It always is. See what it will not do.

Whether the journal can affect a decision. It cannot.