Skip to content

Commit f6aa4e3

Browse files
Claudeclaude
authored andcommitted
fix: remove create_thread from CONSEQUENTIAL_TOOLS to reduce false positive enforcement warnings
Creating a thread is a note-to-self, not a state-changing action that should require recall gating. The enforcement nag on benign operations erodes trust in the system — agents that see warnings on harmless actions learn to ignore ALL warnings. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 6e5ad07 commit f6aa4e3

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/services/enforcement.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ const SESSION_REQUIRED_TOOLS = new Set([
4545
const CONSEQUENTIAL_TOOLS = new Set([
4646
"create_learning", "gitmem-cl", "gm-scar",
4747
"create_decision", "gitmem-cd",
48-
"create_thread", "gitmem-ct", "gm-thread-new",
4948
"session_close", "gitmem-sc", "gm-close",
5049
]);
5150

0 commit comments

Comments
 (0)