Just tried this, weirdly enough this works incredibly well with Opus 4.7 as well as gpt-5.5. had two agents run for well over 2h each with this.
tried in @badlogicgames's http://pi.dev and it's such small prompt hack that it's not even worth a pi extension
Daniel Nguyen@daniel_nguyenxRalph loop in pseudocode, in Codex. And it actually works π


