From 342f6ab55be4793fbe2be41aed76cbb6fa2d2a08 Mon Sep 17 00:00:00 2001 From: damocles Date: Fri, 10 Jul 2026 17:10:48 +0200 Subject: [PATCH] chore(#2358): disable claude dynamic workflows via managed settings --- docs/turn-loop/claude-invocation.md | 9 ++++++--- hive-ag3nt/prompts/claude-settings.json | 1 + 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/docs/turn-loop/claude-invocation.md b/docs/turn-loop/claude-invocation.md index e44d050e..86bae1d6 100644 --- a/docs/turn-loop/claude-invocation.md +++ b/docs/turn-loop/claude-invocation.md @@ -74,9 +74,12 @@ context (it won't carry our title). claude stores sessions in `--name` writes the title into the file as a `custom-title` event, which is what `--resume ` resolves against. We never pass bare `--continue` (it resumes the *latest* session in the cwd — the hijack -vector). Auto-compact and auto-memory are disabled via the managed -settings at `/etc/claude-code/managed-settings.json` because hyperhive -owns compaction — see [Compaction](#compaction) below. +vector). Auto-compact, auto-memory, and dynamic workflows (the `/workflows` +feature) are disabled via the managed settings at +`/etc/claude-code/managed-settings.json`: hyperhive owns compaction +(see [Compaction](#compaction) below), and `disableWorkflows` keeps the +`/workflows` machinery from spawning sub-runs that burn usage on the +harness's autonomous turns. **Session reset** is available via `POST /api/new-session` (or `/new-session` slash command). It does *not* touch the session inline — diff --git a/hive-ag3nt/prompts/claude-settings.json b/hive-ag3nt/prompts/claude-settings.json index afa99164..06116fc0 100644 --- a/hive-ag3nt/prompts/claude-settings.json +++ b/hive-ag3nt/prompts/claude-settings.json @@ -1,6 +1,7 @@ { "autoCompactEnabled": false, "autoMemoryEnabled": false, + "disableWorkflows": true, "permissions": { "deny": ["Task", "TodoWrite"] }