| title | Configuration |
|---|---|
| description | Configure clawpatch behavior, providers, and validation commands |
Config is loaded from:
--config <path>$CLAWPATCH_CONFIG$CLAWPATCH_STATE_DIR/config.jsonclawpatch.config.json.clawpatch/config.json- built-in defaults
Default shape:
{
"schemaVersion": 1,
"stateDir": ".clawpatch",
"include": ["**/*"],
"exclude": [
"node_modules/**",
"dist/**",
"build/**",
"target/**",
".build/**",
".git/**",
".clawpatch/**"
],
"provider": {
"name": "codex",
"model": null,
"reasoningEffort": null
},
"commands": {
"typecheck": null,
"lint": null,
"format": null,
"test": null
},
"review": {
"maxContextFiles": 24,
"maxOwnedFiles": 12,
"maxFindingsPerFeature": 10,
"minConfidenceToFix": "medium"
},
"git": {
"requireCleanWorktreeForFix": true,
"commit": false,
"openPr": false
},
"registryVerifier": {
"enabled": false
}
}registryVerifier.enabled controls the npm-registry post-validator that
drops direct pkg@semver public-npm publication claims refuted by
the public npm registry. It is disabled by default because lookups disclose
package coordinates; set it to true only when that network access is acceptable. See
Code review > Registry verifier for
the full verdict matrix.
Environment overrides:
CLAWPATCH_STATE_DIRCLAWPATCH_PROVIDERCLAWPATCH_MODELCLAWPATCH_REASONING_EFFORT
git.commit and git.openPr are reserved config fields. The current CLI does
not commit or open PRs.