Opus 4.5 never-ending work
reddit.com·1d·
Discuss: r/ClaudeAI
⏱️Async Programming
Preview
Report Post

I would like to specify a looping improvement process and have Claude follow it endlessly until a terminal condition is met.

I have tried doing this a few ways, the end result is that with compaction, Claude eventually ends his turn. It feels like Claude forgets the strict, looping, prime directive and falls back to pursuing the goal of improvement.

The looping improvement process is documented in a file such that no context other than ‘do what it says’ is necessary to execute the process.

One idea I had was hooks to actually block the turn ending unless the exit criteria was met. What is the right approach?

Additional context

My use case is a running a heavy script that can take 2-4 hours to complete (running in the GPU utilizing all compute).

Claude’s job is to periodica…

Similar Posts

Loading similar posts...