feat: disable Ralph/Todo tracker auto-enable by default

Ralph tracker no longer auto-enables on pattern detection. It must be
explicitly enabled per-session (via API) or globally via the new
`ralphEnabled` AppConfig setting. Adds GET/PUT /api/config endpoints
for runtime configuration. Spawn agent ralph enable is unchanged.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
arkonandClaude Opus 4.5 committed 2026-01-23 22:14:00 +01:00
1 parent a39ae1d151
commit a41240049e
4 files changed
+80 -33

No files matched your search

+3
View File
@@ -229,6 +229,8 @@ export interface AppConfig {
respawn: RespawnConfig;
/** Last used case name (for default selection) */
lastUsedCase: string | null;
/** Whether Ralph/Todo tracker is globally enabled for all new sessions */
ralphEnabled: boolean;
}
// ========== Output Types ==========
@@ -564,6 +566,7 @@ export const DEFAULT_CONFIG: AppConfig = {
sendInit: true, // send /init after /clear
},
lastUsedCase: null,
ralphEnabled: false,
};
// ========== Inner Loop Tracking Types ==========