Skip to content

feat(agents): continue successful research turns automatically - #197

Merged
FluffyAIcode merged 1 commit into
mainfrom
AgentMemory/repl-continuous-auto-loop-0718
Jul 18, 2026
Merged

feat(agents): continue successful research turns automatically#197
FluffyAIcode merged 1 commit into
mainfrom
AgentMemory/repl-continuous-auto-loop-0718

Conversation

@FluffyAIcode

Copy link
Copy Markdown
Owner

Summary

  • enable continuous auto-loop by default
  • internally queue /continue after every successful Generator/Critic turn
  • preserve strict WAITING_FOR_GOAL / READY / RUNNING input states
  • provide a short READY boundary window for explicit /quit, /steer, or /new
  • never read stdin during inference
  • pause auto-loop only on an inference exception while preserving the last complete checkpoint
  • allow manual operation with --no-auto-loop

Runtime behavior

A successful turn can no longer appear to stop at prompt>. The state machine proceeds automatically without relying on Terminal automation or copied output. Exceptions intentionally pause and require remediation followed by /continue.

Tests

  • default auto-loop and internal continuation contract
  • exception pause behavior
  • existing command whitelist, checkpoint, and recovery coverage
  • targeted suite — 20 passed
  • full platform-neutral suite — 880 passed, 1 skipped
  • Python compile and diff checks pass

Made with Cursor

Keep the goal-anchored state machine running indefinitely by internally queuing whitelisted continuation commands after success and pausing only on exceptions.

Co-authored-by: Cursor <cursoragent@cursor.com>
@cursor

cursor Bot commented Jul 18, 2026

Copy link
Copy Markdown

Bugbot is not enabled for your account, so this pull request was not reviewed.

Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs.

@FluffyAIcode
FluffyAIcode merged commit 9d0907d into main Jul 18, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant