feat(auto-review) policy config (#18959)

## Summary
Allow users to customize their own auto-review policy config.

## Testing
- [x] added config_tests
This commit is contained in:
Dylan Hurd
2026-04-22 10:33:02 -07:00
committed by GitHub
parent f67383bcba
commit 78593d72ea
4 changed files with 156 additions and 9 deletions

View File

@@ -292,6 +292,15 @@
}
]
},
"AutoReviewToml": {
"properties": {
"policy": {
"description": "Additional policy instructions inserted into the guardian prompt.",
"type": "string"
}
},
"type": "object"
},
"BundledSkillsConfig": {
"additionalProperties": false,
"properties": {
@@ -2253,6 +2262,15 @@
"default": null,
"description": "Machine-local realtime audio device preferences used by realtime voice."
},
"auto_review": {
"allOf": [
{
"$ref": "#/definitions/AutoReviewToml"
}
],
"default": null,
"description": "Optional policy instructions for the guardian auto-reviewer."
},
"background_terminal_max_timeout": {
"description": "Maximum poll window for background terminal output (`write_stdin`), in milliseconds. Default: `300000` (5 minutes).",
"format": "uint64",