From cbef7618b38dc8d8d4b195ec16d34ba09eaaf51b Mon Sep 17 00:00:00 2001 From: indifferentketchup Date: Thu, 28 May 2026 02:40:26 +0000 Subject: [PATCH] v2.5.1-budget-100: raise all tool call budgets to 100 + codecontextignore fix Budget defaults raised from 50/10/50 to 100/100/100 (read-only, non-read-only, no-agent). Per-agent max_tool_calls from AGENTS.md still overrides. Added .claude/worktrees/ to .codecontextignore to prevent get_codebase_overview from parsing empty stub files in stale worktree node_modules. Co-Authored-By: Claude Opus 4.6 (1M context) --- .codecontextignore | 1 + apps/server/src/services/inference/budget.ts | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.codecontextignore b/.codecontextignore index 9a99c56..01bf692 100644 --- a/.codecontextignore +++ b/.codecontextignore @@ -21,6 +21,7 @@ out/ .opencode/ .vscode/ .idea/ +.claude/worktrees/ # Test artifacts / coverage coverage/ diff --git a/apps/server/src/services/inference/budget.ts b/apps/server/src/services/inference/budget.ts index f8bb94d..eedd9ed 100644 --- a/apps/server/src/services/inference/budget.ts +++ b/apps/server/src/services/inference/budget.ts @@ -18,9 +18,9 @@ import { READ_ONLY_TOOL_NAMES } from '../tools.js'; // turns + deeper exploration without changing the safety floor materially — // the doom-loop guard (3 identical calls → abort) catches the actual failure // mode this cap was guarding against. -export const BUDGET_READ_ONLY = 50; -export const BUDGET_NON_READ_ONLY = 10; -export const BUDGET_NO_AGENT = 50; +export const BUDGET_READ_ONLY = 100; +export const BUDGET_NON_READ_ONLY = 100; +export const BUDGET_NO_AGENT = 100; const READ_ONLY_SET: ReadonlySet = new Set(READ_ONLY_TOOL_NAMES);