refactor(ralph-loop test): clarify race-condition predicate naming

Rename the local wait predicate to avoid confusion with deprecated auth-prompt condition fields.

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)
Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
YeonGyu-Kim
2026-04-18 01:42:01 +09:00
parent 1b10ab36d2
commit cb8f44ed95
@@ -21,9 +21,9 @@ function createDeferred(): {
} }
} }
async function waitUntil(condition: () => boolean): Promise<void> { async function waitUntil(shouldTrigger: () => boolean): Promise<void> {
for (let index = 0; index < 100; index++) { for (let index = 0; index < 100; index++) {
if (condition()) { if (shouldTrigger()) {
return return
} }