fix(bot): cap reasoning loops to 30 turns

The non-interactive CLI defaults to infinite `maxSessionTurns`. This causes the bot to get stuck in infinite trial-and-error loops when it struggles to fix a failing test suite, only stopping when the 60-minute GitHub Actions timeout kills the runner.

By setting `maxSessionTurns: 30` in the bot's configuration, the LLM session will gracefully abort with an error if it cannot find a solution within a reasonable number of attempts.
This commit is contained in:
Christian Gunderman
2026-05-13 17:59:25 -07:00
parent 9b3fef4f68
commit 506184d739
@@ -1,4 +1,7 @@
{
"model": {
"maxSessionTurns": 30
},
"security": {
"environmentVariableRedaction": {
"allowed": ["GH_TOKEN", "GITHUB_TOKEN"]