agent_config
Read or update a curated set of Plumb config keys (task commands, log level, theme) with atomic, validated writes that are one-step revertible. Use it to set up build/test commands for a repo from project files.
Instructions
Read and (when enabled) write a small allowlist of plumb config keys on the user's behalf — task commands ([tasks.]), log level, theme, topology excludes, quality analysers. op=describe lists exactly what you may write (always available); op=set writes a batch to the project's .plumb/config.toml, validated and applied all-or-nothing, tagged provenance=agent and one-step revertible (plumb config unset). Writing is OFF unless the user enabled [agent_config_writes]; safety-critical keys (git tiers, workspace roots, strict mode, API keys, the enable knob itself) are never writable. Use it to set up a repo's build/test commands from what you can read in the project.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| op | Yes | describe: list the config keys you are allowed to write (always available). set: write a batch of key/value pairs (only when the user has enabled [agent_config_writes]). | |
| set | No | For op=set: a map of dotted config key to value, e.g. {"tasks.go.test": "go test ./...", "log_level": "warn"}. Validated and applied atomically (all-or-nothing) to the project config; a key outside the allowlist is refused. | |
| scope | No | Write scope. Only "project" (the workspace's .plumb/config.toml) is supported; global writes are out of scope. |